/* ==========================================================================
   常乐推拿 · 官网样式表
   --------------------------------------------------------------------------
   视觉依据：《常乐品牌手册-2026》
     · 品牌标准色        #A30036
     · 辅助陶土色        #B19B8F
     · 页面底色          #EFEBE7 / #E9E8EB
     · 字体              HarmonyOS Sans SC（Regular 400 / Medium 500 / Bold 700）
   版式语言取自手册：中英双语栏目名、发丝分隔线、左文右图的通栏分栏、
   品牌红大字号数字、大面积留白。

   目录
     1. 变量与重置          8. 分栏（左文右图）
     2. 基础排版            9. 发展历程
     3. 布局与栏目标题     10. 门店地图
     4. 页头与导航         11. 合作伙伴
     5. 抽屉导航           12. 门店卡片与门店形象
     6. 按钮               13. 行动号召 / 页脚
     7. 首屏与数据条       14. 动效 / 响应式 / 无障碍
   ========================================================================== */

/* ---------------------------------------------------------------- 1. 变量 */
:root {
  /* 品牌色板 */
  --red: #a30036;
  --red-deep: #83002b;
  --red-soft: #c04a6c;
  --greige: #b19b8f;
  --greige-soft: #cbbcb2;
  --line: rgba(177, 155, 143, 0.34);
  --line-strong: rgba(177, 155, 143, 0.6);

  /* 背景层次 */
  --sand: #efebe7;
  --sand-2: #e9e8eb;
  --sand-3: #e5e0da;
  --paper: #fff;
  --paper-2: #f7f5f3;

  /* 文字 */
  --ink: #2b2523;
  --ink-2: #6a605a;
  --ink-3: #958a83;
  --on-red: #fff;
  --on-red-2: rgba(255, 255, 255, 0.76);
  --on-red-line: rgba(255, 255, 255, 0.26);

  /* 版心与节奏 */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(64px, 8.5vw, 132px);

  --radius: 2px;
  --shadow-s: 0 1px 2px rgba(43, 37, 35, 0.05);
  --shadow-m: 0 18px 40px -24px rgba(43, 37, 35, 0.34);
  --shadow-l: 0 34px 70px -34px rgba(43, 37, 35, 0.42);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "HarmonyOS Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 跳转到主要内容 */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}

.skip:focus {
  top: 12px;
}

/* ------------------------------------------------------------ 2. 基础排版 */
h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.28;
  color: var(--ink);
  letter-spacing: 0.005em;
}

.h-3 {
  font-size: clamp(17px, 1.5vw, 19px);
  font-weight: 500;
  line-height: 1.5;
}

/* 英文小标签：手册中每页左上角的双语栏目名上半部分 */
.eyebrow {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--greige);
}

/* 品牌字标：页头与页脚的中英组合 */
.wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.wordmark__cn {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.wordmark__en {
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--greige);
}

/* --------------------------------------------------------- 3. 布局与栏头 */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--wide {
  max-width: 1460px;
}

.section {
  padding-block: var(--section-y);
}

.section--paper {
  background: var(--paper);
}

.section--red {
  background: var(--red);
  color: var(--on-red);
}

.section--red h1,
.section--red h2,
.section--red h3,
.section--red h4 {
  color: #fff;
}

.section--flush {
  padding-block: 0;
}

/* 栏目标题：英文小标签 + 中文大标题，手册每页的固定版式 */
.shead {
  margin-bottom: clamp(30px, 4vw, 56px);
}

.shead__en {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 6px;
}

.shead__cn {
  font-size: clamp(23px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--greige);
}

.shead__cn b {
  font-weight: 500;
  color: var(--red);
}

.shead--on-red .shead__en,
.shead--on-red .shead__cn {
  color: var(--on-red-2);
}

.shead--on-red .shead__cn b {
  color: #fff;
}

.shead__note {
  margin-top: 16px;
  max-width: 46em;
  font-size: 15px;
  color: var(--ink-2);
}

/* 栏目标题横排（左标题右说明） */
.shead--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.shead--row .shead__note {
  margin-top: 0;
  max-width: 30em;
  text-align: right;
}

.grid {
  display: grid;
  gap: clamp(20px, 2.6vw, 34px);
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ------------------------------------------------------------- 4. 页头 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(239, 235, 231, 0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(239, 235, 231, 0.96);
}

.header__in {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.6vw, 26px);
  margin-left: auto;
}

.nav__link {
  position: relative;
  padding: 8px 2px;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.22s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--red);
  font-weight: 500;
}

