/* ============================================================
   AI真知社 · 企业官网
   Author: WorkBuddy
   设计语言：纸感浅底 + 印章红（品牌色）+ 墨黑，简洁现代
   ============================================================ */

:root {
  --bg: #faf8f5;
  --bg-soft: #f2eee8;
  --panel: #ffffff;
  --panel-2: #faf7f3;
  --line: rgba(35, 28, 24, 0.11);
  --line-strong: rgba(35, 28, 24, 0.20);
  --text: #211d1a;
  --text-dim: #5b534c;
  --muted: #8a8179;
  --teal: #940103;
  --teal-deep: #6f0202;
  --teal-soft: rgba(148, 1, 3, 0.07);
  --gold: #b8873b;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1200px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(148, 1, 3, 0.18); }

/* ---------- 背景装饰 ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-layer::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(680px 520px at 12% -6%, rgba(148, 1, 3, 0.07), transparent 62%),
    radial-gradient(760px 560px at 92% 4%, rgba(35, 28, 24, 0.06), transparent 64%),
    radial-gradient(900px 620px at 50% 108%, rgba(148, 1, 3, 0.05), transparent 66%);
}
.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 28, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 28, 24, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}

.page { position: relative; z-index: 1; }

/* ---------- 布局 ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
[id] { scroll-margin-top: 96px; }
.section--tight { padding: 68px 0; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand__logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: 9px 14px;
  font-size: 14.5px;
  color: var(--text-dim);
  border-radius: 9px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__links a:hover { color: var(--teal); background: rgba(148, 1, 3, 0.05); }
.nav__links a.is-active { color: var(--teal); }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
}
.nav__cta {
  margin-left: 10px;
  padding: 10px 18px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(148, 1, 3, 0.38);
  color: var(--teal) !important;
  font-weight: 600;
}
.nav__cta:hover { background: var(--teal-soft) !important; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(35, 28, 24, 0.035);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

/* ---------- 通用文字 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--teal);
  opacity: 0.7;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
h2.title { font-size: clamp(28px, 3.4vw, 42px); }
.lead {
  margin: 18px 0 0;
  max-width: 62ch;
  color: var(--text-dim);
  font-size: 16.5px;
  line-height: 1.85;
}
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn--primary {
  background: linear-gradient(150deg, #ad0508, #7a0202);
  color: #ffffff;
  box-shadow: 0 14px 34px -16px rgba(148, 1, 3, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(148, 1, 3, 0.6); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.7); }
.btn--ghost:hover { border-color: rgba(148, 1, 3, 0.45); color: var(--teal); background: rgba(148, 1, 3, 0.05); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 13.5px; border-radius: 10px; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 40px; position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.12fr);
  gap: 40px;
  align-items: end;
}
/* 首屏后紧接的板块，减少上下空白 */
#capability { padding-top: 56px; }
.hero h1 {
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #8f0202 8%, #c42127 52%, #8f0202 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin: 26px 0 0;
  font-size: 17.5px;
  color: var(--text-dim);
  max-width: 52ch;
}
.hero__actions { display: flex; gap: 14px; margin: 30px 0 0; flex-wrap: wrap; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 42px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero__stats div { padding-right: 10px; }
.hero__stats strong {
  display: block;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero__stats strong span { font-size: 0.62em; color: var(--teal); margin-left: 3px; font-weight: 600; }
.hero__stats p { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* Hero 右侧：大幅轮播图（图上有文字） */
.hero__carousel { position: relative; padding: 8px 0 0 18px; }
.hcar__viewport {
  position: relative;
  height: 448px;
  border-radius: 18px;
  overflow: hidden;
  background: #1a0d0c;
  border: 1px solid rgba(35, 28, 24, 0.12);
  box-shadow: 0 40px 70px -34px rgba(60, 30, 20, 0.4), 0 6px 18px -10px rgba(60, 30, 20, 0.16);
}
.hcar__slide {
  position: absolute; inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.8s;
}
.hcar__slide.is-active { opacity: 1; visibility: visible; transform: scale(1); z-index: 1; }
.hcar__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.02);
}
.hcar__slide.is-active .hcar__img { transform: scale(1.02); transition: transform 6s ease; }
.hcar__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(14, 6, 6, 0.94) 0%, rgba(14, 6, 6, 0.62) 44%, rgba(14, 6, 6, 0.22) 100%),
    linear-gradient(to right, rgba(120, 4, 8, 0.34), transparent 65%);
}
.hcar__tag {
  position: absolute; top: 20px; left: 22px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(148, 1, 3, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hcar__tag i { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.2); }
.hcar__body {
  position: absolute; left: 26px; right: 26px; bottom: 30px;
  z-index: 2;
  color: #fff;
}
.hcar__title {
  display: block;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}
.hcar__sub {
  display: block;
  margin-top: 12px;
  font-size: 13px; line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}
.hcar__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  padding-bottom: 4px;
  font-size: 14px; font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.hcar__more b { transition: transform 0.25s ease; }
.hcar__slide:hover .hcar__more b { transform: translateX(4px); }
.hcar__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(20, 8, 8, 0.35);
  color: #fff;
  font-size: 24px; line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.hcar__arrow:hover { background: rgba(148, 1, 3, 0.72); border-color: rgba(255, 255, 255, 0.7); }
.hcar__arrow--prev { left: 12px; }
.hcar__arrow--next { right: 12px; }
.hcar__dots {
  position: absolute; right: 20px; bottom: 22px;
  z-index: 3;
  display: flex; gap: 8px;
}
.hcar__dot {
  width: 24px; height: 4px;
  padding: 0;
  border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.35s ease, background 0.35s ease;
}
.hcar__dot.is-active { width: 44px; background: var(--teal); }

/* ---------- 能力卡 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cap {
  position: relative;
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, #ffffff, #fdfbf8);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.cap:hover { border-color: rgba(148, 1, 3, 0.32); transform: translateY(-4px); background: linear-gradient(170deg, #fffafa, #ffffff); }
.cap__no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.1em;
  opacity: 0.85;
}
.cap h3 { margin: 14px 0 0; font-size: 20px; }
.cap p { margin: 12px 0 0; color: var(--text-dim); font-size: 14.6px; line-height: 1.8; }
.cap ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.cap ul li {
  font-size: 12.5px;
  color: var(--text-dim);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(35, 28, 24, 0.03);
}

/* ---------- 产品卡 ---------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
  margin-top: 46px;
}
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #fdfbf8);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.pcard:hover {
  transform: translateY(-6px);
  border-color: rgba(148, 1, 3, 0.4);
  box-shadow: 0 28px 60px -34px rgba(60, 30, 20, 0.4), 0 0 0 1px rgba(148, 1, 3, 0.06);
}
.pcard__frame {
  position: relative;
  background: #f5f1ec;
  border-bottom: 1px solid var(--line);
}
.pcard__bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: rgba(35, 28, 24, 0.035);
  border-bottom: 1px solid rgba(35, 28, 24, 0.07);
}
.pcard__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); display: block; }
.pcard__bar i:first-child { background: rgba(148, 1, 3, 0.5); }
.pcard__bar i:nth-child(2) { background: rgba(184, 135, 59, 0.55); }
.pcard__bar i:nth-child(3) { background: rgba(148, 1, 3, 0.3); }
.pcard__url {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard__shot {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
}
.pcard__shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
  filter: saturate(0.98);
}
.pcard:hover .pcard__shot img { transform: scale(1.035); filter: saturate(1.06); }
.pcard__go {
  position: absolute;
  inset: auto 12px 12px auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(148, 1, 3, 0.95);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.pcard:hover .pcard__go { opacity: 1; transform: translateY(0); }

/* 无截图的封面 */
.pcard__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(148, 1, 3, 0.12), transparent 55%),
    linear-gradient(150deg, #fff7f5, #f5f1ec 70%);
}
.pcard__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 28, 24, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 28, 24, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.pcard__cover .pcard__mono {
  position: relative;
  font-family: var(--mono);
  font-size: 34px;
  letter-spacing: 0.14em;
  color: rgba(35, 28, 24, 0.72);
  text-shadow: 0 10px 40px rgba(148, 1, 3, 0.12);
}

.pcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
  font-weight: 600;
}
.pcard h3 { margin: 8px 0 0; font-size: 18.5px; letter-spacing: -0.01em; }
.pcard__desc { margin: 10px 0 0; font-size: 14px; color: var(--text-dim); line-height: 1.75; flex: 1; }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 0; }
.pcard__tags span {
  font-size: 11.5px;
  color: var(--muted);
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(35, 28, 24, 0.09);
  background: rgba(255, 255, 255, 0.78);
}
.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.pcard__enter { color: var(--teal); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.pcard:hover .pcard__enter { gap: 10px; }
.pcard__enter span { transition: transform 0.3s ease; }
.pcard:hover .pcard__enter span { transform: translateX(2px); }

/* ---------- 筛选 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.filters button {
  height: 40px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(35, 28, 24, 0.03);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.22s ease;
}
.filters button:hover { color: var(--teal); border-color: rgba(148, 1, 3, 0.35); }
.filters button.is-on {
  color: #ffffff;
  background: linear-gradient(150deg, #ad0508, #7a0202);
  border-color: transparent;
  font-weight: 700;
}
.filters button em { font-style: normal; opacity: 0.6; margin-left: 6px; font-family: var(--mono); font-size: 11px; }

/* ---------- 客户墙 ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  margin-top: 44px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.logo-wall div {
  background: #ffffff;
  padding: 24px 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, color 0.3s ease;
}
.logo-wall div:hover { background: #fdf3f2; color: var(--teal); }

/* ---------- 团队 ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 44px; }
.member {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(175deg, #ffffff, #fdfbf8);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.member:hover { border-color: rgba(148, 1, 3, 0.3); transform: translateY(-4px); }
.member__avatar {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(145deg, #a30204, #6f0202);
  margin-bottom: 16px;
}
.member__avatar--photo { padding: 0; overflow: hidden; background: #f0ebe4; }
.member__avatar--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.member h4 { font-size: 17px; }
.member__role { font-size: 12.5px; color: var(--teal); letter-spacing: 0.04em; margin-top: 4px; }
.member p { margin: 12px 0 0; font-size: 13.4px; color: var(--muted); line-height: 1.75; }

/* ---------- 专家团队 ---------- */
.experts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 8px; }
.expert {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(175deg, #ffffff, #fdfbf8);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.expert:hover { border-color: rgba(148, 1, 3, 0.32); transform: translateY(-3px); }
.expert__photo {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #f0ebe4;
  border: 1px solid rgba(35, 28, 24, 0.10);
}
.expert__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.expert__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(25, 18, 14, 0.42), transparent);
  pointer-events: none;
}
.expert__body h3 { font-size: 19px; letter-spacing: 0.01em; }
.expert__role { font-size: 12.5px; color: var(--teal); letter-spacing: 0.03em; margin-top: 5px; line-height: 1.6; }
.expert__body p { margin: 11px 0 0; font-size: 13.2px; color: var(--muted); line-height: 1.78; }
.expert__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.expert__tags span {
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  background: rgba(35, 28, 24, 0.03);
}

