/* =========================================================
   中博智创 · 企业官网样式
   风格：简约大气 / 深蓝科技感 / 大留白
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --ink: #0B1526;
  --ink-2: #1A2A44;
  --muted: #5D6E88;
  --muted-2: #8494AA;
  --line: #E7ECF4;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FD;
  --bg-deep: #0A1730;

  --primary: #1B4DFF;
  --primary-dark: #0E33C7;
  --primary-soft: #ECF1FF;
  --accent: #00C2A8;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;

  --shadow-s: 0 2px 10px rgba(11, 33, 90, .05);
  --shadow-m: 0 14px 40px rgba(11, 33, 90, .09);
  --shadow-l: 0 30px 70px rgba(11, 33, 90, .16);

  --container: 1180px;
  --header-h: 74px;
  --ease: cubic-bezier(.22, .68, .28, 1);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

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

/* ---------- 3. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 108px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 76px 0; }
.section--deep {
  background: var(--bg-deep);
  color: #E8EEFA;
  overflow: hidden;
}
.section--deep h2, .section--deep h3 { color: #fff; }

.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. 通用文字 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .75;
}
.section--deep .eyebrow { color: #7FA3FF; }

.h-display { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.14; }
.h-1 { font-size: clamp(28px, 3.2vw, 42px); }
.h-2 { font-size: clamp(22px, 2.2vw, 30px); }
.h-3 { font-size: 19px; }

.lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.85;
}
.section--deep .lead { color: #A9BAD6; }

.gradient-text {
  background: linear-gradient(96deg, #1B4DFF 0%, #4E7BFF 45%, #00C2A8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 720px; margin-bottom: 58px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .h-1 { margin-bottom: 18px; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .28s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }

.btn--primary {
  background: linear-gradient(135deg, #2258FF, #1B4DFF 55%, #0E33C7);
  color: #fff;
  box-shadow: 0 12px 28px rgba(27, 77, 255, .28);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(27, 77, 255, .36);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.btn--light {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255, 255, 255, .16); }

.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, .22); }

.btn--sm { height: 42px; padding: 0 22px; font-size: 14px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 6. 头部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 26px rgba(11, 33, 90, .06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #2258FF, #0E33C7);
  color: #fff;
  display: grid; place-items: center;
  font-size: 17px; font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 8px 18px rgba(27, 77, 255, .28);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.brand__sub {
  font-size: 10px; font-weight: 500;
  letter-spacing: .22em; color: var(--muted-2);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all .22s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 3px;
  height: 2px; border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--primary); background: var(--primary-soft); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span + span { margin-top: 4px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 89;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  padding: 14px 28px 26px;
  display: none;
  flex-direction: column;
  gap: 4px;
  animation: dropIn .3s var(--ease);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
}
.mobile-nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); }
.mobile-nav .btn { margin-top: 12px; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- 7. 首页 Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 104px;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(27, 77, 255, .10), transparent 62%),
    radial-gradient(700px 480px at 4% 96%, rgba(0, 194, 168, .09), transparent 60%),
    #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 33, 90, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 33, 90, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(760px 520px at 62% 24%, #000 12%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 520px at 62% 24%, #000 12%, transparent 78%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 66px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 26px;
}
.hero__badge b { color: var(--primary); font-weight: 700; }
.dot-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 194, 168, .55);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(0, 194, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 194, 168, 0); }
}

.hero h1 { margin-bottom: 24px; }
.hero .lead { font-size: 18px; max-width: 540px; margin-bottom: 36px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.hero__stat .num {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink);
}
.hero__stat .num em { font-style: normal; color: var(--primary); font-size: 20px; margin-left: 2px; }
.hero__stat .label { font-size: 13.5px; color: var(--muted); margin-top: 9px; }

/* Hero 右侧视觉 */
.hero__visual { position: relative; }
.hero__glow {
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(closest-side, rgba(27, 77, 255, .16), transparent 72%);
  filter: blur(6px);
  z-index: 0;
}

