/* ==========================================================================
   企业官网样式表
   设计基调：干净 + 现代，大面积留白撑出版式呼吸。
   颜色全部走 CSS 变量：数据文件里的 SITE["colors"] 会在页面 <head> 里
   注入一份 :root 覆盖，换一家企业只改那几个色值即可，本文件不用动。
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 文字 */
  --ink:      #10231A;
  --ink-2:    #3D5147;
  --ink-3:    #6E8379;
  --ink-inv:  #F2F7F4;
  --ink-inv-2:#B9CDC2;

  /* 品牌 */
  --brand:    #16834F;
  --brand-dk: #0C4A2E;
  --brand-lt: #E8F6EE;
  --brand-md: #2AA96A;

  /* 强调 */
  --accent:   #E07B26;
  --accent-lt:#FDF2E5;

  /* 面 */
  --bg:       #FBFBF8;
  --card:     #FFFFFF;
  --dark:     #0A2018;
  --dark-2:   #0F2C21;
  --line:     #E4E9E4;
  --line-2:   #EEF2EE;

  /* 圆角 */
  --r-xs: 8px;
  --r-s:  12px;
  --r-m:  18px;
  --r-l:  26px;
  --r-xl: 36px;
  --r-full: 999px;

  /* 阴影 */
  --sh-1: 0 1px 2px rgba(16,35,26,.04), 0 4px 14px rgba(16,35,26,.05);
  --sh-2: 0 2px 6px rgba(16,35,26,.05), 0 14px 34px rgba(16,35,26,.08);
  --sh-3: 0 10px 24px rgba(16,35,26,.08), 0 30px 70px rgba(16,35,26,.14);
  --sh-brand: 0 10px 30px color-mix(in srgb, var(--brand) 22%, transparent);

  /* 尺寸 */
  --maxw: 1180px;
  --pad: 24px;

  /* 字体 */
  --font: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei",
          "Segoe UI", system-ui, -apple-system, sans-serif;

  /* 动效 */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- 2. 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.32rem); }
h4 { font-size: 1.02rem; }
/* 让中文标题断行位置更均衡，不出现「就怎 / 么排」这类尴尬断法 */
h1, h2 { text-wrap: balance; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; transition: color .22s var(--ease); }
a:hover { color: var(--brand-dk); }

img { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--brand-md);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 静态模式（地址带 ?static=1）：关掉全部动效，直接呈现终态，便于截图验收 */
html.static *, html.static *::before, html.static *::after {
  animation: none !important;
  transition: none !important;
}

/* 数字统一等宽，排列整齐 */
.num, .stat-v, .kpi-num { font-variant-numeric: tabular-nums; }

