/* AumLine Auto Studio —— 虚构的汽车美容连锁。整站样式一份，没有构建步骤。
   配色和头部跟同系列其余原型一致。 */
:root {
  --blue: #003e7e;
  --orange: #ed6500;
  --ink: #1a1a1a;
  --muted: #777;
  --line: #e1e1e1;
  --paper: #faf8f6;
}
* { box-sizing: border-box; }
[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; }

/* ── 页面 ─────────────────────────────────────────────── */
.booking-shell { max-width: 1320px; margin: 0 auto; padding: 40px 34px 96px; }
.eyebrow { font: 600 10px/1 monospace; letter-spacing: 1.1px; color: var(--muted); text-transform: uppercase; }
.booking-head h1 { margin-top: 13px; font-size: 40px; letter-spacing: -1px; }
.lede { margin: 12px 0 0; color: #5f5b58; font-size: 14px; }

/* ── 日历 ─────────────────────────────────────────────── */
.calendar-panel { margin-top: 30px; }
.cal-head { display: flex; align-items: baseline; gap: 14px; }
.cal-head h2 { font-size: 20px; letter-spacing: -.4px; }
.cal-head p { margin: 0; color: var(--muted); font-size: 12px; transition: color .4s; }
.cal-head p.live { color: var(--orange); font-weight: 700; }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.day {
  padding: 13px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  text-align: left; cursor: pointer; width: 100%;
  transition: border-color .35s, background .35s, opacity .35s, box-shadow .3s;
}
.day-num { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.4px; }
.day-dow { display: block; margin-top: 2px; font: 500 9px/1 monospace; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; }
.day-state { display: inline-block; margin-top: 11px; padding: 3px 7px; border-radius: 4px; font: 600 9px/1.5 monospace; letter-spacing: .3px; text-transform: uppercase; }
.day.free .day-state { background: #e7f3ea; color: #256b3c; }
.day.tight .day-state { background: #fdf2e0; color: #96701f; }
.day.full { background: #fbfaf9; }
.day.full .day-state { background: #f6e9e6; color: #94493a; }
.day.closed { opacity: .45; cursor: default; }
.day.closed .day-state { background: #f1eeea; color: #8a847e; }
.day.picked { border-color: var(--orange); box-shadow: 0 0 0 3px #ed650018; }
.day.shifted { animation: day-flip .55s ease; }
@keyframes day-flip { 0% { transform: translateY(-3px); opacity: .35; } 100% { transform: none; opacity: 1; } }

.cal-why { margin-top: 16px; padding: 16px 18px; border: 1px solid #f0dcc8; border-radius: 10px; background: #fff8f1; animation: fade-up .4s ease both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } }
.why-head { display: flex; align-items: baseline; gap: 12px; }
.why-head b { font-size: 16px; }
.why-head span { font: 600 9px/1 monospace; letter-spacing: .6px; text-transform: uppercase; color: #94493a; }
.cal-why > p { margin: 9px 0 0; font-size: 12px; color: #6f5a45; }
.why-grid { display: flex; flex-wrap: wrap; gap: 26px; margin: 12px 0 0; }
.why-grid dt { font: 500 9px/1 monospace; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; }
.why-grid dd { margin: 6px 0 0; font-size: 15px; font-weight: 700; }
.why-grid dd.maxed { color: #94493a; }
.why-next { margin-top: 12px !important; padding-top: 11px; border-top: 1px dashed #ecd8c2; font-weight: 700; color: #45413e !important; }

/* ── 金额摘要 ─────────────────────────────────────────── */
.summary-panel { margin-top: 30px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.sum-head { display: flex; align-items: baseline; gap: 14px; }
.sum-head h2 { font-size: 18px; letter-spacing: -.3px; }
.sum-head p { margin: 0; font-size: 12px; color: var(--muted); }
.sum-lines { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.sum-lines li { display: flex; justify-content: space-between; font-size: 12px; color: #45413e; }
.sum-lines li span { color: var(--muted); }
.sum-total { display: flex; gap: 40px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #e8e3dd; }
.sum-total span { display: block; font: 500 9px/1 monospace; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; }
.sum-total span em { font-style: normal; color: var(--orange); }
.sum-total b { display: block; margin-top: 8px; font-size: 15px; }
.sum-total b i { font-style: normal; font-size: 22px; letter-spacing: -.5px; }
.sum-total div:nth-child(2) b i { color: var(--orange); }

/* ── 浮动入口 + 预约面板 ──────────────────────────────── */
.book-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;
}
.book-trigger svg { width: 17px; height: 17px; fill: none; stroke: #ff984d; stroke-width: 1.7; }

.book-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;
}
.book-panel.open { opacity: 1; visibility: visible; transform: none; }
.book-panel header { display: flex; justify-content: space-between; gap: 14px; padding: 18px 22px 15px; border-bottom: 1px solid #f0ece8; }
.book-panel header span { font: 600 9px/1 monospace; letter-spacing: 1px; color: var(--orange); text-transform: uppercase; }
.book-panel header h2 { margin-top: 8px; font-size: 17px; letter-spacing: -.3px; }
.book-panel header > button { align-self: start; width: 26px; height: 26px; padding: 0; border: 0; background: none; color: #8b8580; cursor: pointer; }
.book-panel header > button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.book-content { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 22px 22px; }
.stage-note { margin: 12px 0 0; font-size: 11px; color: #9b9590; text-align: center; }

/* 步骤 */
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.step { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; transition: border-color .3s, background .3s; }
.step.is-open { border-color: #cfc7bf; }
.step.done { background: #fbfaf9; }
.step-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 13px; border: 0; background: none; text-align: left; cursor: pointer; }
.step-head i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e6e2de; font: 700 10px/1 Manrope, sans-serif; font-style: normal; color: #6f6a66; flex: none; transition: background .3s, color .3s; }
.step.done .step-head i { background: #3f9c5d; color: #fff; }
.step.is-open .step-head i { background: var(--orange); color: #fff; }
.step-head span { font-size: 12px; font-weight: 700; flex: none; }
.step-head em { flex: 1; text-align: right; font-style: normal; font-size: 11px; color: var(--muted); }
.step-body { display: none; padding: 2px 13px 13px; }
.step.is-open .step-body { display: block; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 8px 12px; 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 em { font-style: normal; color: var(--muted); }
.chip:hover { border-color: #b9b2ab; }
.chip.on { border-color: var(--orange); background: #fff4ea; color: #a55a10; }
.chip.on em { color: #c07a34; }
.step-note { display: flex; align-items: center; gap: 7px; margin: 11px 0 0; font-size: 11px; color: #256b3c; }
.step-note i { width: 6px; height: 6px; border-radius: 50%; background: #3f9c5d; flex: none; }

.service-list { display: grid; gap: 8px; }
.service { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.service:hover { border-color: #b9b2ab; }
.service.on { border-color: var(--orange); background: #fff4ea; }
.service b { flex: 1; font-size: 12px; }
.service span { font: 500 10px/1 monospace; color: var(--muted); }
.service em { font-style: normal; font-size: 12px; font-weight: 700; }

.needs { margin-top: 12px; padding: 12px 13px; border-radius: 8px; background: var(--paper); }
.needs-head { display: block; margin-bottom: 8px; font: 600 9px/1 monospace; letter-spacing: .8px; color: var(--muted); text-transform: uppercase; }
.needs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.needs li { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #45413e; }
.needs li:before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); flex: none; }

/* 候补 */
.wl-card { padding: 18px; border: 1px solid #d8d2cb; border-radius: 10px; }
.wl-label { font: 600 9px/1 monospace; letter-spacing: .8px; color: var(--muted); text-transform: uppercase; }
.wl-card > b { display: block; margin-top: 9px; font-size: 18px; letter-spacing: -.4px; }
.wl-card > p { margin: 9px 0 0; font-size: 12px; line-height: 1.65; color: #5f5b58; }
.wl-pos { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: var(--paper); animation: fade-up .4s ease both; }
.wl-pos span { font: 500 9px/1 monospace; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; }
.wl-pos b { font-size: 20px; }
.btn-demo { width: 100%; margin-top: 10px; padding: 10px; border: 1px dashed #cfc9c3; border-radius: 6px; background: #fff; font-size: 11px; font-weight: 700; color: var(--muted); cursor: pointer; }

.wl-open { margin-top: 14px; padding: 18px; border: 1px solid #f0c8a4; border-radius: 10px; background: #fff8f1; animation: fade-up .45s ease both; }
.open-flash { display: inline-block; padding: 4px 10px; border-radius: 20px; background: var(--orange); color: #fff; font: 700 10px/1.5 monospace; letter-spacing: .5px; text-transform: uppercase; animation: flash-in .6s ease both; }
@keyframes flash-in { 0% { transform: scale(.9); opacity: 0; } 60% { transform: scale(1.04); } 100% { transform: none; opacity: 1; } }
.wl-open > b { display: block; margin-top: 11px; font-size: 16px; }
.wl-open > p { margin: 8px 0 0; font-size: 12px; color: #6f5a45; }

/* 定金 */
.hold-bar { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 8px; background: #1c1a18; color: #fff; }
.hold-bar span { font: 500 10px/1 monospace; letter-spacing: .4px; text-transform: uppercase; color: #b8b4b0; }
.hold-bar b { font: 700 17px/1 DM Mono, monospace; }
.pay-lines { display: grid; gap: 7px; margin: 14px 0 0; }
.pay-lines div { display: flex; justify-content: space-between; font-size: 12px; }
.pay-lines dt { color: var(--muted); }
.pay-lines dd { margin: 0; font-weight: 700; }
.pay-card { margin-top: 14px; padding: 16px 18px; border: 1px solid #d8d2cb; border-radius: 10px; }
.pay-label { font: 600 9px/1 monospace; letter-spacing: .8px; color: var(--muted); text-transform: uppercase; }
.pay-card > b { display: block; margin-top: 9px; font-size: 16px; }
.pay-card > b i { font-style: normal; font-size: 30px; color: var(--orange); letter-spacing: -.6px; }
.pay-rest { margin: 9px 0 0; font-size: 11px; color: #5f5b58; }
.pay-method { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.method-dot { width: 8px; height: 8px; border-radius: 50%; background: #3f9c5d; }

/* 完成 */
#stageDone { text-align: center; padding: 12px 4px; }
.done-mark { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; background: #e7f3ea; }
.done-mark svg { width: 21px; height: 21px; fill: none; stroke: #3f9c5d; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.done-title { display: block; margin-top: 12px; font-size: 19px; }
.done-ref { margin: 7px 0 0; font-size: 12px; color: #5f5b58; }
.done-ref code { padding: 2px 6px; border-radius: 4px; background: #f1eeea; font-size: 11px; }
.timeline { margin: 18px 0 0; padding: 15px 0 0; border-top: 1px dashed #e3ded8; list-style: none; display: grid; gap: 9px; text-align: left; }
.timeline li { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.timeline li span { color: var(--muted); font-size: 11px; }

.btn-primary { width: 100%; margin-top: 14px; padding: 13px; border: 0; border-radius: 6px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .3px; cursor: pointer; }
.btn-ghost { width: 100%; margin-top: 16px; padding: 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 11px; font-weight: 700; color: var(--muted); cursor: pointer; }

/* ── 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; }
  .booking-shell { padding: 24px 18px 80px; }
  .booking-head h1 { font-size: 28px; }
  .calendar { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .day { padding: 10px; }
  .sum-total { flex-wrap: wrap; gap: 20px; }
  .book-panel { right: 12px; left: 12px; bottom: 12px; width: auto; max-height: calc(100dvh - 24px); }
  .book-trigger { right: 12px; bottom: 12px; }
}
