/* 山西神和科技有限公司 官网样式 */
:root {
  --red: #ed1338;
  --red-dark: #c00d2c;
  --red-light: #ff4d68;
  --ink: #0a1120;
  --ink-2: #101c33;
  --text: #1a2233;
  --muted: #6b7688;
  --line: #e6ebf3;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(13, 26, 51, .08);
  --shadow-hover: 0 22px 56px rgba(13, 26, 51, .14);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], div[id] { scroll-margin-top: 92px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 76px; display: flex; align-items: center;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(13, 26, 51, .07); }
.header-inner { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  color: #fff; display: grid; place-items: center;
  font-size: 17px; font-weight: 800; letter-spacing: -1px;
  box-shadow: 0 6px 16px rgba(237, 19, 56, .28);
}
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: .4px; line-height: 1.2; }
.brand-name small { display: block; font-size: 10px; letter-spacing: 2.2px; font-weight: 500; color: var(--muted); text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.main-nav a {
  font-size: 15px; color: #3c465a; position: relative; padding: 6px 0;
  transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); transition: width .25s; border-radius: 2px;
}
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.main-nav a.active::after, .main-nav a:hover::after { width: 100%; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 6px 16px rgba(237, 19, 56, .22); transition: transform .2s, background .2s;
}
.header-cta:hover { transform: translateY(-2px); background: var(--red-dark); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 27px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(237, 19, 56, .3); }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 14px 32px rgba(237, 19, 56, .38); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .05); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Section heading ---------- */
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; margin: 0 0 14px; letter-spacing: -.5px; font-weight: 750; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }
.section.dark .section-head p, .dark .section-head p { color: #a7b3c9; }
.section.dark .section-head h2 { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--ink); color: #fff;
  padding: 168px 0 108px; min-height: 680px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 520px at 78% 28%, rgba(237, 19, 56, .34), transparent 68%),
    radial-gradient(620px 460px at 12% 82%, rgba(40, 82, 190, .22), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 8px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  border-radius: 999px; font-size: 13px; color: #d9e2f2; letter-spacing: 1px;
}
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--red-light); box-shadow: 0 0 0 5px rgba(255,77,104,.18); }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.18; margin: 26px 0 22px; letter-spacing: -1.5px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #ff6b81, #ff2c4f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 17px; color: #c3cee2; max-width: 560px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 28px; font-size: 13px; color: #93a2bd; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta b { color: #fff; font-weight: 600; }