/* ---------- 3. 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.wrap-wide { max-width: 1340px; }

.sec { padding: clamp(64px, 8vw, 118px) 0; }
.sec-sm { padding: clamp(48px, 6vw, 82px) 0; }
.sec-tight { padding: clamp(40px, 5vw, 64px) 0; }

.bg-soft { background: #F4F7F3; }
.bg-card { background: var(--card); }
.bg-brand-lt { background: var(--brand-lt); }

/* ---------- 4. 区块标题 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-md);
  flex: none;
}
.eyebrow.on-dark { color: #7FE0AC; }

.sec-head { max-width: 680px; margin-bottom: clamp(34px, 4vw, 54px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-lead {
  margin-top: 18px;
  font-size: clamp(1rem, 1.35vw, 1.09rem);
  color: var(--ink-3);
  line-height: 1.85;
}

/* ---------- 5. 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251,251,248,.82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease),
              box-shadow .3s var(--ease);
}
.nav.scrolled {
  background: rgba(251,251,248,.94);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(16,35,26,.055);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 76px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-md), var(--brand-dk));
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 28%, transparent);
  flex: none;
}
.logo-mark svg { width: 21px; height: 21px; display: block; }
.logo-txt { line-height: 1.14; }
.logo-txt b {
  display: block;
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.logo-txt span {
  display: block;
  font-size: .6rem;
  letter-spacing: .2em;
  color: var(--ink-3);
  font-weight: 600;
}

/* 菜单 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-menu a {
  position: relative;
  padding: 9px 15px;
  border-radius: var(--r-full);
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-menu a:hover { color: var(--brand-dk); background: var(--brand-lt); }
.nav-menu a.active { color: var(--brand-dk); background: var(--brand-lt); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-family: inherit;
  font-size: .94rem;
  font-weight: 700;
  letter-spacing: .005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn-primary:hover { background: var(--brand-dk); color: #fff; box-shadow: 0 14px 34px color-mix(in srgb, var(--brand) 30%, transparent); }

.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 28px rgba(224,123,38,.26); }
.btn-accent:hover { background: #C8681A; color: #fff; }

.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--sh-1);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dk); }

.btn-line {
  background: transparent;
  color: var(--brand-dk);
  border-color: color-mix(in srgb, var(--brand) 32%, transparent);
}
.btn-line:hover { background: var(--brand-lt); border-color: var(--brand); }

.btn-on-dark {
  background: #fff;
  color: var(--brand-dk);
}
.btn-on-dark:hover { background: #EAF7F0; color: var(--brand-dk); }

.btn-outline-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.34);
}
.btn-outline-dark:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }

.btn-sm { padding: 10px 18px; font-size: .87rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* 文字箭头链接 */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: .94rem;
  color: var(--brand);
}
.tlink svg { width: 15px; height: 15px; transition: transform .28s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 82px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
/* 背景装饰：柔和光斑 */
.hero::before {
  content: "";
  position: absolute;
  top: -320px; right: -180px;
  width: 780px; height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-md) 13%, transparent), color-mix(in srgb, var(--brand-md) 0%, transparent) 66%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -260px; left: -200px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,123,38,.08), rgba(224,123,38,0) 68%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(34px, 4.4vw, 62px);
  align-items: center;
}
.hero-txt { max-width: 560px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  white-space: nowrap;
  /* 用背景渐变画高亮，避免 z-index:-1 被外层背景吃掉 */
  background-image: linear-gradient(180deg, transparent 62%, color-mix(in srgb, var(--brand-md) 20%, transparent) 62%);
  background-repeat: no-repeat;
}
.hero-lead {
  font-size: clamp(1.02rem, 1.42vw, 1.14rem);
  line-height: 1.9;
  color: var(--ink-2);
  margin-bottom: 32px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 13px; }

/* Hero 图 */
.hero-media { position: relative; }
.hero-shot {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
  aspect-ratio: 4 / 5;
  background: var(--brand-lt);
}
.hero-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transition: transform 1.2s var(--ease-out);
}
.hero-shot:hover img { transform: scale(1.035); }

/* 图上浮层小卡 */
.hero-float {
  position: absolute;
  left: -14px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 20px;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-m);
  box-shadow: var(--sh-2);
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
.hero-float .hf-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--brand-lt);
  color: var(--brand);
  display: grid; place-items: center;
  flex: none;
}
.hero-float .hf-ico svg { width: 21px; height: 21px; }
.hero-float b { display: block; font-size: .95rem; color: var(--ink); line-height: 1.3; }
.hero-float span { font-size: .78rem; color: var(--ink-3); }

