/* =========================================================
   长枫电商网络科技工作室 · 接单系统  样式表
   分区：变量 / 基础 / 头部 / Hero / 通用版块 / 组件 / 表单 / 表格 / 响应式
   ========================================================= */

/* ---------- 变量 ---------- */
:root {
  /* 底层背景：统一三层节奏，禁止再出现零散近白（冷调，贴合青蓝主色） */
  --bg: #f4f7fa;
  --bg-alt: #e9f1f7;
  --surface: #ffffff;
  --surface-2: #f8fbfd;      /* 次级面：hover 行、嵌套块 */
  --surface-3: #f1f6f9;      /* 三级面：禁用态、输入底 */
  --surface-brand: #eef8fc;  /* 品牌浅面：选中/强调行 */

  /* 文字 */
  --ink: #0b1a26;
  --ink-2: #24404f;
  --muted: #55707f;

  /* 描边 */
  --line: #dde8ee;
  --line-2: #c8dae4;

  /* 品牌主色（青蓝）——全站只允许这三个蓝 */
  --brand: #0e7490;
  --brand-600: #0b5f78;
  --brand-soft: #e0f2f8;
  --brand-soft-2: #b9e2ef;
  --brand-ring: rgba(14, 116, 144, .14);

  /* 辅助色：绿/琥珀/红/天蓝，统一降饱和以贴合青蓝主调 */
  --green: #10b981;
  --green-700: #047857;
  --green-soft: #e9fbf3;
  --amber-700: #b45309;
  --amber-soft: #fff7e8;
  --red: #ef4444;
  --red-700: #b91c1c;
  --red-soft: #fff5f5;
  --sky-soft: #eef7ff;

  /* 暗色区块（接单看板 / CTA）专用语义色 */
  --dark: #08161f;
  --on-dark: #ffffff;
  --on-dark-2: #c2d4de;      /* 次级文字，通过 WCAG AA */
  --on-dark-3: #94aebe;      /* 弱化文字 */

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 38, .06), 0 2px 8px rgba(11, 26, 38, .04);
  --shadow: 0 8px 24px rgba(11, 26, 38, .07), 0 2px 6px rgba(11, 26, 38, .04);
  --shadow-lg: 0 24px 60px rgba(11, 26, 38, .12);

  /* 统一品牌渐变：深青 → 青 → 亮青（所有渐变块共用这套三色） */
  --grad: linear-gradient(120deg, #0e7490 0%, #0891b2 50%, #22b8d6 100%);
  --grad-deep: linear-gradient(135deg, #0e7490, #0891b2);
  --grad-cyan: linear-gradient(135deg, #0891b2, #22b8d6);
  --grad-green: linear-gradient(135deg, #059669, #10b981);
  --grad-amber: linear-gradient(135deg, #d97706, #f59e0b);
  /* 浅色面渐变：统一用于强调块 */
  --grad-soft: linear-gradient(120deg, #eef8fc, #e2f4fa);

  --maxw: 1180px;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(30px, 4.4vw, 50px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 19px; }
h4 { font-size: 17px; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

::selection { background: var(--brand); color: var(--on-dark); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap { width: min(var(--maxw), calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--brand); color: var(--on-dark); padding: 10px 16px; border-radius: 0 0 10px 10px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(13, 18, 40, .05);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface); object-fit: contain;
  padding: 3px;
  box-shadow: 0 6px 16px rgba(14, 116, 144, .28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 15px; }
.brand-text small { font-size: 11.5px; color: var(--muted); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px; border-radius: 9px;
  font-size: 14.5px; color: var(--ink-2);
  transition: background .18s, color .18s;
}
.nav a:hover, .nav a.is-active { background: var(--brand-soft); color: var(--brand-600); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-700);
  border: 1px solid #bff0dc;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, .2); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, .05); }
}

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  background: var(--surface); border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { width: 17px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 11px;
  border: 1px solid transparent;
  font-size: 15px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: transform .16s, box-shadow .16s, background .18s, border-color .18s, color .18s;
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 20px rgba(14, 116, 144, .3);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(14, 116, 144, .4); }
.btn-ghost {
  background: var(--surface); color: var(--ink-2);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-600); background: var(--surface-brand); }
.btn-danger:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 13px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 0; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 640px; z-index: 0;
  background:
    radial-gradient(46% 52% at 18% 22%, rgba(14, 116, 144, .20), transparent 70%),
    radial-gradient(40% 46% at 82% 8%, rgba(6, 182, 212, .18), transparent 70%),
    radial-gradient(50% 40% at 60% 60%, rgba(124, 58, 237, .10), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 56px; align-items: center;
}
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em;
  color: var(--brand-600); text-transform: uppercase; margin-bottom: 14px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 20px; color: var(--muted); font-size: 16.5px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.hero-points li {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  padding-left: 20px; position: relative;
}
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 4px var(--brand);
}

/* 接单看板 */
.board {
  background: var(--dark); color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.board::after {
  content: ""; position: absolute; inset: -40% -20% auto auto;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 116, 144, .55), transparent 65%);
  pointer-events: none;
}
.board > * { position: relative; z-index: 1; }
.board-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.board-title { font-weight: 700; font-size: 17px; }
.board-sub { font-size: 12.5px; color: var(--on-dark-3); margin-top: 2px; }
.chip-live { background: rgba(16, 185, 129, .16); color: #6ee7b7; border-color: rgba(110, 231, 183, .3); }
.chip-live .dot { background: #34d399; }
.board-meter { margin-top: 22px; }
.meter-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--on-dark-2); margin-bottom: 8px; }
.meter-top em { font-style: normal; color: var(--on-dark); font-weight: 700; }
.meter { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--grad); }
.board-list { margin-top: 22px; display: grid; gap: 12px; }
.board-list li {
  display: grid; grid-template-columns: 1fr 84px auto; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 13px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .07);
}
.bl-main { min-width: 0; }
.bl-name { display: block; font-size: 14px; font-weight: 600; }
.bl-meta { display: block; font-size: 12px; color: var(--on-dark-3); margin-top: 2px; }
.bl-progress { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.bl-progress i { display: block; height: 100%; background: linear-gradient(90deg, #22b8d6, #67e8f9); }
.board-foot {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: 13px; color: var(--on-dark-3);
}
.board-foot b { color: var(--on-dark); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 72px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--surface); padding: 22px 20px; text-align: center; }
.stat b {
  display: block; font-size: 28px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- 通用版块 ---------- */
.section { padding: 92px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding: 56px 0 72px; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 16px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.cards-3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
/* 三条业务线时用 3 列，窄屏逐级退化（1080px→2 列，820px→1 列） */
.cards-svc-3 { grid-template-columns: repeat(3, 1fr); }

.service { padding: 28px; display: flex; flex-direction: column; transition: transform .22s, box-shadow .22s, border-color .22s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-soft-2); }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 18px;
  color: #fff;
}
.card-icon svg { width: 24px; height: 24px; }
.icon-mp { background: var(--grad-green); }
.icon-web { background: var(--grad-deep); }
.icon-ai { background: var(--grad-amber); }

.card-desc { margin-top: 10px; color: var(--muted); font-size: 15px; }
.tick { margin-top: 18px; display: grid; gap: 9px; }
.tick li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); }
.tick li::before {
  content: ""; position: absolute; left: 4px; top: 8px;
  width: 6px; height: 10px;
  border: solid var(--green); border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.tick.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }

.card-foot {
  margin-top: auto; padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.price { font-size: 19px; font-weight: 800; color: var(--ink); }
.link { color: var(--brand-600); font-weight: 600; font-size: 14.5px; }
.link:hover { text-decoration: underline; }

.value-strip {
  margin-top: 22px; padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius);
}
.value-strip p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }

/* ---------- 案例 ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .22s, box-shadow .22s;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-thumb { height: 168px; position: relative; }
.case-thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .5;
}
.thumb-a { background: linear-gradient(135deg, #0e7490, #0891b2 55%, #22b8d6); }
.thumb-b { background: var(--grad-cyan); }
.thumb-c { background: var(--grad-green); }
.thumb-d { background: var(--grad-amber); }
/* 钢材 / 工业数据类：深灰蓝，区别于前四色 */
.thumb-e { background: linear-gradient(135deg, #334155, #475569 55%, #64748b); }
.thumb-f { background: linear-gradient(135deg, #3730a3, #4f46e5 55%, #6366f1); }
.thumb-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  background: rgba(11, 16, 32, .55); color: #fff;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; backdrop-filter: blur(6px);
}
.case-body { padding: 20px 24px 24px; }
.case-body p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li {
  padding: 4px 11px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-600);
  font-size: 12.5px; font-weight: 600;
}

/* ---------- 流程 ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.timeline li {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  position: relative; overflow: hidden;
}
.timeline .step {
  display: inline-block; font-size: 26px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.timeline h3 { margin-top: 12px; font-size: 17px; }
.timeline p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

.promise {
  margin-top: 26px; padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--grad-soft);
  border: 1px solid var(--brand-soft-2);
}
.promise .tick { margin-top: 16px; }

/* ---------- 报价方案 ---------- */
.plan-group { margin-bottom: 38px; }
.plan-group:last-of-type { margin-bottom: 0; }
.plan-group-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; margin-bottom: 20px;
}
.pg-tag {
  display: inline-flex; align-items: center;
  padding: 3px 11px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-600);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0;
}
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
/* AI 只有两档，居中收窄避免第三列留空 */
.plans-2 { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin-left: auto; margin-right: auto; }
.plan {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px 28px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .22s, box-shadow .22s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-hot {
  /* 渐变描边：用双层背景实现，避免遮罩盖住卡片文字 */
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  box-shadow: var(--shadow);
}
.plan-badge {
  position: absolute; top: -13px; left: 28px;
  background: var(--grad); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}
.plan-for { color: var(--muted); font-size: 14px; }
.plan-price { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 4px; }
.plan-price span { font-size: 20px; vertical-align: 8px; margin-right: 2px; }
.plan-price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan .tick { flex: 1; margin-bottom: 20px; }

/* 第三方与官方费用说明 */
.third-note {
  margin-top: 28px; padding: 26px 28px;
  background: var(--surface); border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}
.third-list {
  margin-top: 16px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px;
}
.third-list li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.third-list b { font-size: 14px; }
.third-list span { font-size: 13px; color: var(--muted); }
.third-foot { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- 技术栈 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  transition: border-color .18s, color .18s, transform .18s;
}
.chips li:hover { border-color: var(--brand); color: var(--brand-600); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 880px; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0 22px;
  transition: border-color .18s, box-shadow .18s;
}
.faq-list details[open] { border-color: var(--brand-soft-2); box-shadow: var(--shadow-sm); }
.faq-list summary {
  cursor: pointer; list-style: none;
  padding: 18px 30px 18px 0;
  font-weight: 600; font-size: 16px;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 4px; top: 26px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(225deg); }
.faq-list p { padding: 0 0 20px; color: var(--muted); font-size: 15px; }
.faq-list a { color: var(--brand-600); font-weight: 600; }

/* ---------- 通用小组件 ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface-3); color: var(--ink-2);
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.chip-info { background: var(--brand-soft); color: var(--brand-600); border-color: var(--brand-soft-2); }
.chip-warn { background: var(--amber-soft); color: var(--amber-700); border-color: #fde9c0; }
.chip-done { background: var(--green-soft); color: var(--green-700); border-color: #bff0dc; }
.chip-work { background: var(--sky-soft); color: #0369a1; border-color: #cce6ff; }

/* ---------- 下单表单 ---------- */
.order-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.order-form { padding: 30px; }

fieldset { border: 0; padding: 0; margin: 0 0 34px; }
fieldset:last-of-type { margin-bottom: 22px; }
legend {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; padding: 0; margin-bottom: 20px;
}
.fnum {
  width: 24px; height: 24px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand-600);
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice-grid-3 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.choice { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span {
  display: block; padding: 14px 16px;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.choice > span b { display: block; font-size: 15px; font-weight: 700; }
.choice > span i { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.choice:hover > span { border-color: var(--brand-soft-2); }
.choice input:checked + span {
  border-color: var(--brand); background: var(--surface-brand);
  box-shadow: 0 0 0 3px var(--brand-ring);
}
.choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.field { margin-bottom: 20px; }
.field.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field.two > div { min-width: 0; }
.field label, .field-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.field label b { color: var(--brand-600); }
.req { color: var(--red); }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

input[type="text"], input[type="email"], textarea, select {
  width: 100%; padding: 11px 13px;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
  font-size: 15px; font-family: inherit;
  transition: border-color .18s, box-shadow .18s;
}
textarea { resize: vertical; line-height: 1.65; }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-ring);
}
.is-invalid { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(239, 68, 68, .12) !important; }
.err { font-size: 12.5px; color: var(--red); margin-top: 6px; min-height: 0; }

input[type="range"] {
  width: 100%; height: 6px; border-radius: 99px; appearance: none;
  background: linear-gradient(90deg, var(--brand), #22b8d6);
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 2px 8px rgba(14, 116, 144, .35); cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand); cursor: grab;
}

.mod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mod { cursor: pointer; }
.mod input { position: absolute; opacity: 0; pointer-events: none; }
.mod > span {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; font-size: 14px;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface); transition: border-color .18s, background .18s;
}
.mod > span em { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.mod:hover > span { border-color: var(--brand-soft-2); }
.mod input:checked + span {
  border-color: var(--brand); background: var(--surface-brand); color: var(--brand-600); font-weight: 600;
}
.mod input:checked + span em { color: var(--brand-600); }
.mod input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.mod.is-disabled { opacity: .45; cursor: not-allowed; }
.mod.is-disabled > span { background: var(--surface-3); border-style: dashed; }

.switch {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; cursor: pointer;
  border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--ink-2);
}
.switch input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex-shrink: 0; }
.switch em { font-style: normal; color: var(--brand-600); font-weight: 700; margin-left: 6px; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ---------- 报价面板 ---------- */
.quote { padding: 26px; position: sticky; top: 92px; }
.quote-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.quote-total {
  margin-top: 22px; padding-bottom: 18px; border-bottom: 1px dashed var(--line-2);
}
.quote-total small { display: block; font-size: 13px; color: var(--muted); }
.quote-total b {
  display: block; font-size: 38px; font-weight: 800; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote-total span { font-size: 13px; color: var(--muted); }
.quote-days { margin-top: 14px; font-size: 14px; color: var(--muted); }
.quote-days b { color: var(--ink); font-size: 16px; }
.quote-breakdown { margin-top: 18px; display: grid; gap: 8px; font-size: 14px; }
.quote-breakdown li {
  display: flex; justify-content: space-between; gap: 12px;
  padding-bottom: 8px; border-bottom: 1px dashed var(--line);
  color: var(--ink-2);
}
.quote-breakdown li span:last-child { color: var(--muted); white-space: nowrap; }
.quote-breakdown li.is-sum { border-bottom: 0; font-weight: 700; color: var(--ink); padding-top: 4px; }
.quote-breakdown li.is-sum span:last-child { color: var(--brand-600); }
.quote-breakdown li.qb-group {
  display: block; margin-top: 14px; padding: 0 0 7px;
  border-bottom: 1px solid var(--line-2);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--muted);
}
.quote-breakdown li.qb-group:first-child { margin-top: 4px; }
.quote-breakdown li.is-total {
  margin-top: 6px; padding-top: 9px; padding-bottom: 0;
  border-top: 1px solid var(--line-2); font-size: 16px;
}
.quote-breakdown li.is-total span:last-child { font-weight: 800; }
.quote-tip {
  margin: 16px 0; padding: 12px 14px;
  background: var(--brand-soft); border-radius: var(--radius-sm);
  font-size: 12.5px; color: var(--brand-600); line-height: 1.6;
}

/* ---------- 提交成功 ---------- */
.done-mark {
  width: 84px; height: 84px; margin: 0 auto 16px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.done-lead { text-align: center; font-size: 16px; font-weight: 700; }
.done-lead b {
  display: block; margin-top: 6px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 17px; color: var(--brand-600); letter-spacing: .02em;
}
.done-sub {
  margin: 12px 0 0; text-align: center;
  color: var(--muted); font-size: 14px; line-height: 1.7;
}
/* 提交成功弹窗内直接给二维码：这是转化意愿最高的一刻，不让人再去找 */
.done-qr {
  display: flex; align-items: center; gap: 14px;
  margin: 18px 0 0; padding: 13px 15px; text-align: left;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px;
}
.done-qr img {
  flex: none; display: block; width: 92px; height: 92px;
  background: #fff; padding: 4px; border-radius: 8px;
  box-shadow: 0 2px 10px rgba(11, 26, 38, .08);
}
.done-qr b { display: block; font-size: 14px; margin-bottom: 4px; color: var(--ink); }
.done-qr span { font-size: 12.8px; color: var(--muted); line-height: 1.6; }
.done-actions {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 20px;
}
/* ---------- CTA / 页脚 ---------- */
.cta-section { padding-bottom: 80px; }
.cta-inner {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px; align-items: center;
}
/* 右侧微信二维码：深色卡片上需要白底才有足够对比 */
.cta-qr { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-qr img {
  display: block; width: 176px; height: 176px;
  background: #fff; padding: 9px; border-radius: 16px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .32);
}
.cta-qr span { font-size: 13px; color: var(--on-dark-2); letter-spacing: .02em; }
.cta-inner::after {
  content: ""; position: absolute; right: -80px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 116, 144, .55), transparent 62%);
  pointer-events: none;
}
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner p { margin-top: 12px; color: var(--on-dark-2); max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta-inner .btn-primary { box-shadow: 0 10px 30px rgba(14, 116, 144, .5); }
.cta-inner .btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: var(--on-dark); }
.cta-inner .btn-ghost:hover { background: rgba(255, 255, 255, .16); color: var(--on-dark); border-color: rgba(255, 255, 255, .4); }
.contact-list {
  /* 右侧加了二维码后左列变窄，4 列会把邮箱挤断，改 2 列更舒展 */
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px; margin-top: 40px; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.contact-list b { display: block; font-size: 12.5px; color: var(--on-dark-3); font-weight: 600; }
.contact-list span { font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.contact-list a:hover { text-decoration-color: var(--on-dark); }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 26px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted);
}
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--brand-600); }
/* ICP 备案号：法规要求首页底部展示并链接工信部 */
.footer-beian { width: 100%; margin-top: 2px; }
.footer-beian a { font-size: 12.5px; color: var(--muted); }
.footer-beian a:hover { color: var(--brand-600); text-decoration: underline; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(11, 16, 32, .55); backdrop-filter: blur(3px); }
.modal-card {
  position: relative; z-index: 1;
  width: min(640px, 100%); max-height: 86vh; overflow: auto;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: pop .22s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--surface); z-index: 2;
}
.modal-close {
  border: 0; background: var(--surface-3); width: 32px; height: 32px;
  border-radius: 9px; font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer;
}
.modal-close:hover { background: var(--brand-soft); color: var(--brand-600); }
.modal-body { padding: 22px 24px; }
.modal-card-sm { width: min(440px, 100%); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 300;
  transform: translate(-50%, 20px);
  background: var(--dark); color: var(--on-dark);
  padding: 12px 22px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  max-width: calc(100% - 40px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: var(--red-700); }

/* ---------- 滚动进场 ----------
   只在 JS 可用时隐藏内容，避免脚本失效导致页面空白 */
.has-js .reveal { opacity: 0; transform: translateY(18px); }
.has-js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.has-js .reveal { opacity: 1; transform: none; }
  .dot { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  /* 导航隐藏后由操作区占据右侧空白，避免按钮组挤在品牌名旁边 */
  .header-actions { margin-left: auto; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 12px 10px; border-radius: 10px; font-size: 15.5px; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 44px; }
  .order-layout { grid-template-columns: 1fr; }
  .quote { position: static; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .cards-svc-3 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .plan-hot { order: -1; }
  .contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .wrap { width: calc(100% - 36px); }
  .section { padding: 68px 0; }
  .cards-3, .cases { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .third-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 52px; }
  .choice-grid, .mod-grid, .field.two, .tick.two-col { grid-template-columns: 1fr; }
  .status-pill { display: none; }
  .value-strip { flex-direction: column; align-items: flex-start; }
  .cta-inner { padding: 36px 26px; border-radius: var(--radius); grid-template-columns: 1fr; gap: 30px; }
  /* 窄屏二维码缩小，避免占满一屏 */
  .cta-qr img { width: 150px; height: 150px; }
  .order-form, .quote { padding: 22px; }
  /* 窄屏看板：进度条单独占一行，百分比标签保持在右上角，不被拉宽 */
  .board-list li { grid-template-columns: 1fr auto; }
  .board-list li .chip { grid-column: 2; grid-row: 1; justify-self: end; }
  .bl-main { grid-column: 1; grid-row: 1; }
  .bl-progress { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  header .btn-sm { padding: 7px 12px; font-size: 13px; }
  .hero-points { flex-direction: column; gap: 8px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
  .plan-price { font-size: 32px; }
  .third-list { grid-template-columns: 1fr; }
  .third-note { padding: 20px; }
  .form-actions .btn { width: 100%; }
}
