/*
 Theme Name: 宸九商业运营
 Theme URI: https://www.chenjiu.example.com/
 Description: 餐饮与零售门店线上代运营、推广投放与内容增长的品牌官网主题（深蓝+橙商务风，全响应式）。上传即用，安装 ACF 免费版后可在后台可视化改文案/案例/服务。
 Version: 1.0.0
 Author: 宸九商业运营
 Author URI: https://www.chenjiu.example.com/
 License: MIT
 Text Domain: chenjiu
*/

/* =========================================================
   宸九商业运营 · 统一样式表
   设计系统：深蓝主色 + 橙色强调 · 现代商务风 · 全响应式
   ========================================================= */

/* ---------- 设计变量 ---------- */
:root {
  --primary: #16263f;
  --primary-2: #1f3a5f;
  --primary-soft: #eaf0f7;
  --accent: #ff6a3d;
  --accent-2: #ffb347;
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --bg-dark: #0f1c30;
  --text: #1c2532;
  --muted: #5c6b7e;
  --border: #e4eaf1;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(16, 32, 55, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 32, 55, 0.16);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 128px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--soft {
  background: var(--bg-soft);
}

/* ---------- 首页各栏目背景：中性灰阶两档交替（无黄/无蓝，header/footer 藏青锚定） ---------- */
#services { background: #f7f8f9; }   /* 近白灰 */
#cases    { background: #e9eaec; }   /* 浅中性灰 */
#about    { background: #f7f8f9; }   /* 近白灰 */
#process  { background: #e9eaec; }   /* 浅中性灰 */
#quotes   { background: #f7f8f9; }   /* 近白灰 */
#contact  { background: #e9eaec; }   /* 浅中性灰 */

.section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

/* 区块眉题（核心服务 / 我们是谁 / 服务流程 / 成功案例 / 客户口碑 / 开始合作） */
.section__eyebrow {
  display: inline-block;
  font-size: clamp(1.45rem, 2.9vw, 2rem);
  font-weight: 850;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1.15;
}

.section__title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.22;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}

/* 标题中的高亮词（如「六大全链路」）：放大 + 换色 + 荧光笔下划线 */
.section__title .hl {
  display: inline-block;
  color: var(--accent);
  font-size: 1.16em;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  padding: 0 0.08em;
  background: linear-gradient(180deg, transparent 62%, rgba(255, 106, 61, 0.26) 62%);
}

.section__sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.12rem;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 106, 61, 0.32);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 106, 61, 0.42);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  color: #fff;
  transition: color 0.3s var(--ease);
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand__name > span {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.05;
}

.brand__logo {
  height: 54px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  /* 原图为浅米色 + 透明底，在深色头部上增强亮度与投影，保证清晰可见 */
  filter: brightness(1.15) contrast(1.08) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  transition: filter 0.3s var(--ease);
}

.header.scrolled .brand__logo {
  filter: brightness(0.95) contrast(1.05) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.12));
}

.header.scrolled .brand {
  color: var(--primary);
}

.brand__mark {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.55rem;
  box-shadow: 0 8px 20px rgba(255, 106, 61, 0.4);
  overflow: hidden;
}

.brand__mark-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
}

.brand small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  opacity: 0.72;
  margin-top: 2px;
}

/* 桌面端：面板透明，子元素回到 .nav 的 flex 流（与重构前布局一致） */
.nav__panel {
  display: contents;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  position: relative;
  transition: color 0.25s var(--ease);
}

.header.scrolled .nav__links a {
  color: var(--text);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: 8px;
}

.header__cta {
  margin-left: 28px;
  flex-shrink: 0;
  padding: 12px 26px;
  font-size: 1rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.header.scrolled .nav__toggle span {
  background: var(--primary);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: #fff;
  background: radial-gradient(
      1200px 600px at 80% -10%,
      rgba(255, 106, 61, 0.35),
      transparent 60%
    ),
    linear-gradient(160deg, var(--primary) 0%, var(--bg-dark) 100%);
  background-size: 180% 180%;
  animation: heroBgShift 18s ease-in-out infinite;
  overflow: hidden;
}

@keyframes heroBgShift {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}

/* 浮动光球层（受鼠标视差影响） */
.hero__orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transform: translate(calc(var(--mx, 0) * 40px), calc(var(--my, 0) * 40px));
  transition: transform 0.25s ease-out;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.hero__orb--1 {
  width: 440px;
  height: 440px;
  top: -130px;
  right: -90px;
  background: radial-gradient(circle, rgba(255, 106, 61, 0.6), transparent 70%);
  animation: floatOrb 14s ease-in-out infinite;
}

.hero__orb--2 {
  width: 540px;
  height: 540px;
  bottom: -200px;
  left: -130px;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.5), transparent 70%);
  animation: floatOrb 18s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 320px;
  height: 320px;
  top: 42%;
  left: 52%;
  background: radial-gradient(circle, rgba(31, 58, 95, 0.7), transparent 70%);
  animation: floatOrb 22s ease-in-out infinite;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(46px, -34px) scale(1.1); }
  66% { transform: translate(-32px, 30px) scale(0.94); }
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
}

