/* ==========================================================================
   合帆跨境 HEFAN CROSS-BORDER — 全站样式
   职责：设计令牌 + 全站组件 + 内页 + 响应式（单文件，全站共用）
   目录：
     01 设计令牌与重置    02 排版与工具类    03 按钮
     04 顶部条与圆点导航  05 Hero            06 区块标题
     07 业务区块          08 案例            09 CTA 横幅
     10 页脚              11 悬浮组件        12 内页通用
     13 表单              14 动效            15 响应式
   ========================================================================== */

/* ---------- 01 设计令牌与重置 ---------- */
:root {
  /* 品牌色：金棕主色 + 淡金强调色 */
  --c-primary: #A87A3B;
  --c-primary-2: #C8A05C;       /* 渐变辅助 / hover */
  --c-primary-deep: #7C5A28;    /* 小字号正文字色（对比度 6.0:1） */
  --c-accent: #ECE394;          /* 仅作底色/装饰，不可作文字色 */
  --c-accent-ink: #3A3312;      /* 淡金底上的文字色（对比度 9.3:1） */

  /* 中性色（暖调，与金棕主色同一色系） */
  --c-bg: #FFFFFF;
  --c-bg-light: #F8F6F1;
  --c-bg-blue: #F2EBDB;         /* 变量名沿用通用规范，色值已调为暖调浅金 */
  --c-dark: #1C1A16;
  --c-text-1: #1E1C19;
  --c-text-2: #3C3A35;
  --c-text-3: #6B6660;
  --c-line: #E7E1D5;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 30px rgba(168, 122, 59, .10);
  --shadow-lg: 0 20px 50px rgba(124, 90, 40, .16);

  --container: 1200px;
  --header-h: 76px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text-2);
  background: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--c-primary-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 通用内联图标 */