.hero-visual { position: relative; }
.glass-card {
  background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px; padding: 28px; backdrop-filter: blur(12px);
  box-shadow: 0 30px 70px rgba(0,0,0,.36);
}
.glass-card h3 { margin: 0 0 6px; font-size: 17px; }
.glass-card .sub { color: #93a2bd; font-size: 13px; margin-bottom: 24px; }
.glass-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.glass-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 16px 10px; text-align: center; }
.glass-stat strong { display: block; font-size: 25px; font-weight: 800; color: #fff; line-height: 1.2; }
.glass-stat strong i { font-style: normal; color: var(--red-light); }
.glass-stat span { font-size: 11px; color: #9fb0cb; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-size: 12px; padding: 7px 13px; border-radius: 999px; background: rgba(237,19,56,.16); border: 1px solid rgba(255,77,104,.3); color: #ffc3cd; }
.chip.blue { background: rgba(70,120,255,.14); border-color: rgba(110,150,255,.28); color: #bcd0ff; }
.float-note {
  position: absolute; right: 0; bottom: -66px; background: #fff; color: var(--text);
  padding: 15px 20px; border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.3); font-size: 13px;
}
.float-note strong { color: var(--red); font-size: 15px; display: block; }

/* ---------- Stats strip ---------- */
.stats-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 40px 26px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 40px; font-weight: 800; line-height: 1.1; color: var(--ink); letter-spacing: -1.5px; }
.stat strong i { font-style: normal; color: var(--red); font-size: 24px; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(237,19,56,.25); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(237,19,56,.12), rgba(237,19,56,.03));
  color: var(--red); font-size: 22px; font-weight: 700; margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card ul { list-style: none; margin: 16px 0 0; padding: 0; }
.card ul li { font-size: 13.5px; color: #566176; padding: 5px 0 5px 18px; position: relative; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); opacity: .65; }
.card-index { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--red); opacity: .7; }
.grid-5 .card { padding: 26px 22px; }
.grid-5 .card-icon { width: 46px; height: 46px; margin-bottom: 16px; }
.grid-5 .card h3 { font-size: 17px; }
.grid-5 .card p { font-size: 13px; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.split-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,17,32,.32)); }
.split-badge {
  position: absolute; left: -24px; bottom: 30px; z-index: 2; background: var(--red); color: #fff;
  padding: 18px 24px; border-radius: 12px; box-shadow: 0 16px 36px rgba(237,19,56,.3);
}
.split-badge strong { display: block; font-size: 27px; line-height: 1.2; }
.split-badge span { font-size: 12px; opacity: .9; }
.split p { color: var(--muted); font-size: 15.5px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 15px; color: #38445a; }
.check-list li svg { width: 19px; height: 19px; color: var(--red); flex-shrink: 0; margin-top: 3px; }

/* ---------- Timeline / process ---------- */
.process { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; position: relative; }
.process::before { content: ""; position: absolute; top: 25px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--red), rgba(237,19,56,.12)); }
.step { text-align: center; position: relative; }
.step-num {
  width: 50px; height: 50px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--red); color: var(--red);
  display: grid; place-items: center; font-weight: 800; font-size: 17px; position: relative; z-index: 2;
  box-shadow: 0 0 0 6px var(--bg-soft);
}
.step h4 { font-size: 15px; margin: 0 0 8px; }
.step p { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.65; }

/* ---------- Tech tags ---------- */
.tech-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.tech-tag {
  padding: 10px 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 14px; font-weight: 600; color: #354158; transition: .2s;
}
.tech-tag:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.spec-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-list div { display: flex; gap: 18px; padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-list div:last-child { border-bottom: 0; }
.spec-list b { min-width: 92px; color: var(--ink); }
.spec-list span { color: var(--muted); }

/* ---------- Cases ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.filter-btn {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: #4a566c; font-size: 14px; cursor: pointer; transition: .2s;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(237,19,56,.22); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: transform .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.case-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #0d1626; position: relative; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .case-thumb img { transform: scale(1.06); }
.case-thumb::after { content: "查看案例"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,17,32,.6); color: #fff; font-size: 14px; letter-spacing: 2px; opacity: 0; transition: opacity .25s; }
.case-card:hover .case-thumb::after { opacity: 1; }
.case-body { padding: 20px 22px 24px; }
.case-tag { font-size: 11px; letter-spacing: 1.5px; color: var(--red); font-weight: 700; text-transform: uppercase; }
.case-body h3 { font-size: 17px; margin: 7px 0 6px; line-height: 1.45; }
.case-body p { font-size: 13px; color: var(--muted); margin: 0; }
.case-card.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 11, 22, .88); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 1040px; width: 100%; }
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 12px; background: #000; }
.lightbox h3 { color: #fff; margin: 16px 0 4px; font-size: 20px; }
.lightbox p { color: #aab7cd; font-size: 14px; margin: 0; }
.lightbox-close { position: absolute; top: 26px; right: 32px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* ---------- Service detail blocks ---------- */
.service-block { display: grid; grid-template-columns: 88px 1fr; gap: 26px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-block:last-child { border-bottom: 0; }
.service-block .num { font-size: 36px; font-weight: 800; color: rgba(237,19,56,.22); line-height: 1; letter-spacing: -2px; }
.service-block h3 { margin: 0 0 8px; font-size: 22px; }
.service-block p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pill { font-size: 13px; padding: 7px 15px; border-radius: 8px; background: var(--bg-soft); color: #48566d; border: 1px solid var(--line); }

/* ---------- After sales ---------- */
.as-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.as-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 17px 18px; font-size: 14px; }
.as-item i { font-style: normal; flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: rgba(237,19,56,.1); color: var(--red); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.as-item b { display: block; font-size: 14px; font-weight: 650; }
.as-item small { color: var(--muted); font-size: 12px; line-height: 1.5; display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--ink); color: #fff;
  padding: 152px 0 88px;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 82% 20%, rgba(237,19,56,.3), transparent 70%), radial-gradient(500px 400px at 10% 90%, rgba(40,82,190,.2), transparent 70%); }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 60px 60px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); margin: 0 0 14px; font-weight: 800; letter-spacing: -1px; }
