@charset "utf-8";
/* ==========================================================================
   守家匠.修 — 旧房改造服务官网
   设计系统 v1.0
   品牌色取自 logo：深棕（房屋线条） + 朱红（灯笼）
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 品牌棕 */
  --brand-900: #33201A;
  --brand-800: #45291F;
  --brand-700: #573526;
  --brand-600: #6B4331;
  --brand-500: #85573F;
  --brand-200: #E4D3C6;
  --brand-100: #F4EAE2;
  --brand-50:  #FBF6F1;

  /* 朱红（强调） */
  --accent-700: #8E2622;
  --accent-600: #A62F2A;
  --accent-500: #BC3A33;
  --accent-100: #F8E6E4;

  /* 暖金（点缀） */
  --gold: #C8A46B;
  --gold-100: #F7F0E2;

  /* 中性 */
  --ink:    #241A15;
  --ink-2:  #5E4E45;
  --ink-3:  #8E7E75;
  --ink-4:  #B4A79F;
  --bg:     #FBF8F5;
  --paper:  #FFFFFF;
  --line:   #EBE1D8;
  --line-2: #F3ECE5;

  /* 尺度 */
  --r-xs: 8px;
  --r-s:  12px;
  --r:    16px;
  --r-l:  22px;
  --r-xl: 30px;
  --header-h: 76px;
  --container: 1200px;

  /* 阴影 */
  --sh-1: 0 1px 2px rgba(52,32,26,.04), 0 4px 14px rgba(52,32,26,.05);
  --sh-2: 0 2px 6px rgba(52,32,26,.06), 0 14px 36px rgba(52,32,26,.09);
  --sh-3: 0 8px 22px rgba(52,32,26,.10), 0 30px 60px rgba(52,32,26,.13);

  --t: .28s cubic-bezier(.4, 0, .2, 1);
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }

