/* 澄鉴企业服务集团 · 共享设计系统（design/pages/*.html 引用）
   设计语言：白为底、红为辅（logo 红 #C8102E）；hero 采用原型同款「深色实景大图 + 暗蒙版 + 白字」。
   纯 CSS，无框架依赖。字体：无衬线（Noto Sans SC / 系统中文栈），数字用 Space Grotesk。 */

:root {
  /* 品牌红 */
  --brand-600: #c8102e;
  --brand-700: #a50d26;
  --brand-100: #fbe4e8;
  --brand-50: #fef4f6;
  /* 墨色 / 文字层级 */
  --ink: #1a1518;
  --ink-700: #3c3438;
  --ink-500: #6b6367;
  --ink-600: #b8b8b8;
  --ink-900: #141a22;
  /* 背景 */
  --bg: #ffffff;
  --bg-alt: #f7f4f1;
  --bg-warm: #f1ecee;
  /* 线条 */
  --line: #ece7e4;
  --line-strong: #dcd3d7;
  /* 圆角 */
  --r-s: 8px;
  --r-l: 14px;
  --r-xl: 20px;
  --r-xxl: 32px;
  --r-full: 999px;
  /* 间距（8pt 基准） */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s7: 48px;
  --s8: 84px;
  /* 容器 */
  --maxw: 1200px;
  /* 动效 */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --t: 0.3s;
  --t-fast: 0.18s;
  /* 阴影（克制，两层） */
  --sh1: 0 1px 2px rgba(20, 17, 15, 0.06), 0 4px 16px rgba(20, 17, 15, 0.08);
  --sh2: 0 4px 8px rgba(20, 17, 15, 0.08), 0 16px 40px rgba(20, 17, 15, 0.12);
  /* 字体 */
  --font:
    "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-num: "Space Grotesk", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.18;
}
p {
  margin: 0;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s4);
}
.sec {
  padding: var(--s8) 0;
  overflow: hidden;
}
.sec--alt {
  background: var(--bg-alt);
}
.sec--tight {
  padding: calc(var(--s8) - 24px) 0;
}

.ending-box {
  background:
    linear-gradient(rgba(20, 26, 34, 0.4), rgba(20, 26, 34, 0.8)),
    url("./img/partner-hero.jpg") center/cover no-repeat;
}

.ending-box .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* eyebrow 小标签（红勾 + 字距，中文无视大写） */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-600);
  margin-bottom: var(--s3);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand-600);
  border-radius: 2px;
}
.sec-head {
  max-width: 760px;
  margin-bottom: var(--s6);
}
.sec-head h1,
.sec-head h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  margin-bottom: var(--s2);
  color: var(--ink);
}
.sec-head p {
  color: var(--ink-500);
  font-size: 16px;
  line-height: 1.8;
}
.sec-head--xl h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.02em;
}

/* 按钮（pill 圆角） */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--r-full);
  font-weight: 650;
  font-size: 15px;
  white-space: nowrap;
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
  cursor: pointer;
  border: none;
}
.btn:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.35);
  outline-offset: 2px;
}
.btn--primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 6px 18px #c8102e38;
}
.btn--primary:hover {
  background: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px #c8102e4d;
}
.btn--ghost {
  border: 1.5px solid var(--line-strong);
  color: var(--ink-700);
  background: #fff;
}
.btn--ghost:hover {
  border-color: var(--brand-600);
  color: var(--brand-600);
  transform: translateY(-2px);
}
.btn--light {
  background: #fff;
  color: var(--brand-700);
}
.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px #00000029;
}
.btn--ghost-light {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}
.btn--ghost-light:hover {
  border-color: #fff;
  background: #ffffff1f;
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

/* 顶部导航（吸顶毛玻璃，白底深字，红为强调） */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: #ffffffe0;
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--t) var(--ease),
    backdrop-filter var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--sh1);
}
.header__in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s4);
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: var(--s4);
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
}
.logo .logo__img {
  width: 64px;
}
.logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  font-family: var(--font-num);
  box-shadow: 0 4px 12px #c8102e38;
}
.logo__text {
  line-height: 1.1;
}
.logo__name {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.1;
}
.logo__sub {
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink-700);
  border-radius: var(--r-s);
  transition:
    color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}