.header__cta {
  flex-shrink: 0;
}

/* 汉堡按钮 */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 11px 9px;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.burger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* --------------------------------------------------------- 5. 抽屉导航 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--sand);
  padding: 100px var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.drawer__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}

.drawer__link em {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--greige);
}

.drawer__link[aria-current="page"] {
  color: var(--red);
}

.drawer__foot {
  margin-top: 34px;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 2;
}

/* ------------------------------------------------------------- 6. 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 30px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2;
  border-radius: var(--radius);
  transition: background 0.24s var(--ease), color 0.24s var(--ease),
    border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.btn:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--red);
}

.btn--ghost:hover {
  background: rgba(163, 0, 54, 0.06);
  border-color: var(--red);
}

.btn--on-red {
  background: #fff;
  border-color: #fff;
  color: var(--red);
}

.btn--on-red:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.88);
}

.btn--ghost-red {
  background: transparent;
  border-color: var(--on-red-line);
  color: #fff;
}

.btn--ghost-red:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--sm {
  padding: 11px 22px;
  font-size: 14px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* --------------------------------------------------- 7. 首屏与数据条 */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  padding-top: clamp(34px, 4.5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 76px);
}

/* 首屏右侧的整幅品牌图，宽屏时通到视口右缘 */
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.hero__copy {
  padding-block: clamp(10px, 3vw, 44px);
}

.hero__title {
  margin: 20px 0 0;
  font-size: clamp(31px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.26;
  color: var(--ink);
}

.hero__title span {
  display: block;
}

.hero__title .line-2 {
  color: var(--red);
}

.hero__body {
  margin-top: 22px;
  max-width: 30em;
  font-size: clamp(15px, 1.15vw, 16.5px);
  line-height: 1.98;
  color: var(--ink-2);
}

.hero__promise {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 14px 20px;
  border-left: 2px solid var(--red);
  background: rgba(163, 0, 54, 0.045);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  color: var(--red);
}

.hero__promise em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--greige);
}

.hero__actions {
  margin-top: 30px;
}

.hero__media {
  position: relative;
  align-self: stretch;
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 38vw, 470px);
  object-fit: cover;
  object-position: 62% 40%;
  border-radius: var(--radius);
}

/* 数据条 */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-top: clamp(36px, 5vw, 66px);
}

.stat {
  padding: clamp(24px, 3vw, 38px) clamp(16px, 2.4vw, 34px);
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat__num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(36px, 5.2vw, 62px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--red);
}

.stat__num sup {
  font-size: 0.42em;
  font-weight: 500;
  top: -0.9em;
  letter-spacing: 0;
}

.stat__cn {
  margin-top: 14px;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 500;
  color: var(--ink);
}

.stat__en {
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--greige);
}

.stats__note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* 内页页头 */
.phead {
  background: var(--sand);
  padding-top: clamp(38px, 5vw, 74px);
  padding-bottom: clamp(30px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.phead__in {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 46px;
  flex-wrap: wrap;
}

.phead__title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.26;
  color: var(--red);
  margin-top: 10px;
}

.phead__note {
  max-width: 32em;
  font-size: 15px;
  color: var(--ink-2);
}

/* 面包屑 */
.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.crumb a:hover {
  color: var(--red);
}

.crumb span {
  color: var(--greige-soft);
}

/* --------------------------------------------------- 8. 分栏（左文右图） */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: stretch;
  background: var(--paper);
}

.split--flip {
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
}

/* 沙底分栏：用来打断连续的白底区块 */
.split--sand {
  background: var(--sand);
}

.split--flip .split__copy {
  order: 2;
}

.split__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 76px) clamp(24px, 5vw, 80px);
}

.split__copy > .eyebrow {
  margin-bottom: 4px;
}

.split__title {
  font-size: clamp(24px, 2.9vw, 38px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--red);
  margin-bottom: 18px;
}

.split__body {
  font-size: 15.5px;
  line-height: 1.98;
  color: var(--ink-2);
  max-width: 32em;
}

.split__body + .split__body {
  margin-top: 12px;
}

.split__en {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-3);
}

.split__media {
  position: relative;
  min-height: 260px;
  background: var(--sand-2);
}

/* Studio cut-outs are flattened onto the colour of the panel they sit on, so
   the photo has no visible box edge. Keep these in step with build_assets.py. */
.split__media--sand {
  background: var(--sand);
}

