/* AumCut —— 虚构的激光切割服务商。整站样式一份，没有构建步骤。
   配色和头部跟同系列其余原型（AumPower / AumFlow / AumTherm）一致。 */
:root {
  --blue: #003e7e;
  --orange: #ed6500;
  --ink: #1a1a1a;
  --muted: #777;
  --line: #e1e1e1;
  --paper: #faf8f6;
}
* { box-sizing: border-box; }
/* 🔴 别删。按阶段显示/隐藏靠的是 `hidden` 属性，而它只是 UA 样式，
   我们自己写的任何一条 `display: flex` 都会盖过去。 */
[hidden] { display: none !important; }
body { margin: 0; background: #fff; color: var(--ink); font: 14px/1.45 Manrope, Arial, sans-serif; }
h1, h2, h3 { margin: 0; }

/* ── 站点头 ───────────────────────────────────────────── */
.site-header {
  height: 76px; display: flex; align-items: center; gap: 54px;
  padding: 0 max(34px, calc((100vw - 1320px) / 2 + 34px));
  border-bottom: 1px solid #e5e5e5; background: #fff;
}
.wordmark { display: flex; align-items: center; gap: 9px; color: #111; text-decoration: none; letter-spacing: 1.1px; font-size: 12px; }
.wordmark-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font: italic 15px Georgia, serif; }
.wordmark strong span { font-weight: 500; color: #777; }
.main-nav { display: flex; align-self: stretch; align-items: center; gap: 29px; flex: 1; }
.main-nav a { height: 100%; display: flex; align-items: center; position: relative; color: #676467; text-decoration: none; font-size: 11px; }
.main-nav a.active { color: #151515; font-weight: 700; }
.main-nav a.active:after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.header-actions > button[aria-label='Search'] { display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 0; background: none; color: #252525; }
.header-actions > button[aria-label='Search'] svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.contact-button { padding: 10px 13px; border: 1px solid #cfc9c3; border-radius: 4px; background: none; font-size: 11px; font-weight: 700; cursor: pointer; }

/* ── 页面 ─────────────────────────────────────────────── */
.service-shell { max-width: 1320px; margin: 0 auto; padding: 44px 34px 96px; }
.eyebrow { font: 600 10px/1 monospace; letter-spacing: 1.1px; color: var(--muted); text-transform: uppercase; }
.hero h1 { margin-top: 14px; font-size: 44px; letter-spacing: -1.2px; max-width: 16ch; }
.hero .lede { margin: 14px 0 0; max-width: 54ch; color: #5f5b58; font-size: 15px; line-height: 1.6; }
.cap-row { display: flex; flex-wrap: wrap; gap: 44px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.cap-row b { display: block; font-size: 22px; letter-spacing: -.4px; }
.cap-row span { display: block; margin-top: 5px; font: 500 10px/1 monospace; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; }

/* ── 原本就有的询盘表单 ───────────────────────────────── */
.quote-form { margin-top: 48px; padding: 30px 32px 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: background .5s, border-color .5s; }
.quote-form.filled { background: #fff; border-color: #d8d2cb; box-shadow: 0 10px 30px #0000000a; }
.form-head h2 { font-size: 24px; letter-spacing: -.5px; }
.form-head p { margin: 8px 0 0; color: #5f5b58; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: block; }
.field.wide { grid-column: 1 / -1; }
.field > span { display: block; margin-bottom: 7px; font: 500 10px/1 monospace; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; color: var(--ink); font: 13px/1.55 Manrope, Arial, sans-serif; resize: vertical;
}
.field textarea { transition: border-color .4s, background .4s; }
.field textarea.autofilled { border-color: #f0b985; background: #fffaf5; }
.file-slot { padding: 13px; border: 1px dashed #cfc9c3; border-radius: 6px; background: #fff; transition: border-color .4s, background .4s; }
.file-slot.has-file { border-style: solid; border-color: #f0b985; background: #fffaf5; }
.file-empty { font-size: 12px; color: #9b9590; }
.file-there { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.file-there svg { width: 15px; height: 15px; fill: none; stroke: var(--orange); stroke-width: 1.5; stroke-linejoin: round; }
.file-there em { font-style: normal; color: var(--muted); font-size: 11px; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.form-hint { margin: 0; font-size: 11px; color: var(--muted); }

.btn-primary { padding: 13px 22px; border: 0; border-radius: 6px; background: #171717; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .3px; cursor: pointer; transition: background .3s; }
.btn-primary.hot { background: var(--orange); }

/* ── 浮动入口 + 报价面板 ──────────────────────────────── */
.quote-trigger {
  position: fixed; z-index: 6; right: 26px; bottom: 26px;
  display: flex; align-items: center; gap: 9px;
  padding: 14px 20px; border: 0; border-radius: 30px;
  background: #171717; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 30px #0000002e;
}
.quote-trigger svg { width: 17px; height: 17px; fill: none; stroke: #ff984d; stroke-width: 1.8; stroke-linecap: round; }

.quote-panel {
  position: fixed; z-index: 7; right: 26px; bottom: 26px;
  display: flex; flex-direction: column;
  width: 470px; max-height: calc(100dvh - 52px);
  border-radius: 14px; background: #fff; box-shadow: 0 26px 70px #00000029;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .28s, transform .28s, visibility .28s;
}
.quote-panel.open { opacity: 1; visibility: visible; transform: none; }
.quote-panel header { display: flex; justify-content: space-between; gap: 14px; padding: 18px 22px 15px; border-bottom: 1px solid #f0ece8; }
.quote-panel header span { font: 600 9px/1 monospace; letter-spacing: 1px; color: var(--orange); text-transform: uppercase; }
.quote-panel header h2 { margin-top: 8px; font-size: 17px; letter-spacing: -.3px; }
.quote-panel header > button { align-self: start; width: 26px; height: 26px; padding: 0; border: 0; background: none; color: #8b8580; cursor: pointer; }
.quote-panel header > button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.quote-content { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 22px 22px; }
.stage-note { margin: 12px 0 0; font-size: 10px; color: #9b9590; text-align: center; }

/* 阶段 A */
.dropzone { display: grid; justify-items: center; gap: 8px; padding: 30px 20px; border: 1px dashed #cfc9c3; border-radius: 10px; background: var(--paper); text-align: center; }
.dropzone svg { width: 30px; height: 30px; fill: none; stroke: #b0aaa4; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dropzone b { font-size: 14px; }
.dropzone span { max-width: 34ch; font-size: 11px; line-height: 1.6; color: #6d6864; }
.btn-sample { width: 100%; margin-top: 12px; padding: 12px; border: 1px solid #cfc9c3; border-radius: 6px; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.btn-sample:hover { border-color: #a9a29a; }

/* 阶段 B */
.reading { padding: 26px 4px; text-align: center; }
.reading-file { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.reading-file svg { width: 15px; height: 15px; fill: none; stroke: var(--orange); stroke-width: 1.5; stroke-linejoin: round; }
.reading-file em { font-style: normal; font-weight: 400; font-size: 11px; color: var(--muted); }
.progress { height: 5px; margin: 16px 0 12px; border-radius: 3px; background: #ece8e3; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--orange); transition: width .25s linear; }
.reading p { margin: 0; font-size: 12px; color: #5f5b58; }

/* 阶段 C */
.geometry { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; padding: 14px 16px; border-radius: 9px; background: var(--paper); }
.geometry dt { font: 500 9px/1 monospace; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; }
.geometry dd { margin: 6px 0 0; font-size: 14px; font-weight: 700; }
.geometry dd em { font-style: normal; font-weight: 400; font-size: 11px; color: var(--muted); }
.geometry-note { margin: 8px 0 0; font-size: 10px; color: #9b9590; }

.config { margin-top: 16px; display: grid; gap: 12px; }
.config-label { display: block; margin-bottom: 7px; font: 500 9px/1 monospace; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 7px 11px; border: 1px solid var(--line); border-radius: 20px; background: #fff; font-size: 11px; font-weight: 600; color: #45413e; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: #b9b2ab; }
.chip.on { border-color: var(--orange); background: #fff4ea; color: #a55a10; }

.checks { margin-top: 16px; }
.checks-head { display: block; margin-bottom: 9px; font: 600 9px/1 monospace; letter-spacing: .8px; color: var(--muted); text-transform: uppercase; }
.checks ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.check { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.check-row { display: flex; align-items: center; gap: 9px; padding: 10px 12px; }
.check-row i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.check.pass .check-row i { background: #3f9c5d; }
.check.warn .check-row i { background: #e0a33a; }
.check.tip .check-row i { background: var(--orange); }
.check-row b { font-size: 12px; flex: 1; }
.check-row span { font: 600 9px/1 monospace; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.check.warn .check-row span { color: #96701f; }
.check.tip .check-row span { color: #a55a10; }
.check-more { padding: 0 12px 12px; }
.check-more p { margin: 0 0 10px; font-size: 11px; line-height: 1.6; color: #5f5b58; }
.check-apply { padding: 8px 13px; border: 1px solid #e3c9ab; border-radius: 5px; background: #fff; font-size: 11px; font-weight: 700; color: #a55a10; cursor: pointer; }
.check.applied { border-color: #bfe0c9; background: #f7fcf8; }
.check.applied .check-row i { background: #3f9c5d; }

.price-card { margin-top: 18px; padding: 16px 18px; border: 1px solid #d8d2cb; border-radius: 10px; }
.price-line { display: flex; justify-content: space-between; align-items: baseline; }
.price-line span { font-size: 12px; color: #5f5b58; }
.price-line b { font-size: 15px; color: var(--muted); }
.price-line b i { font-style: normal; font-size: 27px; color: var(--orange); letter-spacing: -.5px; }
.price-line.total { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e3ded8; }
.price-line.total b i { font-size: 19px; color: var(--ink); }
.price-save { display: inline-block; margin: 11px 0 0; padding: 4px 9px; border-radius: 4px; background: #e7f3ea; color: #256b3c; font-size: 11px; font-weight: 700; animation: pop-in .4s ease both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px); } }
.price-lead { display: flex; align-items: center; gap: 7px; margin: 11px 0 0; font-size: 11px; color: #5f5b58; }
.price-lead i { width: 6px; height: 6px; border-radius: 50%; background: #3f9c5d; flex: none; }
#toForm { width: 100%; margin-top: 14px; background: var(--orange); }

/* ── Toast ───────────────────────────────────────────── */
.toast {
  position: fixed; z-index: 20; left: 50%; bottom: 34px;
  padding: 12px 20px; border-radius: 8px; background: #1c1a18; color: #fff;
  font-size: 12px; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 10px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── 窄屏 ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .site-header { gap: 20px; padding: 0 18px; }
  .main-nav { display: none; }
  .service-shell { padding: 26px 18px 80px; }
  .hero h1 { font-size: 30px; }
  .cap-row { gap: 26px; }
  .quote-form { padding: 20px; margin-top: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .geometry { grid-template-columns: 1fr 1fr; }
  .quote-panel { right: 12px; left: 12px; bottom: 12px; width: auto; max-height: calc(100dvh - 24px); }
  .quote-trigger { right: 12px; bottom: 12px; }
}