.nav a:hover {
  color: var(--brand-600);
  background: var(--brand-50);
}
.nav a[aria-current="page"] {
  color: var(--brand-600);
  font-weight: 700;
}
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 6px;
  height: 2.5px;
  background: var(--brand-600);
  border-radius: 2px;
}
.header__cta {
  margin-left: var(--s2);
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: var(--brand-600);
  margin-left: auto;
}

/* 汉堡按钮：三条杠，勾选后过渡为叉号 */
.burger__bars {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}
.burger__bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    top 0.26s var(--ease),
    transform 0.26s var(--ease),
    opacity 0.16s var(--ease);
}
.burger__bar:nth-child(1) {
  top: 0;
}
.burger__bar:nth-child(2) {
  top: 6px;
}
.burger__bar:nth-child(3) {
  top: 12px;
}
#nav-toggle:checked ~ .header__in .burger__bar:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
#nav-toggle:checked ~ .header__in .burger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#nav-toggle:checked ~ .header__in .burger__bar:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.drawer {
  display: none;
}

/* ============================================================
 * Header 响应式（iPad 优先）
 * ============================================================ */

/* iPad 横屏 ~1024px：压缩 nav，隐藏副标题 + CTA，避免整行挤爆 */
@media (max-width: 1024px) {
  .nav a {
    padding: 0 10px;
    font-size: 14px;
  }
  .nav {
    gap: 0;
  }
  .logo .logo__img {
    width: 56px;
  }
  .logo__name {
    font-size: 15px;
  }
  .logo__sub,
  .header__cta {
    display: none;
  }
}

/* iPad 竖屏 ~768px / 820px：切汉堡，抽屉菜单接管 */
@media (max-width: 900px) {
  .nav,
  .header__cta {
    display: none;
  }
  .burger {
    display: inline-flex !important;
  }
  .drawer {
    display: grid;
    position: fixed;
    inset: 72px 0 auto 0;
    z-index: 60;
    grid-template-rows: 0fr;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      grid-template-rows 0.42s var(--ease),
      opacity 0.24s var(--ease),
      transform 0.42s var(--ease),
      visibility 0s linear 0.42s;
  }
  #nav-toggle:checked ~ .drawer {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition:
      grid-template-rows 0.42s var(--ease),
      opacity 0.24s var(--ease),
      transform 0.42s var(--ease),
      visibility 0s;
  }
  .drawer__inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 var(--s4);
  }
  .drawer a {
    display: block;
    padding: 14px var(--s5);
    color: var(--ink-700);
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 0.28s var(--ease),
      transform 0.28s var(--ease);
  }
  .drawer a:first-child {
    padding-top: 16px;
  }
  .drawer a:last-child {
    padding-bottom: 16px;
    border-bottom: none;
  }
  #nav-toggle:checked ~ .drawer a {
    opacity: 1;
    transform: translateY(0);
  }
  #nav-toggle:checked ~ .drawer a:nth-child(1) { transition-delay: 0.05s; }
  #nav-toggle:checked ~ .drawer a:nth-child(2) { transition-delay: 0.1s; }
  #nav-toggle:checked ~ .drawer a:nth-child(3) { transition-delay: 0.15s; }
  #nav-toggle:checked ~ .drawer a:nth-child(4) { transition-delay: 0.2s; }
  #nav-toggle:checked ~ .drawer a:nth-child(5) { transition-delay: 0.25s; }
  #nav-toggle:checked ~ .drawer a:nth-child(6) { transition-delay: 0.3s; }
  #nav-toggle:checked ~ .drawer a:nth-child(7) { transition-delay: 0.35s; }
  #nav-toggle:checked ~ .drawer a:nth-child(8) { transition-delay: 0.4s; }
  @media (prefers-reduced-motion: reduce) {
    .drawer,
    #nav-toggle:checked ~ .drawer,
    .drawer a {
      transition: none;
    }
  }
}