.i {
  width: 20px; height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 02 排版与工具类 ---------- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section { padding: 100px 0; position: relative; }
.section--light { background: var(--c-bg-light); }
.section--tint  { background: var(--c-bg-blue); }
.section--dark  { background: var(--c-dark); color: #EFEAE0; }

.h1 { font-size: 56px; line-height: 1.14; font-weight: 800; letter-spacing: -.5px; color: var(--c-text-1); }
.h2 { font-size: 40px; line-height: 1.25; font-weight: 800; letter-spacing: -.4px; color: var(--c-text-1); }
.h3 { font-size: 24px; line-height: 1.4; font-weight: 700; color: var(--c-text-1); }
.h4 { font-size: 19px; line-height: 1.5; font-weight: 700; color: var(--c-text-1); }

.lead { font-size: 17px; color: var(--c-text-3); }
.muted { color: var(--c-text-3); }
.small { font-size: 14px; }

/* 渐变高亮文字 */
.grad {
  background: linear-gradient(100deg, var(--c-primary-deep) 0%, var(--c-primary) 45%, var(--c-primary-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section--dark .h2, .section--dark .h1 { color: #F6F1E7; }

/* 淡金胶囊标签 */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.chip--ghost {
  background: transparent;
  border: 1px solid var(--c-line);
  color: var(--c-primary-deep);
}

/* 勾选列表 */
.check-list { display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15.5px;
  color: var(--c-text-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-accent);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--c-accent-ink);
  border-bottom: 2px solid var(--c-accent-ink);
  transform: rotate(-45deg);
}

/* ---------- 03 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
}
.btn--sm { height: 42px; padding: 0 20px; font-size: 14.5px; }

/* 主按钮：深金底白字，对比度 5.4:1 */
.btn--primary {
  background: linear-gradient(135deg, #96682F 0%, #7C5A28 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 90, 40, .28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(124, 90, 40, .34); }

/* 强调按钮：淡金底深字，对比度 9.3:1 */
.btn--accent {
  background: var(--c-accent);
  color: var(--c-accent-ink);
  box-shadow: 0 10px 24px rgba(236, 227, 148, .35);
}
.btn--accent:hover { transform: translateY(-2px); background: #F2EAA6; }

/* 幽灵按钮：深色底上用 */
.btn--ghost {
  background: transparent;
  color: #F6F1E7;
  border: 1px solid rgba(246, 241, 231, .38);
}
.btn--ghost:hover { background: rgba(246, 241, 231, .1); border-color: rgba(246, 241, 231, .7); }

/* 描边按钮：浅色底上用 */
.btn--outline {
  background: transparent;
  color: var(--c-primary-deep);
  border: 1px solid var(--c-primary);
}
.btn--outline:hover { background: var(--c-primary-deep); color: #fff; border-color: var(--c-primary-deep); }

/* 文字箭头链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary-deep);
}
.link-arrow .i { width: 18px; height: 18px; transition: transform .3s ease; }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- 04 顶部条（无导航菜单）+ 章节圆点导航 ---------- */
/* 设计思路：单页站不需要菜单。顶部只保留品牌、电话与主 CTA，
   页面内定位交给左侧圆点导航（scrollspy）与顶部滚动进度线。 */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height .3s ease, background .3s ease, box-shadow .3s ease;
}
/* 未滚动：透明覆盖在深色 Hero 上 */
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* 滚动后：白底毛玻璃 + 阴影，整体收窄 */
.topbar.is-scrolled {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 4px 24px rgba(28, 26, 22, .08);
}

/* 品牌 */
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark:not(.brand__mark--img) {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(236, 227, 148, .35);
  background: rgba(236, 227, 148, .16);
  color: var(--c-accent);
  font-size: 20px; font-weight: 800; line-height: 1;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.brand__mark--img {
  width: auto; height: 44px;
  border: none; background: none; border-radius: 0;
  object-fit: contain; display: block;
}
/* 滚动态/页脚不给图片版 logo 加底框 */
.topbar.is-scrolled .brand__mark--img { background: none; border: none; }
.brand__text {
  display: flex; flex-direction: column;
  font-size: 19px; font-weight: 800; letter-spacing: .5px;
  line-height: 1.2;
  color: #F6F1E7;
  transition: color .3s ease;
}
.brand__text em {
  font-style: normal;
  font-size: 9px; font-weight: 600;
  letter-spacing: .18em;
  opacity: .62;
}
.topbar.is-scrolled .brand__mark:not(.brand__mark--img) {
  background: var(--c-accent); color: var(--c-accent-ink); border-color: transparent;
}
.topbar.is-scrolled .brand__text { color: var(--c-text-1); }

/* 右侧：电话 + 分隔 + 主 CTA */
.topbar__aside { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }

.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #F6F1E7;
  transition: color .3s ease, opacity .3s ease;
}
.topbar__phone .i {
  width: 34px; height: 34px;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 231, .3);
  color: var(--c-accent);
}
.topbar__phone b {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.2;
}
.topbar__phone small {
  display: block;
  font-size: 10.5px;
  letter-spacing: .14em;
  opacity: .55;
  line-height: 1.4;
}
.topbar__phone:hover { opacity: .82; }

.topbar.is-scrolled .topbar__phone { color: var(--c-text-1); }
.topbar.is-scrolled .topbar__phone .i { border-color: var(--c-line); color: var(--c-primary); }

.topbar__divider {
  width: 1px; height: 26px;
  background: rgba(246, 241, 231, .18);
}
.topbar.is-scrolled .topbar__divider { background: var(--c-line); }

/* 顶部滚动进度线 */
.progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 101;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-accent) 100%);
  transition: width .12s linear;
  pointer-events: none;
}

/* 左侧章节圆点导航（取代菜单） */
.dotnav {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(30, 28, 25, .5);
  transition: color .35s ease;
}
body[data-scheme="dark"] .dotnav { color: rgba(246, 241, 231, .62); }

.dotnav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.dotnav__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: .75;
  transition: height .3s ease, border-radius .3s ease, background .3s ease, opacity .3s ease;
}
.dotnav__label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s ease, transform .3s ease;
}
.dotnav a:hover .dotnav__label,
.dotnav a:focus-visible .dotnav__label,
.dotnav a.is-active .dotnav__label { opacity: 1; transform: none; }

.dotnav a.is-active .dotnav__dot {
  height: 26px;
  border-radius: 5px;
  background: currentColor;
  border-color: currentColor;
  opacity: 1;
}

/* ---------- 05 Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 90px;
  color: #F6F1E7;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 80% 8%, rgba(236, 227, 148, .13), transparent 62%),
    radial-gradient(900px 520px at 4% 96%, rgba(168, 122, 59, .30), transparent 64%),
    linear-gradient(158deg, #241F18 0%, #17140F 58%, #12100C 100%);
}
/* 极淡网格纹理 */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(236, 227, 148, .05) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(236, 227, 148, .05) 0 1px, transparent 1px 96px);
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 100%);
  pointer-events: none;
}
/* 装饰光斑 */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero__glow--1 { width: 340px; height: 340px; top: 8%; right: 6%; background: rgba(236, 227, 148, .16); }
.hero__glow--2 { width: 260px; height: 260px; bottom: 6%; left: 12%; background: rgba(168, 122, 59, .28); }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px;
  border: 1px solid rgba(236, 227, 148, .32);
  border-radius: 999px;
  background: rgba(236, 227, 148, .08);
  color: var(--c-accent);
  font-size: 13.5px; font-weight: 700;
  letter-spacing: .08em;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(236, 227, 148, .18);
}