/* 首屏增长动效层：柱状图 + 折线图（贯穿最左到最右，位于蒙版/内容之下） */
.hero__chart-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__chart {
  width: 100%;
  height: 100%;
  display: block;
}

/* 跟随鼠标出现的行动按钮 */
.hero__growth {
  position: absolute;
  z-index: 6;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(255, 106, 61, 0.45);
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero__growth.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.hero__growth:hover {
  transform: translateY(-2px) scale(1.03);
}

.hero__inner {
  max-width: 820px;
}

/* 首屏内容错落入场 */
.hero__inner > * {
  animation: heroRise 0.85s var(--ease) both;
}

.hero__inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero__inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero__inner > *:nth-child(3) { animation-delay: 0.28s; }
.hero__inner > *:nth-child(4) { animation-delay: 0.42s; }
.hero__inner > *:nth-child(5) { animation-delay: 0.56s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__orb,
  .hero,
  .hero__inner > * {
    animation: none !important;
  }
  .hero__orbs { transform: none; }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  margin-bottom: 26px;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.25);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.hero h1 .hl {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  margin-top: 22px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
}

/* 打字机光标 */
.tw-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -2px;
  background: var(--accent-2);
  opacity: 0;
}

.tw.typing ~ .tw-caret {
  opacity: 1;
  animation: caretBlink 0.9s steps(1) infinite;
}

@keyframes caretBlink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tw.typing ~ .tw-caret { animation: none; opacity: 0; }
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 720px;
}

.stat__num {
  font-size: clamp(2.2rem, 4.6vw, 3rem);
  font-weight: 850;
  color: #fff;
  line-height: 1.05;
}

.stat__num .unit {
  color: var(--accent-2);
  font-size: 0.7em;
  margin-left: 2px;
}

.stat__label {
  margin-top: 4px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 子页头部 subhero ---------- */
.subhero {
  position: relative;
  color: #fff;
  background: radial-gradient(
      900px 460px at 85% -20%,
      rgba(255, 106, 61, 0.3),
      transparent 60%
    ),
    linear-gradient(160deg, var(--primary) 0%, var(--bg-dark) 100%);
  padding: calc(var(--header-h) + 64px) 0 72px;
  overflow: hidden;
}

.subhero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 75% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 75% 20%, #000, transparent 75%);
}

.subhero .container {
  position: relative;
  z-index: 2;
}

.subhero .crumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}

.subhero .crumb a:hover {
  color: var(--accent-2);
}

.subhero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.4rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.subhero h1 .hl {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhero p {
  margin-top: 16px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

/* ---------- 数据条 ---------- */
.marquee {
  background: var(--primary);
  color: #fff;
  padding: 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 56px;
  padding: 18px 0;
  white-space: nowrap;
  animation: scrollX 28s linear infinite;
}

.marquee__track span {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.marquee__track span b {
  color: var(--accent-2);
}

@keyframes scrollX {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 卡片网格 ---------- */
.grid {
  display: grid;
  gap: 26px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--accent);
  margin-bottom: 20px;
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

/* 卡片顶部：左侧图标 + 右侧序号标注（仅服务项目卡片使用） */
.card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.card__top .card__icon {
  margin-bottom: 0; /* 间距改由 .card__top 统一控制 */
}

/* 序号 1-6：直接替代原折线图图标，作为卡片主视觉 */
.card__num {
  position: relative;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-family: "Bahnschrift", "DIN Alternate", "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.95rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  background: linear-gradient(140deg, #fff2ec 0%, #ffe1d3 100%);
  border: 1px solid rgba(255, 106, 61, 0.22);
  box-shadow: 0 12px 24px -16px rgba(255, 106, 61, 0.75);
  transition: transform 0.34s var(--ease), background 0.34s var(--ease),
    color 0.34s var(--ease), box-shadow 0.34s var(--ease),
    border-color 0.34s var(--ease);
}

/* 徽章下方一道渐变短线，增加细节 */
.card__num::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ffb691);
  transition: background 0.34s var(--ease);
}

.card:hover .card__num {
  background: linear-gradient(140deg, var(--accent) 0%, #ff8f4d 100%);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px) rotate(-3deg);
  box-shadow: 0 16px 28px -12px rgba(255, 106, 61, 0.85);
}

.card:hover .card__num::after {
  background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 768px) {
  .card__num {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    font-size: 1.65rem;
  }
  .card__num::after {
    width: 17px;
    bottom: 6px;
  }
}

.card h3 {
  font-size: 1.26rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--primary);
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.card ul.ticks {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.card ul.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 0.94rem;
  color: var(--text);
}

.card ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 106, 61, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ff6a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- 关于 ---------- */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: stretch;
}

.about__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(150deg, var(--primary-2), var(--primary));
  color: #fff;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.about__media .chip,
.about__media blockquote,
.about__media cite {
  /* 旧结构保留样式，新结构不再使用 */
}

/* ---------- 关于我们：图片背景 + 文字核心的自动轮播 ---------- */
.about-slides {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
}

.about-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
  z-index: 1;
}

.about-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* 图片仅作背景：轻微推近制造呼吸感，遮罩保证文字可读；
   统一滤镜兜底：任何素材进来都先压到一致的明度/饱和度，避免轮播时忽明忽暗 */
.about-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: brightness(0.88) saturate(0.95) contrast(1.04);
  transition: transform 7s linear;
}