/* ---------- 专家团队入口条 ---------- */
.expert-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  border-radius: 22px;
  border: 1px solid rgba(148, 1, 3, 0.22);
  background:
    radial-gradient(80% 160% at 0% 0%, rgba(148, 1, 3, 0.09), transparent 62%),
    linear-gradient(150deg, #fff7f5, #faf6f1 75%);
  flex-wrap: wrap;
}
.expert-strip__faces { display: flex; flex: 0 0 auto; }
.expert-strip__faces img {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #fff7f5;
  margin-left: -14px;
  background: #f0ebe4;
}
.expert-strip__faces img:first-child { margin-left: 0; }
.expert-strip__text { flex: 1 1 320px; min-width: 0; }
.expert-strip__text h3 { font-size: 19px; }
.expert-strip__text p { margin: 8px 0 0; font-size: 13.4px; color: var(--muted); line-height: 1.75; max-width: 62ch; }

/* ---------- 培训现场图墙 ---------- */
.gal-filters { margin-top: 32px; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 14px; margin-top: 24px; }
.gal__item {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f0ebe4;
  cursor: zoom-in;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.gal--teaser { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; }
.gal--teaser .gal__item { cursor: pointer; }
.gal__item:hover { border-color: rgba(148, 1, 3, 0.4); transform: translateY(-2px); }
.gal__item.is-hide { display: none; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease; }
.gal__item:hover img { transform: scale(1.06); filter: saturate(1.08) brightness(1.04); }
.gal__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 12px 10px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #ffffff;
  text-align: left;
  background: linear-gradient(to top, rgba(20, 12, 10, 0.9), rgba(20, 12, 10, 0));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.gal__item:hover .gal__cap, .gal__item:focus-visible .gal__cap { opacity: 1; transform: none; }
@media (hover: none) {
  .gal__cap { opacity: 1; transform: none; }
}

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(28, 20, 17, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 64px 76px;
}
.lightbox.is-open { display: grid; place-items: center; }
.lightbox__fig { margin: 0; width: min(1000px, 88vw); }
.lightbox__fig img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95);
  background: #f0ebe4;
}
.lightbox__fig figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 16px auto 0;
  font-size: 12.8px;
  color: var(--text-dim);
}
.lightbox__idx { font-family: var(--mono); color: var(--muted); flex: 0 0 auto; }
.lightbox__btn {
  position: absolute;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.lightbox__btn:hover { background: rgba(148, 1, 3, 0.1); border-color: rgba(148, 1, 3, 0.4); }
.lightbox__close { top: 20px; right: 20px; font-size: 16px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
body.is-locked { overflow: hidden; }

/* ---------- 案例列表 ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 40px; }
.case {
  padding: 22px 22px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 0.3s ease, background 0.3s ease;
}
a.case { display: block; color: inherit; text-decoration: none; }
.case:hover { border-color: rgba(148, 1, 3, 0.32); background: rgba(148, 1, 3, 0.04); }
.case[data-gal]::after {
  content: "现场照片 →";
  display: inline-block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--teal);
  opacity: 0.75;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.case[data-gal]:hover::after { opacity: 1; transform: translateX(3px); }
.case__k { font-family: var(--mono); font-size: 11px; color: var(--teal); letter-spacing: 0.12em; }
.case h4 { margin-top: 8px; font-size: 16px; }
.case p { margin: 8px 0 0; font-size: 13.4px; color: var(--muted); line-height: 1.75; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(148, 1, 3, 0.24);
  background:
    radial-gradient(90% 140% at 12% 0%, rgba(148, 1, 3, 0.10), transparent 60%),
    linear-gradient(150deg, #fff7f5, #faf6f1 72%);
  padding: 62px 56px;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -60px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 1, 3, 0.12), transparent 65%);
}
.cta h2 { font-size: clamp(26px, 3vw, 38px); max-width: 24ch; }
.cta p { margin: 16px 0 0; color: var(--text-dim); max-width: 56ch; }
.cta__actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 62px 0 34px; margin-top: 40px; background: rgba(255, 255, 255, 0.65); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h5 { margin: 0 0 14px; font-size: 13px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a, .footer ul li { font-size: 14px; color: var(--text-dim); }
.footer ul a:hover { color: var(--teal); }
.footer__about { font-size: 14px; color: var(--muted); margin: 16px 0 0; max-width: 36ch; line-height: 1.8; }
.footer__bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- 页头（内页） ---------- */
.pagehead { padding: 148px 0 54px; }
.pagehead h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.02em; }
.pagehead .lead { font-size: 17px; }

/* 提示条 */
.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(148, 1, 3, 0.24);
  background: rgba(148, 1, 3, 0.045);
  font-size: 13.6px;
  color: var(--text-dim);
  margin-top: 34px;
}
.notice b { color: var(--teal); }
.notice code {
  font-family: var(--mono);
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(35, 28, 24, 0.06);
  color: var(--text);
}

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .pcard:hover, .cap:hover, .member:hover { transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__carousel { max-width: 520px; margin: 28px auto 0; padding: 8px 0; }
  .hcar__viewport { height: 400px; }
  .grid-3 { grid-template-columns: 1fr; }
  .experts { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta { padding: 46px 32px; }
}

@media (max-width: 620px) {
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gal--teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal__cap { font-size: 11px; padding: 22px 9px 8px; }
  .lightbox { padding: 64px 12px 40px; }
  .lightbox__fig { width: 96vw; }
  .lightbox__fig img { max-height: 68vh; }
  .lightbox__prev { left: 6px; }
  .lightbox__next { right: 6px; }
  .lightbox__btn { width: 38px; height: 38px; }
  .lightbox__fig figcaption { font-size: 12px; }
  .expert-strip { padding: 22px; gap: 18px; }
  .expert-strip__faces img { width: 46px; height: 46px; margin-left: -12px; }
  .expert { grid-template-columns: 108px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .expert__body h3 { font-size: 17px; }
  .expert__body p { font-size: 12.8px; }
  .expert__tags span { font-size: 11px; }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 72px; left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 253, 250, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; }
  .nav__links a.is-active::after { display: none; }
  .nav__cta { margin: 6px 0 0; text-align: center; }
  .section { padding: 74px 0; }
  .hero { padding: 128px 0 72px; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .pgrid { grid-template-columns: 1fr; }
  .pagehead { padding: 122px 0 40px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .hero__carousel { display: none; }
  .logo-wall { grid-template-columns: 1fr 1fr; }
}
