/* ============================================================
 * 番茄二手车 · 样式表
 * 主题：番茄红 + 暖米白，移动优先，桌面增强
 * ============================================================ */

:root {
  --brand: #E6392B;
  --brand-d: #C2251A;
  --brand-l: #FF6B4A;
  --accent: #FF8A3D;

  --ink: #1B1614;
  --ink-2: #5C534D;
  --ink-3: #8C837C;

  --bg: #FFFFFF;
  --bg-soft: #F7F5F2;
  --line: #EDE8E3;

  --dark: #17120F;
  --dark-2: #221B17;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;

  --sh-sm: 0 2px 10px rgba(27, 22, 20, .06);
  --sh-md: 0 10px 30px rgba(27, 22, 20, .10);
  --sh-lg: 0 26px 64px rgba(27, 22, 20, .18);

  --nav-h: 68px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 { margin: 0; line-height: 1.22; letter-spacing: -.015em; font-weight: 800; }

p { margin: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 860px; }

/* ============================================================
 * 按钮
 * ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-l) 0%, var(--brand) 52%, var(--brand-d) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(230, 57, 43, .32);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(230, 57, 43, .4); }

.btn-line {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-line:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .6); }

.ico { width: 18px; height: 18px; flex: none; }

/* ============================================================
 * 导航
 * ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.nav.stuck { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(27, 22, 20, .06); }

.nav-in {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, #FFF1EE, #FFE0D8);
  box-shadow: inset 0 0 0 1px rgba(230, 57, 43, .14);
}

.brand-mark svg { width: 26px; height: 26px; }
.brand-mark.sm { width: 30px; height: 30px; border-radius: 9px; }
.brand-mark.sm svg { width: 21px; height: 21px; }

.brand-txt { display: flex; flex-direction: column; line-height: 1.18; min-width: 0; }
.brand-txt b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-txt i { font-style: normal; font-size: 11px; color: var(--ink-3); white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }

.nav-links a {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background .16s ease, color .16s ease;
}

.nav-links a:hover { background: var(--bg-soft); color: var(--brand); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }

.langs {
  display: flex;
  flex: none;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
}

.langs button {
  border: 0;
  background: none;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
  white-space: nowrap;
  transition: background .16s ease, color .16s ease;
}

.langs button.on { background: #fff; color: var(--brand); box-shadow: var(--sh-sm); }

/* ============================================================
 * Hero
 * ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--dark); }

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(18, 12, 10, .9) 0%, rgba(18, 12, 10, .76) 40%, rgba(18, 12, 10, .44) 100%),
    radial-gradient(760px 420px at 12% 18%, rgba(230, 57, 43, .34), transparent 68%);
}

.hero-in {
  position: relative;
  z-index: 2;
  padding: 78px 20px 68px;
}

.hero-copy { max-width: 660px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #FFD9D2;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .7);
  animation: pulse 1.9s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .65); }
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
}

.hero h1 em {
  display: block;
  font-style: normal;
  color: transparent;
  background: linear-gradient(100deg, #FFD9A8 0%, var(--accent) 34%, var(--brand-l) 78%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  margin-top: 20px;
  max-width: 540px;
  color: rgba(255, 255, 255, .74);
  font-size: 16px;
  line-height: 1.75;
}

.hero-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }

.hero-list li { display: flex; align-items: flex-start; gap: 11px; color: rgba(255, 255, 255, .9); font-size: 15px; }

.chk {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(230, 57, 43, .22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}

.chk::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid #FFB4A6;
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .56);
  font-size: 13.5px;
}

/* ---------- 估价表单（默认藏在底部抽屉里，见 .sheet） ---------- */
.form-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 26px 24px 22px;
}

.form-head { margin-bottom: 18px; }

.form-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  background: #FFEFEC;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
}

.form-head h2 { margin-top: 10px; font-size: 23px; }
.form-head p { margin-top: 5px; color: var(--ink-3); font-size: 13.5px; }

.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 13px; }