.hero-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  overflow: hidden;
}
.hero-card__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #FBFCFE;
}
.hero-card__bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #E2E8F2;
}
.hero-card__bar i:nth-child(1) { background: #FF6B5A; }
.hero-card__bar i:nth-child(2) { background: #FFC53D; }
.hero-card__bar i:nth-child(3) { background: #38D39F; }
.hero-card__bar span {
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: .06em;
}
.hero-card__body { padding: 22px; }

.code-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 13px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: var(--muted);
  border-bottom: 1px dashed #EDF1F8;
}
.code-line:last-child { border-bottom: none; }
.code-line b { color: var(--ink); font-weight: 600; }
.code-line .tag {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  font-family: inherit;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
}
.code-line .tag--ok { background: #E6F9F4; color: #059E82; }

.hero-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  animation: floatY 5.5s ease-in-out infinite;
}
.hero-float--a { left: -34px; bottom: 58px; }
.hero-float--b { right: -22px; top: 42px; animation-delay: -2.4s; }
.hero-float__icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}
.hero-float__icon svg { width: 19px; height: 19px; }
.hero-float__t { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.hero-float__s { display: block; font-size: 11.5px; color: var(--muted-2); }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* ---------- 8. 合作客户条 ---------- */
.logo-strip { padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-strip__title {
  text-align: center;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--muted-2);
  margin-bottom: 28px;
}
.logo-strip__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px 60px;
}
.logo-strip__row span {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #A9B6CB;
  transition: color .28s var(--ease);
}
.logo-strip__row span:hover { color: var(--ink-2); }

/* ---------- 9. 卡片 ---------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: all .34s var(--ease);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: #D6E0F5;
}
.card:hover::after { transform: scaleX(1); }

.card__icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 22px;
  transition: all .34s var(--ease);
}
.card__icon svg { width: 25px; height: 25px; }
.card:hover .card__icon {
  background: linear-gradient(135deg, #2258FF, #0E33C7);
  color: #fff;
  box-shadow: 0 12px 26px rgba(27, 77, 255, .3);
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.8; }

.card__num {
  position: absolute;
  right: 26px; top: 22px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #EEF3FC;
  line-height: 1;
  transition: color .34s var(--ease);
}
.card:hover .card__num { color: #E0E9FB; }

.card__list { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--muted);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .55;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
}
.card__link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- 10. 优势 / 特性列表 ---------- */
.feature {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: none; }
.feature__icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h4 { font-size: 17px; margin-bottom: 7px; }
.feature p { font-size: 15px; color: var(--muted); }

/* ---------- 11. 流程 ---------- */
.steps { display: grid; gap: 22px; }
.step {
  position: relative;
  padding: 30px 28px 30px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: all .34s var(--ease);
}
.step:hover { border-color: #D6E0F5; box-shadow: var(--shadow-m); transform: translateY(-5px); }
.step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 18px;
}
.step h4 { font-size: 17px; margin-bottom: 9px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- 12. 数据统计 ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.stat-band__item {
  background: rgba(10, 23, 48, .72);
  padding: 38px 30px;
  text-align: center;
}
.stat-band__item .num {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1;
}
.stat-band__item .num em { font-style: normal; font-size: 22px; color: #7FA3FF; margin-left: 2px; }
.stat-band__item .label { margin-top: 12px; font-size: 14px; color: #A9BAD6; }

/* ---------- 13. 案例 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-bar button {
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all .26s var(--ease);
}
.filter-bar button:hover { border-color: var(--primary); color: var(--primary); }
.filter-bar button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .34s var(--ease);
  display: flex;
  flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: #D6E0F5; }
.case-card.is-hidden { display: none; }

.case-card__cover {
  position: relative;
  height: 178px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #101F3C, #1B3A7A 60%, #2258FF);
  overflow: hidden;
}
.case-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 34px 34px;
}
.case-card__cover b {
  position: relative;
  z-index: 1;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .92);
}
.case-card__cover--alt { background: linear-gradient(135deg, #0B2E2A, #0E6E5E 58%, #00C2A8); }
.case-card__cover--alt2 { background: linear-gradient(135deg, #241536, #4B2A7A 58%, #7C5CFF); }
.case-card__tag {
  position: absolute;
  z-index: 2;
  left: 18px; top: 18px;
  height: 28px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.case-card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.case-card__body h3 { font-size: 17.5px; margin-bottom: 11px; }
.case-card__body p { font-size: 14.5px; color: var(--muted); flex: 1; }
.case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-2);
}
.case-card__meta b { color: var(--primary); font-weight: 700; }

/* ---------- 14. 评价 ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all .34s var(--ease);
}
.quote:hover { box-shadow: var(--shadow-m); transform: translateY(-5px); }
.quote__mark {
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  color: #DDE6F8;
  margin-bottom: 14px;
}
.quote p { font-size: 15px; color: var(--ink-2); line-height: 1.85; flex: 1; }
.quote__foot {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.quote__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}
.quote__name { display: block; font-size: 14.5px; font-weight: 700; }
.quote__role { display: block; font-size: 12.5px; color: var(--muted-2); }

/* ---------- 15. 时间轴 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), #C8D6F5 70%, transparent);
  border-radius: 2px;
}
.timeline__item { position: relative; padding-bottom: 38px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(27, 77, 255, .10);
}
.timeline__year {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: 7px;
}
.timeline__item h4 { font-size: 17px; margin-bottom: 7px; }
.timeline__item p { font-size: 14.5px; color: var(--muted); }

/* ---------- 16. 页面 Banner ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 78px;
  background:
    radial-gradient(760px 400px at 82% -20%, rgba(27, 77, 255, .12), transparent 62%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 33, 90, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 33, 90, .04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(600px 320px at 80% 10%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(600px 320px at 80% 10%, #000, transparent 75%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { max-width: 620px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted-2);
  margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--line); }

/* ---------- 17. 技术栈 ---------- */
.tech-group { margin-bottom: 34px; }
.tech-group:last-child { margin-bottom: 0; }
.tech-group__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-tags span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all .26s var(--ease);
}
.tech-tags span:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-2px);
}

/* ---------- 18. 对比表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 660px; }
table.cmp th, table.cmp td {
  padding: 18px 24px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
table.cmp thead th {
  background: var(--bg-soft);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-2);
  white-space: nowrap;
}
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp tbody tr:hover { background: #FAFCFF; }
table.cmp td:first-child { font-weight: 700; }
table.cmp td { color: var(--muted); }

/* ---------- 19. 联系 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.info-list { display: flex; flex-direction: column; gap: 16px; }
.info-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: all .3s var(--ease);
}
.info-item:hover { border-color: #D6E0F5; box-shadow: var(--shadow-s); }
.info-item__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}
.info-item__icon svg { width: 20px; height: 20px; }
.info-item h4 { font-size: 15px; margin-bottom: 5px; }
.info-item p { font-size: 14.5px; color: var(--muted); }
.info-item a:hover { color: var(--primary); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 40px;
  box-shadow: var(--shadow-m);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 9px;
}
.field label i { color: #FF5A4E; font-style: normal; margin-left: 3px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #FBFCFE;
  font-size: 15px;
  outline: none;
  transition: all .24s var(--ease);
}
.field textarea { resize: vertical; min-height: 122px; line-height: 1.7; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #D6E0F5; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 77, 255, .10);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #FF5A4E; background: #FFF8F7; }
.field__err { display: none; font-size: 12.5px; color: #E23A2E; margin-top: 7px; }
.field.has-error .field__err { display: block; }

.form-note { font-size: 13px; color: var(--muted-2); margin-top: 16px; line-height: 1.7; }

.form-ok {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 12px;
  background: #E6F9F4;
  border: 1px solid #B7EBDC;
  color: #06705C;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 22px;
}
.form-ok.is-show { display: flex; }
.form-ok svg { width: 20px; height: 20px; flex: 0 0 auto; }

.map-box {
  position: relative;
  height: 340px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(rgba(11, 33, 90, .05) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(11, 33, 90, .05) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(135deg, #EEF4FF, #F7FAFF);
  display: grid;
  place-items: center;
}
.map-box__pin {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 32px;
  box-shadow: var(--shadow-m);
}
.map-box__pin b { display: block; font-size: 16px; margin-bottom: 6px; }
.map-box__pin span { font-size: 13.5px; color: var(--muted); }

/* ---------- 20. FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: none; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  transition: background .24s var(--ease);
}
.faq__q:hover { background: #FAFCFF; }
.faq__q svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--muted-2); transition: transform .3s var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); color: var(--primary); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s var(--ease);
}
.faq__a p {
  padding: 0 28px 24px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
}

/* ---------- 21. CTA 区块 ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-l);
  padding: 68px 60px;
  background: linear-gradient(120deg, #0E1F43, #14307A 52%, #1B4DFF);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-l);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(560px 300px at 50% 0%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(560px 300px at 50% 0%, #000, transparent 78%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: #C3D2EE; font-size: 16.5px; max-width: 580px; margin: 0 auto 34px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- 22. 页脚 ---------- */
.site-footer {
  background: #08122A;
  color: #9FB0CC;
  padding: 76px 0 0;
  font-size: 14.5px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 54px;
}
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: #6E82A4; }
.site-footer__desc { margin-top: 22px; line-height: 1.85; max-width: 330px; color: #8598B8; }
.site-footer h5 {
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 22px;
}
.site-footer li { margin-bottom: 13px; }
.site-footer a { color: #9FB0CC; transition: color .24s var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact svg { width: 16px; height: 16px; margin-top: 5px; flex: 0 0 auto; color: #4E7BFF; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  color: #6E82A4;
}
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }

/* ---------- 23. 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .78s var(--ease), transform .78s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 24. 其他工具类 ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.maxw-620 { max-width: 620px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.divider { height: 1px; background: var(--line); border: none; margin: 0; }

/* ---------- 25. 案例详情页（简版） ---------- */
.detail-hero h1 { max-width: 920px; }
.section-head__note { font-size: 15px; color: var(--muted); }

/* PC 端截图 */
.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-s);
  transition: box-shadow .34s var(--ease), transform .34s var(--ease);
}
.shot:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #FBFCFE;
}
.shot--pc { margin-bottom: 56px; }