.hero-float-2 {
  position: absolute;
  right: -10px;
  top: 34px;
  padding: 13px 18px;
  background: rgba(10,32,24,.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: var(--r-m);
  box-shadow: var(--sh-2);
  color: #fff;
  animation: floaty 6.5s ease-in-out infinite .6s;
}
.hero-float-2 b { display: block; font-size: 1.32rem; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-float-2 span { font-size: .74rem; color: #9FC4B1; letter-spacing: .04em; }

/* ---------- 8. 指标条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.stat {
  background: var(--card);
  padding: clamp(24px, 2.6vw, 34px) clamp(18px, 2vw, 28px);
  text-align: center;
}
.stat-v {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--brand-dk);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.stat-v small { font-size: .48em; font-weight: 700; margin-left: 3px; letter-spacing: 0; }
.stat-k {
  margin-top: 9px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-2);
}
.stat-d {
  margin-top: 5px;
  font-size: .78rem;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ---------- 9. 图文两栏 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4.6vw, 68px);
  align-items: center;
}
.split.rev .split-media { order: 2; }
.split-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-2);
  aspect-ratio: 4 / 3.4;
  background: var(--brand-lt);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.tall { aspect-ratio: 4 / 5; }

.prose { font-size: 1.01rem; line-height: 1.92; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 700; }

/* 要点列表 */
.plist { margin-top: 26px; display: grid; gap: 15px; }
.plist li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.plist .tick {
  width: 23px; height: 23px;
  flex: none;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--brand-lt);
  color: var(--brand);
  display: grid; place-items: center;
}
.plist .tick svg { width: 12px; height: 12px; }
.plist b { display: block; color: var(--ink); font-size: .97rem; margin-bottom: 2px; }
.plist span { font-size: .88rem; color: var(--ink-3); line-height: 1.72; }

/* 标签 */
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  background: var(--brand-lt);
  color: var(--brand-dk);
  border-radius: var(--r-full);
  font-size: .85rem;
  font-weight: 600;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-md); }

/* ---------- 10. 品类卡 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: clamp(22px, 2.4vw, 30px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-2);
  border-color: color-mix(in srgb, var(--brand) 24%, transparent);
}
.card-ico {
  width: 50px; height: 50px;
  border-radius: 15px;
  display: grid; place-items: center;
  margin-bottom: 19px;
  flex: none;
}
.card-ico svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .9rem; color: var(--ink-3); line-height: 1.78; }
.card-foot {
  margin-top: auto;          /* 把占比行压到卡片底部，同一行卡片对齐 */
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.card-share {
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--brand-dk);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.card-share small { font-size: .56em; font-weight: 700; }
.card-meta { font-size: .78rem; color: var(--ink-3); }

/* 整卡可点 */
a.card { color: inherit; }
a.card:hover { color: inherit; }

