/* ============================================
   太原易莱克电力电子有限公司 · 官方网站
   V16 配色方向：对标深圳英威腾官网（INVT）
     · 依据：抓取 invt.com 官方 style.css 实测色值
     · 主色 = 深远蓝 #0F3C7E（稳重 / 大厂感 / 大面积白底）
     · 品牌识别色 = 青灰蓝 #86B2C6（英威腾全站最高频色，62 次）
     · 背景 = 浅灰 #F5F5F5 + 白，不做大色块渐变
     · 几何 = 直角 / 细线，保留 V14 的精密感
   ★ 英威腾原色 #86B2C6 对白底仅 2.28:1，不满足无障碍标准，
     故本站在**保留同一色相 H≈195.6°** 的前提下加深为 #2A6F8B（5.61:1），
     视觉观感一致但可读性达标。
   ============================================ */

:root {
  /* ---- 深蓝阶（主结构色 · 对齐英威腾 #002870 的色相 H≈218）---- */
  --ink-900: #071F45;        /* 最深 · 页脚 */
  --ink-800: #0F3C7E;        /* 主深蓝 · hero / CTA */
  --ink-700: #164A96;        /* 次深 · 深色卡片 */
  --brand: #0F3C7E;          /* 主色 · 标题 / 主按钮 */
  --brand-mid: #164A96;      /* 悬停 */
  --brand-hi: #1E5CB8;       /* 高光 */

  /* ---- 品牌青灰蓝阶（英威腾识别色 #86B2C6 同色相）---- */
  --accent: #2A6F8B;         /* ★ 主强调：白底 5.61 / 浅灰底 5.14 / 极浅底 4.91 全达标 */
  --accent-dark: #23647F;    /* ★ 白字按钮底色：白字 6.56:1 达标 */
  --accent-light: #86B2C6;   /* ★ 英威腾原色 · 专用于深底上的线条/图标/大字 */

  --brand-soft: #86B2C6;     /* 英威腾原色 · 深底次要文字 */
  --brand-light: #A8C4D2;    /* 浅青灰 · 深底正文 */
  --brand-pale: #EAF1F5;     /* 极浅青灰 · 浅底区块（对齐 #EBF2F5） */
  --brand-dark: #0F3C7E;

  /* ---- 中性色（对齐英威腾 #333/#666/#999 三级文字）---- */
  --ink: #1A1A1A;
  --ink-2: #5A5A5A;
  --ink-3: #6E6E6E;          /* ★ 加深英威腾 #999（2.85:1 不达标）→ 4.83:1 */
  --line: #E3E8EC;
  --bg: #ffffff;
  --bg-soft: #F5F5F5;        /* ★ 对齐英威腾主背景 18 次使用 */
  --bg-deep: #071F45;

  --radius: 0px;             /* 直角：保持精密感（英威腾用 4px，此处更克制） */
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: none;
  --wrap: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---- 强调色主题开关：<html data-accent="deep"> 可切深蓝强调 ---- */
html[data-accent="deep"] {
  --accent: #0F3C7E;
  --accent-dark: #071F45;
  --accent-light: #86B2C6;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 15px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--ink-900);
  color: rgba(255, 255, 255, .6);
  font-size: 12.5px;
  letter-spacing: .3px;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 34px;
}
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar svg { width: 12px; height: 12px; fill: currentColor; opacity: .7; flex: none; }
.topbar a:hover { color: var(--accent-light); }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--ink-900); }
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}

.logo { display: flex; align-items: center; gap: 13px; }
/* 品牌标识：直接使用易莱克官方图形（白底导航栏 → 品牌蓝原色版） */
.logo-mark {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  position: relative;
}
.logo-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
/* 导航栏（白底）→ 显示品牌蓝原色版 */
.nav .logo-mark .lm-blue { display: block; }
.nav .logo-mark .lm-white { display: none; }
.logo-text { line-height: 1.22; }
.logo-cn { font-size: 17px; font-weight: 700; letter-spacing: 1.2px; color: var(--ink-900); }
.logo-en { font-size: 9.5px; letter-spacing: 2px; color: var(--ink-3); text-transform: uppercase; font-weight: 500; }