::selection { background: var(--brand-700); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 电话链接：继承父级颜色，塞进任何标签里都不变色 */
a.tel, a.tel-inline {
  color: inherit;
  white-space: nowrap;
  transition: color var(--t);
}
a.tel-inline { border-bottom: 1px solid rgba(188,58,51,.45); }
a.tel-inline:hover { color: var(--accent-600); border-bottom-color: var(--accent-600); }
a.tel:hover { color: var(--accent-500); }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--brand-900);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1;
  letter-spacing: .01em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  padding: 6px 0;
}
.topbar__l { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar__item { display: flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 14px; height: 14px; flex: none; opacity: .75; }
.topbar a { display: inline-flex; align-items: center; height: 28px; }
.topbar .topbar__tel {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
}
.topbar .topbar__tel:hover { color: var(--gold); }
.topbar__r { display: flex; align-items: center; gap: 18px; }
.topbar__r a:hover { color: #fff; }

/* ---------- 页头 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 16px rgba(52,32,26,.05); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo img { height: 44px; width: auto; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--brand-800); }
.logo__sub { font-size: 11px; color: var(--ink-3); letter-spacing: .16em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-xs);
  transition: color var(--t), background var(--t);
}
.nav a:hover { color: var(--brand-800); background: var(--brand-50); }
.nav a.on { color: var(--brand-800); font-weight: 700; }
.nav a.on::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-500);
}

.header__cta { display: flex; align-items: center; gap: 12px; flex: none; }
.header__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
  padding: 4px 0;
}
.header__tel .t-num { font-size: 19px; font-weight: 800; color: var(--brand-800); letter-spacing: .01em; }
.header__tel .t-lab { font-size: 11.5px; color: var(--ink-3); }
.header__tel:hover .t-num { color: var(--accent-600); }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  position: relative;
  margin-left: auto;
  flex: none;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--brand-800);
  transition: transform var(--t), opacity var(--t), top var(--t);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 59;
  background: var(--paper);
  padding: 8px 24px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-800);
  border-bottom: 1px solid var(--line-2);
}
.drawer a::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid var(--ink-4);
  border-bottom: 2px solid var(--ink-4);
  transform: rotate(-45deg);
}
.drawer .drawer__cta {
  margin-top: 26px;
  gap: 10px;
  justify-content: center;
  padding: 15px;
  border: 0;
  border-radius: var(--r-s);
  background: var(--accent-600);
  color: #fff;
  font-size: 16px;
}
.drawer .drawer__cta::after { display: none; }
.drawer__foot {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}
.drawer__foot .tel { display: block; font-size: 22px; font-weight: 800; color: var(--brand-800); margin-top: 4px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 100px;
  white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-700));
  color: #fff;
  box-shadow: 0 6px 18px rgba(166, 47, 42, .26);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(166, 47, 42, .34); }
.btn--dark { background: var(--brand-800); color: #fff; }
.btn--dark:hover { background: var(--brand-900); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--brand-800);
}
.btn--ghost:hover { border-color: var(--brand-200); background: var(--brand-50); }
.btn--light {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .34);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255, 255, 255, .24); }
.btn--lg { height: 58px; padding: 0 34px; font-size: 17px; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* ---------- 区块 ---------- */
.sec { padding: 96px 0; }
.sec--tight { padding: 68px 0; }
.sec--paper { background: var(--paper); }
.sec--tint { background: var(--brand-50); }
.sec--dark {
  background:
    radial-gradient(1100px 460px at 12% 0%, rgba(200, 164, 107, .13), transparent 62%),
    linear-gradient(160deg, var(--brand-900), #241511 78%);
  color: #fff;
}
.sec--dark .sec__title { color: #fff; }
.sec--dark .sec__lead { color: rgba(255, 255, 255, .72); }
.sec--dark .eyebrow { color: var(--gold); }
.sec--dark .eyebrow::before { background: var(--gold); }

.sec__head { max-width: 720px; margin-bottom: 52px; }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__head--center .eyebrow { justify-content: center; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-600);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--accent-500);
  flex: none;
}

.sec__title { font-size: clamp(25px, 3.3vw, 40px); letter-spacing: -.022em; }
.sec__lead { margin-top: 18px; font-size: 16.5px; color: var(--ink-2); line-height: 1.85; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brand-900);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(26,14,11,.90) 0%, rgba(26,14,11,.72) 42%, rgba(26,14,11,.28) 72%, rgba(26,14,11,.42) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 104px 0 96px; max-width: 660px; color: #fff; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 15px;
  margin-bottom: 26px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  backdrop-filter: blur(6px);
}
.hero__badge i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 164, 107, .26);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.16;
  letter-spacing: -.03em;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  color: var(--gold);
}
.hero__sub {
  margin-top: 22px;
  font-size: 17.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
}
.hero__actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 14.5px;
  color: rgba(255, 255, 255, .8);
}
.hero__points span { display: flex; align-items: center; gap: 8px; }
.hero__points svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