.split__media--white {
  background: var(--paper);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 图片说明 */
.figcap {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------ 9. 发展历程 */
.timeline {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 1280px) {
  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.mile {
  display: flex;
  flex-direction: column;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.mile__year {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--red);
}

.mile__cn {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
}

.mile__desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-3);
}

/* 红色底的发展历程（对应手册第 4 页） */
.milestones-red .mile {
  border-top-color: var(--on-red-line);
}

.milestones-red .mile__year {
  color: #fff;
}

.milestones-red .mile__cn {
  color: #fff;
}

.milestones-red .mile__desc {
  color: rgba(255, 255, 255, 0.62);
}

/* ------------------------------------------------------ 10. 门店地图 */
.mapmedia {
  position: relative;
}

.mapmedia img {
  width: 100%;
}

/* 地图上的城市标记。位置来自手册地图页，见 _dev/README.md */
.mappin {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  z-index: 2;
}

.mappin__dot {
  position: absolute;
  left: -6px;
  /* the rotated teardrop's tip sits ~8.5px below the box centre, so lift the
     box to put the tip exactly on the coordinate */
  top: -15px;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 2px rgba(239, 235, 231, 0.92);
  transition: transform 0.26s var(--ease);
}

.mappin__name {
  position: absolute;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  white-space: nowrap;
  padding: 0 4px;
  background: rgba(239, 235, 231, 0.78);
  border-radius: 2px;
}

.mappin--r .mappin__name {
  left: 14px;
  top: -9px;
}

.mappin--l .mappin__name {
  right: 14px;
  top: -9px;
}

.mappin--t .mappin__name {
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
}

.mappin--b .mappin__name {
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
}

.mappin:hover .mappin__dot,
.mappin:focus-visible .mappin__dot {
  transform: rotate(-45deg) scale(1.3);
}

.mappin:hover .mappin__name {
  color: var(--red);
}

/* 城市列表 */
.citylist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(26px, 3.4vw, 42px);
}

.citytag {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.24s var(--ease), color 0.24s var(--ease),
    background 0.24s var(--ease);
}

.citytag em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--greige);
}

.citytag:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(163, 0, 54, 0.04);
}

/* --------------------------------------------------- 11. 合作伙伴 */
.logowall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 30px);
  align-items: center;
}

.logowall li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4px, 0.8vw, 10px);
  min-height: 62px;
}

.logowall img {
  max-height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.logowall li:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

/* --------------------------------------------------- 12. 门店 */

/* 城市门店网格 */
.cityblock {
  padding-top: clamp(34px, 4.6vw, 62px);
  margin-top: clamp(34px, 4.6vw, 62px);
  border-top: 1px solid var(--line);
}

.cityblock:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.cityblock__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(22px, 2.8vw, 34px);
}

.cityblock__title {
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 500;
  color: var(--red);
}

.cityblock__title em {
  font-style: normal;
  color: var(--ink-3);
  font-weight: 400;
}

.cityblock__en {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--greige);
}

.cards {
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
}

.card__pic {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-2);
  aspect-ratio: 2.32 / 1;
}

.card__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__cn {
  margin-top: 13px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.card__en {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* 产品卡（核心产品） */
.prod {
  display: flex;
  flex-direction: column;
  padding-top: 22px;
  border-top: 2px solid var(--greige);
}

.prod__num {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--greige);
}

.prod__cn {
  margin-top: 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--red);
}

.prod__sub {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-2);
}

.prod__pic {
  margin-top: 22px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-2);
  aspect-ratio: 4 / 3;
}

.prod__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.prod:hover .prod__pic img {
  transform: scale(1.04);
}

.prod__en {
  margin-top: 18px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--greige);
}

.prod__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-3);
}

/* 特性列表 */
.feats {
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feat {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.feat__cn {
  font-size: 17.5px;
  font-weight: 500;
  color: var(--ink);
}

.feat__desc {
  margin-top: 9px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* 应用截图组 */
.appshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 36px);
  align-items: end;
}

.appshots figure {
  margin: 0;
}

.appshots img {
  width: 100%;
  border-radius: var(--radius);
}

/* ------------------------------------------------- 13. 行动号召 / 页脚 */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff;
}

.cta__art {
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
  height: 168%;
  opacity: 0.13;
  pointer-events: none;
  user-select: none;
}

/* 浅色收尾：用于上方紧挨红底区块的页面 */
.cta--quiet {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.cta--quiet .cta__title {
  color: var(--ink);
}

.cta--quiet .cta__note {
  color: var(--ink-2);
}

.cta__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px 60px;
  flex-wrap: wrap;
  padding-block: clamp(52px, 6.5vw, 92px);
}

