/* ===== APEXMOTION · 腾数网外贸精密制造演示模板 ===== */
:root {
  --navy: #081729;
  --navy-2: #102744;
  --blue: #246bfd;
  --cyan: #16b9dc;
  --ink: #132238;
  --muted: #69788c;
  --line: #dce5ef;
  --soft: #f3f7fb;
  --green: #22a879;
  --shadow: 0 1.5rem 3.5rem rgba(16, 45, 82, 0.12);
  --radius: 1rem;
  --container: 75rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; border: 0; background: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5.5rem 0; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 3rem; margin-bottom: 3rem;
}
.section-kicker, .eyebrow {
  display: flex; align-items: center; gap: 0.625rem;
  margin-bottom: 1rem; color: var(--blue);
  font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.16em;
}
.section-head h2, .parts-intro h2, .quality-copy h2, .quote-copy h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  letter-spacing: -0.02em; line-height: 1.15;
}
.section-head > p { max-width: 26rem; color: var(--muted); font-size: 1rem; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.9375rem 1.5rem; border-radius: 0.5rem;
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  color: #fff; font-size: 0.9375rem; font-weight: 700;
  box-shadow: 0 0.875rem 2.25rem rgba(36, 107, 253, 0.28);
  transition: all 0.25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1.125rem 2.75rem rgba(36, 107, 253, 0.36); }