/* 图标底色组 */
.ico-green  { background: #E8F6EE; color: #16834F; }
.ico-orange { background: #FDF2E5; color: #D4761F; }
.ico-blue   { background: #E9F1FB; color: #2C6BB5; }
.ico-red    { background: #FCEDEC; color: #C4453C; }
.ico-purple { background: #F1EDFB; color: #6A4FC2; }
.ico-teal   { background: #E6F4F4; color: #17807E; }

/* ---------- 11. 门店 ---------- */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.store {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 24px 22px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.store::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand-md), var(--brand-dk));
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.store:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.store:hover::before { opacity: 1; }
.store-no {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  background: var(--brand-lt);
  color: var(--brand-dk);
  border-radius: var(--r-full);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 13px;
}
.store h4 { margin-bottom: 7px; font-size: 1.02rem; }
.store .addr {
  font-size: .86rem;
  color: var(--ink-3);
  line-height: 1.7;
  min-height: 2.9em;
  margin-bottom: 15px;
}
.store-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  padding-top: 15px;
  border-top: 1px solid var(--line-2);
}
.store-meta div { font-size: .77rem; color: var(--ink-3); line-height: 1.55; }
.store-meta b { display: block; font-size: .88rem; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- 12. 深色区块 ---------- */
.dark {
  position: relative;
  background: var(--dark);
  color: var(--ink-inv-2);
  overflow: hidden;
}
.dark::before {
  content: "";
  position: absolute;
  top: -240px; right: -140px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-md) 20%, transparent), transparent 66%);
  pointer-events: none;
}
.dark h1, .dark h2, .dark h3, .dark h4, .dark b { color: #fff; }
.dark .sec-lead, .dark p { color: var(--ink-inv-2); }
.dark .split-media { box-shadow: 0 30px 70px rgba(0,0,0,.42); background: var(--dark-2); }

.dark-list { display: grid; gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--r-m); overflow: hidden; margin-top: 30px; }
.dark-list li {
  background: var(--dark);
  padding: 17px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.dark-list .n {
  font-size: .78rem;
  font-weight: 800;
  color: #59C98C;
  flex: none;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.dark-list b { display: block; font-size: .96rem; margin-bottom: 3px; }
.dark-list span { font-size: .86rem; line-height: 1.7; }

/* 深色区数字 */
.dark-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 34px; }
.dark-stat b {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.dark-stat span { font-size: .84rem; color: var(--ink-inv-2); }

/* ---------- 13. 会员权益 ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.perk {
  display: flex;
  gap: 14px;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.perk:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.perk-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex: none;
}
.perk-ico svg { width: 21px; height: 21px; }
.perk-body b { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 4px; }
.perk-body > span { font-size: .85rem; color: var(--ink-3); line-height: 1.7; }
.perks-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- 14. 联系 / 表单 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.info-list { display: grid; gap: 24px; margin-top: 30px; }
.info {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.info-ico {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--brand-lt);
  color: var(--brand);
  display: grid; place-items: center;
  flex: none;
}
.info-ico svg { width: 21px; height: 21px; }
.info-body b { display: block; color: var(--ink); font-size: .94rem; margin-bottom: 3px; }
.info-body span, .info-body a { font-size: .91rem; color: var(--ink-2); line-height: 1.7; word-break: break-word; }

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--sh-1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: inherit;
  font-size: .93rem;
  color: var(--ink);
  background: #F7F9F6;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  transition: border-color .2s var(--ease), background .2s var(--ease),
              box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--card);
  border-color: var(--brand-md);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-md) 12%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: #A6B5AC; }
.form-note { font-size: .8rem; color: var(--ink-3); margin-top: 14px; line-height: 1.7; }

/* ---------- 15. 页脚 ---------- */
.foot {
  background: var(--dark);
  color: var(--ink-inv-2);
  padding: clamp(48px, 5vw, 70px) 0 0;
}
.foot-in {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3.4vw, 52px);
  padding-bottom: 44px;
}
.foot .logo, .foot .logo:hover { color: #fff; }
.foot .logo-txt span { color: #7E9C8C; }
.foot-about { font-size: .89rem; line-height: 1.85; margin-top: 18px; max-width: 300px; }
.foot h5 {
  margin: 0 0 16px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7E9C8C;
}
.foot-links { display: grid; gap: 11px; }
.foot-links a { font-size: .89rem; color: var(--ink-inv-2); }
.foot-links a:hover { color: #fff; }
.foot-addr { font-size: .89rem; line-height: 1.85; }
.foot-addr b { display: block; color: #fff; font-size: .93rem; margin-bottom: 3px; }
.foot-bot {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  font-size: .82rem;
  color: #6E8C7E;
}
.foot-bot .disclaimer { max-width: 720px; line-height: 1.7; }

/* ---------- 16. 子页头 ---------- */
.phead {
  position: relative;
  padding: clamp(52px, 6.5vw, 92px) 0 clamp(44px, 5.5vw, 76px);
  background: linear-gradient(180deg, #F1F6F1 0%, var(--bg) 100%);
  overflow: hidden;
}
.phead::before {
  content: "";
  position: absolute;
  top: -300px; right: -160px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-md) 14%, transparent), transparent 66%);
  pointer-events: none;
}
.phead-in { position: relative; z-index: 1; max-width: 760px; }
.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .83rem;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--brand); }
.crumb svg { width: 13px; height: 13px; opacity: .5; }
.crumb .now { color: var(--ink); font-weight: 600; }

/* 子页 CTA 条 */
.cta-band {
  position: relative;
  background: var(--dark);
  color: var(--ink-inv-2);
  border-radius: var(--r-xl);
  padding: clamp(34px, 4.4vw, 60px);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -180px; right: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-md) 24%, transparent), transparent 68%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
/* ★ 深色底上的标题必须点名反色 —— 全局 h1~h4 的 color:var(--ink) 会压过容器继承，
   不点名就是隐形字（实测对比度 1.04 : 1，WCAG AA 大字要求 >= 3）。
   新增深色容器照抄这一组。已有 .dark（见上，用 #fff）；这里补 .foot / .cta-band。
   注：.foot 只补 h1~h4 —— 页脚 <b> 已由 .foot-addr b 单独给定 #fff，别在这里重写。 */
.foot h1, .foot h2, .foot h3, .foot h4,
.cta-band h1, .cta-band h2, .cta-band h3, .cta-band h4, .cta-band b { color: var(--ink-inv); }
.cta-band h2 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); margin-bottom: 10px; }
.cta-band p { color: var(--ink-inv-2); max-width: 520px; margin: 0; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 17. 时间线 ---------- */
.timeline { position: relative; margin-top: 10px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-md), color-mix(in srgb, var(--brand-md) 12%, transparent));
  border-radius: 2px;
}
.tl-item {
  position: relative;
  padding: 0 0 30px 40px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 1px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--brand-md);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-md) 12%, transparent);
}
.tl-year {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--brand);
  margin-bottom: 5px;
  font-variant-numeric: tabular-nums;
}
.tl-item b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.tl-item > span:last-child { font-size: .89rem; color: var(--ink-3); line-height: 1.75; }