.about-slide.is-active img {
  transform: scale(1);
}

.about-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(22, 38, 63, 0.10) 0%, rgba(22, 38, 63, 0.22) 42%, rgba(22, 38, 63, 0.55) 70%, rgba(22, 38, 63, 0.88) 100%);
}

.about-slide__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 38px 30px 34px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.about-slide__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffb08a;
  background: rgba(255, 106, 61, 0.18);
  border: 1px solid rgba(255, 106, 61, 0.4);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.about-slide__body h3 {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.about-slide__body p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

/* 文字入场：错峰上浮，制造「灵动」感 */
.about-slide__eyebrow,
.about-slide__body h3,
.about-slide__body p {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.about-slide.is-active .about-slide__eyebrow {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

.about-slide.is-active .about-slide__body h3 {
  opacity: 1;
  transform: none;
  transition-delay: 0.27s;
}

.about-slide.is-active .about-slide__body p {
  opacity: 1;
  transform: none;
  transition-delay: 0.39s;
}

/* 轮播指示器：横条 + 进度填充 */
.about-dots {
  display: flex;
  gap: 8px;
  flex: none;
  margin: 14px 2px 2px;
}

.about-dot {
  position: relative;
  appearance: none;
  border: none;
  padding: 0;
  width: 38px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.about-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.about-dot.is-active {
  background: rgba(255, 255, 255, 0.24);
}

.about-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
  animation: cj-dot-fill 5.5s linear forwards;
}

@keyframes cj-dot-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* 悬停整卡时同时暂停 JS 计时与进度条动画 */
.about__media:hover .about-dot.is-active::after {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .about-slide img,
  .about-slide__eyebrow,
  .about-slide__body h3,
  .about-slide__body p {
    transition: none !important;
    transform: none !important;
    opacity: 1;
  }
  .about-dot.is-active::after {
    animation: none;
    transform: scaleX(1);
  }
}

.about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__text h2 {
  font-size: clamp(1.95rem, 4vw, 2.95rem);
  color: var(--primary);
  line-height: 1.26;
  margin-bottom: 18px;
}

.about__text p {
  color: var(--muted);
  margin-bottom: 16px;
}

.about__points {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.about__points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about__points .ic {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
}

/* ---------- 流程时间线 ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.step__no {
  counter-increment: step;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.step__no::before {
  content: counter(step);
}

.step h4 {
  color: var(--primary);
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- 案例 ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.case {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.case:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* 整卡可点击：覆盖层链接（避免嵌套 <a>） */
.case__link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.case__cover {
  position: relative;
  z-index: 1;
}

/* ---------- 案例横向滚动 ---------- */
.cases-roll {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.cases-roll__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollX 48s linear infinite;
}
.cases-roll:hover .cases-roll__track {
  animation-play-state: paused;
}
.cases-roll .case {
  flex: 0 0 360px;
  width: 360px;
}

/* 成功案例横向全屏：滚动区脱离容器，铺满视口宽度 */
.cases-roll--full {
  padding: 0 24px;
}

.case__cover {
  height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.case__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case__cover--1 {
  background: linear-gradient(135deg, #ff6a3d, #ffb347);
}

.case__cover--2 {
  background: linear-gradient(135deg, #1f3a5f, #2c6e9e);
}

.case__cover--3 {
  background: linear-gradient(135deg, #7b4ed6, #b06ad6);
}

.case__cover--4 {
  background: linear-gradient(135deg, #1aa179, #4fd1a5);
}

.case__cover--5 {
  background: linear-gradient(135deg, #d6496a, #ff8aa3);
}

.case__cover--6 {
  background: linear-gradient(135deg, #2b3a67, #4a5fa8);
}

/* ---------- 首页案例：4 列全宽网格 + 灵动 hover ---------- */
.cases-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 0 24px;
  margin-top: 6px;
}

.cases-home-more {
  text-align: center;
  margin-top: 40px;
}

/* 灵动：上浮 + 微缩放 + 橙色辉光阴影 + 顶部渐变描边生长 */
.cases-home-grid .case {
  transition: transform 0.42s cubic-bezier(.2, .7, .25, 1),
              box-shadow 0.42s var(--ease),
              border-color 0.42s var(--ease);
  will-change: transform;
}

.cases-home-grid .case::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s var(--ease);
  z-index: 5;
}

.cases-home-grid .case:hover {
  transform: translateY(-12px) scale(1.025);
  box-shadow: 0 24px 46px -20px rgba(255, 106, 61, .5),
              0 12px 26px -14px rgba(22, 38, 63, .3);
  border-color: rgba(255, 106, 61, .55);
}

.cases-home-grid .case:hover::before {
  transform: scaleX(1);
}

/* 封面图占卡片约 58%（260px / 文字区 ≈190px） */
.cases-home-grid .case__cover {
  height: 260px;
}
.cases-home-grid .case__cover img {
  transition: transform 0.65s cubic-bezier(.2, .7, .25, 1);
}

.cases-home-grid .case:hover .case__cover img {
  transform: scale(1.12);
}

/* 悬停时标题与指标数字染橙，呼应品牌色 */
.cases-home-grid .case__body h4,
.cases-home-grid .case__metrics b {
  transition: color 0.3s var(--ease);
}

.cases-home-grid .case:hover .case__body h4,
.cases-home-grid .case:hover .case__metrics b {
  color: var(--accent);
}

@media (max-width: 1180px) {
  .cases-home-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .cases-home-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 520px) {
  .cases-home-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .cases-home-grid .case,
  .cases-home-grid .case__cover img,
  .cases-home-grid .case::before {
    transition: none;
  }
  .cases-home-grid .case:hover {
    transform: none;
  }
}

/* ---------- 案例归档页：多列网格（与首页卡片尺寸一致）+ 分类筛选 ---------- */
.cases-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.chip-filter {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.chip-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.chip-filter.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 106, 61, 0.3);
}

/* 多列网格：桌面 3 列，平板 2 列，手机 1 列（卡片与首页 .case 同尺寸） */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.cases-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 案例子页：流式排版 ---------- */
.subhero__tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  margin: 0 8px 18px 0;
  color: #fff;
  text-decoration: none;
}

.subhero__tag:hover {
  background: rgba(255, 255, 255, 0.24);
}

.subhero__tag--text {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  cursor: default;
}

.subhero__client {
  margin-top: 14px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

.case-flow {
  padding: 72px 0 100px;
}

.case-flow .container {
  max-width: 860px;
}

.case-flow__cover {
  position: relative;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 48px;
  box-shadow: var(--shadow);
}

.case-flow__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-flow__summary {
  font-size: 1.32rem;
  line-height: 1.65;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 40px;
}

.case-flow__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-bottom: 52px;
}

.case-flow__metrics .metric {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 26px 20px;
  text-align: center;
}

.case-flow__metrics .metric b {
  display: block;
  font-size: 2.1rem;
  color: var(--accent);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.case-flow__metrics .metric span {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}

.case-flow__body {
  font-size: 1.06rem;
  color: var(--text);
  line-height: 1.95;
}

.case-flow__body h2,
.case-flow__body h3 {
  color: var(--primary);
  margin: 34px 0 14px;
  line-height: 1.3;
}

.case-flow__body h2 { font-size: 1.5rem; }
.case-flow__body h3 { font-size: 1.22rem; }

.case-flow__body p { margin-bottom: 18px; }

.case-flow__body ul { padding-left: 22px; margin-bottom: 18px; }

.case-flow__body li { margin-bottom: 10px; list-style: disc; }

/* 案例正文表格：藏青表头 + 斑马纹，匹配全站中性灰/藏青基调 */
.case-flow__body table,
.case-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 26px;
  font-size: 0.98rem;
  line-height: 1.7;
  background: #fff;
  border: 1px solid #e3e7ec;
  border-radius: var(--radius, 12px);
  overflow: hidden;
}
.case-flow__body table th,
.case-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
}
.case-flow__body table td,
.case-table td {
  padding: 11px 16px;
  border-top: 1px solid #eef1f4;
}
.case-flow__body table tbody tr:nth-child(even),
.case-table tbody tr:nth-child(even) {
  background: #f7f8f9;
}

/* ---------- 运营洞察（cj_article）正文：GEO 友好排版（H1-H3 / 表格 / FAQ 结构化块） ---------- */
.article-body {
  padding: 60px 0 30px;
}

.article-body__cover {
  margin: 0 0 36px;
  border-radius: var(--radius, 16px);
  overflow: hidden;
}

.article-body__cover img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body__content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.95;
}

.article-body__content h2,
.article-body__content h3 {
  color: var(--primary);
  margin: 38px 0 14px;
  line-height: 1.35;
}

.article-body__content h2 { font-size: 1.55rem; }
.article-body__content h3 { font-size: 1.24rem; }

.article-body__content p { margin-bottom: 18px; }

.article-body__content ul,
.article-body__content ol { padding-left: 22px; margin-bottom: 18px; }

.article-body__content li { margin-bottom: 10px; }

/* 表格：AI 最易抽取为答案的结构化块 */
.article-body__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 26px;
  font-size: 1rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(22, 38, 63, 0.06);
}

.article-body__content th,
.article-body__content td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(22, 38, 63, 0.08);
  text-align: left;
}

.article-body__content th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

/* FAQ 块：生成式引擎高频引用的问答结构 */
.article-body__content .faq {
  border: 1px solid rgba(22, 38, 63, 0.1);
  border-radius: 12px;
  padding: 6px 20px;
  margin: 22px 0;
  background: #fff;
}

.article-body__content .faq__item { padding: 14px 0; border-bottom: 1px solid rgba(22, 38, 63, 0.06); }
.article-body__content .faq__item:last-child { border-bottom: 0; }
.article-body__content .faq__q { font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.article-body__content .faq__a { color: var(--text); }

.article-body__cta {
  max-width: 760px;
  margin: 56px auto 0;
  padding: 40px;
  background: var(--bg-soft, #f4f5f7);
  border-radius: var(--radius, 16px);
  text-align: center;
}

.article-body__cta h3 { color: var(--primary); font-size: 1.4rem; margin-bottom: 10px; }
.article-body__cta p { color: var(--text); margin-bottom: 22px; }

.article-body__cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.case-flow__method {
  margin-top: 40px;
  padding: 22px 26px;
  background: var(--bg-soft, #f5f7fb);
  border: 1px solid rgba(22, 38, 63, 0.1);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.8;
}

.case-flow__method a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.case-flow__method a:hover {
  text-decoration: underline;
}

.case-flow__cta {
  margin-top: 60px;
  padding: 52px 40px;
  background: linear-gradient(150deg, var(--primary), var(--primary-2));
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
}

.case-flow__cta h3 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.case-flow__cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 26px;
  font-size: 1.05rem;
}

.case-flow__cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 768px) {
  .case-flow__cover { height: 240px; padding: 22px; font-size: 1.2rem; }
  .case-flow__summary { font-size: 1.12rem; }
  .case-flow__cta { padding: 40px 24px; }
}

.case__body {
  padding: 24px;
}

.case__body .tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--accent);
  background: rgba(255, 106, 61, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-weight: 600;
}

.case__body h4 {
  color: var(--primary);
  font-size: 1.16rem;
  margin-bottom: 10px;
}

.case__body p {
  color: var(--muted);
  font-size: 0.94rem;
}

.case__metrics {
  margin-top: 18px;
  display: flex;
  gap: 22px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.case__metrics div b {
  display: block;
  font-size: 1.3rem;
  color: var(--primary);
}

.case__metrics div span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- 评价 ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.quote {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote p {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.6;
  /* 口碑文案硬上限：最多三行，超出省略；并预留三行高度使卡片等高对齐 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(0.92rem * 1.6 * 3);
}

/* 客户口碑卡片右上角标签（必吃榜品牌 / 非遗品牌 等） */
.quote__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #e0533a);
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(224, 83, 58, 0.28);
  letter-spacing: 0.5px;
}

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

.quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-2), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  flex: none;
  box-shadow: 0 8px 18px rgba(31, 58, 95, 0.25);
  overflow: hidden;
}

.quote__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.quote__id {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.quote__who b {
  display: block;
  color: var(--primary);
  font-size: 1rem;
}

.quote__who span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- 客户口碑三层滚动 ---------- */
.quotes-roll {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
/* 客户口碑：横向全屏滚动，脱离容器铺满视口宽度 */
.quotes-roll--full {
  padding: 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.quotes-row {
  overflow: hidden;
}
.quotes-row__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollX 42s linear infinite;
}
/* 第 1、3 行向左滚动，第 2 行向右滚动；速度略有差异形成层次 */
.quotes-row--1 .quotes-row__track,
.quotes-row--3 .quotes-row__track {
  animation-direction: normal;
}

.quotes-row--2 .quotes-row__track {
  animation-duration: 50s;
  animation-direction: reverse;
}

.quotes-row--3 .quotes-row__track {
  animation-duration: 58s;
}
.quotes-roll:hover .quotes-row__track {
  animation-play-state: paused;
}
.quotes-row .quote {
  flex: 0 0 240px;
  width: 240px;
}

/* 移动端：横向滚动卡片适度收窄，避免溢出过宽 */
@media (max-width: 768px) {
  .cases-roll .case {
    flex-basis: 78vw;
    width: 78vw;
  }
  .quotes-row .quote {
    flex-basis: 68vw;
    width: 68vw;
  }
}

/* ---------- 联系 ---------- */
.contact {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: stretch; /* 左列（资讯墙）与右列（表单）等高 */
}

.contact__info h2 {
  font-size: clamp(1.9rem, 3.9vw, 2.9rem);
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.24;
}

.contact__info p {
  color: var(--muted);
  margin-bottom: 28px;
}

.contact__list {
  display: grid;
  gap: 18px;
}

.contact__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact__list .ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.contact__list b {
  color: var(--primary);
  display: block;
  font-size: 0.95rem;
}

.contact__list span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- 联系区：关注二维码（与表单合并：左「加微信」常驻二维码 + 右平台悬停二维码） ---------- */
.contact__side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* 表单 + 关注我们：合并为同一张白色面板 */
.contact__panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: visible;
  flex: 1 1 auto; /* 等高布局下填满右列，避免卡片下方留空 */
}

.contact__panel .form {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 32px 30px 26px;
}

.follow-box {
  position: relative;
  z-index: 5;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 22px 30px 26px;
  display: grid;
  grid-template-columns: 218px 1fr;
  gap: 22px;
  align-items: center;
}

/* 左：加微信（二维码常驻可见） */
.follow-wx {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.follow-wx__qr {
  width: 128px;
  height: 128px;
  flex: none;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(16, 32, 55, 0.08);
}

.follow-wx__meta b {
  display: block;
  color: var(--primary);
  font-size: 1.18rem;
  font-weight: 800;
}

.follow-wx__meta span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  margin-top: 5px;
}

.follow-wx__meta em {
  display: block;
  font-style: normal;
  margin-top: 9px;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
}

/* 右：平台卡片，鼠标悬停出二维码 */
.follow-list__title {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 14px;
  line-height: 1.35;
}

.follow-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.follow-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.follow-chip:hover,
.follow-chip:focus {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  outline: none;
}

.follow-chip__badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
  flex: none;
  box-shadow: 0 5px 12px rgba(16, 32, 55, 0.16);
}

.follow-chip__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 5px 12px rgba(16, 32, 55, 0.16);
}

.follow-chip--mp .follow-chip__badge {
  background: linear-gradient(135deg, #07c160, #0ad07a);
}

.follow-chip--xhs .follow-chip__badge {
  background: linear-gradient(135deg, #ff2442, #ff6b80);
}


.follow-list__hint {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .follow-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .follow-chips {
    grid-template-columns: 1fr;
  }

  .follow-box {
    padding: 20px 18px 22px;
  }

  .contact__panel .form {
    padding: 26px 18px 22px;
  }
}

/* 联系方式：2×2 信息块，比原来的堆叠列表更整齐 */
.contact__list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact__list--grid li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact__list--grid li:hover {
  border-color: rgba(255, 106, 61, 0.5);
  box-shadow: var(--shadow);
}

@media (max-width: 620px) {
  .contact__list--grid {
    grid-template-columns: 1fr;
  }
}

/* 品牌 logo（悬停弹二维码） */
.contact__logo {
  position: relative;
  cursor: pointer;
  outline: none;
}

.contact__logo .brand__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
  font-size: 1.7rem;
  box-shadow: 0 10px 24px rgba(255, 106, 61, 0.4);
  transition: transform 0.3s var(--ease);
}

.contact__logo:hover .brand__mark,
.contact__logo:focus .brand__mark {
  transform: translateY(-4px) rotate(-4deg);
}

.follow__main {
  flex: 1;
  min-width: 260px;
}

.follow__title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.follow__row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.follow__chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.follow__chip:hover,
.follow__chip:focus {
  transform: translateY(-4px) scale(1.04);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 12px 26px rgba(255, 106, 61, 0.22);
  outline: none;
}

.follow__ico {
  font-size: 1.2rem;
  line-height: 1;
}

/* 悬停 / 聚焦弹出的二维码 */
.qr-host {
  position: relative;
}

.qr-pop {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 174px;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s var(--ease);
  z-index: 30;
  pointer-events: none;
}

/* 小三角 */
.qr-pop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
}

.qr-pop img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  display: block;
}

.qr-pop em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
}