.menu { display: flex; align-items: center; gap: 2px; }
.menu a {
  position: relative;
  display: block; padding: 9px 17px;
  font-size: 14.5px; color: var(--ink-2); font-weight: 500;
  letter-spacing: .3px;
}
.menu a::after {
  content: ""; position: absolute; left: 17px; right: 17px; bottom: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.menu a:hover { color: var(--ink-900); }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
.menu a.active { color: var(--ink-900); font-weight: 700; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; margin-left: 14px;
  background: var(--ink-900); color: #fff;
  font-size: 13.5px; font-weight: 500; letter-spacing: .4px;
  transition: background .25s var(--ease);
}
.nav-cta:hover { background: var(--accent); }

.burger { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--brand); border-radius: 2px; transition: .3s var(--ease); }
.burger span + span { margin-top: 5px; }
.burger.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 通用区块 ---------- */
.section { padding: 104px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--ink-800); color: #fff; }

.sec-head { max-width: 780px; margin-bottom: 60px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-tag {
  display: inline-block; margin-bottom: 16px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--accent);
  padding-left: 0;
  font-family: "Consolas", "Menlo", monospace;
}
.sec-tag::before { content: "// "; opacity: .65; }
.sec-head.center .sec-tag { padding-left: 0; padding-top: 0; }
.sec-title { font-size: 36px; font-weight: 800; line-height: 1.28; letter-spacing: .2px; margin-bottom: 16px; color: var(--ink-900); }
.sec-sub { color: var(--ink-2); font-size: 15.5px; line-height: 1.95; max-width: 660px; }
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }
.section.dark .sec-title { color: #fff; }
.section.dark .sec-sub { color: var(--brand-light); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px;
  font-size: 14.5px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  letter-spacing: .4px;
  transition: all .25s var(--ease);
}
.btn svg { width: 15px; height: 15px; fill: currentColor; }
.btn-primary { background: var(--ink-900); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-accent { background: var(--accent-dark); color: #fff; }
.btn-accent:hover { background: var(--ink-900); }
.btn-ghost { border-color: rgba(255, 255, 255, .34); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink-900); border-color: #fff; }
.btn-outline { border-color: var(--ink-900); color: var(--ink-900); background: transparent; }
.btn-outline:hover { background: var(--ink-900); color: #fff; }

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  /* 英威腾式：深蓝同色相微渐变，不做夸张跳变 */
  background: linear-gradient(118deg, #071F45 0%, #0F3C7E 55%, #164A96 100%);
  color: #fff;
  padding: 126px 0 136px;
}
/* 背景：细密电流网格 + 右侧青灰蓝光域 */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(134, 178, 198, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 178, 198, .10) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 88% 80% at 58% 44%, #000 22%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute;
  width: 860px; height: 860px; right: -300px; top: -330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134, 178, 198, .26), rgba(134, 178, 198, .06) 42%, transparent 66%);
  filter: blur(10px);
}
/* 顶部一条 2px 青灰蓝基准线，呼应仪器面板 */
.hero-band { position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-light) 0%, var(--accent-light) 22%, rgba(134, 178, 198, .18) 22%, rgba(134, 178, 198, .18) 100%); }
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 66px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; margin-bottom: 28px;
  border: 1px solid rgba(134, 178, 198, .3);
  font-size: 12.5px; letter-spacing: 1.4px;
  font-family: "Consolas", "Menlo", monospace;
  text-transform: uppercase;
  background: rgba(134, 178, 198, .07);
  color: var(--accent-light);
}
.hero-badge i {
  width: 7px; height: 7px; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 111, 139, .22);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(42, 111, 139, .22); }
  50% { box-shadow: 0 0 0 7px rgba(42, 111, 139, .04); }
}
.hero h1 {
  font-size: 50px; font-weight: 800; line-height: 1.24;
  letter-spacing: -.5px; margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--accent-light); }