.shot__link { display: block; position: relative; }
.shot__link::after {
  content: "点击查看在线演示";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(11, 21, 38, .42);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.shot__link:hover::after { opacity: 1; }

/* 端类型标签 */
.tag-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--primary);
  background: rgba(27, 77, 255, .09);
  flex: 0 0 auto;
}
.tag-pill--soft {
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

/* 移动端截图 */
.shot-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  font-size: 14px;
  color: var(--muted);
}
.shot-phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  max-width: 880px;
  margin: 0 auto;
}
.phone { margin: 0; }
.phone img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 34px rgba(11, 33, 90, .16));
  transition: transform .42s var(--ease), filter .42s var(--ease);
}
.phone:hover img {
  transform: translateY(-8px);
  filter: drop-shadow(0 30px 48px rgba(11, 33, 90, .22));
}
.phone figcaption {
  margin-top: 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

/* 能力清单 */
.cap-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 30px;
  max-width: 980px;
  margin: 0 auto;
}
.cap-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: all .3s var(--ease);
}
.cap-list li:hover { border-color: #D6E0F5; box-shadow: var(--shadow-s); }
.cap-list svg { width: 21px; height: 21px; flex: 0 0 auto; margin-top: 3px; color: var(--primary); }
.cap-list span { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.cap-list b { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }

/* 项目预览横带 */
.preview-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 42px;
  border-radius: var(--radius-l);
  background: linear-gradient(120deg, #0E1F43, #14307A 52%, #1B4DFF);
  box-shadow: var(--shadow-l);
}
.preview-band h3 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.preview-band p { color: #C3D2EE; font-size: 14.5px; word-break: break-all; }

/* 案例卡底部链接 */
.case-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
}
.case-card__cta svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.case-card:hover .case-card__cta svg { transform: translateX(4px); }

/* ---------- 26. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 54px; }
  .hero .lead { max-width: none; }
  .hero-float--a { left: 0; }
  .hero-float--b { right: 0; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav, .header-actions .btn { display: none; }
  .nav-toggle { display: grid; }
  .section { padding: 82px 0; }
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 54px 30px; }
  .form-card { padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero__stats { gap: 32px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .g-4 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero { padding: calc(var(--header-h) + 62px) 0 76px; }
  .page-hero { padding: calc(var(--header-h) + 54px) 0 56px; }
  .card { padding: 28px 24px; }
  .hero-float { display: none; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .cta-band .btn-row { flex-direction: column; }
  .hero__stats { margin-top: 40px; padding-top: 28px; }
  .timeline { padding-left: 26px; }
  .timeline__item::before { left: -26px; width: 14px; height: 14px; }
}

/* ---------- 27. 案例详情页响应式 ---------- */
@media (max-width: 1080px) {
  .shot-phones { gap: 30px; max-width: 760px; }
}

@media (max-width: 880px) {
  .cap-list { grid-template-columns: 1fr; gap: 14px; }
  .preview-band { padding: 28px 24px; }
  .preview-band .btn { width: 100%; }
  .shot--pc { margin-bottom: 42px; }
  .shot-phones { grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: none; }
  .phone figcaption { margin-top: 14px; font-size: 12.5px; }
}

@media (max-width: 560px) {
  .cap-list li { padding: 16px 18px; }
  .shot figcaption { padding: 12px 16px; font-size: 13px; }
  .shot-sub { margin-bottom: 26px; font-size: 13px; }
  .shot-phones { gap: 12px; }
  .phone figcaption { font-size: 11.5px; margin-top: 12px; }
}

/* ---------- 28. 咨询弹窗 ---------- */
button.btn { font-family: inherit; }

/* 弹窗打开时锁滚动（放在 html 上，避免与移动端菜单的 body 内联样式打架） */
html { scrollbar-gutter: stable; }
html.consult-locked,
html.consult-locked body { overflow: hidden; }

.consult {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
}
.consult.is-open { visibility: visible; }

.consult__mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 34, .5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity .32s var(--ease);
}
.consult.is-open .consult__mask { opacity: 1; }

.consult__dialog {
  position: relative;
  width: 100%;
  max-width: 780px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 44px 46px 32px;
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: 0 40px 90px rgba(6, 16, 38, .34);
  opacity: 0;
  transform: translateY(20px) scale(.975);
  transition: opacity .36s var(--ease), transform .36s var(--ease);
}
.consult.is-open .consult__dialog { opacity: 1; transform: none; }

.consult__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: all .26s var(--ease);
}
.consult__close:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  transform: rotate(90deg);
}
.consult__close svg { width: 17px; height: 17px; }