.qr-host:hover .qr-pop,
.qr-host:focus-within .qr-pop,
.qr-host:focus .qr-pop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 760px) {
  .contact__follow {
    gap: 18px;
  }
  .qr-pop {
    /* 移动端空间小，二维码改为贴左避免溢出右侧 */
    left: 0;
    transform: translateX(0) translateY(8px);
  }
  .qr-host:hover .qr-pop,
  .qr-host:focus-within .qr-pop,
  .qr-host:focus .qr-pop {
    transform: translateX(0) translateY(0);
  }
  .qr-pop::after {
    left: 24px;
  }
}

.form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form .field {
  margin-bottom: 18px;
}

.form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.form textarea {
  resize: vertical;
  min-height: 110px;
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form .btn--primary {
  width: 100%;
  margin-top: 6px;
}

.form__note {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}

.form__success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(26, 161, 121, 0.12);
  color: #127a59;
  font-size: 0.92rem;
  border: 1px solid rgba(26, 161, 121, 0.3);
}

.form__success.show {
  display: block;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 28px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer__about p {
  font-size: 0.92rem;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.62);
}

.footer__col h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
  padding-left: 13px;
  position: relative;
}

.footer__col h5::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.footer__col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: var(--accent-2);
}

.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__addr {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  padding: 6px 0;
  line-height: 1.5;
}