.hero-desc {
  font-size: 16px; line-height: 2; color: var(--brand-light);
  max-width: 540px; margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 0; flex-wrap: wrap; border-top: 1px solid rgba(134, 178, 198, .2); padding-top: 26px; }
.hero-stat { padding-right: 42px; margin-right: 42px; border-right: 1px solid rgba(134, 178, 198, .16); }
.hero-stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stat .num {
  font-size: 34px; font-weight: 800; letter-spacing: -.5px;
  color: #fff; line-height: 1.1;
  font-family: "Consolas", "Menlo", monospace;
}
.hero-stat .num small { font-size: 14px; font-weight: 500; margin-left: 3px; color: var(--accent-light); }
.hero-stat .lbl { font-size: 12.5px; color: var(--brand-light); margin-top: 6px; letter-spacing: .4px; }

/* Hero 右侧：产品卡视觉 */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  border: 1px solid rgba(134, 178, 198, .22);
  background: rgba(7, 31, 69, .55);
  backdrop-filter: blur(10px);
  padding: 30px;
}
/* 卡角刻度线：仪器面板语汇 */
.hero-card::before, .hero-card::after {
  content: ""; position: absolute; width: 18px; height: 18px;
  border: 2px solid var(--accent);
}
.hero-card::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.hero-card::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.hero-card-title {
  font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand-light); margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
  font-family: "Consolas", "Menlo", monospace;
}
.hero-card-title::after { content: ""; flex: 1; height: 1px; background: rgba(134, 178, 198, .24); }
.hero-list { display: grid; gap: 1px; }
.hero-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 16px;
  background: rgba(134, 178, 198, .05);
  border-left: 2px solid transparent;
  font-size: 14.5px;
  transition: all .25s var(--ease);
}
.hero-list li:hover { background: rgba(42, 111, 139, .1); border-left-color: var(--accent); padding-left: 20px; }
.hero-list .dot {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  background: rgba(42, 111, 139, .14); color: var(--accent-light);
}
.hero-list .dot svg { width: 15px; height: 15px; fill: currentColor; }
.hero-list .sub { font-size: 12px; color: var(--brand-light); display: block; line-height: 1.45; opacity: .85; }