.cta__title {
  font-size: clamp(25px, 3.1vw, 40px);
  font-weight: 500;
  line-height: 1.32;
  color: #fff;
}

.cta__note {
  margin-top: 14px;
  max-width: 34em;
  font-size: 15.5px;
  color: var(--on-red-2);
}

.footer {
  background: var(--sand-3);
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: 34px;
  font-size: 14.5px;
}

.footer__in {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  padding-bottom: clamp(34px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer__brand img {
  width: 52px;
  height: 52px;
}

.footer__about {
  max-width: 30em;
  color: var(--ink-2);
  line-height: 1.95;
}

/* 页脚的小程序码 */
.footer__qr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.footer__qr img {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.footer__qr p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

.footer h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 16px;
}

.footer__list {
  display: grid;
  gap: 11px;
}

.footer__list a:hover {
  color: var(--red);
}

.footer__list .k {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.footer__list .v {
  color: var(--ink);
  font-weight: 500;
}

.footer__bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px;
  color: var(--ink-3);
}

.footer__bot p {
  line-height: 1.9;
}

/* 备案信息：工信部备案与公安联网备案 */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer__legal a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.22s var(--ease);
}

.footer__legal a:hover {
  color: var(--red);
}

/* 公安联网备案徽标 */
.footer__police img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* 联系页信息块 */
.infogrid {
  display: grid;
  gap: clamp(20px, 2.6vw, 34px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.infoblock {
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.infoblock__en {
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--greige);
}

.infoblock__cn {
  margin-top: 5px;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
}

.infoblock dl {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.infoblock dt {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

.infoblock dd {
  margin: 3px 0 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.7;
  word-break: break-word;
}

.infoblock dd a:hover {
  color: var(--red);
}

.infoblock dd.big {
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: 0.01em;
  color: var(--red);
}

/* 小程序码入口 */
.qrbox {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  padding: clamp(24px, 3.2vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qrbox__code {
  width: clamp(150px, 16vw, 180px);
  height: auto;
  flex-shrink: 0;
  background: #fff;
  border-radius: var(--radius);
}

.qrbox__cn {
  margin-top: 5px;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.qrbox__desc {
  margin-top: 10px;
  max-width: 40em;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* 返回顶部 */
.totop {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-m);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
    visibility 0.28s;
}

.totop.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.totop svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------- 14. 动效 */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------- 响应式 */
@media (max-width: 1180px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .logowall {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  html {
    scroll-padding-top: 78px;
  }

  .nav,
  .header__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__in {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 4vw, 40px);
  }

  .hero__media {
    order: -1;
  }

  .hero__media img {
    min-height: clamp(220px, 46vw, 380px);
  }

  .split,
  .split--flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--flip .split__copy {
    order: 0;
  }

  .split__media {
    min-height: clamp(240px, 44vw, 400px);
    order: -1;
  }

  .split--flip .split__media {
    order: -1;
  }

  .mapmedia {
    order: -1;
  }

  .footer__in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__brandcol {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {

  .grid--3,
  .timeline,
  .feats,
  .appshots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logowall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shead--row .shead__note {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-right: 0;
  }

  .stat:first-child {
    border-top: 0;
  }

  .infogrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15.5px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .wordmark__cn {
    font-size: 18px;
  }

  .wordmark__en {
    font-size: 8.5px;
  }

  .header__in {
    min-height: 66px;
  }
  .grid--3,
  .timeline,
  .feats,
  .appshots,
  .cards,
  .infogrid,

  .logowall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .logowall img {
    max-height: 34px;
  }

  .footer__in {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn {
    width: 100%;
  }

  .qrbox,
  .footer__qr {
    flex-direction: column;
    align-items: flex-start;
  }

  .qrbox__code {
    width: 160px;
  }

  .btn-row {
    gap: 12px;
  }

  .cta__in {
    padding-block: 52px;
  }
}

/* 超小屏：英文小标签换行不溢出 */
@media (max-width: 400px) {
  .eyebrow,
  .shead__en {
    letter-spacing: 0.08em;
  }

  .logowall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------- 无障碍 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 无 JS 时内容始终可见 */
html:not(.js-ready) .reveal {
  opacity: 1;
  transform: none;
}

/* 打印 */
@media print {
  .header,
  .drawer,
  .totop,
  .cta__art {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