.consult__head { margin-bottom: 30px; padding-right: 48px; }
.consult__head h3 { margin: 12px 0 9px; font-size: 27px; }
.consult__head p { font-size: 14.5px; color: var(--muted); }

.consult__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
  align-items: center;
}

/* 电话（主视觉，号码放大） */
.consult-phone {
  display: block;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #F3F7FF, #EBF1FF);
  border: 1px solid #DFE8FB;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.consult-phone:hover {
  border-color: #BFD2F7;
  box-shadow: 0 14px 34px rgba(27, 77, 255, .14);
}
.consult-phone__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
}
.consult-phone__label svg { width: 16px; height: 16px; }
.consult-phone__num {
  display: block;
  margin: 14px 0 10px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.consult-phone:hover .consult-phone__num { color: var(--primary); }
.consult-phone__hint { font-size: 13px; color: var(--muted); }

/* 微信二维码 */
.consult-qr { flex: 0 0 auto; text-align: center; }
.consult-qr__box {
  width: 200px;
  height: 200px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
}
.consult-qr__box img { display: block; width: 100%; height: auto; border-radius: 10px; }
.consult-qr__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.consult-qr__title svg { width: 18px; height: 18px; color: #07C160; }
.consult-qr__hint { margin-top: 5px; font-size: 12.5px; color: var(--muted-2); }

.consult__foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.consult__foot a { color: var(--primary); font-weight: 600; }
.consult__foot a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .consult__dialog { padding: 38px 30px 28px; }
  .consult__head { padding-right: 42px; }
  .consult__body { grid-template-columns: 1fr; gap: 30px; }
  .consult-phone__num { font-size: 40px; }
}

@media (max-width: 560px) {
  .consult { padding: 14px; }
  .consult__dialog { padding: 32px 20px 22px; border-radius: 18px; }
  .consult__close { top: 14px; right: 14px; width: 34px; height: 34px; }
  .consult__head { margin-bottom: 24px; }
  .consult__head h3 { font-size: 21px; }
  .consult__head p { font-size: 13.5px; }
  .consult-phone { padding: 22px 20px; }
  .consult-phone__num { font-size: 29px; }
  .consult-qr__box { width: 168px; height: 168px; }
  .consult__foot { margin-top: 22px; padding-top: 16px; font-size: 13px; }
}

/* ---------- 29. 模板建站（第三方 iframe 嵌入） ---------- */
.frame-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  overflow: hidden;
}

