/* ==========================================================================
   上海安钧智能科技官网 · 白色底 + 品牌红 设计系统
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --soft: #F6F7F9;
  --soft-2: #FBFBFC;
  --card: #FFFFFF;
  --line: #E6E9ED;
  --line-2: #EFF1F4;

  --ink: #0E1621;
  --ink-2: #1F2C3A;
  --muted: #66717F;
  --muted-2: #8B95A1;

  --brand: #D6282C;
  --brand-dk: #B01C21;
  --brand-soft: #FDF1F1;
  --navy: #12293F;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;

  --shadow-s: 0 1px 2px rgba(14, 22, 33, .04), 0 4px 14px rgba(14, 22, 33, .04);
  --shadow-m: 0 2px 6px rgba(14, 22, 33, .05), 0 14px 40px rgba(14, 22, 33, .07);
  --shadow-l: 0 8px 24px rgba(14, 22, 33, .06), 0 30px 80px rgba(14, 22, 33, .1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  background: var(--bg);
  color: var(--ink-2);
  font: 16px/1.75 "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "system-ui", -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: color .18s, border-color .18s; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.32; letter-spacing: -.01em; }
ul { list-style: none; }
button { font: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部工具条 ---------- */
.utility {
  background: var(--soft);
  border-bottom: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--muted);
}
.utility-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.utility-l { display: flex; gap: 22px; align-items: center; }
.utility-r { display: flex; gap: 18px; align-items: center; }
.utility a:hover { color: var(--brand); }
.utility strong { color: var(--ink); font-weight: 600; letter-spacing: .02em; }
.u-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

/* ---------- 头部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.topbar.scrolled { box-shadow: 0 6px 24px rgba(14, 22, 33, .07); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dk) 100%);
  position: relative; flex: none; box-shadow: 0 6px 16px rgba(214, 40, 44, .26);
}
.brand-mark::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 26%, #fff 26%, #fff 38%, transparent 38%),
    linear-gradient(0deg, transparent 46%, #fff 46%, #fff 56%, transparent 56%);
  border-radius: 10px; opacity: .95;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.brand-en { font-size: 9.5px; letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; }

.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
  color: var(--ink-2); padding: 9px 16px; border-radius: 9px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a.active { color: var(--brand); font-weight: 600; }
.nav a.active::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: var(--brand); margin: 5px auto 0; width: 18px;
}
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-tel { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.header-tel span { font-size: 11px; color: var(--muted-2); }
.header-tel b { font-size: 16px; color: var(--ink); font-weight: 700; letter-spacing: .01em; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink-2); margin: 4px 0; border-radius: 2px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(214, 40, 44, .22); }
.btn-primary:hover { background: var(--brand-dk); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(214, 40, 44, .28); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.section-soft { background: var(--soft); }
.section-line { border-top: 1px solid var(--line-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }

.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.sec-head h2 { font-size: 38px; letter-spacing: -.02em; }
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 16.5px; max-width: 720px; }
.sec-head.center p { margin-left: auto; margin-right: auto; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-link { font-size: 14.5px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; flex: none; }
.sec-link:hover { color: var(--brand); }
.sec-link::after { content: "→"; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #fff; padding: 78px 0 64px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(14, 22, 33, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 22, 33, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 15% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 15% 20%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--brand-soft); color: var(--brand);
  border-radius: 100px; padding: 7px 16px 7px 10px;
  font-size: 13.5px; font-weight: 600; margin-bottom: 24px;
}
.hero-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(214, 40, 44, .14); }

.hero h1 { font-size: 54px; line-height: 1.22; letter-spacing: -.03em; }
.hero h1 em {
  font-style: normal; color: var(--brand); position: relative; white-space: nowrap;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: rgba(214, 40, 44, .12); border-radius: 2px; z-index: -1;
}
.hero-sub { margin-top: 22px; font-size: 17px; line-height: 1.85; color: var(--muted); max-width: 540px; }
.hero-btns { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-badges { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.hero-badges span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.hero-badges span::before { content: "✓"; color: var(--brand); font-weight: 700; font-size: 13px; }

.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -14% -8% -10% -8%;
  background: radial-gradient(circle at 55% 45%, rgba(214, 40, 44, .085), rgba(214, 40, 44, 0) 62%);
  border-radius: 50%;
}
.hero-frame {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 26px; padding: 26px; box-shadow: var(--shadow-m);
}
.hero-frame img { width: 100%; }
.hero-float {
  position: absolute; left: -26px; bottom: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 22px; box-shadow: var(--shadow-l);
}
.hero-float b { display: block; font-size: 26px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; line-height: 1.2; }
.hero-float span { font-size: 12.5px; color: var(--muted); }
.hero-chip {
  position: absolute; right: -14px; top: 22px;
  background: var(--ink); color: #fff; border-radius: 12px;
  padding: 11px 16px; font-size: 12.5px; font-weight: 600; line-height: 1.35;
  box-shadow: var(--shadow-m); text-align: center;
}
.hero-chip b { display: block; font-size: 17px; letter-spacing: .01em; }

/* ---------- 数据条 ---------- */
.stats-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 26px; border-left: 1px solid var(--line-2); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat-num small { font-size: 20px; font-weight: 700; color: var(--brand); margin-left: 2px; }
.stat-label { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ---------- 能力卡片 ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 26px 32px; position: relative; overflow: hidden;
  transition: .22s;
}
.cap-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--brand); transition: width .3s;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: #DCE0E6; }
.cap-card:hover::before { width: 100%; }
.cap-no { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .1em; }
.cap-card h3 { font-size: 18.5px; margin: 10px 0 10px; }
.cap-card p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }

/* ---------- 产品分类 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 18px 22px; position: relative;
  transition: .22s; overflow: hidden;
}
.cat-card:hover { border-color: rgba(214, 40, 44, .38); box-shadow: var(--shadow-m); transform: translateY(-4px); }
.cat-img { aspect-ratio: 1 / .82; display: flex; align-items: center; justify-content: center; padding: 8px; background: var(--soft-2); border-radius: 10px; margin-bottom: 16px; }
.cat-img img { max-height: 100%; object-fit: contain; }
.cat-card h3 { font-size: 16.5px; margin-bottom: 4px; }
.cat-model { font-size: 11.5px; letter-spacing: .1em; color: var(--muted-2); font-weight: 600; }
.cat-card p { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.cat-arrow {
  position: absolute; right: 16px; top: 16px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  opacity: 0; transform: translateX(-4px); transition: .22s;
}
.cat-card:hover .cat-arrow { opacity: 1; transform: translateX(0); }

/* ---------- 案例卡 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: .22s;
}
.case-card:hover { border-color: #DCE0E6; box-shadow: var(--shadow-m); transform: translateY(-3px); }
.case-media { position: relative; background: var(--soft); overflow: hidden; min-height: 100%; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .case-media img { transform: scale(1.05); }
.case-body { padding: 26px 28px 28px; }
.case-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  color: var(--brand); background: var(--brand-soft); border-radius: 5px; padding: 4px 10px;
}
.case-body h3 { font-size: 19px; margin: 12px 0 8px; }
.case-body p { font-size: 14px; color: var(--muted); line-height: 1.78; }
.case-pts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.case-pts li {
  font-size: 12.5px; color: var(--ink-2); background: var(--soft);
  border-radius: 6px; padding: 5px 10px; font-weight: 500;
}
.case-pts li b { color: var(--brand); font-weight: 700; }

/* ---------- 资质预览 ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.honor-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 12px; transition: .22s;
}
.honor-card:hover { border-color: rgba(214, 40, 44, .35); box-shadow: var(--shadow-s); transform: translateY(-3px); }
.honor-thumb { background: var(--soft-2); border-radius: 8px; overflow: hidden; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; padding: 10px; }
.honor-thumb img { max-height: 100%; width: auto; object-fit: contain; filter: saturate(.96); }
.honor-card h4 { font-size: 13px; margin-top: 12px; line-height: 1.55; font-weight: 600; text-align: center; }
.honor-card span { display: block; text-align: center; font-size: 11.5px; color: var(--muted-2); margin-top: 3px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 100px; padding: 9px 20px; font-size: 14px; cursor: pointer; transition: .18s;
}
.filter-btn:hover { border-color: rgba(214, 40, 44, .4); color: var(--brand); }
.filter-btn.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 平台 ---------- */
.platform-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 56px; align-items: center; }
.platform-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 26px; }
.platform-feats li { display: flex; gap: 11px; font-size: 14.5px; align-items: flex-start; }
.platform-feats li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  margin-top: 9px; flex: none;
}
.platform-feats b { display: block; color: var(--ink); font-weight: 600; }
.platform-feats span { color: var(--muted); font-size: 13.5px; }
.platform-shot { position: relative; }
.platform-shot img { border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-m); }
.platform-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.platform-tabs button {
  border: 1px solid var(--line); background: #fff; border-radius: 8px;
  padding: 7px 16px; font-size: 13.5px; cursor: pointer; color: var(--muted);
}
.platform-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 14px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 34px 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 1px; top: 7px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px #fff; z-index: 1;
}
.tl-year { font-size: 15px; font-weight: 800; color: var(--brand); letter-spacing: .02em; }
.tl-item h4 { font-size: 17px; margin: 4px 0 6px; }
.tl-item p { font-size: 14.5px; color: var(--muted); line-height: 1.78; }