/* ---------- 顶部通告 ---------- */
.top-note {
  display: flex; align-items: center; justify-content: center;
  gap: 4.5vw; padding: 0.5rem 4vw;
  background: #07111f; color: #9fb0c4;
  font-size: 0.75rem; letter-spacing: 0.04em;
}
.top-note span::before {
  content: ""; display: inline-block; width: 0.375rem; height: 0.375rem;
  margin-right: 0.5rem; border-radius: 50%;
  background: #42d5b0; box-shadow: 0 0 0 3px rgba(66, 213, 176, 0.15);
}

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  height: 4.5rem; padding: 0 5vw;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.96);
  transition: box-shadow 0.25s;
}
.site-header.scrolled-mode { box-shadow: 0 0.5rem 1.75rem rgba(23, 55, 93, 0.08); }
.brand { display: flex; align-items: center; gap: 0.75rem; color: #10233b; font-size: 0.9375rem; font-weight: 900; letter-spacing: 0.06em; }
.brand i {
  display: grid; width: 2.375rem; height: 2.375rem; place-items: center;
  border-radius: 0.5rem; font-style: normal; font-size: 0.75rem;
  background: linear-gradient(145deg, var(--blue), var(--cyan)); color: #fff;
  box-shadow: 0 0.5rem 1.25rem rgba(36, 107, 253, 0.25);
}
.brand small { display: block; margin-top: 0.125rem; color: #8290a2; font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.16em; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 2.25vw; }
.main-nav > a:not(.nav-cta) {
  position: relative; padding: 1.5rem 0;
  color: #536278; font-size: 0.9375rem; font-weight: 600;
  transition: color 0.2s;
}
.main-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; right: 0; bottom: 1.125rem; left: 0;
  height: 2px; border-radius: 2px; background: var(--blue);
  transform: scaleX(0); transition: transform 0.2s;
}
.main-nav > a:not(.nav-cta):hover { color: var(--blue); }
.main-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  padding: 0.6875rem 1.25rem; border-radius: 2rem;
  background: var(--ink); color: #fff;
  font-size: 0.875rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all 0.25s; white-space: nowrap;
}
.nav-cta b { color: #64d7eb; font-weight: 700; }
.nav-cta:hover { background: var(--blue); transform: translateY(-1px); }
.nav-cta:hover b { color: #fff; }
.menu-toggle {
  display: none; margin-left: auto;
  width: 2.75rem; height: 2.75rem; border-radius: 0.625rem;
  border: 1px solid var(--line); font-size: 1.375rem; color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: #071524; color: #fff; padding: 0;
}
.hero-media { position: absolute; inset: 0; background: url("assets/hero-cnc-v1.png") center/cover no-repeat; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 19, 33, 0.96) 0, rgba(7, 23, 38, 0.91) 39%, rgba(7, 24, 39, 0.62) 66%, rgba(8, 22, 37, 0.72)),
    linear-gradient(0deg, rgba(6, 17, 31, 0.72), transparent 55%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
  align-items: center; gap: 5vw;
  padding-top: 5rem; padding-bottom: 4rem;
  min-height: 37rem;
}
.eyebrow { color: #64d9eb; }
.eyebrow span { width: 1.75rem; height: 1px; background: #58d3e7; }
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.05;
}
.hero h1 em { color: #69d9ed; font-style: normal; }
.lead { max-width: 38rem; margin-top: 1.375rem; color: #bdc9d7; font-size: 1.0625rem; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.btn-ghost {
  padding: 0.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: #dae2eb; font-size: 0.9375rem; font-weight: 700;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: #fff; border-color: #fff; }
.hero-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 42rem; margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14); list-style: none;
}
.hero-facts li + li { padding-left: 1rem; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { font-size: 1.25rem; }
.hero-facts strong b { font-weight: inherit; }
.hero-facts span { margin-top: 0.25rem; color: #8fa0b3; font-size: 0.75rem; }

.quote-card {
  justify-self: end; width: min(100%, 24rem);
  padding: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem; background: rgba(16, 36, 58, 0.92);
  box-shadow: 0 1.875rem 4.75rem rgba(0, 0, 0, 0.45);
}
.quote-card-head {
  display: flex; align-items: center; justify-content: space-between;
  color: #8fa1b6; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em;
}
.quote-card-head b {
  padding: 0.3125rem 0.5rem; border-radius: 2rem;
  background: rgba(38, 186, 143, 0.13); color: #58dab4; letter-spacing: 0.04em;
}
.quote-card h2 { margin: 1rem 0 0.5rem; font-size: 1.375rem; }
.quote-card > p { color: #aab8c8; font-size: 0.875rem; line-height: 1.6; }
.quote-card ol { display: grid; gap: 0.5rem; margin: 1.125rem 0; list-style: none; }
.quote-card li {
  display: grid; grid-template-columns: 2rem 1fr; align-items: center;
  padding: 0.5625rem; border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.625rem; background: rgba(255, 255, 255, 0.03);
}
.quote-card li i {
  display: grid; width: 1.5rem; height: 1.5rem; place-items: center;
  border-radius: 0.4375rem; background: rgba(36, 107, 253, 0.2);
  color: #6fa1ff; font-size: 0.5625rem; font-style: normal;
}
.quote-card li strong, .quote-card li span { display: block; }
.quote-card li strong { margin-bottom: 0.125rem; color: #fff; font-size: 0.8125rem; }
.quote-card li span { color: #8fa1b6; font-size: 0.6875rem; line-height: 1.5; }
.quote-card > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 0.875rem; border-radius: 0.5rem;
  background: #fff; color: #15243a; font-size: 0.875rem; font-weight: 800;
  transition: all 0.2s;
}
.quote-card > a:hover { color: var(--blue); }
.quote-card > a b { color: var(--blue); }

/* ---------- 信任条 ---------- */
.trust-strip { padding: 0; border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; align-items: center; gap: 2rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.trust-inner > p {
  color: #8a97a8; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; white-space: nowrap;
}
.trust-industries {
  flex: 1; display: flex; align-items: center; justify-content: space-around;
  gap: 1rem; flex-wrap: wrap;
  color: #425168; font-size: 0.9375rem; font-weight: 700;
}
.trust-inner ul { display: flex; gap: 0.5rem; list-style: none; }
.trust-inner li {
  padding: 0.375rem 0.625rem; border: 1px solid var(--line); border-radius: 0.25rem;
  color: #637389; font-size: 0.6875rem; font-weight: 700;
}

/* ---------- Capabilities ---------- */
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.capability-card {
  position: relative; overflow: hidden;
  padding: 1.75rem; border: 1px solid var(--line); border-radius: 0.875rem;
  background: #fff; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.capability-card:hover { border-color: #a9c2ea; box-shadow: var(--shadow); transform: translateY(-0.25rem); }
.capability-card.featured { border-color: #bdd4f7; background: linear-gradient(145deg, #f8fbff, #eef5ff); }
.card-number { position: absolute; right: 1.25rem; top: 1rem; color: #dde5ef; font-size: 1.75rem; font-weight: 900; }
.card-icon {
  display: grid; width: 2.75rem; height: 2.75rem; place-items: center;
  border-radius: 0.625rem; background: #eaf2ff; color: var(--blue); font-size: 1.25rem;
}
.capability-card h3 { margin: 1.125rem 0 0.5rem; font-size: 1.1875rem; }
.capability-card > p { min-height: 3.25rem; color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }
.capability-card ul {
  display: grid; gap: 0.5rem; margin: 1.125rem 0 1.25rem;
  padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  list-style: none; color: #55657a; font-size: 0.875rem;
}
.capability-card li::before { content: "✓"; margin-right: 0.5rem; color: var(--green); font-weight: 800; }
.capability-card a { color: var(--blue); font-size: 0.875rem; font-weight: 800; }

/* ---------- Recent production ---------- */
.parts-section { background: var(--soft); }
.parts-intro { text-align: center; margin-bottom: 2.5rem; }
.parts-intro .section-kicker { justify-content: center; }
.parts-intro > p:last-child { max-width: 34rem; margin: 0.875rem auto 0; color: var(--muted); }
.parts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.875rem; }
.parts-grid article {
  padding: 0.625rem 0.625rem 1.125rem;
  border: 1px solid #dfe7ef; border-radius: 0.8125rem; background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.parts-grid article:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow); }
.part-visual {
  position: relative; display: grid; height: 12rem; place-items: center;
  overflow: hidden; border-radius: 0.5625rem;
  background: linear-gradient(145deg, #e3e9ef, #b9c3cd);
}
.part-visual::before {
  content: ""; position: absolute; width: 7rem; height: 7rem;
  border: 1.125rem solid #6f7c89; border-radius: 50%; background: #b8c3cc;
  box-shadow: inset 0 0 0 0.625rem #e6ebef, 0 1.125rem 1.875rem rgba(48, 64, 80, 0.26);
  transform: rotateX(62deg) rotateZ(-18deg);
}
.part-visual i, .part-visual b { position: absolute; z-index: 2; display: block; }
.part-visual i {
  width: 1.75rem; height: 1.75rem; border-radius: 50%; background: #dfe5e9;
  box-shadow: 3rem 0.25rem 0 #dfe5e9, -3rem -0.25rem 0 #dfe5e9;
}
.part-visual b { width: 1.0625rem; height: 4.375rem; border-radius: 0.25rem; background: #87939d; transform: rotate(45deg); }
.part-b { background: linear-gradient(145deg, #dce2e6, #99a6af); }
.part-b::before { width: 5.9375rem; height: 8.125rem; border-width: 1.5rem; border-radius: 1.5rem; background: #d6dde1; }
.part-b i { box-shadow: 0 3.25rem 0 #eef1f2; }
.part-c { background: linear-gradient(145deg, #e4c58d, #9c6b29); }
.part-c::before { width: 7.375rem; height: 5.625rem; border-color: #af7b35; background: #e0b969; border-radius: 1.125rem; }
.part-c i { background: #76501d; box-shadow: 2.8125rem 0 #76501d, -2.8125rem 0 #76501d; }
.part-d { background: linear-gradient(145deg, #e9ecee, #bec6cc); }
.part-d::before {
  width: 8.125rem; height: 4.6875rem; border: 0; border-radius: 0.8125rem;
  background: #f4f6f7;
  box-shadow: inset 0 0 0 0.5rem #cbd2d7, 0 1.125rem 1.875rem rgba(48, 64, 80, 0.2);
}
.part-d b { background: #adb6bd; }
.parts-grid article > span {
  display: block; margin: 0.875rem 0.3125rem 0.3125rem;
  color: var(--blue); font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.09em;
}
.parts-grid h3 { margin: 0 0.3125rem 0.4375rem; font-size: 1.0625rem; }
.parts-grid p { margin: 0 0.3125rem; color: var(--muted); font-size: 0.8125rem; line-height: 1.6; }

/* ---------- Quality ---------- */
.quality-inner { display: grid; grid-template-columns: 1fr 0.9fr; align-items: center; gap: 6vw; }
.quality-copy > p:not(.section-kicker) { max-width: 34rem; margin: 1.125rem 0; color: var(--muted); }
.quality-docs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.quality-docs span {
  padding: 0.4375rem 0.75rem; border-radius: 2rem;
  background: #edf4ff; color: #42628b; font-size: 0.8125rem; font-weight: 600;
}
.inspection-panel {
  padding: 1.375rem; border: 1px solid #cdd9e7; border-radius: 0.9375rem;
  background: #0c1c30; color: #fff;
  box-shadow: 0 1.5625rem 3.5rem rgba(16, 45, 82, 0.18);
}
.inspection-panel header {
  display: flex; justify-content: space-between;
  color: #8497ae; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
}
.inspection-panel header b { color: #4bd0a8; }
.drawing {
  position: relative; height: 10.625rem; margin: 1.125rem 0;
  border: 1px solid #31445c; border-radius: 0.5625rem; background-color: #0a1728;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 1.25rem 1.25rem;
}
.drawing::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 6.5625rem; height: 6.5625rem;
  border: 0.8125rem double #6787b0; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.drawing i { position: absolute; width: 1.375rem; height: 1.375rem; border: 1px solid #65b8d5; border-radius: 50%; }
.drawing i:nth-child(1) { top: 1.6875rem; left: 3.4375rem; }
.drawing i:nth-child(2) { top: 1.6875rem; right: 3.4375rem; }
.drawing i:nth-child(3) { bottom: 1.6875rem; left: 3.4375rem; }
.drawing i:nth-child(4) { right: 3.4375rem; bottom: 1.6875rem; }
.drawing strong { position: absolute; right: 0.75rem; top: 0.8125rem; color: #70d5e8; font-size: 0.8125rem; }
.drawing span { position: absolute; right: 0.75rem; top: 1.875rem; color: #7f91a7; font-size: 0.6875rem; }
.inspection-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; list-style: none; }
.inspection-panel li { padding: 0.5625rem; border-radius: 0.4375rem; background: rgba(255, 255, 255, 0.03); }
.inspection-panel li span, .inspection-panel li b { display: block; }
.inspection-panel li span { color: #71869f; font-size: 0.6875rem; }
.inspection-panel li b { margin-top: 0.1875rem; font-size: 0.8125rem; }

/* ---------- Factory tour ---------- */
.factory { background: var(--soft); }
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tour-card {
  background: #fff; border: 1px solid var(--line); border-radius: 0.875rem;
  padding: 0.625rem 0.625rem 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.tour-card:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow); }
.tour-visual {
  position: relative; height: 11rem; overflow: hidden;
  border-radius: 0.625rem; margin-bottom: 1.125rem;
}
.tour-card h3 { margin: 0 0.75rem 0.5rem; font-size: 1.125rem; }
.tour-card p { margin: 0 0.75rem; color: var(--muted); font-size: 0.875rem; line-height: 1.65; }
.factory-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: 2.5rem; padding: 2rem 2.5rem;
  border-radius: 0.875rem; background: #fff; border: 1px solid var(--line);
}
.factory-metrics div { text-align: center; }
.factory-metrics b {
  display: block; font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 800;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.2;
}
.factory-metrics b span { font-weight: inherit; }
.factory-metrics div > span { font-size: 0.8125rem; color: var(--muted); }

/* ---------- Case studies ---------- */
.case-section { background: linear-gradient(120deg, #08172a, #102b4b); color: #fff; }
.section-head-dark h2 { color: #fff; }
.section-head-dark .section-kicker { color: #64d9eb; }
.case-viewport { overflow: hidden; }
.case-track { display: flex; transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.32, 1); }
.case-slide { flex: 0 0 100%; padding-right: 1px; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw; }
.case-org { color: #64d9eb; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.16em; margin-bottom: 1rem; }
.case-copy h3 { font-size: clamp(1.375rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -0.01em; }
.case-copy > p:not(.case-org) { margin-top: 1.125rem; color: #a7b6c7; font-size: 0.9375rem; line-height: 1.8; max-width: 34rem; }
.case-results { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }
.case-results article {
  padding: 1.375rem; border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem; background: rgba(255, 255, 255, 0.03);
}
.case-results strong, .case-results span { display: block; }
.case-results strong { color: #70d9eb; font-size: 1.75rem; }
.case-results strong b { font-weight: inherit; }
.case-results span { margin-top: 0.3125rem; color: #92a4b8; font-size: 0.75rem; }
.case-nav { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; }
.case-nav > button {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22); color: #fff;
  display: grid; place-items: center; font-size: 1rem;
  transition: all 0.25s;
}
.case-nav > button:hover { border-color: #64d9eb; color: #64d9eb; }
.case-dots { display: flex; gap: 0.5rem; }
.case-dots button {
  width: 0.625rem; height: 0.625rem; border-radius: 2rem;
  background: rgba(255, 255, 255, 0.25); transition: all 0.3s;
}
.case-dots button.active-mode { width: 1.75rem; background: linear-gradient(90deg, var(--blue), var(--cyan)); }

/* ---------- Process ---------- */
.process ol { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.process li { position: relative; padding: 1.5rem; border-top: 2px solid var(--line); }
.process li::before {
  content: ""; position: absolute; top: -0.375rem; left: 1.375rem;
  width: 0.625rem; height: 0.625rem; border: 2px solid #fff; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 1px var(--blue);
}
.process li b, .process li strong, .process li span { display: block; }
.process li b { margin-bottom: 1rem; color: #a8b5c5; font-size: 0.8125rem; }
.process li strong { font-size: 1.0625rem; }
.process li span { margin-top: 0.4375rem; color: var(--muted); font-size: 0.8125rem; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { background: var(--soft); }
.faq-list { max-width: 52rem; }
.faq-item {
  border: 1px solid var(--line); border-radius: 0.875rem;
  margin-bottom: 0.875rem; background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item.open-mode { border-color: rgba(36, 107, 253, 0.4); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 1.5rem;
  font-size: 1rem; font-weight: 700; color: var(--ink); text-align: left;
}
.faq-q i { color: var(--muted); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open-mode .faq-q i { transform: rotate(180deg); color: var(--blue); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq-a > p {
  overflow: hidden; padding: 0 1.5rem;
  color: var(--muted); font-size: 0.9375rem;
  transition: padding 0.35s ease;
}
.faq-item.open-mode .faq-a { grid-template-rows: 1fr; }
.faq-item.open-mode .faq-a > p { padding: 0 1.5rem 1.375rem; }

/* ---------- Quote form ---------- */
.quote-section { background: #eef4fb; }
.quote-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 6vw; align-items: start; }
.quote-copy > p:not(.section-kicker) { max-width: 32rem; margin: 1.125rem 0; color: var(--muted); }
.quote-copy ul { display: grid; gap: 0.5rem; margin: 1.375rem 0; list-style: none; color: #4c6079; font-size: 0.9375rem; }
.quote-copy li::before { content: "✓"; margin-right: 0.5rem; color: var(--green); font-weight: 800; }
.contact-line { margin-top: 2rem; }
.contact-line span, .contact-line b { display: block; }
.contact-line span { color: #8b99a9; font-size: 0.75rem; }
.contact-line b { margin-top: 0.3125rem; font-size: 1.0625rem; }
#quoteForm {
  padding: 1.75rem; border: 1px solid #d5e0ec; border-radius: 0.875rem;
  background: #fff; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
#quoteForm label {
  display: block; margin-bottom: 0.875rem;
  color: #516177; font-size: 0.8125rem; font-weight: 700;
}
#quoteForm label i { color: #e05252; font-style: normal; margin-left: 0.125rem; }
#quoteForm input:not([type="checkbox"]):not([type="file"]), #quoteForm textarea {
  display: block; width: 100%; margin-top: 0.375rem;
  padding: 0.75rem 0.875rem; border: 1px solid #d9e3ed; border-radius: 0.5rem;
  background: #fbfdff; color: var(--ink); font-size: 0.9375rem; font-weight: 400;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
#quoteForm input:focus, #quoteForm textarea:focus {
  border-color: #7ca8ef; box-shadow: 0 0 0 3px rgba(36, 107, 253, 0.1);
}
#quoteForm textarea { resize: vertical; }
#quoteForm label.error-mode input, #quoteForm label.error-mode textarea {
  border-color: #e05252; box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.1);
}
#quoteForm label.error-mode.file-field span { border-color: #e05252; }
.field-error {
  display: block; min-height: 1em; margin-top: 0.25rem;
  color: #e05252; font-size: 0.75rem; font-weight: 400; font-style: normal;
}
.file-field { cursor: pointer; }
.file-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-field span {
  display: flex; min-height: 4.5rem; align-items: center; justify-content: center;
  flex-direction: column; border: 1px dashed #aebfd4; border-radius: 0.5625rem;
  background: #f7faff; color: var(--blue); font-weight: 400;
  transition: border-color 0.2s, background 0.2s;
}
.file-field:hover span { border-color: var(--blue); background: #f0f6ff; }
.file-field b { font-size: 0.9375rem; }
.file-field small { margin-top: 0.25rem; color: #8796a8; font-size: 0.75rem; font-weight: 500; }
.consent {
  display: flex !important; align-items: flex-start; gap: 0.5rem;
  color: #7a899a; font-size: 0.75rem !important; font-weight: 500 !important; line-height: 1.5;
}
.consent input { width: auto !important; margin: 0.125rem 0 0; }
.consent-error { margin: -0.375rem 0 0.625rem; }
#quoteForm .form-submit {
  width: 100%; padding: 0.875rem; border-radius: 0.5rem;
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  color: #fff; font-size: 0.9375rem; font-weight: 800;
  box-shadow: 0 0.875rem 2rem rgba(36, 107, 253, 0.25);
  transition: all 0.25s;
}
#quoteForm .form-submit:hover { transform: translateY(-1px); }
#quoteForm .form-submit:disabled { opacity: 0.75; cursor: default; transform: none; }
#quoteForm .form-submit b { margin-left: 0.5rem; }
.form-status { min-height: 1em; margin: 0.625rem 0 0; color: var(--green); font-size: 0.875rem; font-weight: 600; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #071321; color: #93a3b6; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: rgba(255, 255, 255, 0.5); }
.footer-brand p { margin: 1.125rem 0 0.875rem; font-size: 0.9375rem; max-width: 22rem; line-height: 1.7; }
.footer-note { font-size: 0.75rem; color: #64768a; }
.footer-col { display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.9375rem; }
.footer-col b { color: #fff; font-size: 1rem; margin-bottom: 0.25rem; }
.footer-col a:hover { color: #fff; }
.footer-bar {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.25rem; padding-bottom: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem; color: #64768a;
}
.footer-bar a { color: #70d9eb; font-weight: 700; }

/* ---------- 返回顶部 / toast ---------- */
.to-top {
  position: fixed; right: 1.75rem; bottom: 1.75rem; z-index: 90;
  width: 2.875rem; height: 2.875rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff; font-size: 1.125rem;
  display: grid; place-items: center;
  box-shadow: 0 0.75rem 1.75rem rgba(36, 107, 253, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(0.75rem);
  transition: all 0.3s;
}
.to-top.show-mode { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-0.25rem); }
.toast {
  position: fixed; left: 50%; bottom: 2.5rem; z-index: 200;
  transform: translate(-50%, 1.5rem);
  background: rgba(7, 19, 33, 0.95); color: #fff;
  padding: 0.8125rem 1.5rem; border-radius: 0.75rem;
  font-size: 0.9375rem; box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; transition: all 0.3s;
  max-width: calc(100vw - 3rem); text-align: center;
}
.toast.show-mode { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 进场动效 ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(1.75rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].reveal-mode { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .site-header { padding: 0 3vw; }
}

@media (max-width: 992px) {
  section { padding: 4rem 0; }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed; top: 4.5rem; right: 0; bottom: 0;
    width: min(20rem, 84vw);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-left: 1px solid var(--line);
    padding: 1.5rem; box-shadow: -1rem 0 3rem rgba(23, 55, 93, 0.12);
    transform: translateX(100%); transition: transform 0.3s ease;
  }
  .main-nav.menu-open-mode { transform: translateX(0); }
  .main-nav > a:not(.nav-cta) {
    padding: 1rem 0.75rem; border-bottom: 1px solid var(--line);
    font-size: 1.0625rem; color: var(--ink);
  }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 1.25rem; justify-content: center; padding: 0.875rem 1.25rem; border-radius: 0.625rem; }

  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3.5rem; min-height: 0; }
  .quote-card { justify-self: start; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .parts-grid { grid-template-columns: 1fr 1fr; }
  .quality-inner, .quote-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .tour-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; gap: 2rem; }
  .process ol { grid-template-columns: 1fr 1fr; }
  .factory-metrics { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 768px) {
  section { padding: 3.25rem 0; }
  .top-note span:not(:first-child) { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2.25rem; }
  .hero-inner { padding-top: 3rem; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .quote-card { width: 100%; }
  .capability-grid, .parts-grid, .tour-grid, .process ol, .form-row { grid-template-columns: 1fr; }
  .parts-grid { max-width: 24rem; margin: 0 auto; }
  .inspection-panel ul, .case-results { grid-template-columns: 1fr; }
  .factory-metrics { padding: 1.5rem; }
  .trust-industries { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bar { flex-direction: column; gap: 0.375rem; }
  .to-top { right: 1.25rem; bottom: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .case-track { transition: none; }
}

/* ---------- visual polish ---------- */
:focus-visible { outline: 3px solid rgba(22, 185, 220, 0.8); outline-offset: 3px; }
.site-header { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.hero { isolation: isolate; }
.hero-media { transform: scale(1.015); animation: hero-drift 22s ease-in-out infinite alternate; }
.hero-inner { padding-top: 10rem; padding-bottom: 7rem; }
.quote-card { border-color: rgba(255, 255, 255, 0.72); box-shadow: 0 2rem 5rem rgba(5, 22, 42, 0.28); }
.capability-card, .parts-grid > article, .tour-card { transition: transform 0.35s cubic-bezier(.2,.75,.25,1), box-shadow 0.35s, border-color 0.35s; }
.capability-card:hover, .parts-grid > article:hover, .tour-card:hover { transform: translateY(-0.45rem); box-shadow: 0 1.5rem 3rem rgba(16, 45, 82, 0.14); }
.part-visual, .tour-visual { overflow: hidden; }
.part-visual::after, .tour-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.2), transparent 45%, rgba(16,45,82,.12)); }
.btn-primary, .nav-cta { transition: transform .25s, box-shadow .25s, background .25s; }
.btn-primary:hover, .nav-cta:hover { transform: translateY(-2px); }
@keyframes hero-drift { from { transform: scale(1.015) translate3d(0,0,0); } to { transform: scale(1.07) translate3d(-0.5%,0.5%,0); } }
@media (max-width: 768px) {
  .hero-inner { padding-top: 7.5rem; padding-bottom: 4rem; }
  .quote-card { box-shadow: 0 1rem 2.5rem rgba(5, 22, 42, 0.2); }
}
@media (prefers-reduced-motion: reduce) { .hero-media { animation: none; transform: none; } }

/* Factory tour: replace abstract CSS sketches with one cohesive photo triptych. */
.factory .section-head { margin-bottom: 2rem; }
.tour-grid { gap: 1.25rem; }
.tour-card { padding: 0.75rem 0.75rem 1.5rem; }
.tour-visual { height: clamp(11rem, 17vw, 14rem); margin-bottom: 1.25rem; background-image: url("assets/factory-tour-v1.png"); background-size: 300% auto; background-repeat: no-repeat; }
.tour-visual::after { background: linear-gradient(180deg, rgba(8,23,41,0) 56%, rgba(8,23,41,.2)); }
.tour-a { background-position: 0 50%; }
.tour-b { background-position: 50% 50%; }
.tour-c { background-position: 100% 50%; }
.tour-card h3 { margin-top: 0; }
@media (max-width: 768px) {
  .factory .section-head { margin-bottom: 1.5rem; }
  .tour-visual { height: 12rem; }
}
@media (max-width: 992px) { html { overflow-x: clip; } }