.frame-box__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 15px 20px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.frame-box__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.frame-box__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 194, 168, .16);
}

.frame-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.frame-box__viewport {
  background: var(--bg);
  line-height: 0;
}

.frame-box__viewport iframe {
  display: block;
  /* 宽度 90%, 左右居中(两侧各留 5% 呼吸感) */
  width: 100%;
  margin: 0 auto;
  border: 0;
  background: var(--bg);
  /* 兜底: 不支持 max() 的浏览器用配置高度 */
  height: var(--frame-h, 1500px);
  /* 至少铺满一屏(扣掉吸顶导航), 后台配置的高度更大时以配置为准 */
  height: max(var(--frame-h, 1500px), calc(100vh - var(--header-h, 74px)));
}

@media (max-width: 880px) {
  .frame-box { border-radius: var(--radius); }
  .frame-box__bar { padding: 14px 16px; }
  .frame-box__note { font-size: 13.5px; }
  .frame-box__viewport iframe { height: 1100px; }
}

@media (max-width: 560px) {
  .frame-box { border-radius: var(--radius-s); }
  .frame-box__bar { flex-direction: column; align-items: flex-start; }
  .frame-box__actions { width: 100%; margin-left: 0; }
  .frame-box__actions .btn { flex: 1; justify-content: center; }
  .frame-box__viewport iframe { height: 860px; }
}