/* ---------- 行业 / 标签 ---------- */
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line); border-radius: 100px; padding: 9px 20px;
  font-size: 14px; color: var(--ink-2); background: #fff; transition: .18s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* ---------- 图片墙 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--r); overflow: hidden; background: var(--soft); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; aspect-ratio: 4/3; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 13px;
  background: linear-gradient(to top, rgba(9, 15, 22, .78), rgba(9, 15, 22, 0));
  color: #fff; font-size: 13.5px; font-weight: 500;
}
.gallery-cap small { display: block; font-size: 11.5px; opacity: .8; font-weight: 400; }

/* ---------- CTA ---------- */
.cta-band { background: var(--brand); color: #fff; padding: 66px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -6%; top: -40%; width: 640px; height: 640px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%;
}
.cta-band::after {
  content: ""; position: absolute; right: 6%; top: 10%; width: 380px; height: 380px;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%;
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; font-size: 34px; letter-spacing: -.02em; }
.cta-band p { color: rgba(255, 255, 255, .82); margin-top: 10px; font-size: 15.5px; }
.cta-actions { display: flex; gap: 12px; flex: none; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #fff; color: var(--brand-dk); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, .16); }
.btn-outline-w { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-w:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }

/* ---------- 页脚 ---------- */
.footer { background: var(--soft); border-top: 1px solid var(--line); margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding: 60px 0 44px; }
.footer h4 { font-size: 14.5px; margin-bottom: 16px; letter-spacing: .02em; }
.footer p, .footer li { font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.footer a:hover { color: var(--brand); }
.footer-brand .brand-name { font-size: 17px; }
.footer-brand p { margin-top: 14px; max-width: 320px; }
.footer-tel { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: .01em; line-height: 1.3; }
.footer-tel small { display: block; font-size: 12px; font-weight: 400; color: var(--muted-2); letter-spacing: .06em; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 18px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted-2);
}

/* ---------- 页面头（内页） ---------- */
.page-head { background: var(--soft-2); border-bottom: 1px solid var(--line); padding: 54px 0 50px; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(14, 22, 33, .04) 1px, transparent 1px);
  background-size: 64px 100%;
  mask-image: linear-gradient(to right, #000, transparent 60%);
  -webkit-mask-image: linear-gradient(to right, #000, transparent 60%);
}
.page-head-inner { position: relative; }
.page-head h1 { font-size: 40px; letter-spacing: -.025em; }
.page-head p { color: var(--muted); margin-top: 12px; max-width: 760px; font-size: 16px; }
.crumb { font-size: 13px; color: var(--muted-2); margin-bottom: 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumb a:hover { color: var(--brand); }
.crumb i { font-style: normal; opacity: .5; }

/* ---------- 产品列表页 ---------- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 46px; }
.cat-nav a {
  border: 1px solid var(--line); background: #fff; border-radius: 100px;
  padding: 8px 18px; font-size: 14px; color: var(--ink-2);
}
.cat-nav a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.cat-block { padding: 46px 0; border-top: 1px solid var(--line-2); }
.cat-block:first-of-type { border-top: none; padding-top: 0; }
.cat-block-head { display: grid; grid-template-columns: 300px 1fr; gap: 40px; margin-bottom: 28px; align-items: start; }
.cat-block-head h3 { font-size: 26px; }
.cat-block-head .cat-model { margin-top: 6px; }
.cat-block-desc p { font-size: 15px; color: var(--muted); line-height: 1.85; }
.cat-block-desc .cat-apps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cat-block-desc .cat-apps span {
  font-size: 12px; color: var(--muted); background: var(--soft);
  border-radius: 5px; padding: 4px 9px;
}

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: .22s;
}
.prod-card:hover { border-color: rgba(214, 40, 44, .35); box-shadow: var(--shadow-m); transform: translateY(-4px); }
.prod-img { background: #fff; padding: 14px; border-bottom: 1px solid var(--line-2); }
.prod-img img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.prod-info { padding: 18px 18px 20px; }
.prod-info h4 { font-size: 15.5px; line-height: 1.5; margin-bottom: 6px; }
.prod-info p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.prod-model { font-size: 11.5px; color: var(--brand); font-weight: 700; letter-spacing: .08em; margin-bottom: 6px; }

/* ---------- 产品详情 ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.detail-img {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; cursor: zoom-in; position: relative; box-shadow: var(--shadow-s);
}
.detail-img img { width: 100%; }
.img-hint { text-align: center; color: var(--muted-2); font-size: 12.5px; margin-top: 10px; }
.cat-chip {
  display: inline-block; font-size: 12.5px; color: var(--brand);
  background: var(--brand-soft); border-radius: 6px; padding: 4px 11px; margin-bottom: 14px; font-weight: 600;
}
.detail-info h1 { font-size: 32px; margin-bottom: 6px; letter-spacing: -.02em; }
.detail-en { font-size: 13px; color: var(--muted-2); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.detail-desc { font-size: 15.5px; color: var(--muted); line-height: 1.9; }
.spec-title {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--ink);
  margin: 30px 0 4px; padding-bottom: 10px; border-bottom: 2px solid var(--ink);
  display: flex; justify-content: space-between; align-items: baseline;
}
.spec-title span { font-size: 11.5px; letter-spacing: .18em; color: var(--muted-2); font-weight: 600; }
.param-table { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.param-table th, .param-table td { text-align: left; padding: 12px 4px; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.param-table th { color: var(--muted); font-weight: 400; width: 40%; }
.param-table td { color: var(--ink); font-weight: 500; }
.detail-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.detail-article { margin-top: 56px; background: var(--soft); border-radius: var(--r-lg); padding: 34px 38px; }
.detail-article h3 { margin-bottom: 12px; font-size: 19px; }
.detail-article p { font-size: 15px; color: var(--muted); line-height: 1.9; }

/* ---------- 解决方案页 ---------- */
.sol-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.sol-hero img { border-radius: var(--r-lg); border: 1px solid var(--line); }
.sol-block { padding: 64px 0; border-top: 1px solid var(--line-2); }
.sol-head { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-bottom: 40px; align-items: end; }
.sol-head h2 { font-size: 30px; letter-spacing: -.02em; }
.sol-head p { font-size: 15.5px; color: var(--muted); line-height: 1.9; }
.sol-kpi { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.sol-kpi li {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; min-width: 104px;
}
.sol-kpi b { display: block; font-size: 20px; font-weight: 800; color: var(--brand); line-height: 1.2; }
.sol-kpi span { font-size: 12px; color: var(--muted); }

.sol-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 44px; }
.sol-col h4 {
  font-size: 13px; letter-spacing: .1em; color: var(--muted-2);
  text-transform: uppercase; margin-bottom: 16px; font-weight: 700;
}
.sol-list li { position: relative; padding-left: 22px; margin-bottom: 16px; }
.sol-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--brand);
}
.sol-list b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.sol-list span { font-size: 14px; color: var(--muted); line-height: 1.8; }

.result-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.result-item { background: var(--soft); border-radius: var(--r); padding: 26px 28px; }
.result-item b { font-size: 34px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; line-height: 1.1; }
.result-item b i { font-style: normal; font-size: 15px; font-weight: 700; margin-left: 3px; }
.result-item span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; }

