/* ==========================================================================
   储能企业官网 · 共享样式
   结构：1) 设计变量  2) 基础重置  3) 通用组件  4) 页头/导航  5) 页脚
        6) 首页区块  7) 内页通用区块  8) 各页面专属  9) 响应式
   修改建议：只需调整 :root 变量即可全局换色；区块内容在对应 HTML 中修改。
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --primary:        #0b6b57;
  --primary-dark:   #074a3d;
  --primary-soft:   #e9f5f1;
  --accent:         #16c39f;
  --accent-2:       #7de0c6;

  --ink:            #102a3b;
  --ink-2:          #3c5464;
  --muted:          #6d8291;
  --line:           #e3ebe9;
  --bg:             #ffffff;
  --bg-soft:        #f5f9f8;
  --bg-dark:        #0a2534;

  --radius:         14px;
  --radius-sm:      8px;
  --shadow:         0 16px 48px rgba(11, 107, 87, .10);
  --shadow-sm:      0 6px 20px rgba(16, 42, 59, .06);
  --maxw:           1200px;
  --header-h:       72px;
  --ease:           cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基础重置 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.25; color: var(--ink); font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }

/* ---------- 3. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #06251f; box-shadow: 0 10px 24px rgba(22,195,159,.28); }
.btn-primary:hover { background: #2ad6b1; }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost { border-color: var(--line); color: var(--primary); background: #fff; }
.btn-ghost:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 20px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

.placeholder-box {
  border: 1px dashed #c9d8d4;
  background: repeating-linear-gradient(45deg, #fbfdfc, #fbfdfc 12px, #f4f9f7 12px, #f4f9f7 24px);
  border-radius: var(--radius);
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 4. 页头 / 导航（固定顶部） ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand-text small { display: block; font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: .12em; }

.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav a {
  position: relative;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--primary); background: var(--primary-soft); }
.site-nav a.active { color: var(--primary); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
}

.lang-toggle {
  flex-shrink: 0;
  min-width: 48px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.lang-toggle:hover { border-color: var(--primary); background: var(--primary-soft); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink);
  transition: transform .25s, opacity .25s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-header.nav-open .nav-toggle span { background: transparent; }
.site-header.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); background: var(--ink); }
.site-header.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }

/* ---------- 5. 页脚 ---------- */
.site-footer { background: var(--bg-dark); color: #a9c1cb; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-mark { margin-bottom: 16px; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  font-size: 13px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- 6. 首页区块 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #dcecef;
  /* 背景：文字遮罩 + 上传图 + 原渐变兜底（图片缺失时仍保留原背景） */
  background-color: #07283a;
  background-image:
    linear-gradient(90deg, rgba(3, 25, 34, .92) 0%, rgba(3, 25, 34, .74) 46%, rgba(3, 25, 34, .26) 100%),
    url("images/banner-index.jpg"),
    linear-gradient(135deg, #07283a 0%, #0b4a49 55%, #0b6b57 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  padding: 118px 0 126px;
}
.hero h1, .hero p, .hero .eyebrow, .hero-stats strong, .hero-stats span {
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 640px; height: 640px; right: -180px; top: -260px;
  border: 1px solid rgba(125,224,198,.18);
  box-shadow: 0 0 0 90px rgba(125,224,198,.04), 0 0 0 190px rgba(125,224,198,.03);
}
.hero::after {
  width: 340px; height: 340px; left: -140px; bottom: -200px;
  background: radial-gradient(circle, rgba(22,195,159,.22), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero .eyebrow { color: var(--accent-2); }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 64px); letter-spacing: -.03em; line-height: 1.12; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero p { margin-top: 24px; font-size: 18px; max-width: 620px; color: #c2d9de; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 64px; }
.hero-stats strong { display: block; color: #fff; font-size: 32px; line-height: 1.2; }
.hero-stats span { font-size: 13px; color: #9dbdc4; }

.about-snapshot { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-snapshot .visual {
  min-height: 340px; border-radius: var(--radius);
  background: linear-gradient(145deg, var(--primary-soft), #d9efe8);
  border: 1px solid var(--line);
}
.about-snapshot .text .section-title { margin-bottom: 18px; }
.about-snapshot .text p { margin-bottom: 16px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 16px; height: 9px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

/* 关于我们页 · 定位卡 / 场景列表 / 技术聚焦 */
.about-portrait {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border-radius: 22px;
  background: linear-gradient(150deg, #07283a 0%, #0b4a49 58%, #0b6b57 100%);
  color: #d9edef;
  display: flex;
  align-items: center;
  box-shadow: 0 24px 60px rgba(7, 40, 58, .18);
}
.about-portrait::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  right: -110px; top: -150px;
  border-radius: 50%;
  border: 1px solid rgba(125, 224, 198, .22);
  box-shadow: 0 0 0 60px rgba(125, 224, 198, .04), 0 0 0 120px rgba(125, 224, 198, .03);
}
.about-portrait-inner { position: relative; z-index: 1; padding: 46px 42px; }
.about-portrait-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--accent-2); margin-bottom: 18px;
}
.about-portrait h3 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; }
.about-portrait p { margin-top: 16px; font-size: 15px; color: #bcd6da; }
.about-portrait-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-portrait-tags li {
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(125, 224, 198, .3);
  background: rgba(125, 224, 198, .08);
  color: #dff6ef; font-size: 13px; font-weight: 600;
}
.focus-list { display: grid; gap: 16px; }
.focus-list li {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  padding: 26px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.focus-list li:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--accent-2); }
.focus-no {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 14px; background: var(--primary-soft); color: var(--primary);
  font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.focus-list h3 { font-size: 20px; margin-bottom: 8px; }
.focus-list p { font-size: 15px; color: var(--muted); }
.tech-focus {
  display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: center;
  margin-bottom: 24px; padding: 30px 34px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
}
.tech-focus-label {
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: var(--accent-2); border-right: 1px solid rgba(255, 255, 255, .22); padding-right: 24px;
}
.tech-focus h3 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.tech-focus p { color: #c9e6df; font-size: 15px; }
.about-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cta-band {
  margin: 0 auto 96px;
  width: min(100% - 48px, var(--maxw));
  border-radius: 22px;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 52px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.cta-band p { margin-top: 8px; color: #bfe0d8; }

/* 首页 · 公司简介：定位句 / 三栏卡片 / 差异化强调 */
.home-positioning { max-width: 900px; margin: 0 auto; }
.home-positioning-sub {
  margin-top: 12px; color: var(--primary);
  font-size: 17px; font-weight: 600; letter-spacing: .04em;
}
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.intro-card {
  padding: 30px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.intro-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.intro-tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary);
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.intro-card h3 { font-size: 20px; margin: 16px 0 10px; }
.intro-card > p { font-size: 14px; color: var(--muted); min-height: 48px; }
.intro-list { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.intro-list li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-2); }
.intro-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.diff-band {
  margin-top: 24px; padding: 38px 42px; border-radius: 20px;
  background: linear-gradient(120deg, #07283a, #0b4a49 60%, #0b6b57);
  color: #fff;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center;
}
.diff-eyebrow {
  display: inline-block; margin-bottom: 12px;
  color: var(--accent-2); font-size: 12px; font-weight: 700; letter-spacing: .16em;
}
.diff-head h3 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.diff-head p { margin-top: 12px; color: #c2dde0; font-size: 14px; max-width: 460px; }
.diff-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.diff-items li {
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(125,224,198,.16);
  color: #e6f6f4; font-size: 14px; font-weight: 600;
}
.diff-note {
  grid-column: 1 / -1; margin: 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: var(--accent-2); font-size: 15px; font-weight: 700;
}

/* 首页 · 联系方式模块 */
.home-contact { align-items: flex-start; }
.home-contact .eyebrow { color: var(--accent-2); }
.home-contact-side { min-width: 280px; }
.home-contact-list { margin-bottom: 18px; }
.home-contact-list li { display: flex; gap: 16px; align-items: baseline; padding: 8px 0; font-size: 15px; }
.home-contact-list span { color: #9dbdc4; min-width: 36px; }
.home-contact-list a { color: #fff; font-weight: 700; word-break: break-all; }
.home-contact-list a:hover { color: var(--accent-2); }

/* ---------- 7. 内页通用区块 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #07283a, #0b5b50);
  color: #cfe3e6;
  padding: 76px 0 80px;
}
.page-hero::after {
  content: ""; position: absolute; width: 420px; height: 420px;
  right: -120px; top: -180px; border-radius: 50%;
  border: 1px solid rgba(125,224,198,.2);
  box-shadow: 0 0 0 70px rgba(125,224,198,.04);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 48px); letter-spacing: -.02em; }
.page-hero p { margin-top: 14px; max-width: 680px; font-size: 17px; color: #bcd6da; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #95b9c0; margin-bottom: 18px; }
.crumbs a:hover { color: var(--accent-2); }

/* ---------- 8. 各页面专属 ---------- */
/* 关于我们 */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; margin-bottom: 30px; }
.timeline li::before {
  content: ""; position: absolute; left: -33px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.timeline strong { display: block; color: var(--primary); font-size: 18px; margin-bottom: 4px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* 产品服务 */
.product-card { overflow: hidden; padding: 0; }
.product-thumb {
  min-height: 190px;
  background: linear-gradient(145deg, #e7f4f0, #cfe9e1);
  display: grid; place-items: center;
  color: var(--primary); font-size: 15px; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.product-card .body { padding: 26px 26px 30px; }
.service-row {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row .num { color: var(--accent); font-size: 20px; font-weight: 800; min-width: 44px; }

/* EMS */
.ems-feature { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ems-feature .card { display: flex; gap: 18px; align-items: flex-start; }
.ems-feature .card-icon { margin-bottom: 0; flex-shrink: 0; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.flow-step { text-align: center; padding: 28px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.flow-step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800;
}
.flow-step h4 { font-size: 16px; margin-bottom: 6px; }
.flow-step p { font-size: 14px; color: var(--muted); }

/* 联系我们 */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info li:last-child { border-bottom: 0; }
.contact-info .ico {
  width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 18px;
}
.contact-info strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.contact-info span { color: var(--muted); font-size: 15px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); color: var(--ink); font: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(22,195,159,.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-notice { font-size: 13px; font-weight: 600; color: var(--primary); margin-top: 14px; }
.contact-info a { color: var(--primary); word-break: break-all; }
.contact-info a:hover { text-decoration: underline; }

/* 产品服务页 · 场景卡片（场景图 + 场景描述） */
.scene-grid { display: grid; gap: 24px; }
.scene-grid-feature { grid-template-columns: repeat(3, 1fr); }
.scene-grid-more { grid-template-columns: repeat(3, 1fr); }
.scene-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.scene-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.scene-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.scene-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.scene-card:hover .scene-media img { transform: scale(1.05); }
.scene-index {
  position: absolute; top: 16px; left: 16px;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(7, 40, 58, .78); color: #fff;
  font-size: 14px; font-weight: 800; letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.scene-body { display: flex; flex-direction: column; flex: 1; padding: 28px 26px 30px; }
.scene-sub {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary);
}
.scene-body h3 { font-size: 24px; margin: 8px 0 12px; }
.scene-body > p { font-size: 15px; color: var(--muted); }
.scene-points { display: grid; gap: 10px; margin-top: 20px; }
.scene-points li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-2); }
.scene-points li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.scene-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.scene-tags span {
  font-size: 12px; font-weight: 600; line-height: 1.6;
  padding: 4px 12px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary);
}
.scene-compact .scene-media { aspect-ratio: 16 / 9; }
.scene-compact .scene-body { padding: 22px 22px 26px; }
.scene-compact .scene-body h3 { font-size: 18px; margin: 0 0 8px; }
.scene-compact .scene-body p { font-size: 14px; }

/* EMS 页 · 监控界面模拟（深色后台示意） */
.dash {
  overflow: hidden;
  border-radius: 18px;
  background: #08202e;
  color: #cfe3e6;
  border: 1px solid rgba(125,224,198,.16);
  box-shadow: 0 30px 70px rgba(7,40,58,.22);
}
.dash-topbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding: 16px 22px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dash-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; font-weight: 700; }
.dash-brand small { display: block; font-size: 11px; font-weight: 500; color: #7fa6b0; }
.dash-logo {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff;
}
.dash-top-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12px; color: #9dbbc2; }
.dash-live { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-2); font-weight: 600; }
.dash-live i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2);
  animation: dashPulse 2.4s infinite;
}
@keyframes dashPulse {
  0% { box-shadow: 0 0 0 0 rgba(125,224,198,.55); }
  70% { box-shadow: 0 0 0 8px rgba(125,224,198,0); }
  100% { box-shadow: 0 0 0 0 rgba(125,224,198,0); }
}
.dash-site b { color: #fff; font-weight: 600; }
.dash-clock { font-variant-numeric: tabular-nums; color: #7fa6b0; }

.dash-body { display: grid; grid-template-columns: 258px 1fr; }
.dash-col { padding: 20px; border-right: 1px solid rgba(255,255,255,.07); }
.dash-main { padding: 20px; min-width: 0; }
.dash h4 { margin: 0 0 14px; color: #eaf6f7; font-size: 13px; font-weight: 700; }
.site-list li {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 0; font-size: 12px;
  border-bottom: 1px dashed rgba(255,255,255,.07);
}
.site-list li b { margin-left: auto; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent-2); }
.dot.warn { background: #ffb454; }
.dash-mini {
  margin-top: 22px; padding: 14px 16px; border-radius: 12px;
  background: rgba(125,224,198,.06); border: 1px solid rgba(125,224,198,.14);
}
.dash-mini p { margin: 0; font-size: 11px; line-height: 1.8; color: #a9c7ce; }

.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.kpi-label { display: block; margin-bottom: 8px; font-size: 11px; color: #8fb0b9; }
.kpi strong { color: #fff; font-size: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi strong small { margin-left: 4px; font-size: 11px; font-weight: 500; color: #8fb0b9; }
.soc-wrap { display: flex; align-items: center; gap: 10px; }
.soc-ring {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: conic-gradient(var(--accent-2) var(--soc, 68%), rgba(255,255,255,.08) 0);
}
.soc-ring::after { content: ""; width: 29px; height: 29px; border-radius: 50%; background: #0d2b39; }

.dash-chart { padding: 16px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.chart-head h4 { margin: 0; }
.legend { display: flex; gap: 14px; font-size: 11px; color: #9dbbc2; }
.legend i { display: inline-block; width: 12px; height: 3px; margin-right: 5px; border-radius: 3px; background: var(--accent-2); vertical-align: middle; }
.legend i.pv { background: #6aa8ff; }
.dash-chart svg { display: block; width: 100%; height: auto; margin-top: 10px; }
.chart-grid { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.line-total { fill: none; stroke: var(--accent-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.line-pv { fill: none; stroke: #6aa8ff; stroke-width: 2; stroke-dasharray: 5 4; opacity: .8; }
.chart-axis { display: flex; justify-content: space-between; font-size: 10px; color: #7fa0a9; }

.dash-bottom { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; margin-top: 12px; }
.dash-panel { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.dash-panel h4 { margin-bottom: 10px; }
.dash-panel p { margin: 0; font-size: 11px; line-height: 1.8; color: #a9c7ce; }
.dev-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 11px; color: #bdd4d9; }
.badge { padding: 1px 8px; border-radius: 99px; font-size: 10px; background: rgba(125,224,198,.14); color: var(--accent-2); }
.badge.warn { background: rgba(255,180,84,.14); color: #ffcf8f; }
.dash-note { padding: 12px; text-align: center; font-size: 11px; color: #7fa0a9; }

/* EMS 页 · 架构层与底部返回 */
.arch-list { display: grid; gap: 10px; }
.arch-layer {
  display: grid; grid-template-columns: 44px 130px 1fr; gap: 18px; align-items: center;
  padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.arch-layer .n {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 800;
}
.arch-layer h3 { font-size: 16px; }
.arch-layer p { font-size: 14px; color: var(--muted); }
.back-band {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  padding: 30px 0 60px; border-top: 1px solid var(--line);
}
.back-band h2 { font-size: clamp(22px, 3vw, 30px); }
.back-band p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.back-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .scene-grid-feature { grid-template-columns: 1fr; }
  .scene-grid-more { grid-template-columns: repeat(2, 1fr); }
  .dash-body { grid-template-columns: 1fr; }
  .dash-col { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .arch-layer { grid-template-columns: 44px 110px 1fr; gap: 12px; }
  .intro-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-band { grid-template-columns: 1fr; gap: 22px; padding: 32px; }
}

@media (max-width: 860px) {
  .header-inner { gap: 14px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 14px 24px 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .site-nav a.active::after { left: 14px; right: auto; width: 28px; bottom: 6px; }
  .grid-2, .grid-3, .about-snapshot, .contact-grid { grid-template-columns: 1fr; }
  .about-snapshot .visual { min-height: 240px; }
  .ems-feature { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-card > p { min-height: 0; }
  .tech-focus { grid-template-columns: 1fr; gap: 12px; }
  .tech-focus-label { border-right: 0; padding-right: 0; }
  .section { padding: 72px 0; }
  .cta-band { padding: 38px 32px; }
}

@media (max-width: 600px) {
  .container, .cta-band { width: min(100% - 32px, var(--maxw)); }
  .brand-text { font-size: 17px; }
  .brand-text small { display: none; }
  .hero { padding: 84px 0 90px; }
  .hero-stats { gap: 28px; }
  .hero-stats strong { font-size: 26px; }
  .grid-4, .values-grid, .flow-steps, .form-row { grid-template-columns: 1fr; }
  .scene-grid-more { grid-template-columns: 1fr; }
  .dash-bottom { grid-template-columns: 1fr; }
  .dash-topbar { padding: 14px 16px; }
  .dash-col, .dash-main { padding: 16px; }
  .kpi strong { font-size: 18px; }
  .arch-layer { grid-template-columns: 40px 1fr; gap: 6px 12px; padding: 16px; }
  .arch-layer p { grid-column: 2; }
  .about-portrait { min-height: auto; }
  .about-portrait-inner { padding: 34px 26px; }
  .focus-list li { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .tech-focus { padding: 26px 22px; }
  .diff-band { padding: 26px 22px; }
  .diff-items { grid-template-columns: 1fr; }
  .home-contact { padding: 32px 24px; }
  .section-title { font-size: 28px; }
  .card { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band { margin-bottom: 64px; }
}