/* 首屏数据条 */
.statbar {
  position: relative;
  z-index: 3;
  margin-top: -46px;
  background: var(--paper);
  border-radius: var(--r-l);
  box-shadow: var(--sh-3);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.statbar__i {
  padding: 26px 20px;
  text-align: center;
  border-right: 1px solid var(--line-2);
}
.statbar__i:last-child { border-right: 0; }
.statbar__i b {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--brand-800);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.statbar__i b i { font-style: normal; font-size: .58em; margin-left: 2px; color: var(--accent-600); }
.statbar__i span { display: block; margin-top: 7px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- 痛点 ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pain {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pain:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--brand-200); }
.pain__pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-100); }
.pain__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.pain:hover .pain__pic img { transform: scale(1.06); }
.pain__no {
  position: absolute;
  left: 12px; top: 12px;
  min-width: 28px; height: 28px;
  padding: 0 8px;
  display: grid; place-items: center;
  border-radius: 100px;
  background: rgba(36, 26, 21, .72);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.pain__body { padding: 18px 18px 20px; }
.pain__body h3 { font-size: 16.5px; color: var(--brand-800); }
.pain__body p { margin: 8px 0 0; font-size: 13.8px; line-height: 1.7; color: var(--ink-2); }

.sec--dark .pain {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .1);
}
.sec--dark .pain:hover { border-color: rgba(200, 164, 107, .45); }
.sec--dark .pain__body h3 { color: #fff; }
.sec--dark .pain__body p { color: rgba(255, 255, 255, .68); }

/* ---------- 十步服务流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step {
  background: var(--paper);
  padding: 26px 22px 28px;
  transition: background var(--t);
}
.step:hover { background: var(--brand-50); }
.step__no {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--brand-200);
  transition: color var(--t);
}
.step:hover .step__no { color: var(--accent-500); }
.step h3 { margin-top: 14px; font-size: 16.5px; color: var(--brand-800); }
.step p { margin: 9px 0 0; font-size: 13.6px; line-height: 1.7; color: var(--ink-2); }
.step__free {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--accent-100);
  color: var(--accent-700);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- 服务项目 + 前后对比 ---------- */
.svc { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; }
.svc__tabs { display: flex; flex-direction: column; gap: 8px; }
.svc__tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--paper);
  transition: all var(--t);
}
.svc__tab i {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 800;
  font-style: normal;
  transition: all var(--t);
}
.svc__tab b { display: block; font-size: 15.5px; font-weight: 700; color: var(--brand-800); }
.svc__tab span { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.svc__tab:hover { border-color: var(--brand-200); }
.svc__tab.on {
  border-color: var(--brand-700);
  background: var(--brand-800);
}
.svc__tab.on i { background: rgba(255, 255, 255, .14); color: var(--gold); }
.svc__tab.on b { color: #fff; }
.svc__tab.on span { color: rgba(255, 255, 255, .62); }

.svc__panel { min-width: 0; }
.svc__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 24px;
}
.svc__info { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 18px; }
.svc__info div { font-size: 13.5px; color: var(--ink-2); }
.svc__info b { color: var(--brand-800); }

/* 前后对比滑块 */
.ba {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--brand-100);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 50% 0 0); }
.ba__tag {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(36, 26, 21, .68);
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 3;
}
.ba__tag--b { left: 14px; }
.ba__tag--a { right: 14px; background: rgba(166, 47, 42, .86); }
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 12px rgba(0, 0, 0, .3);
  z-index: 4;
  pointer-events: none;
}
.ba__knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-800);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
}
.ba__knob svg { width: 22px; height: 22px; }
.ba__hint {
  position: absolute;
  left: 50%; bottom: 16px;
  transform: translateX(-50%);
  padding: 6px 15px;
  border-radius: 100px;
  background: rgba(36, 26, 21, .66);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  z-index: 3;
  transition: opacity var(--t);
  pointer-events: none;
}
.ba.is-touched .ba__hint { opacity: 0; }

/* ---------- 报价计算器 ---------- */
.calc { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
.calc__form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 30px;
}
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.calc__row--1 { grid-template-columns: 1fr; }
.calc__row:last-of-type { margin-bottom: 0; }

.calc__out {
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(200, 164, 107, .16), transparent 60%),
    linear-gradient(160deg, var(--brand-800), #2B1712);
  border-radius: var(--r-l);
  padding: 32px 30px;
  color: #fff;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.calc__out h3 { font-size: 17px; color: rgba(255, 255, 255, .78); font-weight: 600; }
.calc__price {
  margin: 14px 0 4px;
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--gold);
}
.calc__price small { font-size: .38em; font-weight: 600; color: rgba(255, 255, 255, .6); margin-left: 6px; }
.calc__range { font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.calc__list { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.calc__list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .74);
}
.calc__list li b { color: #fff; font-weight: 700; }
.calc__note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 12.8px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
}
.calc__out .btn { margin-top: 22px; }