/* ---------- 18. 表格 ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 620px; }
table.tbl th, table.tbl td {
  padding: 15px 20px;
  text-align: left;
  font-size: .9rem;
  border-bottom: 1px solid var(--line-2);
}
table.tbl thead th {
  background: #F4F7F3;
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--ink-3);
  text-transform: uppercase;
  white-space: nowrap;
}
table.tbl tbody tr:last-child td { border-bottom: none; }
table.tbl tbody tr:hover td { background: #FAFCF9; }
table.tbl td b { color: var(--ink); font-weight: 700; }
table.tbl .num-cell { font-variant-numeric: tabular-nums; }

/* ---------- 19. 案例卡 ---------- */
.case {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: clamp(24px, 2.8vw, 36px);
  height: 100%;
}
.case-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.case-top .card-ico { margin-bottom: 0; width: 46px; height: 46px; border-radius: 14px; }
.case-top h3 { font-size: 1.06rem; margin-bottom: 3px; }
.case-top span { font-size: .82rem; color: var(--ink-3); }
.case-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.case-kpis b {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-dk);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.case-kpis span { font-size: .78rem; color: var(--ink-3); }

/* ---------- 20. 流程步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--brand-lt);
  color: var(--brand-dk);
  display: grid; place-items: center;
  font-size: .82rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.step b { display: block; color: var(--ink); margin-bottom: 6px; font-size: .98rem; }
.step span { font-size: .87rem; color: var(--ink-3); line-height: 1.75; }

/* ---------- 20b. 图标与图片质感 ---------- */
/* 线性图标缩到 21–25px 后笔画偏细，统一加粗一档 */
.card-ico svg, .perk-ico svg, .info-ico svg,
.hf-ico svg, .case-top .card-ico svg { stroke-width: 2.15; }
.plist .tick svg { stroke-width: 2.7; }

/* 实景底图统一提一档饱和与对比，避免照片发灰 */
.hero-shot img,
.split-media img { filter: saturate(1.08) contrast(1.06); }

/* ---------- 21. 滚动进场 ----------
   渐进增强：.rise 默认就是可见的，只有 html 上挂了 .anim（脚本正常执行）
   才把它们先藏起来做动画。这样脚本一旦失效，整站内容照常显示，
   不会出现「页面一片空白」的事故。 */
.rise { opacity: 1; transform: none; }
.anim .rise {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s var(--ease-out), transform .72s var(--ease-out);
  will-change: opacity, transform;
}
.anim .rise.in { opacity: 1; transform: none; }

/* 数字计数占位防跳动 */
.stat-v, .dark-stat b { min-height: 1.1em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .anim .rise { opacity: 1; transform: none; }
}

/* ---------- 21b. 子页组件 ---------- */
/* 通用两列 / 自适应网格 */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.2vw, 26px);
}