/* HERO（深色实景大图 + 暗蒙版 + 白字，非红底） */
.hero--banner {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink-900);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3), transparent);
}
.hero__in {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--s7) + 20px) var(--s4) var(--s7);
}
.hero__in .eyebrow {
  color: var(--brand-600);
}
.hero__in .eyebrow::before {
  background: var(--brand-600);
}
.hero__title {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 4.1rem);
  letter-spacing: 0.1em;
  margin-bottom: var(--s4);
  line-height: 1.2;
  font-weight: 800;
}
.hero__title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  color: #fff;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.32em;
  background: #ffffff38;
  z-index: -1;
  border-radius: 4px;
}
.hero__lede {
  color: #ffffffe6;
  font-size: 18px;
  max-width: 54ch;
  margin-bottom: var(--s6);
  line-height: 1.7;
}
.hero__acts {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-bottom: var(--s5);
}
.hero__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero__badges span {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 8px 15px;
  border-radius: var(--r-full);
  background: #ffffff1f;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%);
  z-index: 2;
  color: #fffc;
  font-size: 12px;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 30px;
  background: #fff9;
}

/* 浅色标题型 hero（内页用，白底深字） */
.page-hero {
  position: relative;
  padding: calc(var(--s7) + 28px) 0 var(--s7);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--line);
}
@media screen and (max-width: 768px) {
  .page-hero {
    padding: calc(var(--s7) - 12px) 0;
  }
}
.page-hero h1,
.page-hero h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  /* letter-spacing: -0.02em; */
  margin-bottom: var(--s3);
}
.page-hero .lede {
  color: var(--ink-500);
  font-size: 17px;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .page-hero .lede {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* 网格 */
.grid {
  display: grid;
  gap: var(--s3);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.auto-fit-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* 卡片（白底浅边，hover 上浮 + 红边） */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: var(--s4);
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh2);
  border-color: var(--brand-100);
}
.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.card p {
  color: var(--ink-500);
  font-size: 14.5px;
  line-height: 1.7;
}

/* 图片卡包裹（统一比例 + 裁切 + hover 微放大） */
.biz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.biz-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-warm);
}
.biz-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.biz-card:hover .biz-card__img img {
  transform: scale(1.05);
}
.biz-card__body {
  padding: var(--s4);
}
.biz-card__body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.biz-card__body p {
  color: var(--ink-500);
  font-size: 14.5px;
  line-height: 1.7;
}
.biz-card__no {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--brand-600);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.proc__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-warm);
}
.proc__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tm__img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-warm);
  border-radius: var(--r-l) var(--r-l) 0 0;
}
.tm__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sub-card__img {
  overflow: hidden;
  background: var(--bg-warm);
  min-height: 180px;
}
.sub-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.sub-card:hover .sub-card__img img {
  transform: scale(1.04);
}
.split__img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh2);
}
.split__img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.post__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-warm);
}
.post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.post:hover .post__img img {
  transform: scale(1.04);
}
.post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.card-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-700);
  background: var(--brand-100);
  padding: 4px 12px;
  border-radius: var(--r-full);
}
.honor__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-warm);
  border-radius: var(--r-l);
}
.honor__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 流程步骤（编号 + 红点） */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: var(--s5);
}
.step__no {
  width: 46px;
  height: 46px;
  border-radius: var(--r-full);
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 18px;
  border: 1.5px solid var(--brand-100);
}
.step h4 {
  font-size: 17px;
  margin-bottom: 8px;
}
.step p {
  color: var(--ink-500);
  font-size: 14.5px;
  line-height: 1.7;
}
.step:last-child::before {
  display: none;
}
.steps--5 {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 980px) {
  .steps--5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .steps--5 {
    grid-template-columns: 1fr;
  }
}
.biz-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s3);
  color: var(--brand-600);
  font-weight: 700;
  font-size: 15px;
  transition:
    gap 0.15s var(--ease),
    color 0.15s var(--ease);
}
.biz-cta:hover {
  gap: 10px;
  color: var(--brand-700);
}

/* 时间轴（左侧红线） */
.timeline {
  position: relative;
  margin-top: var(--s5);
  padding-left: 172px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 150px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: linear-gradient(var(--brand-600), var(--brand-100));
  border-radius: 3px;
}
.tl-item {
  position: relative;
  padding: 0 0 var(--s5) 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: var(--r-full);
  background: var(--brand-600);
  box-shadow: 0 0 0 4px var(--brand-50);
}
.tl-year {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--brand-600);
  font-size: 15px;
  position: absolute;
  left: -172px;
  top: 2px;
  width: 130px;
  text-align: right;
}
.tl-item h4 {
  font-size: 17px;
  margin-bottom: 6px;
}
.tl-item p {
  color: var(--ink-500);
  font-size: 14.5px;
  line-height: 1.7;
}

