/* ==========================================================================
   重庆梵古装饰 · 获客版（报价/留资型）
   设计：浅色 + 橙红主色，大圆角卡片，营销密度高
   ========================================================================== */

:root {
  --brand: #e2552b;
  --brand-deep: #c33f18;
  --brand-soft: #fff1ea;
  --ink: #1b1714;
  --ink-2: #3a332e;
  --muted: #7c736c;
  --line: #ece5df;
  --bg: #ffffff;
  --soft: #fff7f3;
  --soft-2: #f7f3ef;
  --ok: #178f5b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(60, 35, 20, 0.08);
  --shadow-lg: 0 20px 50px rgba(60, 35, 20, 0.12);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.wrap--narrow { width: min(940px, 92vw); margin: 0 auto; }

/* --------------------------------- 顶栏 ---------------------------------- */
.topbar {
  background: var(--soft-2);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar__city { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__right a:hover { color: var(--brand); }
.topbar__hot { color: var(--brand); font-weight: 700; }

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), #f2814f);
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 17px; letter-spacing: -0.02em;
}
.logo__text b { display: block; font-size: 17px; letter-spacing: 0.02em; }
.logo__text span { display: block; font-size: 11px; color: var(--muted); letter-spacing: 0.16em; }

.nav { display: flex; gap: 26px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.nav a { padding: 4px 0; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--brand); border-radius: 2px; transform: scaleX(0); transition: transform 0.25s;
}
.nav a:hover { color: var(--brand); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--brand); }

.header__cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header__phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--ink); }
.header__phone small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: 0.08em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px;
  padding: 13px 26px; font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, var(--brand), #f47a45);
  color: #fff; box-shadow: 0 8px 20px rgba(226, 85, 43, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(226, 85, 43, 0.32); filter: brightness(1.03); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); box-shadow: none; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--block { width: 100%; }

/* --------------------------------- 首屏 ---------------------------------- */
.hero {
  position: relative;
  padding: 56px 0 64px;
  background:
    radial-gradient(900px 420px at 12% 0%, #ffece1 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(700px 380px at 92% 10%, #e9f2ff 0%, rgba(255, 255, 255, 0) 65%),
    #fff;
  overflow: hidden;
}
.hero__in { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #f6d3c2; color: var(--brand);
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(226, 85, 43, 0.08);
}
.hero h1 { font-size: clamp(30px, 3.6vw, 46px); margin: 20px 0 0; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__sub { margin-top: 18px; font-size: 17px; color: var(--ink-2); line-height: 1.9; max-width: 34em; }
.hero__sub b { color: var(--ink); white-space: nowrap; }

.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.hero__points span { display: flex; align-items: center; gap: 7px; }
.hero__points svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; }

.hero__actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 38px; padding-top: 26px; border-top: 1px dashed var(--line); }
.hero__stats div b { font-size: 26px; color: var(--ink); display: block; letter-spacing: -0.02em; }
.hero__stats div b i { font-style: normal; font-size: 15px; color: var(--brand); margin-left: 2px; }
.hero__stats div span { font-size: 13px; color: var(--muted); }

/* -------------------------------- 报价卡 --------------------------------- */
.qcard {
  background: #fff; border-radius: 20px; padding: 26px 26px 24px;
  box-shadow: var(--shadow-lg); border: 1px solid #f6eae2;
  position: relative;
}
.qcard::before {
  content: "免费"; position: absolute; top: -12px; left: 26px;
  background: linear-gradient(135deg, var(--brand), #f47a45); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  padding: 5px 14px; border-radius: 8px;
}
.qcard h3 { font-size: 21px; margin-bottom: 6px; }
.qcard__sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.field > label span { color: var(--muted); font-weight: 400; margin-left: 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 9px 14px; border-radius: 10px; font-size: 14px; transition: all 0.18s;
}
.chip:hover { border-color: #f3b79f; color: var(--brand); }
.chip.is-on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); font-weight: 700; }

