/* ==========================================================================
   世豪精机 SHIHAO CNC — 主样式表
   设计语言：工业精密 / 蓝图网格 / 钢蓝 + 信号橙
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0b1f33;
  --ink-2: #142c45;
  --ink-soft: #2a445e;
  --steel: #5d7689;
  --steel-2: #8a9dac;
  --line: #e3e8ee;
  --line-2: #ccd7e0;
  --bg: #f5f7f9;
  --surface: #ffffff;
  --accent: #e2552b;
  --accent-d: #c0431d;
  --accent-soft: #fdf1ec;
  --cyan: #0f6e7d;

  --wrap: 1180px;
  --r: 2px;
  --shadow: 0 1px 2px rgba(11, 31, 51, .04), 0 8px 24px rgba(11, 31, 51, .06);
  --shadow-lg: 0 20px 60px rgba(11, 31, 51, .14);
  --ff: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(34px, 4.6vw, 56px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: clamp(19px, 2vw, 22px); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.1em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); font-weight: 700; }
small { font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--bg { background: var(--bg); }
.section--ink { background: var(--ink); color: #c7d5e1; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink a { color: #fff; }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-side { grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: start; }

/* ---------- 4. Typo helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: currentColor; flex: none;
}
.section--ink .kicker { color: #ff8a63; }
.lead { font-size: 18px; line-height: 1.8; color: #435e75; }
.section--ink .lead { color: #a9bccd; }
.muted { color: var(--steel); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head p:last-child { margin-bottom: 0; }
.sec-head--row {
  max-width: none; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.sec-head--row > div { max-width: 720px; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: .02em;
  border: 1px solid transparent; border-radius: var(--r);
  cursor: pointer; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-d); color: #fff; transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #eef2f5; color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.38); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--ink);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Top bar + Header ---------- */
.topbar {
  background: var(--ink); color: #9db2c4; font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #cfdce7; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar .dot-live {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600;
}
.dot-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e;
  box-shadow: 0 0 0 3px rgba(62,207,142,.18); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand svg { width: 34px; height: 34px; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .01em; color: var(--ink); line-height: 1.1; }