/* ---------- 价格表 ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper);
  overflow-x: auto;
}
.price-table { min-width: 640px; }
.price-table th, .price-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line-2);
}
.price-table thead th {
  background: var(--brand-50);
  color: var(--brand-800);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: var(--brand-50); }
.price-table td:first-child { font-weight: 700; color: var(--brand-800); }
.price-table .price-num { color: var(--accent-600); font-weight: 800; font-size: 16px; white-space: nowrap; }
.price-table .muted { color: var(--ink-3); font-size: 13px; }

/* ---------- 案例 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) 1.65fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.case {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--brand-100);
  min-height: 190px;
  display: block;
}
.case:nth-child(5) { grid-column: 3; grid-row: 1 / span 2; }
.case img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.case:hover img { transform: scale(1.05); }
.case::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(24, 13, 10, .82) 0%, rgba(24, 13, 10, .28) 46%, transparent 74%);
}
.case__body { position: relative; z-index: 2; padding: 18px 20px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; color: #fff; }
.case__body h3 { font-size: 17px; }
.case:nth-child(5) .case__body h3 { font-size: 22px; }
.case__meta { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 6px; }
.case__meta span {
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.case__flag {
  position: absolute;
  left: 16px; top: 16px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--accent-600);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* 案例库列表页 */
.case-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.case-card__pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-100); }
.case-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .case-card__pic img { transform: scale(1.05); }
.case-card__body { padding: 20px; }
.case-card__body h3 { font-size: 17px; color: var(--brand-800); }
.case-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.case-card__meta span {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--ink-2);
  font-size: 12.5px;
}
.case-card__meta .hl { background: var(--accent-100); color: var(--accent-700); font-weight: 700; }