/* ---------- 资质滚动带 ---------- */
.certs {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
}
.certs-track { display: grid; grid-template-columns: repeat(4, 1fr); }
.cert-chip {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 22px 12px;
  border-right: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-900); font-weight: 600;
  letter-spacing: .3px;
  transition: background .25s var(--ease);
}
.cert-chip:last-child { border-right: 0; }
.cert-chip:hover { background: #fff; }
.cert-chip svg { width: 15px; height: 15px; fill: var(--accent); flex: none; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid.gap { gap: 24px; background: transparent; border: 0; }
.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;
  padding: 38px 32px;
  transition: all .3s var(--ease);
  position: relative;
}
/* 悬浮：青色顶线推进（取代位移 + 投影） */
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { background: #fcfdfe; }
.card:hover::before { transform: scaleX(1); }

.card-ico {
  width: 48px; height: 48px;
  display: grid; place-items: center; margin-bottom: 24px;
  background: var(--brand-pale);
  color: var(--ink-900);
  border-left: 2px solid var(--accent);
  transition: all .3s var(--ease);
}
.card-ico svg { width: 24px; height: 24px; fill: currentColor; }
.card:hover .card-ico { background: var(--ink-900); color: var(--accent-light); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; letter-spacing: .2px; color: var(--ink-900); }
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.card .tags span {
  font-size: 11.5px; padding: 4px 10px;
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--line);
  font-family: "Consolas", "Menlo", monospace;
  letter-spacing: .2px;
}

/* 序号卡片 */
.num-card { position: relative; padding-left: 32px; }
.num-card .no {
  font-size: 42px; font-weight: 800; line-height: 1;
  color: #eef1f4; letter-spacing: -1.5px;
  position: absolute; right: 26px; top: 26px;
  font-family: "Consolas", "Menlo", monospace;
  transition: color .3s var(--ease);
}
.num-card:hover .no { color: rgba(42, 111, 139, .28); }

/* ---------- 服务中心（深色） ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: rgba(134, 178, 198, .18); border: 1px solid rgba(134, 178, 198, .18); }
.svc {
  padding: 40px 32px;
  background: var(--ink-800);
  transition: all .3s var(--ease);
}
.svc:hover { background: var(--ink-700); }
.svc .svc-ico {
  width: 48px; height: 48px;
  background: rgba(42, 111, 139, .12); color: var(--accent-light);
  display: grid; place-items: center; margin-bottom: 22px;
  border-left: 2px solid var(--accent);
}
.svc .svc-ico svg { width: 24px; height: 24px; fill: currentColor; }
.svc h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.svc .en { font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--brand-soft); margin-bottom: 16px; font-family: "Consolas", "Menlo", monospace; }
.svc p { font-size: 14px; color: var(--brand-light); line-height: 1.9; }
.svc ul { margin-top: 18px; display: grid; gap: 9px; }
.svc ul li {
  font-size: 13.5px; color: var(--brand-light);
  padding-left: 20px; position: relative;
}
.svc ul li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* ---------- 数据条 ---------- */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  overflow: hidden; background: #fff;
}
.metric {
  padding: 40px 26px; text-align: center;
  border-right: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.metric:last-child { border-right: 0; }
.metric:hover { background: var(--brand-pale); }
.metric .num { font-size: 40px; font-weight: 800; color: var(--ink-900); line-height: 1.1; letter-spacing: -1px; font-family: "Consolas", "Menlo", monospace; }
.metric .num small { font-size: 15px; margin-left: 2px; font-weight: 600; color: var(--accent); }
.metric .lbl { font-size: 13px; color: var(--ink-2); margin-top: 8px; letter-spacing: .3px; }

/* ---------- 产品明细行 ---------- */
.prod-row {
  display: grid; grid-template-columns: 210px 1fr; gap: 44px;
  padding: 44px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.prod-row:last-child { border-bottom: 0; }
.prod-cat { position: sticky; top: 150px; }
.prod-cat .kicker {
  font-size: 11.5px; letter-spacing: 2.2px; color: var(--accent); font-weight: 700;
  text-transform: uppercase; font-family: "Consolas", "Menlo", monospace;
}
.prod-cat h3 { font-size: 23px; font-weight: 800; margin-top: 8px; letter-spacing: .2px; color: var(--ink-900); }
.prod-cat .line { width: 44px; height: 2px; background: var(--accent); margin-top: 16px; }
.prod-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.prod-item {
  padding: 22px 24px;
  background: #fff; transition: all .25s var(--ease);
}
.prod-item:hover { background: var(--brand-pale); }
.prod-item h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; color: var(--ink-900); }
.prod-item h4 i { width: 10px; height: 2px; background: var(--accent); flex: none; }
.prod-item p { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.prod-item .spec { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-family: "Consolas", "Menlo", monospace; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 32px; margin-top: 12px; }
.timeline::before {
  content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -32px; top: 8px;
  width: 9px; height: 9px;
  background: #fff; border: 2px solid var(--accent);
}
.tl-year { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .8px; font-family: "Consolas", "Menlo", monospace; }
.tl-item h4 { font-size: 16px; font-weight: 700; margin: 5px 0 7px; color: var(--ink-900); }
.tl-item p { font-size: 14px; color: var(--ink-2); line-height: 1.9; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 1px; align-items: start; background: var(--line); border: 1px solid var(--line); }
.info-list { display: grid; gap: 1px; background: var(--line); }
.info-item {
  display: flex; gap: 20px; padding: 26px 28px;
  background: #fff; transition: background .25s var(--ease);
}
.info-item:hover { background: var(--brand-pale); }
.info-item .ico {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: var(--brand-pale); color: var(--ink-900);
  border-left: 2px solid var(--accent);
}
.info-item .ico svg { width: 21px; height: 21px; fill: currentColor; }
.info-item h4 { font-size: 13px; color: var(--ink-3); font-weight: 500; margin-bottom: 5px; letter-spacing: .5px; }
.info-item .val { font-size: 17px; font-weight: 700; color: var(--ink-900); line-height: 1.5; }
.info-item .val a:hover { color: var(--accent); }
.info-item .note { font-size: 13px; color: var(--ink-3); margin-top: 5px; }

.form-card {
  background: #fff; padding: 42px;
  border-left: 2px solid var(--accent);
}
.form-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; color: var(--ink-900); }
.form-card > p { font-size: 14px; color: var(--ink-2); margin-bottom: 30px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; letter-spacing: .3px; }
.field label em { color: var(--accent); font-style: normal; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line);
  font-size: 14.5px; font-family: inherit; color: var(--ink);
  background: #fff; outline: none;
  transition: all .22s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); background: #fff;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-tip { font-size: 12.5px; color: var(--ink-3); margin-top: 16px; line-height: 1.7; }