.brand-sub {
  display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em;
  color: var(--steel-2); font-weight: 600; margin-top: 3px;
}
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; position: relative; }
.main-nav a {
  display: block; padding: 24px 0; font-size: 15px; font-weight: 600; color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.header-phone span { font-size: 11px; color: var(--steel-2); letter-spacing: .06em; }
.header-phone strong { font-size: 16px; font-family: var(--mono); letter-spacing: -.01em; }
.header-cta .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r);
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #b9cad8;
  padding: 76px 0 84px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 30%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -260px;
  background: radial-gradient(circle, rgba(226,85,43,.22), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #ff8a63; }
.hero-sub { font-size: 17.5px; line-height: 1.85; color: #a8bccd; max-width: 540px; margin-bottom: 30px; }
.hero .btn-row { margin-bottom: 26px; }
.hero-points { display: flex; gap: 26px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: 13.5px; color: #9fb4c6; }
.hero-points li { margin: 0; display: flex; align-items: center; gap: 7px; }
.hero-points svg { width: 15px; height: 15px; color: #3ecf8e; flex: none; }

/* hero visual */
.hero-visual { position: relative; }
.blueprint {
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  padding: 22px;
  position: relative;
}
.blueprint::before, .blueprint::after {
  content: ""; position: absolute; width: 12px; height: 12px; border: 1px solid rgba(255,255,255,.45);
}
.blueprint::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.blueprint::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.blueprint .bp-head {
  display: flex; justify-content: space-between; font-family: var(--mono);
  font-size: 10px; letter-spacing: .16em; color: #7f97ac; text-transform: uppercase;
  margin-bottom: 10px;
}
.bp-svg { width: 100%; height: auto; }
.spec-card {
  position: relative; margin-top: -38px; margin-left: auto; margin-right: -8px;
  width: min(340px, 94%); background: #fff; color: var(--ink);
  box-shadow: var(--shadow-lg); padding: 20px 22px 18px;
}
.spec-card h3 {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  font-family: var(--mono); color: var(--steel); font-weight: 700; margin: 0 0 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.spec-card h3 b { color: var(--accent); font-size: 10px; }
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  font-size: 13px; margin: 0; padding-bottom: 9px; border-bottom: 1px dashed var(--line);
}
.spec-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-list span { color: var(--steel); }
.spec-list b { font-family: var(--mono); font-size: 13.5px; color: var(--ink); font-weight: 600; }

/* ---------- 8. Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line);
}
.trust-item { background: #fff; padding: 26px 18px; text-align: center; }
.trust-item b { display: block; font-family: var(--mono); font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.trust-item span { font-size: 12.5px; color: var(--steel); letter-spacing: .02em; }

/* ---------- 9. Cards ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  padding: 30px 28px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--steel-2);
  display: block; margin-bottom: 18px;
}
.card-icon {
  width: 46px; height: 46px; border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  color: var(--accent); background: var(--accent-soft);
}
.card-icon svg { width: 24px; height: 24px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  font-size: 11.5px; padding: 3px 9px; background: var(--bg);
  border: 1px solid var(--line); color: var(--steel); letter-spacing: .02em;
}
.card-list { list-style: none; padding: 0; margin: 14px 0 0; font-size: 14.5px; }
.card-list li { position: relative; padding-left: 16px; margin-bottom: 6px; }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 1px; background: var(--accent);
}

/* ---------- 10. Cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.case-media { position: relative; background: #0f2537; overflow: hidden; }
.case-media img { width: 100%; height: auto; transition: transform .5s ease; }
.case-card:hover .case-media img { transform: scale(1.03); }
.case-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94);
  color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px;
}
.case-body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 18.5px; margin-bottom: 8px; }
.case-body p { font-size: 14px; color: var(--steel); margin-bottom: 18px; }
.case-metrics {
  display: flex; gap: 26px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
}
.case-metrics b { display: block; font-family: var(--mono); font-size: 18px; color: var(--accent); letter-spacing: -.02em; }
.case-metrics span { font-size: 11.5px; color: var(--steel); }

/* ---------- 11. Stats / capability ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.14); }
.cap-item { background: var(--ink); padding: 30px 24px; }
.cap-item b {
  display: block; font-family: var(--mono); font-size: 38px; font-weight: 700;
  color: #fff; letter-spacing: -.03em; line-height: 1; margin-bottom: 10px;
}
.cap-item b i { font-style: normal; font-size: 17px; color: #ff8a63; margin-left: 2px; }
.cap-item span { font-size: 13.5px; color: #93aabf; }

/* ---------- 12. Process ---------- */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.step {
  counter-increment: step; position: relative; padding: 30px 22px 26px 0; border-top: 2px solid var(--line-2);
}
.step::before {
  content: "0" counter(step); font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: var(--accent); display: block; margin-bottom: 12px; letter-spacing: .1em;
}
.step::after {
  content: ""; position: absolute; top: -5px; left: 0; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--steel); margin: 0; padding-right: 16px; }
.step:nth-child(1) { border-top-color: var(--accent); }

/* ---------- 13. Pricing ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
thead th {
  background: var(--ink); color: #fff; text-align: left; font-weight: 600;
  font-size: 12.5px; letter-spacing: .08em; padding: 14px 18px; white-space: nowrap;
}
tbody td { padding: 15px 18px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fafbfc; }
tbody td strong { font-family: var(--mono); color: var(--accent); font-size: 15px; }
.price-card {
  border: 1px solid var(--line); background: #fff; padding: 30px 28px;
  display: flex; flex-direction: column; position: relative;
}
.price-card--featured { border-color: var(--ink); border-width: 2px; padding: 29px 27px; }
.price-card--featured::before {
  content: "最受欢迎"; position: absolute; top: -1px; right: -1px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 11px; letter-spacing: .08em;
}
.price-card h3 { font-size: 18px; margin-bottom: 4px; }
.price-card .price-label { font-size: 13px; color: var(--steel); min-height: 40px; }
.price { font-family: var(--mono); font-size: 30px; color: var(--ink); font-weight: 700; letter-spacing: -.03em; margin-bottom: 2px; }
.price small { font-family: var(--ff); font-size: 13px; color: var(--steel); font-weight: 400; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 24px; font-size: 14px; }
.price-card li { position: relative; padding-left: 22px; margin-bottom: 9px; color: var(--ink-soft); }
.price-card li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; font-size: 13px;
}
.price-card .btn { margin-top: auto; }

/* ---------- 14. Estimator ---------- */
.estimator {
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.1fr .9fr;
}
.est-form { padding: 34px 34px 30px; border-right: 1px solid var(--line); }
.est-out { padding: 34px; background: var(--bg); display: flex; flex-direction: column; justify-content: center; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; letter-spacing: .02em; }
.field select, .field input, .field textarea {
  width: 100%; padding: 11px 13px; font-family: inherit; font-size: 14.5px;
  color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--r);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field select:focus, .field input:focus, .field textarea:focus {
  outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,31,51,.07);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { font-size: 12px; color: var(--steel-2); margin-top: 6px; }
.est-price { font-family: var(--mono); font-size: 40px; font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.est-price small { font-size: 15px; color: var(--steel); font-weight: 400; font-family: var(--ff); }
.est-note { font-size: 12.5px; color: var(--steel); margin: 10px 0 20px; }
.est-meta { list-style: none; padding: 0; margin: 0 0 22px; font-size: 13px; }
.est-meta li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line-2); margin: 0; }
.est-meta b { font-family: var(--mono); color: var(--ink); }

/* ---------- 15. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
  margin-top: -7px;
  background:
    linear-gradient(var(--accent), var(--accent)) center/12px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center/2px 12px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after {
  transform: rotate(90deg);
  background: linear-gradient(var(--accent), var(--accent)) center/12px 2px no-repeat;
}
.faq details[open] summary { color: var(--accent); }
.faq .answer { padding: 0 60px 24px 0; font-size: 15px; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- 16. CTA band ---------- */
.cta-band { position: relative; background: var(--ink); color: #c3d3e0; overflow: hidden; padding: 68px 0; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: #a5bacb; max-width: 560px; }
.cta-band .btn-row { flex: none; }

/* ---------- 17. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); margin: 0;
}
.contact-list li:first-child { padding-top: 0; }
.c-ico {
  width: 40px; height: 40px; flex: none; border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.c-ico svg { width: 19px; height: 19px; }
.contact-list .c-body { min-width: 0; }
.contact-list .c-label { font-size: 12px; color: var(--steel-2); letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 3px; }
.contact-list .c-val { font-size: 17px; font-weight: 700; color: var(--ink); word-break: break-all; }
.contact-list .c-val.mono { font-family: var(--mono); }
.contact-list .c-sub { font-size: 13px; color: var(--steel); }

.map-card {
  border: 1px solid var(--line); background: #fff; overflow: hidden; display: flex; flex-direction: column;
}
.map-canvas {
  position: relative; height: 260px; background:
    linear-gradient(0deg, rgba(11,31,51,.04), rgba(11,31,51,.04)),
    repeating-linear-gradient(0deg, #eef3f6 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, #eef3f6 0 1px, transparent 1px 44px),
    #f7fafb;
  overflow: hidden;
}
.map-canvas::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 46%; height: 12px;
  background: #dfe8ee; transform: rotate(-8deg);
}
.map-canvas::after {
  content: ""; position: absolute; top: 8%; bottom: 8%; left: 62%; width: 10px;
  background: #dfe8ee; transform: rotate(6deg);
}
.map-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; z-index: 2;
}
.map-pin .pin-dot {
  width: 16px; height: 16px; background: var(--accent); border: 3px solid #fff;
  border-radius: 50%; box-shadow: 0 0 0 1px var(--accent), 0 6px 16px rgba(226,85,43,.4);
}
.map-pin .pin-stem { width: 2px; height: 26px; background: var(--accent); }
.map-pin .pin-label {
  background: var(--ink); color: #fff; font-size: 12px; padding: 5px 10px;
  white-space: nowrap; margin-bottom: 6px; letter-spacing: .02em;
}
.map-body { padding: 22px 24px; }
.map-body h3 { font-size: 16px; margin-bottom: 4px; }
.map-body p { font-size: 13.5px; color: var(--steel); margin-bottom: 14px; }
.map-links { display: flex; gap: 10px; flex-wrap: wrap; }
.map-links a {
  font-size: 13px; border: 1px solid var(--line-2); padding: 7px 13px;
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
}
.map-links a:hover { border-color: var(--ink); background: var(--bg); }
.map-links svg { width: 13px; height: 13px; }

/* ---------- 18. Form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field--full { grid-column: 1 / -1; }
.req { color: var(--accent); }
.form-status { display: none; padding: 14px 16px; font-size: 14px; margin-bottom: 18px; border-left: 3px solid; }
.form-status.ok { display: block; background: #eefaf3; border-color: #2fae6f; color: #166b45; }
.form-status.err { display: block; background: #fdf0ec; border-color: var(--accent); color: #a03a1a; }

/* ---------- 19. Page hero (sub pages) ---------- */
.page-hero {
  background: var(--ink); color: #adc1d1; padding: 58px 0 52px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 100% at 80% 20%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 80% 20%, #000, transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 14px; }
.page-hero p { max-width: 660px; color: #a5bacb; margin: 0; font-size: 16.5px; }
.breadcrumb { display: flex; gap: 8px; font-size: 12.5px; color: #7f97ac; margin-bottom: 18px; list-style: none; padding: 0; flex-wrap: wrap; }
.breadcrumb li { margin: 0; }
.breadcrumb a { color: #a5bacb; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #4a6479; }

/* ---------- 20. About specifics ---------- */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  display: grid; grid-template-columns: 110px 1fr; gap: 24px;
  padding: 22px 0; border-top: 1px solid var(--line); margin: 0;
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .year { font-family: var(--mono); font-size: 19px; font-weight: 700; color: var(--accent); }
.timeline h4 { font-size: 16.5px; margin-bottom: 4px; }
.timeline p { font-size: 14px; color: var(--steel); margin: 0; }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert {
  border: 1px solid var(--line); padding: 22px; background: #fff; display: flex; gap: 14px; align-items: flex-start;
}
.cert svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.cert b { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.4; }
.cert span { font-size: 12px; color: var(--steel); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { border: 1px solid var(--line); background: #fff; }
.person .avatar {
  height: 160px; background: linear-gradient(150deg, #16293c, #2a445e);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-family: var(--mono); font-size: 34px; font-weight: 700;
  letter-spacing: -.02em; position: relative; overflow: hidden;
}
.person .avatar::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.person .p-body { padding: 18px 20px 20px; }
.person b { display: block; font-size: 15.5px; color: var(--ink); }
.person .role { font-size: 12.5px; color: var(--accent); font-weight: 600; margin-bottom: 8px; display: block; }
.person p { font-size: 13px; color: var(--steel); margin: 0; }

.jobs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.jobs li {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line); margin: 0; flex-wrap: wrap;
}
.jobs b { font-size: 16px; color: var(--ink); }
.jobs .job-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 5px; }
.jobs .job-meta span { font-size: 12px; color: var(--steel); border: 1px solid var(--line); padding: 2px 8px; }

/* ---------- 21. Case filter ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  font-family: inherit; font-size: 13.5px; font-weight: 600; padding: 9px 18px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-soft);
  cursor: pointer; border-radius: var(--r); transition: all .18s ease;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.case-card[hidden] { display: none; }

/* ---------- 22. Floating contact ---------- */
.float-contact { position: fixed; right: 22px; bottom: 28px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fc-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 8px 24px rgba(11,31,51,.24); position: relative;
  transition: transform .2s ease, background .2s ease;
  background: var(--ink);
}
.fc-btn:hover { transform: translateY(-2px); color: #fff; }
.fc-btn svg { width: 23px; height: 23px; }
.fc-btn--accent { background: var(--accent); }
.fc-btn .fc-tip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: 12.5px; padding: 6px 12px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.fc-btn:hover .fc-tip { opacity: 1; }
.fc-panel {
  position: absolute; right: 0; bottom: 66px; width: 260px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 20px;
  display: none;
}
.fc-panel.is-open { display: block; }
.fc-panel h4 { font-size: 15px; margin-bottom: 6px; }
.fc-panel p { font-size: 12.5px; color: var(--steel); margin-bottom: 14px; }
.fc-panel img { width: 100%; border: 1px solid var(--line); margin-bottom: 12px; }

/* mobile sticky bar */
.mobile-bar { display: none; }

/* ---------- 23. Footer ---------- */
.site-footer { background: #08192a; color: #8fa7ba; padding: 62px 0 0; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.3fr .75fr .75fr .75fr .75fr; gap: 32px; padding-bottom: 44px; }
.site-footer h4 {
  color: #fff; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  font-family: var(--mono); font-weight: 700; margin-bottom: 16px;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #5f7c94; }
.footer-about p { font-size: 13.5px; line-height: 1.85; color: #8fa7ba; margin: 18px 0 0; max-width: 320px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #a4bacb; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.footer-contact li { margin-bottom: 12px; line-height: 1.6; }
.footer-contact b { display: block; color: #fff; font-family: var(--mono); font-size: 15px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 12.5px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #6c869c;
}
.footer-bottom a { color: #8fa7ba; }

/* ---------- 24. Misc blocks ---------- */
.note {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  padding: 18px 22px; font-size: 14px; color: #8d3a1e;
}
.note strong { color: #8d3a1e; }
.split-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; list-style: none; padding: 0; }
.split-list li { position: relative; padding-left: 18px; font-size: 14.5px; margin: 0; }
.split-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 1px; background: var(--accent); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.center .sec-head { margin-left: auto; margin-right: auto; }

/* ---------- 25. Responsive ---------- */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 540px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .g-side { grid-template-columns: 1fr; gap: 36px; }
  .trust .wrap { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(4), .trust-item:nth-child(5) { display: none; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .estimator { grid-template-columns: 1fr; }
  .est-form { border-right: 0; border-bottom: 1px solid var(--line); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; padding-bottom: 62px; }
  .section { padding: 58px 0; }
  .section--tight { padding: 44px 0; }
  .wrap { padding: 0 18px; }
  .hero { padding: 46px 0 56px; }
  .hero-sub { font-size: 15.5px; }
  .hero-points { gap: 14px 20px; font-size: 12.5px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .step { padding: 20px 0 20px 0; border-top: 1px solid var(--line); }
  .step::after { display: none; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card, .est-form, .est-out { padding: 24px 20px; }
  .cta-band { padding: 48px 0; }
  .cta-band .wrap { gap: 24px; }
  .cta-band .btn { width: 100%; }
  .cta-band .btn-row { width: 100%; }
  .timeline li { grid-template-columns: 72px 1fr; gap: 14px; }
  .jobs li { align-items: flex-start; flex-direction: column; gap: 12px; }
  .site-footer { padding-top: 44px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .float-contact { display: none; }
  .mobile-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(11,31,51,.08);
  }
  .mobile-bar a, .mobile-bar button {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; padding: 9px 4px 10px; font-size: 11.5px; font-weight: 600;
    color: var(--ink); background: none; border: 0; border-right: 1px solid var(--line);
    font-family: inherit; cursor: pointer;
  }
  .mobile-bar > *:last-child { border-right: 0; }
  .mobile-bar svg { width: 19px; height: 19px; color: var(--accent); }
  .mobile-bar .primary { background: var(--accent); color: #fff; }
  .mobile-bar .primary svg { color: #fff; }
  .spec-card { margin-top: -28px; margin-right: 0; width: 100%; }
  .split-list { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .case-metrics { gap: 18px; }
  .page-hero { padding: 40px 0 38px; }
  .faq summary { font-size: 15.5px; padding-right: 34px; }
  .faq .answer { padding-right: 10px; }
}

/* ---------- 26. Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 27. Print ---------- */
@media print {
  .site-header, .topbar, .float-contact, .mobile-bar, .cta-band, .site-footer { display: none; }
  body { color: #000; }
  .section { padding: 20px 0; }
}

/* ---------- 28. 移动导航展开态 ---------- */
@media (max-width: 1024px) {
  .main-nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(11,31,51,.12); padding: 8px 0 14px;
    margin: 0; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .main-nav.is-open ul { display: block; padding: 0 18px; }
  .main-nav.is-open li { border-bottom: 1px solid var(--line); }
  .main-nav.is-open li:last-child { border-bottom: 0; }
  .main-nav.is-open a { padding: 15px 0; border-bottom: 0; font-size: 16px; }
  .main-nav.is-open a[aria-current="page"] { color: var(--accent); }
  .site-header .wrap { position: relative; }
  body.nav-open { overflow: hidden; }
}

/* ---------- 29. 微信二维码卡 ---------- */
.qr-card {
  display: flex; gap: 18px; align-items: center;
  margin-top: 24px; padding: 16px;
  background: var(--surface); border: 1px solid var(--line);
}
.qr-img { flex: 0 0 auto; display: block; padding: 4px; background: #fff; border: 1px solid var(--line); }
.qr-card img { display: block; width: 132px; height: 132px; }
.qr-body { min-width: 0; }
.qr-body b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 5px; }
.qr-body p { font-size: 13px; line-height: 1.65; color: var(--steel); margin: 0 0 12px; }
.qr-body .btn { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
@media (max-width: 480px) {
  .qr-card { flex-direction: column; text-align: center; }
  .qr-card img { width: 156px; height: 156px; }
}