.fi { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fi-wide { grid-column: 1 / -1; }

.fi-lb { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }

.fi-ctrl {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #FCFBFA;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.fi-ctrl:focus-within { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(230, 57, 43, .1); }

.fi-ctrl select,
.fi-ctrl input {
  width: 100%;
  height: 100%;
  border: 0;
  background: none;
  outline: none;
  padding: 0 12px;
  font-size: 14.5px;
  color: var(--ink);
  appearance: none;
  border-radius: var(--r-sm);
}

.fi-ctrl input::placeholder { color: #B8AFA8; }

.fi-ctrl .unit {
  flex: none;
  padding-right: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
}

.caret {
  position: absolute;
  right: 13px;
  width: 8px;
  height: 8px;
  border: solid var(--ink-3);
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}

.fi.err .fi-ctrl { border-color: var(--brand); background: #FFF7F6; }
.fi-err { font-size: 11.5px; color: var(--brand); font-weight: 600; }

/* 分段按钮 */
.seg {
  display: flex;
  gap: 8px;
}

.seg button {
  flex: 1;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #FCFBFA;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  /* 不要写 transition: all —— 会把 visibility 也带进过渡，
     父级抽屉切换可见性时按钮会被卡在 hidden（一片空白） */
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.seg button.on {
  border-color: var(--brand);
  background: #FFEFEC;
  color: var(--brand);
  font-weight: 700;
}

/* 外观成色 */
.conds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }

.conds button {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 7px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #FCFBFA;
  text-align: left;
  transition: background .16s ease, border-color .16s ease;
}

.conds button b { font-size: 12.5px; font-weight: 800; }
.conds button i { font-style: normal; font-size: 10.5px; color: var(--ink-3); line-height: 1.35; }
.conds button.on { border-color: var(--brand); background: #FFEFEC; }
.conds button.on b { color: var(--brand); }

.form-submit { width: 100%; margin-top: 16px; height: 52px; font-size: 16.5px; }

.form-tip { margin-top: 11px; text-align: center; font-size: 12px; color: var(--ink-3); }

/* ============================================================
 * 数据条
 * ============================================================ */
.stats { position: relative; overflow: hidden; background: var(--dark-2); }

.stats-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; }

.stats-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 18, 15, .88), rgba(23, 18, 15, .95)); }

.stats-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 34px 20px;
}

.stat { text-align: center; }
.stat b { display: block; font-size: clamp(23px, 3vw, 32px); font-weight: 900; color: #fff; letter-spacing: -.02em; }
.stat b::after { content: ""; display: block; width: 26px; height: 3px; margin: 8px auto 0; border-radius: 2px; background: var(--brand); }
.stat span { display: block; margin-top: 9px; font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ============================================================
 * 通用区块
 * ============================================================ */
.sec { padding: 84px 0; }
.sec-alt { background: var(--bg-soft); }
.sec-dark { background: var(--dark); }

.sec-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }

.sec-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--brand);
}

.sec-dark .sec-kicker { color: var(--accent); }

.sec-head h2 { margin-top: 12px; font-size: clamp(25px, 3.4vw, 38px); }

.sec-dark .sec-head h2 { color: #fff; }

.sec-head p { margin-top: 13px; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.sec-dark .sec-head p { color: rgba(255, 255, 255, .64); }

/* ============================================================
 * 优势卡
 * ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.card {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #F3D9D4; }

.card-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(140deg, #FFF0ED, #FFE1DA);
  color: var(--brand);
}

.card-ico .ico { width: 23px; height: 23px; }

.card h3 { margin-top: 15px; font-size: 17.5px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.72; }

/* ============================================================
 * 流程
 * ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.step { position: relative; }

.step-img {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #E6E1DC;
  box-shadow: var(--sh-sm);
}

.step-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.step:hover .step-img img { transform: scale(1.06); }

.step-n {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .04em;
}

.step h3 { margin-top: 15px; font-size: 17px; }
.step p { margin-top: 7px; color: var(--ink-2); font-size: 14px; line-height: 1.7; }

/* ============================================================
 * 车型
 * ============================================================ */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.tcard {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: #E6E1DC;
  aspect-ratio: 3 / 2;
  display: block;
}

.tcard-img { position: absolute; inset: 0; }

.tcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tcard:hover .tcard-img img { transform: scale(1.07); }

.tcard-tx {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 18px 16px;
  background: linear-gradient(180deg, rgba(10, 7, 6, 0), rgba(10, 7, 6, .82));
  color: #fff;
}

.tcard-tx b { display: block; font-size: 17.5px; font-weight: 800; }
.tcard-tx i { display: block; margin-top: 3px; font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, .74); }

/* ============================================================
 * 检测
 * ============================================================ */
.igrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.icard {
  border-radius: var(--r);
  overflow: hidden;
  background: #241D19;
  border: 1px solid rgba(255, 255, 255, .07);
}

.icard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.icard-tx { padding: 15px 17px 18px; }
.icard-tx b { display: block; color: #fff; font-size: 15.5px; }
.icard-tx span { display: block; margin-top: 5px; color: rgba(255, 255, 255, .58); font-size: 13px; line-height: 1.6; }

.insp-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.insp-strip span {
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

/* ============================================================
 * 成色
 * ============================================================ */
.cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.ccard {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}

.cc-grade {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--brand-l), var(--brand-d));
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.ccard > b { display: block; margin-top: 14px; font-size: 17.5px; }
.ccard > i { display: block; font-style: normal; color: var(--ink-3); font-size: 13px; }

.ccard ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }

.ccard li {
  position: relative;
  padding-left: 17px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.ccard li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .45;
}

/* ============================================================
 * 价格因素
 * ============================================================ */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.fcard {
  padding: 22px 20px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
}

.f-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--bg-soft);
  color: var(--brand);
}