/* 筛选条 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-bar button {
  height: 40px;
  padding: 0 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all var(--t);
}
.filter-bar button:hover { border-color: var(--brand-200); color: var(--brand-800); }
.filter-bar button.on { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }

/* ---------- 团队 / 资质 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mate {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.mate:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.mate__pic { aspect-ratio: 1 / 1; overflow: hidden; background: var(--brand-100); }
.mate__pic img { width: 100%; height: 100%; object-fit: cover; }
.mate__body { padding: 18px 20px 20px; }
.mate__body h3 { font-size: 17px; color: var(--brand-800); }
.mate__role { margin-top: 3px; font-size: 13px; color: var(--accent-600); font-weight: 700; }
.mate__stats { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); display: grid; gap: 7px; }
.mate__stats div { display: flex; justify-content: space-between; font-size: 13.2px; color: var(--ink-2); }
.mate__stats b { color: var(--brand-800); }

/* 证书查询 */
.cert-search {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 28px;
}
.cert-search__row { display: grid; grid-template-columns: 1fr 1fr 1.3fr auto; gap: 14px; align-items: end; }
.cert-list { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert {
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 18px;
  background: var(--brand-50);
}
.cert__top { display: flex; align-items: center; gap: 12px; }
.cert__av {
  width: 44px; height: 44px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--brand-800);
  color: var(--gold);
  font-size: 17px;
  font-weight: 800;
}
.cert__top b { display: block; font-size: 15.5px; color: var(--brand-800); }
.cert__top span { font-size: 12.5px; color: var(--ink-3); }
.cert__rows { margin-top: 14px; padding-top: 13px; border-top: 1px dashed var(--brand-200); display: grid; gap: 6px; }
.cert__rows div { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); }
.cert__rows em { font-style: normal; color: var(--ink-3); flex: none; width: 62px; }
.cert__rows b { color: var(--brand-700); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.cert-empty { padding: 30px; text-align: center; color: var(--ink-3); font-size: 14.5px; }

/* ---------- 服务区域 ---------- */
.area-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.area {
  padding: 16px 14px;
  text-align: center;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all var(--t);
}
.area:hover { border-color: var(--brand-200); background: var(--brand-50); }
.area b { display: block; font-size: 15px; color: var(--brand-800); }
.area span { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }

/* ---------- 承诺 ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise {
  padding: 28px 26px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color var(--t), background var(--t);
}
.promise:hover { border-color: rgba(200, 164, 107, .4); background: rgba(255, 255, 255, .07); }
.promise__ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(200, 164, 107, .14);
  color: var(--gold);
  margin-bottom: 18px;
}
.promise__ico svg { width: 22px; height: 22px; }
.promise h3 { font-size: 17px; color: #fff; }
.promise p { margin: 10px 0 0; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .68); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq__item.is-open { border-color: var(--brand-200); box-shadow: var(--sh-1); }
.faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--brand-800);
}
.faq__q i {
  flex: none;
  width: 24px; height: 24px;
  position: relative;
  border-radius: 50%;
  background: var(--brand-50);
}
.faq__q i::before, .faq__q i::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 2px;
  border-radius: 2px;
  background: var(--accent-600);
  transform: translate(-50%, -50%);
  transition: transform var(--t);
}
.faq__q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq__q span { flex: 1; }
.faq__a {
  display: none;
  padding: 0 24px 22px 64px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}
.faq__item.is-open .faq__a { display: block; }

/* ---------- 表单 ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--brand-800); }
.field label em { font-style: normal; color: var(--accent-600); margin-left: 3px; }
.field input, .field select, .field textarea {
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--paper);
  font-size: 16px;
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
}
.field textarea { height: 104px; padding: 13px 16px; resize: vertical; line-height: 1.7; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E7E75' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(107, 67, 49, .1);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field__err { font-size: 12.5px; color: var(--accent-600); display: none; }
.field.is-error input, .field.is-error select { border-color: var(--accent-500); }
.field.is-error .field__err { display: block; }
.form__tip { font-size: 12.8px; line-height: 1.7; color: var(--ink-3); }
.form__tip a { color: var(--brand-700); border-bottom: 1px solid var(--brand-200); }
.form-ok {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--r-s);
  background: #EDF7F0;
  border: 1px solid #C9E6D2;
  color: #1E6B3B;
  font-size: 14.5px;
  line-height: 1.7;
}
.form-ok svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.form-ok b { display: block; }

.form-side { display: grid; gap: 20px; }
.side-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 28px;
}
.side-card--dark {
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(200, 164, 107, .16), transparent 62%),
    linear-gradient(160deg, var(--brand-800), #2B1712);
  border: 0;
  color: #fff;
}
.side-card h3 { font-size: 18px; color: var(--brand-800); }
.side-card--dark h3 { color: #fff; }
.side-tel { display: block; margin-top: 10px; font-size: 27px; font-weight: 800; color: var(--gold); letter-spacing: .01em; }
.side-card p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.side-card--dark p { color: rgba(255, 255, 255, .7); }
.side-list { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-2); display: grid; gap: 13px; }
.side-card--dark .side-list { border-top-color: rgba(255, 255, 255, .14); }
.side-list div { display: flex; gap: 12px; font-size: 14.2px; color: var(--ink-2); }
.side-card--dark .side-list div { color: rgba(255, 255, 255, .72); }
.side-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent-600); }
.side-card--dark .side-list svg { color: var(--gold); }

/* ---------- 页面头（内页） ---------- */
.pagehead {
  padding: 76px 0 44px;
  background:
    radial-gradient(900px 300px at 85% -30%, rgba(200, 164, 107, .16), transparent 60%),
    linear-gradient(165deg, var(--brand-800), #2E1A14);
  color: #fff;
}
.pagehead h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.025em; }
.pagehead p { margin-top: 16px; max-width: 660px; font-size: 16.5px; line-height: 1.85; color: rgba(255, 255, 255, .76); }
.crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .58); }
.crumb a:hover { color: var(--gold); }
.crumb i { opacity: .5; font-style: normal; }

/* ---------- 内容排版 ---------- */
.prose { font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.prose h2 { margin: 44px 0 16px; font-size: 25px; color: var(--brand-800); }
.prose h3 { margin: 32px 0 12px; font-size: 18.5px; color: var(--brand-800); }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 20px; display: grid; gap: 11px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 13px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.prose strong { color: var(--brand-800); font-weight: 700; }

/* 卡片网格 */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--brand-200); }
.card__ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--brand-100);
  color: var(--brand-700);
  margin-bottom: 18px;
}
.card__ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 17.5px; color: var(--brand-800); }
.card p { margin: 10px 0 0; font-size: 14.4px; line-height: 1.78; color: var(--ink-2); }

/* 工艺 / 材料 */
.spec-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.spec-list__i { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 22px 26px; border-bottom: 1px solid var(--line-2); }
.spec-list__i:last-child { border-bottom: 0; }
.spec-list__i h3 { font-size: 16.5px; color: var(--brand-800); }
.spec-list__i p { margin: 0; font-size: 14.4px; line-height: 1.78; color: var(--ink-2); }