.quote-box {
  margin-top: 30px; border-left: 3px solid var(--brand); background: var(--soft-2);
  padding: 20px 26px; border-radius: 0 var(--r) var(--r) 0;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.85;
}

/* ---------- 关于页 ---------- */
.about-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.about-intro h2 { font-size: 34px; letter-spacing: -.02em; margin-bottom: 18px; }
.about-intro p { font-size: 15.5px; color: var(--muted); line-height: 1.95; margin-bottom: 14px; }
.about-figure img { border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-m); }
.about-figure figcaption { font-size: 12.5px; color: var(--muted-2); margin-top: 10px; text-align: right; }

.val-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.val-card { border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; background: #fff; }
.val-card b { font-size: 22px; font-weight: 800; color: var(--ink); }
.val-card span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.75; }
.val-card:nth-child(1) b { color: var(--brand); }

.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 30px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.about-stats .stat { padding: 0; border: none; }
.about-stats .stat-num { font-size: 34px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mv-card { border-radius: var(--r-lg); padding: 34px 36px; background: var(--soft); }
.mv-card.dark { background: var(--ink); }
.mv-card.dark h4, .mv-card.dark p { color: #fff; }
.mv-card.dark p { opacity: .78; }
.mv-card h4 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.mv-card p { font-size: 21px; font-weight: 700; letter-spacing: -.01em; line-height: 1.6; }

.culture-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.culture-list div { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.culture-list b { flex: none; width: 84px; font-size: 14px; color: var(--ink); font-weight: 600; }
.culture-list span { font-size: 14px; color: var(--muted); line-height: 1.8; }

.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.region-item { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; background: #fff; }
.region-item b { display: block; font-size: 16px; color: var(--brand); margin-bottom: 6px; }
.region-item span { font-size: 13px; color: var(--muted); line-height: 1.7; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 24px; background: #fff; position: relative; }
.step b.no { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .08em; }
.step h4 { font-size: 16px; margin: 8px 0 5px; }
.step p { font-size: 13px; color: var(--muted); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: start; }
.contact-info { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; }
.contact-info h3 { font-size: 19px; margin-bottom: 6px; }
.contact-info .ci-sub { font-size: 12.5px; color: var(--muted-2); letter-spacing: .06em; margin-bottom: 22px; }
.contact-item { padding: 15px 0; border-bottom: 1px solid var(--line-2); }
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.ci-label { display: block; font-size: 12px; color: var(--muted-2); letter-spacing: .04em; margin-bottom: 3px; }
.ci-value { color: var(--ink); font-size: 15px; line-height: 1.7; }
.ci-tel { font-size: 26px; font-weight: 800; color: var(--brand); letter-spacing: .01em; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-s); }
.contact-form h3 { font-size: 19px; margin-bottom: 4px; }
.contact-form .form-sub { font-size: 13px; color: var(--muted-2); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.field label em { color: var(--brand); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; color: var(--ink); padding: 12px 14px; font: inherit; font-size: 14.5px;
  transition: .18s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(214, 40, 44, .1);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-msg { min-height: 22px; font-size: 13.5px; margin-bottom: 10px; }
.form-msg.ok { color: #10855A; }
.form-msg.err, .form-msg.show { color: var(--brand); }

/* ---------- 灯箱 ---------- */
.lightbox {
  display: none; position: fixed; inset: 0; background: rgba(10, 15, 22, .88);
  z-index: 200; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out;
  backdrop-filter: blur(4px);
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 92%; max-height: 92%; background: #fff; padding: 14px; border-radius: 10px; }

/* ---------- 后台 ---------- */
.admin-body { background: var(--soft); display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.admin-login-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px; width: 380px; box-shadow: var(--shadow-m); }
.admin-login-card h2 { margin-bottom: 22px; text-align: center; font-size: 22px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.admin-head h2 { font-size: 24px; }
.admin-actions { display: flex; gap: 8px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; color: var(--muted); font-weight: 500; padding: 13px 15px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--soft-2); }
.admin-table td { padding: 13px 15px; border-bottom: 1px solid var(--line-2); vertical-align: top; color: var(--ink-2); }
.admin-table tr.unread td { background: var(--brand-soft); }
.msg-cell { max-width: 320px; }
.nowrap { white-space: nowrap; }
.red { color: var(--brand); }
.mini-btn { background: #fff; border: 1px solid var(--line); color: var(--ink-2); border-radius: 7px; padding: 5px 12px; cursor: pointer; font-size: 13px; }
.mini-btn:hover { border-color: var(--brand); color: var(--brand); }
.empty-tip { text-align: center; color: var(--muted-2); padding: 70px 0; }
.center-tip { text-align: center; padding: 100px 0; }
.center-tip h1 { font-size: 72px; color: var(--line); margin-bottom: 10px; letter-spacing: -.04em; }
.admin-badge {
  position: fixed; right: 18px; bottom: 18px; background: var(--ink); color: #fff;
  border-radius: 10px; padding: 9px 15px; font-size: 13px; z-index: 70;
}
.admin-badge:hover { background: var(--brand); color: #fff; }
.data-error {
  margin-top: 18px; background: var(--brand-soft);
  border: 1px solid rgba(214, 40, 44, .3); color: var(--brand);
  border-radius: 10px; padding: 12px 16px; font-size: 14px;
}

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .honor-grid { grid-template-columns: repeat(4, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 46px; }
  .header-tel { display: none; }
}

@media (max-width: 980px) {
  .section { padding: 64px 0; }
  .hero { padding: 52px 0 44px; }
  .hero-inner, .detail-grid, .contact-grid, .about-intro,
  .platform-grid, .sol-hero, .sol-head, .sol-cols { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero-visual { order: -1; }
  .hero-float { left: 12px; bottom: 12px; padding: 12px 16px; }
  .hero-chip { right: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 20px; border-bottom: 1px solid var(--line-2); }
  .stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .cap-grid, .val-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .case-media { aspect-ratio: 16/7; min-height: 0; }
  .honor-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cat-block-head { grid-template-columns: 1fr; gap: 16px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .result-band, .steps, .region-grid, .mv-grid, .culture-list { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }

  .utility-l { display: none; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 18px; gap: 2px;
    box-shadow: 0 18px 40px rgba(14, 22, 33, .1);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 8px; }
  .nav a.active::after { display: none; }
  .header-cta .btn { display: none; }
}

@media (max-width: 640px) {
  .wrap, .wrap-wide { padding: 0 18px; }
  .sec-head h2, .page-head h1 { font-size: 28px; }
  .hero h1 { font-size: 31px; }
  .hero-sub { font-size: 15.5px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 30px; }
  .cat-grid, .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid, .gallery, .result-band, .steps, .region-grid,
  .mv-grid, .culture-list, .field-row, .sol-cols, .platform-feats { grid-template-columns: 1fr; }
  .cap-grid, .val-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .brand-en { display: none; }
  .section { padding: 48px 0; }
  .cta-band h2 { font-size: 25px; }
  .cta-actions { width: 100%; flex-direction: column; }
  .detail-article { padding: 24px; }
  .hero-frame { padding: 16px; border-radius: 18px; }
  .sol-head h2, .about-intro h2 { font-size: 25px; }
}

/* ---------- 后台·浏览统计 ---------- */
.visit-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 8px; }
.visit-stats .stat { background: var(--soft); border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px 14px; text-align: center; }
.visit-stats .stat-num { font-size: 28px; font-weight: 700; color: var(--brand); line-height: 1.2; }
.visit-stats .stat-label { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) { .visit-stats { grid-template-columns: repeat(2, 1fr); } }