.f-ico .ico { width: 21px; height: 21px; }

.fcard b { display: block; margin-top: 13px; font-size: 16.5px; }
.fcard p { margin-top: 6px; color: var(--ink-2); font-size: 14px; line-height: 1.7; }

/* ============================================================
 * 图带
 * ============================================================ */
.band { position: relative; overflow: hidden; background: var(--dark); }

.band-imgs { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.band-imgs img { width: 100%; height: 100%; object-fit: cover; }

.band-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(18, 12, 10, .95) 0%, rgba(18, 12, 10, .82) 46%, rgba(18, 12, 10, .46) 100%);
}

.band-in { position: relative; z-index: 2; padding: 74px 20px; max-width: 760px; margin: 0; }

.band-in h2 { color: #fff; font-size: clamp(25px, 3.4vw, 38px); }
.band-in > p { margin-top: 14px; color: rgba(255, 255, 255, .7); font-size: 15.5px; line-height: 1.78; }

.band-facts { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 30px; }
.bfact b { display: block; font-size: 30px; font-weight: 900; color: var(--accent); letter-spacing: -.02em; }
.bfact span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .58); }

/* ============================================================
 * 成交案例
 * ============================================================ */
.case-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }

.case-list { display: grid; gap: 14px; }

.case {
  padding: 20px 22px;
  border-radius: var(--r);
  background: #241D19;
  border: 1px solid rgba(255, 255, 255, .07);
  transition: border-color .2s ease, transform .2s ease;
}

.case:hover { border-color: rgba(255, 138, 61, .4); transform: translateX(4px); }

.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-top b { color: #fff; font-size: 17px; }

.case-days {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 138, 61, .16);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
}

.case-meta { margin-top: 6px; color: rgba(255, 255, 255, .55); font-size: 13.5px; }

.case-bot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.case-bot strong { color: var(--accent); font-size: 23px; font-weight: 900; letter-spacing: -.02em; }
.case-bot span { color: rgba(255, 255, 255, .45); font-size: 12.5px; }

.case-side { border-radius: var(--r); overflow: hidden; background: #241D19; border: 1px solid rgba(255, 255, 255, .07); }
.case-side-imgs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.case-side-imgs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.case-side-imgs img + img { border-left: 1px solid rgba(255, 255, 255, .08); }
.case-side-tx { padding: 18px 20px 22px; }
.case-side-tx b { display: block; color: #fff; font-size: 16px; }
.case-side-tx span { display: block; margin-top: 7px; color: rgba(255, 255, 255, .58); font-size: 13.5px; line-height: 1.7; }

/* ============================================================
 * 评价
 * ============================================================ */
.rgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.rev {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}

.rev-head { display: flex; align-items: center; gap: 12px; }

.ava {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(140deg, #FFF0ED, #FFD8CF);
  color: var(--brand);
  font-size: 16px;
  font-weight: 800;
}

.rev-who { min-width: 0; }
.rev-who b { display: block; font-size: 15.5px; }
.rev-who i { display: block; font-style: normal; color: var(--ink-3); font-size: 12.5px; }

.rev-stars { margin-left: auto; display: flex; gap: 2px; color: #F5A524; }
.rev-stars svg { width: 14px; height: 14px; }

.rev p { margin-top: 14px; color: var(--ink-2); font-size: 14.5px; line-height: 1.78; }

/* ============================================================
 * 服务网络
 * ============================================================ */
.city-in { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 46px; align-items: center; }

.city-copy h2 { margin-top: 12px; font-size: clamp(25px, 3.4vw, 36px); }
.city-copy > p { margin-top: 13px; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }

.city-grid { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }

.city {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
}

.city-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.city-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
.city-media img:last-child { margin-top: 30px; }

/* ============================================================
 * FAQ
 * ============================================================ */
.faq { display: grid; gap: 11px; }

.qa {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  overflow: hidden;
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 700;
}

.qa summary::-webkit-details-marker { display: none; }

.qa-arw {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-soft);
}

.qa-arw::before,
.qa-arw::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-3);
  transform: translate(-50%, -50%);
  transition: transform .22s ease;
}

.qa-arw::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-arw { background: #FFEFEC; }
.qa[open] .qa-arw::before { background: var(--brand); }
.qa[open] .qa-arw::after { transform: translate(-50%, -50%) rotate(0deg); background: var(--brand); }

.qa p {
  margin: 0;
  padding: 0 20px 19px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.8;
}

/* ============================================================
 * 结尾 CTA
 * ============================================================ */
.final { position: relative; overflow: hidden; background: var(--dark); }

.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }

.final-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(18, 12, 10, .95) 0%, rgba(18, 12, 10, .86) 48%, rgba(18, 12, 10, .6) 100%),
    radial-gradient(600px 300px at 78% 30%, rgba(230, 57, 43, .3), transparent 70%);
}