/* 图片块 */
.figure { border-radius: var(--r-l); overflow: hidden; background: var(--brand-100); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--wide { aspect-ratio: 16 / 9; }

/* ---------- CTA 带 ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 66px 60px;
  color: #fff;
  background: var(--brand-900);
}
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(26, 14, 11, .93) 0%, rgba(26, 14, 11, .74) 50%, rgba(26, 14, 11, .38) 100%);
}
.cta-band__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; }
.cta-band p { margin: 14px 0 0; max-width: 560px; font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, .78); }
.cta-band__act { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { background: #241511; color: rgba(255, 255, 255, .68); padding: 72px 0 0; font-size: 14.2px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand img { height: 46px; width: auto; background: #fff; border-radius: 8px; padding: 3px; }
.footer__brand b { display: block; font-size: 19px; color: #fff; font-weight: 800; letter-spacing: -.01em; }
.footer__brand span { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .42); letter-spacing: .14em; }
.footer h4 { font-size: 14.5px; color: #fff; margin-bottom: 18px; font-weight: 700; letter-spacing: .02em; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { color: rgba(255, 255, 255, .62); }
.footer__links a:hover { color: var(--gold); }
.footer__tel { display: block; font-size: 24px; font-weight: 800; color: var(--gold); margin-bottom: 6px; letter-spacing: .01em; }
.footer__contact div { margin-bottom: 11px; display: flex; gap: 10px; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; opacity: .55; }

/* 集团站点矩阵 */
.sitenav {
  margin-top: 52px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sitenav__lb { font-size: 13px; color: rgba(255, 255, 255, .42); letter-spacing: .04em; flex: none; margin-right: 4px; }
.sitenav a {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--t);
}
.sitenav a span { font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, .38); }
.sitenav a:hover { border-color: rgba(200, 164, 107, .5); color: var(--gold); }
.sitenav a:hover span { color: rgba(200, 164, 107, .7); }
.sitenav a.on { background: rgba(200, 164, 107, .12); border-color: rgba(200, 164, 107, .38); color: var(--gold); }

.footer__bottom {
  margin-top: 30px;
  padding: 24px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.8px;
  color: rgba(255, 255, 255, .38);
  line-height: 1.8;
}
.footer__bottom a:hover { color: rgba(255, 255, 255, .7); }

/* ---------- 移动端吸底条 ---------- */
.mbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 98;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(52, 32, 26, .07);
  transform: translateY(110%);
  transition: transform var(--t);
}
.mbar.is-show { transform: none; }
.mbar__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 1;
  height: 50px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-800);
}
.mbar__tel svg { width: 18px; height: 18px; color: var(--accent-600); flex: none; }
.mbar__tel b { font-size: 15.5px; }
.mbar__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1.05;
  height: 50px;
  border-radius: var(--r-s);
  background: linear-gradient(135deg, var(--accent-500), var(--accent-700));
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
}
body.has-mbar { padding-bottom: 78px; }