.map-box {
  margin-top: 18px; border: 1px solid var(--line);
  overflow: hidden; height: 260px; background: var(--brand-pale);
  display: grid; place-items: center; text-align: center; color: var(--ink-2);
  font-size: 14px; line-height: 1.9; padding: 20px;
}

/* ---------- CTA 区块 ---------- */
.cta-band {
  background: linear-gradient(115deg, #071F45 0%, #0F3C7E 58%, #164A96 100%);
  color: #fff; padding: 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(134, 178, 198, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 178, 198, .08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 100% at 88% 50%, #000 10%, transparent 80%);
}
.cta-band::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent);
}
.cta-band .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-top: 78px; padding-bottom: 78px; }
.cta-band h2 { font-size: 31px; font-weight: 800; letter-spacing: .2px; margin-bottom: 12px; }
.cta-band p { color: var(--brand-light); font-size: 15.5px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink-900); color: var(--brand-light); padding: 72px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 54px; }
.footer h4 {
  font-size: 14.5px; color: #fff; font-weight: 700; margin-bottom: 22px;
  letter-spacing: .6px; position: relative; padding-bottom: 14px;
}
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 22px; height: 2px; background: var(--accent); }
.footer .f-logo { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.footer .f-logo .logo-mark { width: 44px; height: 44px; }
/* 页脚为深色底 → 必须用白色版 logo（品牌蓝版在此底上对比度仅 1.28:1，不可见） */
.footer .f-logo .logo-mark .lm-blue { display: none; }
.footer .f-logo .logo-mark .lm-white { display: block; }
.footer .f-logo .logo-cn { color: #fff; letter-spacing: 1px; }
.footer .f-logo .logo-en { color: var(--brand-soft); }
.footer-about { line-height: 1.95; color: var(--brand-light); font-size: 13.5px; }
.footer ul li { margin-bottom: 12px; font-size: 13.5px; }
.footer ul li a:hover { color: var(--accent-light); }
.footer-contact li { display: flex; gap: 11px; line-height: 1.75; }
.footer-contact svg { width: 14px; height: 14px; fill: var(--accent); flex: none; margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(134, 178, 198, .16);
  padding: 24px 0; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(134, 178, 198, .75);
}

/* ---------- 面包屑 / 页头 ---------- */
.page-head {
  background: linear-gradient(118deg, #071F45 0%, #0F3C7E 52%, #164A96 100%);
  color: #fff; padding: 0; position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(134, 178, 198, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 178, 198, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 100% at 75% 50%, #000 10%, transparent 90%);
}
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 18%, rgba(134, 178, 198, .16) 18%, rgba(134, 178, 198, .16) 100%);
}
.page-head .wrap { position: relative; z-index: 2; padding-top: 86px; padding-bottom: 70px; }
.page-head h1 { font-size: 40px; font-weight: 800; letter-spacing: .5px; margin-bottom: 16px; }
.page-head p { color: var(--brand-light); font-size: 15.5px; max-width: 740px; line-height: 1.95; }
.crumb { font-size: 12.5px; color: var(--brand-soft); margin-bottom: 18px; font-family: "Consolas", "Menlo", monospace; letter-spacing: .8px; }
.crumb a:hover { color: var(--accent-light); }
.crumb span { margin: 0 8px; opacity: .5; }

/* ---------- 关于页 ---------- */
.about-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.about-split p { font-size: 15.5px; color: var(--ink-2); line-height: 2.05; margin-bottom: 20px; }
.about-split p strong { color: var(--ink-900); font-weight: 700; }
.hl-quote {
  margin: 30px 0; padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: var(--brand-pale);
  font-size: 17px; font-weight: 700; color: var(--ink-900); letter-spacing: .3px;
}
.about-visual { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.about-box {
  padding: 30px;
  background: #fff;
}
.about-box .big { font-size: 31px; font-weight: 800; color: var(--ink-900); line-height: 1.2; letter-spacing: -.5px; font-family: "Consolas", "Menlo", monospace; }
.about-box .sub { font-size: 13.5px; color: var(--ink-2); margin-top: 7px; line-height: 1.75; }

.value-card { text-align: center; padding: 40px 28px; }
.value-card .v-ico {
  width: 56px; height: 56px; margin: 0 auto 22px;
  display: grid; place-items: center;
  background: var(--brand-pale); color: var(--ink-900);
  border-bottom: 2px solid var(--accent);
}
.value-card .v-ico svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- 锚点导航条 ---------- */
.anchor-bar {
  padding: 0; border-bottom: 1px solid var(--line);
  background: #fff; position: sticky; top: 74px; z-index: 800;
}
.anchor-bar .inner { display: flex; gap: 0; overflow-x: auto; padding: 0; }
.anchor-bar .inner::-webkit-scrollbar { height: 3px; }
.anchor-bar .inner::-webkit-scrollbar-thumb { background: var(--line); }

/* ---------- 后台管理入口按钮 ---------- */
.admin-entry {
  position: fixed; right: 22px; bottom: 22px; z-index: 950;
  width: 46px; height: 46px;
  background: var(--ink-900); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  transition: background .25s var(--ease);
}
.admin-entry:hover { background: var(--accent); }
.admin-entry svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- 登录遮罩 ---------- */
.login-mask {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(7, 31, 69, .88);
  backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 24px;
}
.login-box {
  width: 100%; max-width: 396px;
  background: #fff; padding: 42px 36px;
  border-top: 3px solid var(--accent);
  text-align: center;
}
.login-box .lk-logo {
  width: 54px; height: 54px; margin: 0 auto 22px;
  background: var(--ink-900);
  display: grid; place-items: center; position: relative;
}
.login-box .lk-logo::after {
  content: ""; position: absolute; right: -4px; top: -4px;
  width: 12px; height: 12px; background: var(--accent);
}
.login-box .lk-logo svg { width: 28px; height: 28px; fill: #fff; position: relative; z-index: 2; }
.login-box h2 { font-size: 20px; font-weight: 800; color: var(--ink-900); margin-bottom: 7px; }
.login-box .lk-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 30px; }
.login-box input {
  width: 100%; padding: 14px 16px; text-align: center;
  border: 1px solid var(--line);
  font-size: 17px; letter-spacing: 5px; font-family: inherit;
  background: #fff; outline: none; transition: border-color .22s var(--ease);
}
.login-box input:focus { border-color: var(--accent); }
.login-box .lk-btn {
  width: 100%; margin-top: 20px; padding: 14px;
  background: var(--ink-900); color: #fff; border: 0;
  font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: inherit;
  letter-spacing: .4px;
  transition: background .25s var(--ease);
}
.login-box .lk-btn:hover { background: var(--accent); }
.login-err { font-size: 13px; color: #d13a4a; margin-top: 16px; min-height: 20px; }
.login-close {
  margin-top: 20px; font-size: 13px; color: var(--ink-3);
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.login-close:hover { color: var(--ink-900); }

/* ---------- 管理面板 ---------- */
.admin-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 990;
  width: 100%; max-width: 480px;
  background: #fff; border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .38s var(--ease);
}
.admin-panel.open { transform: none; }
.admin-head {
  padding: 22px 26px;
  background: var(--ink-900); color: #fff;
  display: flex; align-items: center; justify-content: space-between; flex: none;
  border-bottom: 2px solid var(--accent);
}
.admin-head h3 { font-size: 16.5px; font-weight: 700; letter-spacing: .5px; }
.admin-head p { font-size: 12px; color: var(--brand-soft); margin-top: 4px; }
.admin-x {
  width: 34px; height: 34px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff;
  display: grid; place-items: center; flex: none; transition: background .22s var(--ease);
}
.admin-x:hover { background: var(--accent); }
.admin-x svg { width: 15px; height: 15px; fill: currentColor; }

.admin-body { flex: 1; overflow-y: auto; padding: 26px 26px 44px; }
.admin-sec { margin-bottom: 32px; }
.admin-sec > h4 {
  font-size: 11.5px; font-weight: 700; color: var(--accent);
  letter-spacing: 1.8px; text-transform: uppercase;
  font-family: "Consolas", "Menlo", monospace;
  padding-bottom: 10px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.admin-field { margin-bottom: 17px; }
.admin-field label {
  display: block; font-size: 12.5px; color: var(--ink-2);
  margin-bottom: 7px; font-weight: 600;
}
.admin-field input, .admin-field textarea {
  width: 100%; padding: 10px 13px;
  border: 1px solid var(--line);
  font-size: 14px; font-family: inherit; color: var(--ink);
  background: #fff; outline: none; transition: border-color .2s var(--ease);
}
.admin-field textarea { resize: vertical; min-height: 78px; line-height: 1.6; }
.admin-field input:focus, .admin-field textarea:focus { border-color: var(--accent); }
.admin-foot {
  flex: none; padding: 18px 26px; border-top: 1px solid var(--line);
  background: var(--bg-soft); display: flex; gap: 10px;
}
.admin-foot button {
  flex: 1; padding: 12px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: inherit; border: 1px solid transparent;
  transition: all .22s var(--ease);
}
.adm-save { background: var(--ink-900); color: #fff; }
.adm-save:hover { background: var(--accent); }
.adm-reset { background: #fff; color: var(--ink-2); border-color: var(--line); }
.adm-reset:hover { border-color: var(--ink-900); color: var(--ink-900); }

/* ---- 管理面板 · 配色主题切换 ---- */
.admin-theme .theme-switch { display: flex; gap: 10px; }
.theme-opt {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 8px; font-size: 13px; font-family: inherit; cursor: pointer;
  background: #fff; color: var(--ink-2);
  border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.theme-opt i { width: 13px; height: 13px; flex: none; }
.theme-opt:hover { border-color: var(--ink-900); color: var(--ink-900); }
.theme-opt.on {
  border-color: var(--ink-900); color: var(--ink-900); font-weight: 700;
  background: var(--brand-pale);
}
.adm-toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
  background: var(--ink-900); color: #fff; padding: 13px 26px;
  border-left: 3px solid var(--accent);
  font-size: 14px; z-index: 1100;
  opacity: 0; pointer-events: none; transition: all .32s var(--ease);
}
.adm-toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero h1 { font-size: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .certs-track { grid-template-columns: repeat(2, 1fr); }
  .cert-chip:nth-child(2) { border-right: 0; }
  .cert-chip:nth-child(1), .cert-chip:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .prod-row { grid-template-columns: 1fr; gap: 22px; }
  .prod-cat { position: static; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .topbar-left .hide-sm { display: none; }
  .topbar-right .hide-sm { display: none; }
  .burger { display: block; }
  .menu {
    position: fixed; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 6px 16px 20px;
    transform: translateY(-130%); opacity: 0; pointer-events: none;
    transition: all .34s var(--ease);
  }
  .menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .menu a { padding: 15px 12px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .menu a::after { display: none; }
  .nav-cta { display: none; }
  .section { padding: 72px 0; }
  .sec-title { font-size: 27px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .contact-grid, .about-split { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { gap: 0; }
  .prod-items { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 88px; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 0; }
  .hero-stat { padding-right: 26px; margin-right: 26px; }
  .hero-stat .num { font-size: 27px; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .certs-track { grid-template-columns: 1fr; }
  .cert-chip { border-right: 0; border-bottom: 1px solid var(--line); }
  .cert-chip:last-child { border-bottom: 0; }
  .page-head .wrap { padding-top: 62px; padding-bottom: 54px; }
  .page-head h1 { font-size: 28px; }
  .cta-band h2 { font-size: 24px; }
  .cta-band .wrap { padding-top: 58px; padding-bottom: 58px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-card { padding: 30px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .anchor-bar { top: 74px; }
  .admin-panel { max-width: 100%; }
  .admin-entry { right: 16px; bottom: 16px; }
}

/* ===== 创始人（about.html）===== */
.founder-grid { display: grid; grid-template-columns: .72fr 1.28fr; background: #fff; border: 1px solid var(--line); }
.fd-photo { position: relative; min-height: 440px; background: var(--ink-800); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fd-photo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 25% 12%, rgba(134, 178, 198, .30), transparent 62%), linear-gradient(160deg, rgba(255, 255, 255, .07), transparent 55%); }
.fd-photo .fd-ph { position: relative; font-size: 180px; font-weight: 800; line-height: 1; letter-spacing: -6px; color: rgba(255, 255, 255, .16); font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }
.fd-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; z-index: 0; }
.fd-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; z-index: 1;
  background: linear-gradient(to top, rgba(8, 22, 38, .70), rgba(8, 22, 38, .28) 46%, transparent); pointer-events: none; }
.fd-photo .fd-cap { position: absolute; left: 26px; bottom: 22px; z-index: 2; font-family: "Consolas", "Menlo", monospace; font-size: 11px; letter-spacing: 2.4px; color: rgba(255, 255, 255, .60); }
.fd-body { padding: 54px 56px 50px; }
.fd-body .sec-title { font-size: 30px; margin-bottom: 12px; }
.fd-lead { font-size: 17px; font-weight: 700; color: var(--ink-900); letter-spacing: .2px; margin-bottom: 16px; }
.fd-body p { font-size: 15.5px; color: var(--ink-2); line-height: 2.05; margin-bottom: 18px; }
.fd-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 24px; }
.fd-tags span { font-size: 13px; color: var(--ink-900); background: var(--brand-pale); border-left: 2px solid var(--accent); padding: 7px 14px; }
.fd-body .fd-invite { color: var(--ink-900); font-weight: 600; margin-bottom: 26px; }
@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
  .fd-photo { min-height: 280px; }
  .fd-photo .fd-ph { font-size: 128px; }
  .fd-body { padding: 32px 22px 34px; }
  .fd-body .sec-title { font-size: 25px; }
}

/* ===== 2026-11-11 手机端顶栏防溢出补丁 ===== */
@media (max-width:480px){
  .topbar .wrap{flex-wrap:wrap;height:auto;padding:4px 0;gap:2px 12px}
}