.final-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 46px;
  align-items: center;
  padding: 72px 20px;
}

.final-tx h2 { color: #fff; font-size: clamp(27px, 3.8vw, 42px); }
.final-tx p { margin-top: 15px; max-width: 520px; color: rgba(255, 255, 255, .72); font-size: 15.5px; line-height: 1.78; }

.final-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.final-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.final-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
.final-media img:last-child { margin-top: 30px; }

/* ============================================================
 * 页脚
 * ============================================================ */
.foot { background: #120E0C; color: rgba(255, 255, 255, .62); padding: 56px 0 26px; }

.foot-in {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.foot .brand-txt b { color: #fff; }
.foot-brand p { margin-top: 14px; font-size: 13.5px; line-height: 1.75; max-width: 330px; }

.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col b { color: #fff; font-size: 14px; margin-bottom: 2px; }
.foot-col a, .foot-col span { font-size: 13.5px; transition: color .16s ease; }
.foot-col a:hover { color: var(--accent); }

.foot-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  font-size: 12.5px;
}

/* ============================================================
 * 移动底栏
 * ============================================================ */
.mbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.mbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  height: 48px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.mbar-main { flex: 1; background: linear-gradient(135deg, var(--brand-l), var(--brand-d)); color: #fff; box-shadow: 0 8px 20px rgba(230, 57, 43, .3); }

/* ============================================================
 * 估价表单抽屉（底部弹出 · 圆角）
 * ============================================================ */
/* ⚠️ visibility 不能参与缓动过渡：Chrome 会把子元素的继承值卡在 hidden
   （表现为容器已出现、里面的按钮却一片空白）。这里让它 0s 立即切换，
   关闭时延后 0s 到淡出结束，只把 opacity 交给缓动。 */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility 0s linear .28s;
}

.sheet.on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .28s ease, visibility 0s linear 0s;
}

.sheet-mask { position: absolute; inset: 0; background: rgba(14, 10, 8, .58); backdrop-filter: blur(4px); }

.sheet-card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  max-height: 92dvh;
  border-radius: 26px 26px 0 0;
  background: #fff;
  box-shadow: 0 -18px 54px rgba(27, 22, 20, .3);
  transform: translateY(100%);
  transition: transform .36s cubic-bezier(.22, .9, .28, 1);
}

.sheet.on .sheet-card { transform: none; }

.sheet-grab {
  flex: none;
  width: 42px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: #E3DCD6;
}

.sheet-x {
  position: absolute;
  top: 13px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-3);
  transition: background .16s ease, color .16s ease;
}

.sheet-x:hover { background: #F0EBE7; color: var(--ink); }
.sheet-x svg { width: 16px; height: 16px; }

.sheet-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 14px 22px calc(22px + env(safe-area-inset-bottom));
}

.sheet .form-card { padding: 0; border-radius: 0; box-shadow: none; background: transparent; }

@media (min-width: 760px) {
  .sheet-card {
    left: 50%;
    right: auto;
    width: 100%;
    max-width: 620px;
    transform: translate(-50%, 100%);
  }
  .sheet.on .sheet-card { transform: translate(-50%, 0); }
}

/* ============================================================
 * 估价弹窗
 * ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .26s ease, visibility 0s linear .26s;
}

.modal.on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .26s ease, visibility 0s linear 0s;
}

.modal-mask { position: absolute; inset: 0; background: rgba(14, 10, 8, .62); backdrop-filter: blur(4px); }

.modal-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px 26px 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--sh-lg);
  transform: translateY(14px) scale(.97);
  transition: transform .3s cubic-bezier(.2, .9, .3, 1.1);
}

.modal.on .modal-card { transform: none; }

.mstate { text-align: center; }
.mtitle { font-size: 21px; }
.msub { margin-top: 8px; color: var(--ink-3); font-size: 13.5px; line-height: 1.65; }

/* 进度环 */
.ring-wrap { position: relative; width: 156px; height: 156px; margin: 24px auto 4px; }

.ring { width: 100%; height: 100%; transform: rotate(-90deg); }

.ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.ring-bg { stroke: #F2EDEA; }

.ring-fg {
  stroke: url(#ringGrad);
  stroke: var(--brand);
  transition: stroke-dashoffset .95s linear;
}

.ring-wrap::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 2px dashed rgba(230, 57, 43, .18);
  animation: spin 9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.ring-tx {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring-tx b { font-size: 42px; font-weight: 900; line-height: 1; color: var(--brand); letter-spacing: -.03em; }
.ring-tx i { font-style: normal; margin-top: 3px; font-size: 12px; color: var(--ink-3); font-weight: 600; }

.mprog { height: 4px; margin: 18px 0 20px; border-radius: 999px; background: #F2EDEA; overflow: hidden; }

.mprog span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-l), var(--brand-d));
  transition: width .95s linear;
}

.msteps { display: grid; gap: 9px; text-align: left; }

.mstep {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: #BDB4AD;
  transition: color .3s ease;
}

.mstep::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E4DDD8;
  transition: background .3s ease, box-shadow .3s ease;
}

.mstep.on { color: var(--ink); font-weight: 600; }
.mstep.on::before { background: var(--brand); box-shadow: 0 0 0 4px rgba(230, 57, 43, .12); }

.mnote { margin-top: 20px; font-size: 12px; color: var(--ink-3); }

/* 结果 */
.mok {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #E8F7EE;
  color: #1F9D55;
}

.mok svg { width: 27px; height: 27px; }

/* 预约成功反馈：切到「已收到」时轻微上浮淡入（reduced-motion 已被全局规则压掉） */
#mBooked:not([hidden]) { animation: mIn .34s cubic-bezier(.22, 1, .36, 1) both; }

@keyframes mIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.mprice {
  margin: 20px 0 6px;
  padding: 20px 16px;
  border-radius: var(--r);
  background: linear-gradient(140deg, #FFF4F1, #FFE9E3);
  border: 1px solid #FBD9D1;
}

.mprice-lb { display: block; font-size: 12.5px; font-weight: 700; color: var(--brand-d); }

.mprice-v {
  margin-top: 6px;
  font-size: clamp(27px, 7vw, 34px);
  font-weight: 900;
  color: var(--brand-d);
  letter-spacing: -.03em;
}

.msum { display: grid; gap: 9px; margin-top: 18px; text-align: left; }

.msum-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 13.5px; }
.msum-row span { flex: none; color: var(--ink-3); }
.msum-row b { text-align: right; font-weight: 700; }

.mcta { display: flex; gap: 10px; margin-top: 22px; }
.mcta .btn { flex: 1; }
.mcta .btn-line { background: var(--bg-soft); border-color: var(--line); color: var(--ink-2); }
.mcta .btn-line:hover { background: #F0EBE7; border-color: var(--line); }

/* ============================================================
 * 响应式
 * ============================================================ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .card, .step, .tcard { min-width: 0; }
  .cards, .steps, .tgrid, .fgrid, .igrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-in, .final-in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .case-wrap { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
  .city-media, .final-media { max-width: 460px; }
}

@media (max-width: 720px) {
  .sec { padding: 62px 0; }
  .sec-head { margin-bottom: 32px; }
  .hero-in { padding: 56px 20px 60px; }
  .hero-shade { background: linear-gradient(180deg, rgba(18, 12, 10, .92) 0%, rgba(18, 12, 10, .88) 100%); }
  .hero-bg { object-position: center 34%; }
  .cards, .steps, .tgrid, .fgrid, .igrid, .rgrid, .cgrid, .stats-in { grid-template-columns: minmax(0, 1fr); }
  .stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; padding: 28px 20px; }
  .band-in { padding: 58px 20px; }
  .band-facts { gap: 24px; }
  .final-in { padding: 56px 20px 76px; }
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 20px; }
  .foot-brand { grid-column: 1 / -1; }
  .brand-txt i { display: none; }
  .langs button { padding: 5px 9px; }
  .nav-cta { display: none; }
  .mbar { display: flex; }
  .foot { padding-bottom: 88px; }
  .city-media img:last-child, .final-media img:last-child { margin-top: 0; }
}

@media (max-width: 460px) {
  .form-card { padding: 22px 18px 18px; border-radius: 20px; }
  .sheet-scroll { padding-left: 16px; padding-right: 16px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .conds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 33px; }
  .btn-lg { height: 50px; padding: 0 22px; font-size: 15px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-bar { flex-direction: column; }
}

/* 动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