.footer__certs {
  list-style: none;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.footer__certs li {
  position: relative;
  padding-left: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer__certs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.footer__beian {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 滚动揭示动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.2s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.3s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee__track {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- 案例分页 ---------- */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 50px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s var(--ease);
}

.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff;
}

.pagination .current {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 106, 61, 0.3);
}

/* ---------- 404 ---------- */
.error-404 {
  padding: 60px 0 40px;
  text-align: center;
}

.error-404__code {
  display: block;
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--primary-soft);
  margin-bottom: 10px;
}

.error-404 h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
  margin-bottom: 14px;
}

.error-404 p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.error-404__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- 通用内页正文（来自 page.php） ---------- */
.entry-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--primary);
  margin: 1.8em 0 0.6em;
  line-height: 1.3;
}

.entry-content p {
  margin-bottom: 1.2em;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.2em;
  padding-left: 1.5em;
}

.entry-content li {
  margin-bottom: 0.4em;
}

.entry-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 行业资讯：内嵌于「开始合作」栏目内 ---------- */
.contact__main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 0; /* 防止 grid 子项因长标题溢出 */
  min-height: 0;
  height: 100%;
}

.contact__news {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 14px;
  flex: 1 1 0; /* 自然贡献为 0，只做填充：保证右表单卡片才是整行高度的基准 */
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.contact__news-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.contact__news-eyebrow {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.contact__news-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

/* ---------- 行业资讯：纵向滚动新闻墙（紧凑内嵌版） ---------- */
.news-rss-link {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.news-rss-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 固定高度视口 + 上下渐隐遮罩，营造「新闻墙」滚动观感；
   flex:1 1 0 让资讯墙只填充「左列高度 − 标题块」，整行高度由右侧表单卡片决定 */
.news-wall {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}

.news-wall__track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: scrollY 60s linear infinite;
}

.news-wall:hover .news-wall__track {
  animation-play-state: paused;
}

@keyframes scrollY {
  to {
    transform: translateY(-50%);
  }
}

/* 每条资讯：来源徽章 → 标题 → 简介 → 日期（纵向卡片） */
.news-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.news-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.news-item__src {
  flex: none;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 106, 61, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.news-item__title {
  min-width: 0; /* 允许文字截断 */
  color: var(--text);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 简介：小字、最多两行截断 */
.news-item__sum {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-item__foot {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.9;
}

.news-empty {
  text-align: center;
  color: var(--muted);
  padding: 28px 0;
  font-size: 0.96rem;
}

@media (max-width: 768px) {
  .news-wall {
    flex: 0 0 auto;
    height: 180px;
  }
  .news-item {
    gap: 7px;
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-wall__track {
    animation: none;
  }
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid--3,
  .cases,
  .quotes {
    grid-template-columns: repeat(2, 1fr);
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__media {
    min-height: 380px;
  }
  /* 单列堆叠时左列不再被拉伸，资讯墙需给定固定高度，否则会塌成 0 */
  .contact__main {
    height: auto;
  }
  .contact__news,
  .news-wall {
    flex: 0 0 auto;
  }
  .news-wall {
    height: 300px;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 68px 0;
  }
  :root {
    --header-h: 68px;
  }
  /* 移动端：菜单 + CTA 收进从 header 下方滑出的面板，顶栏只留 logo + 汉堡键，彻底消除重叠 */
  .nav__panel {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 14px 24px 26px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    z-index: 99;
  }
  .nav__panel.open {
    transform: translateY(0);
  }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
  }
  .nav__links a {
    color: var(--text);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav__links a::after {
    display: none;
  }
  .nav__panel .header__cta {
    margin: 16px 0 0;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  .brand {
    gap: 10px;
    font-size: 1.3rem;
  }
  .brand__name > span {
    font-size: 1.3rem;
  }
  .brand__mark {
    width: 46px;
    height: 46px;
    border-radius: 11px;
  }
  .brand__mark-logo {
    width: 38px;
    height: 38px;
  }
  .brand small {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
  }
  .nav__toggle {
    display: flex;
  }
  .nav__toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 48px;
  }
  .grid--3,
  .grid--2,
  .cases,
  .quotes,
  .process {
    grid-template-columns: 1fr;
  }
  .form .row {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer__bottom {
    flex-direction: column;
  }
}

/* =========================================================
   左侧悬浮栏目导航 + 返回顶部
   ========================================================= */

/* 右侧悬浮栏目导航：极简圆点 + 悬停向左展开的栏目名 */
.side-nav {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
}

.side-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  text-decoration: none;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
}

.side-nav__dot {
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  /* 白环 + 暗环双层描边：深色 hero 上靠白环可见，浅色栏目区靠暗环可见 */
  box-shadow: 0 0 0 2px rgba(22, 38, 63, 0.4);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.side-nav__label {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  margin-right: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(22, 38, 63, 0.92);
  color: #fff;
  box-shadow: 0 6px 18px rgba(8, 18, 33, 0.22);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s var(--ease);
}

.side-nav__item:hover {
  transform: translateX(-2px);
}

.side-nav__item:hover .side-nav__dot {
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(22, 38, 63, 0.4), 0 0 12px rgba(255, 106, 61, 0.7);
}

.side-nav__item:hover .side-nav__label,
.side-nav__item.is-active .side-nav__label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.side-nav__item.is-active .side-nav__dot {
  background: var(--accent);
  transform: scale(1.35);
  box-shadow: 0 0 0 3px rgba(22, 38, 63, 0.2), 0 0 16px rgba(255, 106, 61, 0.55);
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.85);
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.to-top__btn {
  width: 48px;
  height: 48px;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(255, 106, 61, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.to-top__btn svg {
  width: 22px;
  height: 22px;
}

.to-top__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255, 106, 61, 0.52);
}

.to-top__btn:active {
  transform: translateY(0) scale(0.94);
}

/* 窄屏隐藏左侧悬浮导航（内容区会顶到边缘，避免遮挡） */
@media (max-width: 1340px) {
  .side-nav {
    display: none;
  }
}

/* 尊重「减少动态效果」系统设置 */
@media (prefers-reduced-motion: reduce) {
  .side-nav__item,
  .side-nav__dot,
  .side-nav__label,
  .to-top,
  .to-top__btn {
    transition: none;
  }
}

/* ---------- 网站地图页（HTML Sitemap） ---------- */
.sitemap-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.sitemap-group h2 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.sitemap-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sitemap-group li a {
  color: var(--text);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.sitemap-group li a:hover {
  color: var(--accent);
}
.sitemap-note {
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--text-soft);
}
@media (max-width: 760px) {
  .sitemap-groups {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- pillar 内链案例簇（topic cluster 织网） ---------- */
.article-body__content ul.case-cluster {
  list-style: none;
  margin: 20px 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-body__content ul.case-cluster li {
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  line-height: 1.7;
}
.article-body__content ul.case-cluster a {
  font-weight: 600;
  color: var(--primary);
}