.hero h1 {
  margin: 22px 0 0;
  font-size: 56px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.6px;
  color: #FBF6EC;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #ECE394 0%, #D9BE7E 48%, #B98F4C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__points {
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
  max-width: 520px;
}
.hero__points li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  color: rgba(246, 241, 231, .82);
}
.hero__points li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(236, 227, 148, .16);
  border: 1px solid rgba(236, 227, 148, .38);
}
.hero__points li::after {
  content: "";
  position: absolute; left: 5.5px; top: 9.5px;
  width: 7px; height: 3.5px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__trust {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(246, 241, 231, .14);
}
.hero__trust p {
  font-size: 13px; letter-spacing: .12em;
  color: rgba(246, 241, 231, .5);
  margin-bottom: 14px;
}
.hero__logos { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__logos span {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(246, 241, 231, .16);
  background: rgba(246, 241, 231, .04);
  font-size: 13px;
  color: rgba(246, 241, 231, .62);
  letter-spacing: .04em;
}

/* Hero 右侧主视觉 */
.hero__visual { position: relative; }
.hero__figure {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(236, 227, 148, .26);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 16, 12, .06) 0%, rgba(18, 16, 12, .30) 100%);
}
.hero__badge {
  position: absolute;
  left: -18px; bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(28, 26, 22, .82);
  border: 1px solid rgba(236, 227, 148, .3);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .38);
}
.hero__badge .i { color: var(--c-accent); width: 26px; height: 26px; }
.hero__badge b { display: block; font-size: 15px; color: #FBF6EC; }
.hero__badge em { font-style: normal; font-size: 12.5px; color: rgba(246, 241, 231, .58); }

/* 滚动提示 */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: .1em;
  color: rgba(246, 241, 231, .45);
}

/* ---------- 06 区块标题 ---------- */
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800;
  letter-spacing: .14em;
  color: var(--c-primary-deep);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-head__label::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--c-primary);
}
.sec-head--center .sec-head__label::after {
  content: "";
  width: 22px; height: 2px;
  background: var(--c-primary);
}
.section--dark .sec-head__label { color: var(--c-accent); }
.sec-head .h2 { margin-bottom: 16px; }
.sec-head .lead { font-size: 16.5px; }

/* ---------- 07 业务区块 ---------- */
/* 07-1 实力四卡 */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #DECBA8; }
.fcard__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--c-bg-light); }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fcard:hover .fcard__media img { transform: scale(1.05); }
.fcard__body { padding: 22px 22px 26px; }
.fcard__body h3 { font-size: 18px; margin-bottom: 8px; }
.fcard__body p { font-size: 14.5px; color: var(--c-text-3); }

/* 07-2 左文右图 / 图文分栏 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__media--framed::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--c-primary-2);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .5;
}
.split__body .h2 { margin-bottom: 18px; }
.split__body .lead { margin-bottom: 26px; }

/* 服务块 */
.svc {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 64px;
  align-items: center;
}
.svc + .svc { margin-top: 100px; }
.svc--flip .svc__media { order: 2; }
.svc__media { position: relative; }
.svc__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.svc__no {
  position: absolute;
  top: -22px; left: -18px;
  font-size: 74px;
  font-weight: 800;
  line-height: 1;
  color: var(--c-primary);
  opacity: .16;
  letter-spacing: -2px;
}
.svc__body .h2 { font-size: 34px; margin-bottom: 16px; }
.svc__body .lead { margin-bottom: 24px; }
.svc__body .check-list { margin-bottom: 26px; }