/* 门店详情大卡 */
.store-big {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: clamp(24px, 2.6vw, 34px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
}
.store-big:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: color-mix(in srgb, var(--brand) 24%, transparent);
}
.store-big-top { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.store-big-top .store-no { margin-bottom: 0; }
.store-big-top h3 { font-size: 1.16rem; }
.store-big-addr { font-size: .96rem; color: var(--ink-2); margin-bottom: 9px; }
.store-big-note {
  font-size: .88rem;
  color: var(--ink-3);
  line-height: 1.78;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.store-big-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: auto;
}
.store-big-meta div { font-size: .77rem; color: var(--ink-3); line-height: 1.5; }
.store-big-meta b {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 700;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* 服务内容列表（带图标的条目） */
.svc-list { display: grid; gap: 14px; margin-top: 30px; }
.svc-list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 18px 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-list li:hover { transform: translateX(4px); box-shadow: var(--sh-1); }
.svc-list li > span:last-child b {
  display: block; color: var(--ink); font-size: .97rem; margin-bottom: 3px;
}
.svc-list li > span:last-child > span {
  font-size: .88rem; color: var(--ink-3); line-height: 1.72;
}
.bg-soft .svc-list li { background: var(--card); }
.dark .svc-list li { background: var(--dark-2); border-color: rgba(255,255,255,.1); }

/* 为什么选我们 */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 22px); }
.why-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: clamp(22px, 2.5vw, 30px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.why-no {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--brand-lt);
  color: var(--brand-dk);
  font-size: .8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.why-item b { display: block; color: var(--ink); font-size: 1.04rem; margin: 13px 0 8px; }
.why-d { font-size: .9rem; color: var(--ink-3); line-height: 1.78; }

/* 深色区里的提示块 */
.dark-list li b { color: #fff; }

/* ---------- 22. 打印 ---------- */
@media print {
  .nav, .cta-band, .foot { display: none; }
  body { background: #fff; }
  .rise { opacity: 1; transform: none; }
}

/* ============================================================
   个人站补充（数据文件里 SITE["kind"] = "personal" 时才走到）
   全部是新增类 / 新增组合，不改动上面任何一条既有规则 ——
   企业站的渲染结果因此逐字节不变。
   ============================================================ */
.hero-in.solo { grid-template-columns: minmax(0, 1fr); }
/* 无照片时首屏走单栏：文案区块【居中】+ 加宽，把右半边那块空白收进两侧留白 ——
   否则 1440 屏上文案只占左半、右边一整块空着，看着像忘了放东西。
   只作用于 .solo（个人站没配图那一种），企业站首屏永远有图，不受影响。 */
.hero-in.solo .hero-txt { max-width: 880px; margin: 0 auto; text-align: center; }
.hero-in.solo .hero-btns { justify-content: center; }
/* 无照片时，首屏那层装饰光带只留左侧一点，别在空着的右半边挂一团光晕 */
.hero-in.solo::before { opacity: .5; }
.split.solo { grid-template-columns: minmax(0, 1fr); }
.split.solo > div { max-width: 780px; }
/* 条目数不满时不留空格：2 列 / 3 列切换 */
.stats-2 { grid-template-columns: repeat(2, 1fr); }
.stats-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- 示例图标记（skill 自带的占位实景图；换成自己的图后自动消失） ---------- */
/* build_site.py 的 mark_demo_images() 只给「用到的示例图」加 .is-demo，
   数据文件里换成自己的图以后页面上不再有这个 src，这一段样式自然失效。 */
.is-demo { outline: 3px dashed #E8743B; outline-offset: -3px; }
.demo-note {
  max-width: var(--maxw);
  margin: 18px auto 0;
  padding: 14px 20px;
  border: 1px dashed #E8743B;
  border-radius: 14px;
  background: color-mix(in srgb, #E8743B 9%, transparent);
  color: var(--ink);
  font-size: .92rem;
  line-height: 1.78;
}
.demo-note b { color: #A8460F; }
.demo-note code {
  background: rgba(0, 0, 0, .07);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: .88em;
}