.input {
  width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 14px; font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s; font-family: inherit;
}
.input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(226, 85, 43, 0.12); }
.input::placeholder { color: #b4aaa3; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237c736c' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

.range-row { display: flex; align-items: center; gap: 14px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; flex: 1; height: 6px; border-radius: 99px;
  background: linear-gradient(to right, var(--brand) 0%, var(--brand) 40%, #eee 40%, #eee 100%);
  outline: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); cursor: pointer;
}
.range-val { min-width: 96px; text-align: right; font-weight: 700; color: var(--brand); font-size: 16px; }

.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--muted); line-height: 1.6; margin: 14px 0 0; }
.agree input { margin-top: 3px; accent-color: var(--brand); width: 14px; height: 14px; }
.agree a { color: var(--brand); text-decoration: underline; }

.qcard__safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--muted); }

/* 报价结果 */
.result { display: none; text-align: center; padding: 6px 0 2px; }
.result.is-on { display: block; animation: pop 0.35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.result__label { font-size: 13px; color: var(--muted); }
.result__num {
  font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--brand);
  line-height: 1.2; margin: 6px 0 2px;
}
.result__num small { font-size: 17px; font-weight: 700; }
.result__unit { font-size: 13px; color: var(--muted); }
.result__bar { height: 8px; border-radius: 99px; background: #f0eae5; margin: 18px 0 8px; overflow: hidden; }
.result__bar i { display: block; height: 100%; width: 62%; border-radius: 99px; background: linear-gradient(90deg, #f7b28e, var(--brand)); }
.result__note { font-size: 12px; color: var(--muted); line-height: 1.7; }
.result__cta { margin-top: 18px; }

/* -------------------------------- 播报条 -------------------------------- */
.pulse {
  background: var(--ink); color: #fff; overflow: hidden; height: 46px;
  display: flex; align-items: center;
}
.pulse__in { display: flex; align-items: center; gap: 14px; font-size: 13px; white-space: nowrap; }
.pulse__dot { width: 7px; height: 7px; border-radius: 50%; background: #52d68a; box-shadow: 0 0 0 0 rgba(82, 214, 138, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(82, 214, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(82, 214, 138, 0); } }
.pulse__track { display: flex; gap: 46px; animation: slide 26s linear infinite; }
.pulse:hover .pulse__track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pulse em { color: #ffb894; font-style: normal; font-weight: 700; }

/* -------------------------------- 通用区块 ------------------------------- */
.section { padding: 76px 0; }
.section--soft { background: var(--soft); }
.section--gray { background: var(--soft-2); }
.section__head { text-align: center; margin-bottom: 44px; }
.section__head span {
  display: inline-block; font-size: 12px; letter-spacing: 0.2em; color: var(--brand);
  font-weight: 700; text-transform: uppercase; margin-bottom: 10px;
}
.section__head h2 { font-size: clamp(24px, 2.6vw, 34px); }
.section__head p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* -------------------------------- 保障 ---------------------------------- */
.adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.adv__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.adv__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f6d3c2; }
.adv__icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center; margin-bottom: 16px;
}
.adv__icon svg { width: 24px; height: 24px; }
.adv__card h3 { font-size: 17px; margin-bottom: 8px; }
.adv__card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ------------------------------ 价格计算区 ------------------------------- */
.calc {
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  border: 1px solid #f6eae2;
}
.calc__left h3 { font-size: 24px; margin-bottom: 10px; }
.calc__left > p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.calc__list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.calc__list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.calc__list svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; margin-top: 3px; }
.calc__right { background: var(--soft); border-radius: var(--radius); padding: 24px; }

/* -------------------------------- 流程 ---------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding-top: 14px; }
.step__no {
  width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 16px; margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.step::after {
  content: ""; position: absolute; top: 32px; right: -14px; width: 24px; height: 2px;
  background: repeating-linear-gradient(90deg, #d9d1ca 0 5px, transparent 5px 10px);
}
.step:last-child::after { display: none; }

/* -------------------------------- 案例 ---------------------------------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #26221e;
  aspect-ratio: 16 / 10; display: block;
}
.case img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  filter: brightness(1.08) contrast(0.95) saturate(0.95);
}
.case:hover img { transform: scale(1.05); }
.case[data-book] { cursor: pointer; }
.case__info {
  position: absolute; inset: auto 0 0 0; padding: 26px 24px 22px; color: #fff;
  background: linear-gradient(to top, rgba(12, 9, 7, 0.86), rgba(12, 9, 7, 0.2) 60%, transparent);
}
.case__badge {
  display: inline-block; font-size: 11px; letter-spacing: 0.1em; font-weight: 700;
  background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 10px; border-radius: 99px; backdrop-filter: blur(6px); margin-bottom: 10px;
}
.case__info h3 { font-size: 19px; }
.case__meta { font-size: 12.5px; opacity: 0.82; margin-top: 4px; }

/* 案例列表行 */
.case-row {
  display: flex; align-items: center; gap: 20px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.case-row:hover { border-color: #f6d3c2; box-shadow: var(--shadow); }
.case-row__thumb {
  width: 92px; height: 62px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
  background: #f2ece6; display: block;
}
.case-row__tag {
  width: 54px; height: 54px; border-radius: 13px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 800; font-size: 12px; flex-shrink: 0; text-align: center; line-height: 1.2;
}
.case-row__main { flex: 1; min-width: 0; }
.case-row__main h3 { font-size: 17px; }
.case-row__main p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.case-row__price { font-weight: 700; color: var(--brand); font-size: 15px; white-space: nowrap; }

/* -------------------------------- 评价 ---------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column;
}
.review__stars { color: #f5a623; font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.review__text { font-size: 14.5px; color: var(--ink-2); line-height: 1.9; flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.review__who b { display: block; font-size: 14px; }
.review__who span { font-size: 12px; color: var(--muted); }

/* --------------------------------- FAQ ---------------------------------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; border: 0; background: none; padding: 18px 22px;
  font-size: 15.5px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px;
  align-items: center;
}
.faq__q i {
  width: 22px; height: 22px; border-radius: 50%; background: var(--soft); color: var(--brand);
  display: grid; place-items: center; font-style: normal; font-size: 15px; flex-shrink: 0;
  transition: transform 0.25s;
}
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__a p { padding: 0 22px 20px; font-size: 14px; color: var(--muted); line-height: 1.9; }

/* -------------------------------- 底部 CTA ------------------------------- */
.cta {
  background: linear-gradient(135deg, #221b17 0%, #3a2418 55%, #6b2f14 100%);
  color: #fff; padding: 64px 0;
}
.cta__in { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center; }
.cta h2 { font-size: clamp(24px, 2.6vw, 32px); }
.cta p { margin-top: 14px; color: rgba(255, 255, 255, 0.72); font-size: 15px; line-height: 1.9; }
.cta__contact { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 26px; font-size: 15px; }
.cta__contact span { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.9); }
.cta__contact b { color: #ffb894; font-size: 18px; letter-spacing: 0.02em; }
.cta .qcard { border: 0; }

/* -------------------------------- 页脚 ---------------------------------- */
.footer { background: #16120f; color: rgba(255, 255, 255, 0.55); font-size: 13px; padding: 46px 0 30px; }
.footer__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand b { color: #fff; font-size: 16px; display: block; margin-bottom: 8px; }
.footer__brand p b { display: inline; font-size: inherit; margin: 0; color: #fff; }
.footer__brand p { line-height: 1.9; max-width: 32em; }
.footer__links { display: flex; gap: 22px; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px;
}

/* ------------------------------- 悬浮/底部条 ------------------------------ */
.float {
  position: fixed; right: 18px; bottom: 120px; z-index: 70; display: grid; gap: 10px;
}
.float a, .float button {
  width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-2); box-shadow: var(--shadow);
  position: relative; transition: all 0.2s;
}
.float a:hover, .float button:hover { color: var(--brand); border-color: #f6d3c2; transform: translateY(-2px); }
.float svg { width: 22px; height: 22px; }
.float__tip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.float a:hover .float__tip, .float button:hover .float__tip { opacity: 1; }

.mbar { display: none; }

/* -------------------------------- 弹窗 ---------------------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-on { display: block; }
.modal__mask { position: absolute; inset: 0; background: rgba(18, 12, 8, 0.62); }
.modal__box {
  position: relative; width: min(460px, 92vw); margin: 8vh auto 0; background: #fff;
  border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow-lg);
  animation: pop 0.3s ease;
}
.modal__close {
  position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border: 0;
  background: var(--soft-2); border-radius: 50%; font-size: 18px; color: var(--muted); line-height: 1;
}
.modal h3 { font-size: 22px; text-align: center; }
.modal__sub { text-align: center; color: var(--muted); font-size: 13.5px; margin: 8px 0 22px; }

.toast {
  position: fixed; left: 50%; top: 26px; transform: translate(-50%, -20px); z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 10px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: all 0.3s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 表单提示 */
.hint { font-size: 12px; color: var(--brand); margin-top: 6px; display: none; }
.hint.is-on { display: block; }

/* -------------------------------- 子页 ---------------------------------- */
.pagehead { background: var(--soft); padding: 46px 0 38px; border-bottom: 1px solid var(--line); }
.pagehead h1 { font-size: clamp(24px, 3vw, 34px); }
.pagehead p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb a:hover { color: var(--brand); }

.filterbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line); margin-bottom: 30px;
}
.filterbar__label { font-size: 13px; color: var(--muted); margin-right: 4px; }

/* -------------------------------- 响应式 -------------------------------- */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; gap: 38px; }
  .hero { padding: 40px 0 52px; }
  .qcard { max-width: 480px; }
  .calc { grid-template-columns: 1fr; gap: 26px; padding: 26px; }
  .cta__in { grid-template-columns: 1fr; }
  .cta .qcard { max-width: 480px; }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .step::after { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header__phone { display: none; }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .header__in { height: 62px; gap: 12px; }
  .header__cta .btn { padding: 10px 18px; font-size: 14px; }
  .logo__mark { width: 34px; height: 34px; font-size: 15px; }
  .logo__text b { font-size: 15px; }
  .logo__text span { display: none; }
  .section { padding: 52px 0; }
  .case-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .adv { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .hero__stats div b { font-size: 22px; }
  .float { display: none; }
  .mbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .mbar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 6px 0; border-radius: 10px;
  }
  .mbar a svg { width: 20px; height: 20px; }
  .mbar a.is-primary { background: linear-gradient(135deg, var(--brand), #f47a45); color: #fff; flex: 1.4; }
  body { padding-bottom: 68px; }
  .footer { padding-bottom: 80px; }
  .modal__box { margin-top: 4vh; padding: 26px 20px; }
  .qcard { padding: 22px 18px; }
  .case-row { flex-wrap: wrap; }
}

/* ========================================================================
   微信内置浏览器 / 手机端专项适配
   —— 微信 X5/XWeb、iOS WKWebView 的坑集中在这里处理
   ======================================================================== */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
body { overflow-x: hidden; }
a, button, .chip, .faq__q { -webkit-tap-highlight-color: transparent; }
img { -webkit-user-drag: none; }
input, textarea, select { -webkit-appearance: none; appearance: none; border-radius: 0; }

/* 下拉回弹时避免白色背景露底 */
body { background-color: var(--bg); }

/* ---------------------------- 微信咨询 / 二维码 --------------------------- */
.wxcard { text-align: center; }
.wxcard__qr {
  width: 200px; height: 200px; margin: 0 auto 16px; padding: 10px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  box-shadow: 0 8px 24px rgba(60, 35, 20, 0.08);
}
.wxcard__qr img { width: 100%; height: 100%; }
.wxcard__id {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--soft-2); border-radius: 12px; padding: 12px 18px;
  font-size: 18px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink);
  margin-bottom: 6px; width: 100%;
}
.wxcard__copy {
  border: 1px solid #f6d3c2; background: var(--brand-soft); color: var(--brand-deep);
  border-radius: 10px; padding: 9px 14px; font-size: 14px; font-weight: 700;
}
.wxcard__copy:active { transform: scale(0.97); }
.wxcard__steps { margin: 16px 0 0; padding: 0; list-style: none; text-align: left; }
.wxcard__steps li {
  display: flex; gap: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.75;
}
.wxcard__steps li b {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep); font-size: 11px;
  display: grid; place-items: center;
}
.wxcard__tip { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ---------------------------- 微信分享引导层 ---------------------------- */
.shareguide {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(12, 8, 5, 0.86);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.shareguide.is-on { display: block; }
.shareguide__arrow {
  position: absolute; right: 22px; top: 8px; width: 64px; height: 64px;
  color: #fff; animation: sg-bounce 1.4s ease-in-out infinite;
}
.shareguide__box {
  position: absolute; right: 20px; top: 84px; max-width: 280px;
  background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-lg);
}
.shareguide__box b { display: block; font-size: 15px; margin-bottom: 6px; }
.shareguide__box p { font-size: 13px; color: var(--muted); line-height: 1.75; }
.shareguide__close {
  position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.16); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px; padding: 10px 26px; font-size: 14px;
}
@keyframes sg-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ------------------------------- 页脚二维码 ------------------------------ */
.footer__side { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.footer__qr { display: flex; align-items: center; gap: 16px; }
.footer__qr img {
  width: 96px; height: 96px; background: #fff; border-radius: 10px; padding: 6px; flex-shrink: 0;
}
.footer__qr p { font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, 0.55); }
.footer__qr p b { display: block; color: #fff; font-size: 13px; margin-bottom: 2px; }

/* 微信内：隐藏「回到顶部」的悬浮（微信自带返回顶部手势） */
.is-wx .float [data-wx-hide] { display: none; }

/* ------------------------------- 手机端细节 ------------------------------ */
@media (max-width: 720px) {
  /* 16px 以下输入框在 iOS 微信聚焦时会放大整页 */
  .input, input, select, textarea { font-size: 16px; line-height: 1.5; }

  /* 触控热区统一不小于 44px */
  .btn, .chip, .faq__q, .mbar a, .float a, .float button,
  .modal__close, .wxcard__copy, .filterbar .chip { min-height: 44px; }
  .chip {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 15px;
  }
  .header__cta .btn { min-height: 38px; padding: 0 16px; }
  .faq__q { display: flex; align-items: center; justify-content: space-between; text-align: left; }

  /* 弹窗在小屏上可滚动，不被键盘顶飞 */
  .modal { -webkit-overflow-scrolling: touch; overflow-y: auto; }
  .modal__box {
    width: 92vw; max-height: 84vh; overflow-y: auto;
    margin: 6vh auto 6vh; padding: 26px 20px;
  }
  .wxcard__qr { width: 168px; height: 168px; }

  /* 底部安全区：iPhone 刘海机不遮挡按钮 */
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .mbar {
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(30, 20, 12, 0.06);
  }
  .mbar a { min-height: 46px; font-size: 11.5px; }
  .footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .footer__qr { display: none; }
  .footer__qr img { width: 84px; height: 84px; }
  .footer__side { align-items: flex-start; gap: 16px; width: 100%; }
  .footer__links { flex-wrap: wrap; gap: 12px 20px; }
  .mbar svg { width: 19px; height: 19px; }

  /* 首屏标题在 320px 窄屏上不出现孤字 */
  .hero h1 { font-size: clamp(24px, 7.2vw, 32px); line-height: 1.28; }
  .hero__sub { font-size: 14.5px; line-height: 1.85; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 auto; min-width: 0; padding: 0 14px; font-size: 15px; }
  .section__head h2 { font-size: clamp(21px, 6vw, 28px); line-height: 1.34; }
  .qcard h3 { font-size: 19px; }
  .result__num { font-size: 32px; }
  .case-row__price { font-size: 14px; }
  .case-row__thumb { width: 68px; height: 48px; }
  .cta__contact { gap: 10px 18px; font-size: 14px; }
}

/* 超窄屏（iPhone SE 320 / 部分安卓 360） */
@media (max-width: 360px) {
  .logo__text b { font-size: 14px; }
  .header__cta .btn { font-size: 13px; padding: 0 12px; }
  .mbar a { font-size: 11px; }
  .hero__points { gap: 8px 14px; font-size: 13px; }
}

/* 微信 X5 内核不支持 flex gap 的老机型，用 margin 兜底 */
@supports not (aspect-ratio: 1 / 1) {
  .hero__points span, .hero__actions .btn, .mbar a { margin-right: 8px; }
  .chips .chip { margin: 0 8px 8px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