/* 资质荣誉印章（SVG 组件，避免伪造证书图） */
.seal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
}
.seal__ico {
  width: 46px;
  height: 46px;
  flex: none;
}
.seal__txt {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
  line-height: 1.35;
}
.seal-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s3);
}

/* 跑马灯（原型同款：横向无缝滚动 + hover 暂停 + 两侧 mask 渐隐） */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scroll 34s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* 资质荣誉跑马灯 */
.honor-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.honor-track {
  display: flex;
  gap: var(--s3);
  width: max-content;
  padding: 4px 0;
  animation: hm 32s linear infinite;
}
.honor-marquee:hover .honor-track {
  animation-play-state: paused;
}
.honor-track .honor {
  flex: 0 0 230px;
}
@keyframes hm {
  0% {
    transform: translate(0);
  }
  to {
    transform: translate(-50%);
  }
}
.honor {
  flex: 0 0 230px;
  /* background: #fff; */
  /* border: 1px solid var(--line); */
  border-radius: var(--r-l);
  overflow: hidden;
}
.honor .honor__img {
  width: 100%;
  border-radius: var(--r-l);
}
.honor__body {
  padding: 12px 0;
  text-align: center;
}
.honor__body b {
  font-size: 14px;
  color: var(--ink-700);
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .honor__body b {
    font-size: 12px;
  }
}

/* 核心团队跑马灯 */
.team-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}
.team-track {
  display: flex;
  gap: var(--s3);
  width: max-content;
  animation: teamScroll 30s linear infinite;
}
.team-marquee:hover .team-track {
  animation-play-state: paused;
}
@keyframes teamScroll {
  0% {
    transform: translate(0);
  }
  to {
    transform: translate(-50%);
  }
}
.tm {
  flex: 0 0 auto;
  width: 232px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tm__body {
  padding: var(--s4);
}
.tm__body b {
  font-size: 16px;
  display: block;
  font-weight: 700;
}
.tm__body span {
  font-size: 13px;
  color: var(--ink-500);
}

/* 合作伙伴双向跑马灯 */
.pm {
  overflow: hidden;
}
.pm-row {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}
.pm-row + .pm-row {
  margin-top: var(--s3);
}
.pm-row--r .pm-track {
  animation: marqueeR 34s linear infinite;
}
.pm-row--l .pm-track {
  animation: marqueeL 34s linear infinite;
}
.pm-track {
  display: flex;
  gap: var(--s3);
  width: max-content;
  animation: marqueeL 34s linear infinite;
}
.pm-row:hover .pm-track {
  animation-play-state: paused;
}
@keyframes marqueeL {
  0% {
    transform: translate(0);
  }
  to {
    transform: translate(-50%);
  }
}
@keyframes marqueeR {
  0% {
    transform: translate(-50%);
  }
  to {
    transform: translate(0);
  }
}
.pm-item {
  flex: 0 0 auto;
  width: 190px;
  height: 74px;
  border-radius: var(--r-l);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-item span {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-700);
}

/* 统计 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
}
.stat {
  padding: var(--s4);
  border-radius: var(--r-l);
  background: #fff;
  border: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--brand-600);
  line-height: 1;
}
.stat__lbl {
  color: var(--ink-500);
  font-size: 14px;
  margin-top: 8px;
}

/* 表单 */
.field {
  width: 100%;
  height: 52px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-s);
  padding: 0 16px;
  font-family: var(--font);
  font-size: 15px;
  background: #fff;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast);
}
.field:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 4px #c8102e1a;
}
textarea.field {
  height: auto;
  padding: 14px 16px;
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 760px) {
  .field {
    height: 42px;
    font-size: 14px;
  }
}