/* ---------- PC 侧浮预约 ---------- */
.float-cta {
  position: fixed;
  right: 22px;
  bottom: 38px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t);
}
.float-cta.is-show { opacity: 1; visibility: visible; transform: none; }
.float-cta a {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  color: var(--brand-800);
  transition: all var(--t);
  position: relative;
}
.float-cta a:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.float-cta a svg { width: 22px; height: 22px; }
.float-cta a.is-main { background: linear-gradient(135deg, var(--accent-500), var(--accent-700)); color: #fff; border: 0; }
.float-cta a i {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  padding: 7px 13px;
  border-radius: 8px;
  background: var(--brand-800);
  color: #fff;
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.float-cta a:hover i { opacity: 1; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
.reveal:nth-child(5) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* 锚点偏移：避免被吸底条/固定头遮挡 */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ==========================================================================
   响应式
   ========================================================================== */

/* ---- 中屏 ---- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: flex; }
  .drawer { display: block; }
  .header__cta { margin-left: auto; }
  .header__inner { gap: 16px; }

  .pain-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .svc { grid-template-columns: 1fr; gap: 22px; }
  .svc__tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; gap: 10px; -webkit-overflow-scrolling: touch; }
  .svc__tab { flex: none; min-width: 178px; }
  .calc { grid-template-columns: 1fr; }
  .calc__out { position: static; }
  .cert-search__row { grid-template-columns: 1fr 1fr; }
  .cert-list { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(4, 1fr); }
  .case-list { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .spec-list__i { grid-template-columns: 1fr; gap: 8px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 手机 ---- */
@media (max-width: 640px) {
  :root { --header-h: 62px; }

  .container { padding: 0 18px; }
  .sec { padding: 54px 0; }
  .sec--tight { padding: 44px 0; }
  .sec__head { margin-bottom: 32px; }
  .sec__lead { font-size: 15.5px; line-height: 1.8; }

  /* 顶部信息条：左电话 + 右次要链接，一行不挤 */
  .topbar { font-size: 12px; }
  .topbar__inner { gap: 10px; min-height: 46px; padding: 5px 0; }
  .topbar__l { gap: 12px; }
  .topbar__item--hide { display: none; }
  .topbar a { height: 38px; }
  .topbar .topbar__tel { font-size: 13.5px; height: 38px; }
  .topbar__r { gap: 14px; }
  .topbar__r a { height: 38px; }
  .topbar__r a:first-child { display: none; }

  /* 页头 */
  .header__inner { gap: 10px; }
  .logo { min-height: 44px; }
  .logo img { height: 36px; }
  .logo__txt { display: none; }
  .burger { width: 44px; height: 44px; }
  .header__cta { gap: 8px; }
  .header__tel { padding: 8px 4px; min-height: 44px; justify-content: center; }
  .header__tel .t-num { font-size: 15px; }
  .header__tel .t-lab { display: none; }
  .header__cta .btn { display: none; }

  /* 首屏 */
  .hero { min-height: auto; }
  .hero__inner { padding: 62px 0 68px; }
  .hero h1 { font-size: 30px; line-height: 1.22; }
  .hero__sub { margin-top: 16px; font-size: 15.5px; }
  .hero__actions { margin-top: 26px; gap: 10px; flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__points { gap: 8px 16px; margin-top: 26px; padding-top: 22px; font-size: 13.5px; }
  .hero__badge { margin-bottom: 20px; font-size: 12.5px; }

  /* 数据条 */
  .statbar { grid-template-columns: 1fr 1fr; margin-top: -32px; border-radius: var(--r); }
  .statbar__i { padding: 18px 12px; }
  .statbar__i:nth-child(2) { border-right: 0; }
  .statbar__i:nth-child(1), .statbar__i:nth-child(2) { border-bottom: 1px solid var(--line-2); }
  .statbar__i b { font-size: 24px; }
  .statbar__i span { font-size: 12.5px; margin-top: 4px; }

  /* 痛点 */
  .pain-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pain__body { padding: 14px 14px 16px; }
  .pain__body h3 { font-size: 15px; }
  .pain__body p { font-size: 13px; margin-top: 6px; }
  .pain__no { left: 9px; top: 9px; min-width: 24px; height: 24px; font-size: 11.5px; }

  /* 流程 */
  .steps { grid-template-columns: 1fr; }
  .step { padding: 20px 20px 22px; }
  .step__no { font-size: 24px; }

  /* 服务 */
  .svc__tabs { margin: 0 -18px; padding: 0 18px 8px; }
  .svc__tab { min-width: 158px; padding: 13px 15px; }
  .svc__card { padding: 16px; border-radius: var(--r); }
  .svc__info { gap: 8px 18px; font-size: 13px; }
  .ba { aspect-ratio: 4 / 3; }
  .ba__knob { width: 40px; height: 40px; }
  .ba__knob svg { width: 19px; height: 19px; }

  /* 计算器 */
  .calc__form { padding: 20px 18px; border-radius: var(--r); }
  .calc__row { grid-template-columns: 1fr; gap: 13px; margin-bottom: 13px; }
  .calc__out { padding: 24px 20px; border-radius: var(--r); }
  .calc__price { font-size: 36px; }
  .calc__out .btn { width: 100%; }

  /* 价格表 */
  .price-table th, .price-table td { padding: 13px 14px; font-size: 13.5px; }
  .price-table .price-num { font-size: 15px; }

  /* 案例 */
  .case-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 12px; }
  .case { min-height: 148px; }
  .case:nth-child(5) { grid-column: 1 / -1; grid-row: auto; min-height: 210px; }
  .case__body { padding: 14px; }
  .case__body h3 { font-size: 15px; }
  .case:nth-child(5) .case__body h3 { font-size: 19px; }
  .case__meta span { font-size: 11px; padding: 2px 8px; }
  .case-list { grid-template-columns: 1fr; gap: 16px; }
  .filter-bar { gap: 8px; margin-bottom: 22px; }
  .filter-bar button { height: 38px; padding: 0 15px; font-size: 13.5px; }

  /* 团队 */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mate__body { padding: 14px 14px 16px; }
  .mate__body h3 { font-size: 15px; }
  .mate__role { font-size: 12px; }
  .mate__stats { margin-top: 10px; padding-top: 10px; }
  .mate__stats div { font-size: 12.2px; }

  /* 证书 */
  .cert-search { padding: 20px 18px; border-radius: var(--r); }
  .cert-search__row { grid-template-columns: 1fr; gap: 13px; }
  .cert-list { grid-template-columns: 1fr; gap: 12px; }
  .cert { padding: 16px; }

  /* 区域 */
  .area-grid { grid-template-columns: 1fr 1fr 1fr; gap: 9px; }
  .area { padding: 13px 8px; }
  .area b { font-size: 14px; }
  .area span { font-size: 11.5px; }

  /* 承诺 */
  .promise { padding: 22px 20px; }
  .promise__ico { width: 40px; height: 40px; margin-bottom: 14px; }

  /* FAQ */
  .faq__q { padding: 17px 18px; font-size: 15.5px; gap: 12px; }
  .faq__a { padding: 0 18px 18px 54px; font-size: 14.2px; }

  /* 表单 */
  .form-wrap { grid-template-columns: 1fr; gap: 26px; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .form-row .field--full { grid-column: 1 / -1; }
  .field input, .field select { height: 48px; }
  .side-card { padding: 22px 20px; border-radius: var(--r); }
  .side-tel { font-size: 24px; }

  /* 内页头 */
  .pagehead { padding: 42px 0 34px; }
  .pagehead p { font-size: 15px; margin-top: 12px; }
  .crumb { margin-bottom: 16px; font-size: 12.5px; }
  .crumb a { display: inline-block; padding: 5px 0; }

  /* 通用网格 */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 22px 20px; }
  .spec-list__i { padding: 18px 20px; }
  .prose h2 { font-size: 21px; margin-top: 34px; }
  .prose h3 { font-size: 17.5px; }

  /* CTA 带 */
  .cta-band { padding: 38px 22px; border-radius: var(--r-l); }
  .cta-band__inner { gap: 24px; }
  .cta-band__act { width: 100%; flex-direction: column; }
  .cta-band__act .btn { width: 100%; }

  /* 页脚 */
  .footer { padding-top: 50px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 10px; padding-bottom: 24px; }
  .sitenav { gap: 10px; margin-top: 36px; padding: 18px 0; }
  .sitenav__lb { width: 100%; margin-right: 0; }
  .sitenav a { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 16px; min-height: 45px; }

  /* 吸底条 / 浮层 */
  .mbar { display: flex; }
  .float-cta { display: none; }

  /* 触控目标补偿 */
  .btn { height: 50px; }
  .btn--sm { height: 42px; }
  .footer__links a { display: inline-block; padding: 7px 0; min-height: 40px; }
  .form__tip a { display: inline-block; padding: 3px 0; }
  a.tel-inline { display: inline-block; padding: 5px 0; }
  .footer__bottom a { display: inline-block; padding: 4px 0; }
}

@media (max-width: 380px) {
  .pain-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 27px; }
  .form-row { grid-template-columns: 1fr; }
}