.page-hero p { color: #bcc9de; font-size: 16.5px; max-width: 680px; margin: 0; }
.crumb { font-size: 13px; color: #8fa0bd; margin-bottom: 20px; }
.crumb a:hover { color: #fff; }
.crumb span { color: var(--red-light); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, #d60e32, #f0264c 60%, #c60b2a); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.07); right: -110px; top: -170px; }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; }
.cta-inner p { margin: 0; opacity: .9; font-size: 15px; }
.cta-inner .btn { background: #fff; color: var(--red); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.cta-inner .btn:hover { background: #fff5f6; }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-big { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; color: var(--red); letter-spacing: 1px; line-height: 1.3; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: #3d495e; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: 10px;
  background: #fbfcfe; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,19,56,.1); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: rgba(237,19,56,.08); color: var(--red-dark); font-size: 14px; }
.form-msg.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b7c3d8; padding: 68px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 42px; padding-bottom: 48px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: #7f8da6; }
.footer-about { margin: 20px 0 0; color: #8d9cb5; max-width: 320px; line-height: 1.85; }
.footer-col h4 { color: #fff; font-size: 15px; margin: 0 0 18px; }
.footer-col a, .footer-col li { display: block; color: #8d9cb5; padding: 5px 0; font-size: 13.5px; list-style: none; }
.footer-col a:hover { color: var(--red-light); }
.footer-col ul { padding: 0; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7d8ba4; }
.footer-bottom a { color: #9fb0cc; }
.footer-bottom a:hover { color: var(--red-light); }
.icp { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 46px; height: 46px;
  border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 20px; cursor: pointer;
  box-shadow: 0 10px 24px rgba(237,19,56,.35); opacity: 0; visibility: hidden; transition: .25s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Reveal ---------- */
/* 默认可见：无 JS 或首屏内的元素直接呈现，只有视口外的元素才延迟淡入 */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.reveal.pending { opacity: 0; transform: translateY(26px); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(4, 1fr); row-gap: 30px; }
  .process::before { display: none; }
  .hero-inner { gap: 36px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-header.nav-open .main-nav {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 22px;
    background: #fff; box-shadow: 0 20px 40px rgba(13,26,51,.14); border-top: 1px solid var(--line);
  }
  .site-header.nav-open .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header.nav-open .main-nav a::after { display: none; }
  .hero { padding: 140px 0 80px; min-height: auto; }
  .hero-inner, .split, .tech-wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-visual { max-width: 480px; }
  .float-note { right: 0; }
  .grid-3, .case-grid, .as-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .container, .header-inner { width: calc(100% - 32px); }
  .grid-2, .grid-3, .grid-4, .grid-5, .case-grid, .as-grid, .form-row { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .hero h1 { font-size: 36px; }
  .glass-stats { gap: 7px; }
  .glass-stat { padding: 13px 4px; }
  .glass-stat strong { font-size: 18px; }
  .glass-stat strong i { font-size: 12px; }
  .glass-stat span { font-size: 10px; }
  .glass-card { padding: 22px 18px; }
  .stat { padding: 30px 14px; }
  .stat strong { font-size: 32px; }
  .float-note { display: none; }
  .split-badge { left: 16px; }
  .service-block { grid-template-columns: 1fr; gap: 8px; }
  .service-block .num { font-size: 28px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .lightbox { padding: 20px; }
}