/* 页脚（深色多列） */
.footer {
  background: var(--ink-900);
  color: #b9b0b4;
  padding: clamp(35px, 3.8vw, 55px) 0 clamp(20px, 2.4vw, 32px);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(236px, 1.55fr);
  gap: clamp(28px, 3.6vw, 56px);
  margin-bottom: clamp(36px, 4vw, 56px);
  align-items: start;
}
/* 中间三组导航链接合并为一个菜单块（移动端隐藏） */
.footer__menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.4vw, 40px);
}
.footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: 0.04em;
}
.footer li {
  margin-bottom: 8px;
  list-style: none;
}
.footer a {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  line-height: 1.7;
  color: #b9b0b4;
  transition: color var(--t-fast) var(--ease);
}
.footer a:hover {
  color: #fff;
}
.footer__desc {
  font-size: 13.5px;
  line-height: 1.85;
  margin-top: 18px;
  max-width: 40ch;
  color: #a49ba0;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo-img {
  max-height: 46px;
  width: auto;
  display: block;
  border-radius: 4px;
}
.footer__logo .logo__info {
  flex: 1;
  line-height: 1.2;
}
.footer__logo .logo__mark {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.footer__logo .logo__name {
  color: #fff;
  font-size: 18px;
}
.footer__logo .logo__sub {
  color: #b9b0b4;
  letter-spacing: 0.06em;
}
/* 联系方式（并入品牌区，避免单独一列过于拥挤） */
.footer__contact {
  margin-top: 22px !important;
  max-width: 36ch;
}
.footer__contact li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 10px;
  color: #a49ba0;
}
.footer__contact-k {
  flex: none;
  min-width: 32px;
  font-size: 12.5px;
  color: #7f767c;
  letter-spacing: 0.04em;
}
.footer__bar {
  border-top: 1px solid #332c30;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #b9b0b4;
}

.footer__bar .right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__bar .right .gaba-style {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer__bar .right .gaba-style img {
  max-height: 16px;
  width: auto;
  display: block;
  border-radius: 4px;
}

.footer__bar a:hover {
  color: #fff;
}
.footer ul {
  padding: 0;
  margin: 0;
}

/* 资质荣誉：真实牌匾照片网格（替代原矢量印章） */
.honors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.honors__item {
  margin: 0;
  text-align: center;
}
.honor__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 21, 34, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.honors__item:hover .honor__img {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.12);
}
.honors__item figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-700);
}

/* 页脚公众号 / 小程序码卡片（有图 / 占位两种形态） */
.footer__qr-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.qr-card {
  flex: 1;
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  /* background: #fff; */
  border-radius: 10px;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.qr-card:hover {
  transform: translateY(-3px);
}
.qr-card__img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
  object-fit: contain;
}
@media (max-width: 980px) {
  .qr-card {
    flex: none;
  }
  .qr-card__img {
    width: 96px;
    height: 96px;
  }
}
.qr-card--ph {
  background: transparent;
  border: 1px dashed #4a4146;
  box-shadow: none;
  padding: 10px;
  width: 112px;
  height: 112px;
  justify-content: center;
  gap: 6px;
  text-align: center;
}
.qr-card--ph:hover {
  transform: none;
  box-shadow: none;
}
.qr-card__name {
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
}
.qr-card__hint {
  font-size: 12px;
  color: #b9b0b4;
}

/* 渐显 */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* 响应式 */
@media (max-width: 980px) {
  .grid-4,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px 40px;
  }
  .footer__about,
  .footer__menu,
  .footer__qr {
    grid-column: 1 / -1;
  }
  .footer__menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  /* grid / 布局切换 */
  .grid-2,
  .grid-3,
  .grid-4,
  .steps {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px 24px;
  }
  /* 移动端隐藏中间导航菜单块 */
  .footer__menu {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .timeline {
    padding-left: 0;
  }
  .timeline::before {
    display: none;
  }
  .tl-year {
    position: static;
    width: auto;
    text-align: left;
    display: block;
    margin-bottom: 4px;
  }
  .tl-item::before {
    display: none;
  }
  .sec {
    padding: var(--s7) 0;
  }
}
@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .sec {
    padding: calc(var(--s7) - 12px) 0;
  }
  .hero--banner {
    min-height: 78vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee__track {
    animation: none;
  }
  .biz-card__img img,
  .post__img img,
  .sub-card__img img {
    transition: none;
  }
}