/* 四图标特性行 */
.feat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px 0 6px;
  margin-bottom: 26px;
  border-top: 1px solid var(--c-line);
}
.feat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feat .i { color: var(--c-primary); width: 24px; height: 24px; }
.feat span { font-size: 13.5px; line-height: 1.5; color: var(--c-text-3); }

/* 07-3 为什么选择我们 */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.why:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  margin-bottom: 20px;
}
.why__icon .i { width: 26px; height: 26px; }
.why h3 { font-size: 18px; margin-bottom: 10px; }
.why p { font-size: 14.5px; color: var(--c-text-3); margin-bottom: 16px; }

/* 07-4 数据条 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(246, 241, 231, .16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 56px;
}
.stat {
  background: var(--c-dark);
  padding: 30px 26px;
  text-align: center;
}
.stat b {
  display: block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--c-accent);
  letter-spacing: -1px;
}
.stat span { display: block; margin-top: 10px; font-size: 14px; color: rgba(246, 241, 231, .62); }

/* ---------- 08 案例 ---------- */
.cases {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.cases::-webkit-scrollbar { display: none; }
.case {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #DECBA8; }
.case__media { aspect-ratio: 16 / 10; background: var(--c-bg-blue); overflow: hidden; }
.case__media img { width: 100%; height: 100%; object-fit: cover; }
.case__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.case__body h3 { font-size: 19px; margin-bottom: 10px; }
.case__body p { font-size: 14.5px; color: var(--c-text-3); flex: 1; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.cases-nav { display: flex; align-items: center; gap: 10px; }
.cases-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-text-2);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.cases-btn:hover { background: var(--c-primary-deep); color: #fff; border-color: var(--c-primary-deep); }
.cases-btn[disabled] { opacity: .38; cursor: not-allowed; }
.cases-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }

/* ---------- 09 CTA 横幅 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  color: #F6F1E7;
  background:
    radial-gradient(800px 400px at 88% 0%, rgba(236, 227, 148, .18), transparent 60%),
    linear-gradient(120deg, #7C5A28 0%, #5C441E 55%, #33280F 100%);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(236, 227, 148, .18);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band__cities {
  font-size: 13px;
  letter-spacing: .1em;
  color: rgba(246, 241, 231, .56);
  margin-bottom: 14px;
}
.cta-band .h2 { color: #FBF6EC; margin-bottom: 12px; }
.cta-band p { color: rgba(246, 241, 231, .72); font-size: 15.5px; }
.cta-band__right { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-band__phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 30px; font-weight: 800; color: var(--c-accent);
  letter-spacing: .02em;
}
.cta-band__phone .i { width: 26px; height: 26px; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 10 页脚 ---------- */
.site-footer { background: #14120E; color: rgba(246, 241, 231, .66); padding: 72px 0 0; }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(246, 241, 231, .1);
}
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand .brand__text { color: #F6F1E7; }
.footer__brand p { font-size: 14px; line-height: 1.8; max-width: 300px; }

.footer__col h4 {
  font-size: 14px; font-weight: 700; color: #F6F1E7;
  letter-spacing: .06em; margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { font-size: 14px; color: rgba(246, 241, 231, .62); transition: color .25s ease; }
.footer__col a:hover { color: var(--c-accent); }

.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 10px; font-size: 14px; line-height: 1.6; }
.footer__contact .i { color: var(--c-primary-2); margin-top: 3px; }

.qr {
  width: 104px; height: 104px;
  border-radius: 10px;
  background:
    repeating-linear-gradient(90deg, #14120E 0 6px, transparent 6px 12px),
    repeating-linear-gradient(0deg, #14120E 0 6px, transparent 6px 12px),
    #E9E2D2;
  border: 6px solid #E9E2D2;
  display: grid; place-items: center;
}
.qr span {
  background: #E9E2D2;
  padding: 2px 6px;
  font-size: 10px;
  color: #3A3312;
  font-weight: 700;
  border-radius: 3px;
}
img.qr { object-fit: cover; background: #fff; }
.qr-wrap { display: flex; align-items: center; gap: 14px; }
.qr-wrap p { font-size: 13px; line-height: 1.6; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 0 32px;
  font-size: 13px;
  color: rgba(246, 241, 231, .42);
}
.footer__bottom a:hover { color: var(--c-accent); }

/* ---------- 11 悬浮组件 ---------- */
.floatbar {
  position: fixed;
  right: 22px; bottom: 26px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floatbar__btn {
  position: relative;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--c-primary-deep);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.floatbar__btn:hover { background: var(--c-primary-deep); color: #fff; transform: translateY(-2px); }
.floatbar__btn--primary { background: var(--c-primary-deep); color: #fff; border-color: transparent; }
.floatbar__btn--primary:hover { background: #66491F; }
.floatbar__pop {
  position: absolute;
  right: 62px; top: 50%;
  transform: translateY(-50%) scale(.94);
  transform-origin: right center;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  white-space: nowrap;
}
.floatbar__btn:hover .floatbar__pop,
.floatbar__btn:focus-visible .floatbar__pop { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); }
.floatbar__pop .qr { width: 116px; height: 116px; }
.floatbar__pop p { font-size: 12px; text-align: center; margin-top: 6px; color: var(--c-text-3); }

#toTop { opacity: 0; visibility: hidden; transform: translateY(8px); }
#toTop.is-show { opacity: 1; visibility: visible; transform: none; }

/* ---------- 12 内页通用 ---------- */
.page-hero {
  padding: calc(var(--header-h) + 76px) 0 76px;
  color: #F6F1E7;
  background:
    radial-gradient(900px 420px at 82% 0%, rgba(236, 227, 148, .14), transparent 62%),
    linear-gradient(150deg, #241F18, #14120E);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(236, 227, 148, .045) 0 1px, transparent 1px 90px);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 780px; }
.page-hero .h1 { color: #FBF6EC; font-size: 46px; margin: 18px 0 18px; }
.page-hero p { color: rgba(246, 241, 231, .72); font-size: 17px; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: rgba(246, 241, 231, .5);
}
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb .sep { opacity: .45; }

/* 文章 / 列表网格 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.post {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #DECBA8; }
.post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-light); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post:hover .post__media img { transform: scale(1.05); }
.post__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post__meta { display: flex; gap: 12px; font-size: 13px; color: var(--c-text-3); margin-bottom: 12px; }
.post__body h3 { font-size: 18px; line-height: 1.5; margin-bottom: 10px; }
.post__body h3 a { transition: color .25s ease; }
.post__body h3 a:hover { color: var(--c-primary-deep); }
.post__body p { font-size: 14.5px; color: var(--c-text-3); flex: 1; }

/* 文章正文 */
.prose { max-width: 780px; }
.prose h2 { font-size: 28px; margin: 40px 0 14px; color: var(--c-text-1); }
.prose h3 { font-size: 21px; margin: 30px 0 10px; color: var(--c-text-1); }
.prose p { margin-bottom: 18px; color: var(--c-text-2); }
.prose ul { display: grid; gap: 10px; margin: 0 0 20px; padding-left: 22px; list-style: disc; }
.prose li { color: var(--c-text-2); }
.prose img { border-radius: var(--radius); margin: 24px 0; }
.prose blockquote {
  margin: 24px 0; padding: 18px 22px;
  border-left: 3px solid var(--c-primary);
  background: var(--c-bg-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--c-text-2);
}

/* 侧栏布局 */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.aside-card {
  background: var(--c-bg-light);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.aside-card h4 { font-size: 16px; margin-bottom: 14px; }
.aside-card + .aside-card { margin-top: 20px; }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 26px; font-weight: 800;
  color: var(--c-primary);
  opacity: .55;
  margin-bottom: 10px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--c-text-3); }

/* ---------- 13 表单 ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--c-text-1); }
.field label .req { color: #B4462F; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--c-text-1);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(168, 122, 59, .14);
}
.field input::placeholder, .field textarea::placeholder { color: #A9A29A; }
.field .err { font-size: 12.5px; color: #B4462F; min-height: 0; }
.form__note { font-size: 13px; color: var(--c-text-3); }
.form__ok {
  display: none;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font-size: 14.5px;
  font-weight: 600;
}
.form__ok.is-show { display: block; }

/* ---------- 14 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 15 响应式 ---------- */
@media (max-width: 1200px) {
  .hero h1 { font-size: 46px; }
  .h2 { font-size: 34px; }
  .svc, .split { gap: 44px; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col--qr { grid-column: 1 / -1; }
}

@media (max-width: 1200px) {
  .dotnav { display: none; }
}

@media (max-width: 992px) {
  :root { --header-h: 66px; }
  .section { padding: 72px 0; }
  .nav, .header__actions .btn { display: none; }
  .nav-toggle { display: grid; }
  .header__actions { margin-left: auto; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 48px) 0 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { order: -1; }
  .hero__badge { left: 12px; bottom: 12px; }
  .hero h1 { font-size: 40px; }
  .hero__scroll { display: none; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .svc, .split { grid-template-columns: 1fr; gap: 36px; }
  .svc--flip .svc__media { order: 0; }
  .svc + .svc { margin-top: 72px; }
  .split__media--framed::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .with-aside { grid-template-columns: 1fr; gap: 40px; }
  .case { flex: 0 0 calc((100% - 22px) / 2); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .h1 { font-size: 32px; }
  .h2 { font-size: 27px; }
  .h3 { font-size: 20px; }
  .hero h1 { font-size: 32px; letter-spacing: -.3px; }
  .lead { font-size: 15.5px; }
  .sec-head { margin-bottom: 36px; }
  .sec-head .h2 { margin-bottom: 12px; }

  .card-grid, .why-grid, .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .feat-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .case { flex: 0 0 86%; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .floatbar { right: 14px; bottom: 16px; }
  .floatbar__btn { width: 46px; height: 46px; }
  .svc__no { font-size: 54px; top: -14px; left: -8px; }
  .svc__body .h2 { font-size: 26px; }
  .cta-band { padding: 56px 0; }
  .cta-band__phone { font-size: 24px; }
  .page-hero { padding: calc(var(--header-h) + 48px) 0 52px; }
  .page-hero .h1 { font-size: 30px; }
  .container { width: calc(100% - 36px); }
}

/* ---------- 16 单页顶部条移动端 ---------- */
@media (max-width: 768px) {
  /* 小屏：电话收成圆形图标，避免顶部条溢出 */
  .topbar__phone > span { display: none; }
  .topbar__phone .i {
    width: 40px; height: 40px;
    padding: 9px;
    background: rgba(246, 241, 231, .08);
  }
  .topbar.is-scrolled .topbar__phone .i { background: var(--c-bg-light); }
  .topbar__aside { gap: 10px; }
  .topbar__aside .btn { padding: 0 16px; font-size: 14px; }
  .topbar__divider { display: none; }
  .brand__mark:not(.brand__mark--img) { width: 38px; height: 38px; font-size: 17px; border-radius: 10px; }
  .brand__mark--img { height: 38px; }
  .brand__text { font-size: 16.5px; }
  .brand__text em { font-size: 8px; letter-spacing: .12em; }
  .progress { height: 2px; }
}
@media (max-width: 420px) {
  /* 360/320 级别小屏：进一步压缩顶部条，保证不溢出 */
  .topbar__inner { gap: 12px; }
  .brand { gap: 8px; }
  .brand__text { font-size: 15px; }
  .brand__text em { display: none; }
  .topbar__aside { gap: 8px; }
  .topbar__aside .btn { height: 38px; padding: 0 12px; font-size: 12.5px; }
  .topbar__phone .i { width: 36px; height: 36px; padding: 8px; }
}

/* ---------- 17 实拍图品牌化统一处理 ---------- */
/* 让所有实拍照片与金色品牌调一致：轻微暖色滤镜 + 品牌金内描边 */
img.photo {
  filter: saturate(.92) sepia(.06) brightness(1.01) contrast(1.02);
  box-shadow: inset 0 0 0 1px rgba(168, 122, 59, .22);
}
/* 实拍图媒体容器：统一圆角与品牌色底，弱网加载时也不突兀 */
.hero__figure,
.fcard__media,
.case__media {
  background: var(--c-accent);
}
.fcard__media img.photo,
.case__media img.photo {
  transition: transform .5s ease, filter .4s ease;
}
.fcard:hover img.photo,
.case:hover img.photo {
  filter: saturate(1) sepia(.04) brightness(1.02) contrast(1.03);
}
