/* ==========================================================================
   恒锐精密 — 响应式 B2B 制造业主站样式表
   设计原则：移动优先 / CSS 变量驱动 / 原生 Grid+Flex / 零依赖
   ========================================================================== */

/* ---------- 1. 设计令牌（Design Tokens） ---------- */
:root {
  /* 品牌色：工业蓝（信任感）+ 行动橙（转化） */
  --c-primary: #0b4f8a;
  --c-primary-dark: #073763;
  --c-primary-light: #e8f1f9;
  --c-accent: #e8590c;
  --c-accent-dark: #c8470a;
  --c-accent-light: #fff2e8;

  /* 中性色 */
  --c-ink: #16202b;
  --c-text: #33414f;
  --c-muted: #64748b;
  --c-line: #e2e8f0;
  --c-bg: #ffffff;
  --c-bg-soft: #f6f8fb;
  --c-bg-dark: #0f2537;

  /* 语义色 */
  --c-success: #0f7b46;
  --c-success-bg: #e7f6ee;

  /* 排版 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fz-h1: clamp(1.9rem, 1.3rem + 2.6vw, 3.25rem);
  --fz-h2: clamp(1.45rem, 1.15rem + 1.4vw, 2.15rem);
  --fz-h3: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --fz-body: clamp(0.975rem, 0.94rem + 0.18vw, 1.075rem);
  --lh-body: 1.75;

  /* 间距与容器 */
  --container: 1200px;
  --container-narrow: 780px;
  --sec-y: clamp(3rem, 2rem + 5vw, 6.5rem);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(15, 37, 55, 0.07);
  --shadow-md: 0 8px 24px -8px rgba(15, 37, 55, 0.16);
  --shadow-lg: 0 20px 45px -18px rgba(15, 37, 55, 0.3);

  /* 动效 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.25s;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* 锚点定位避开固定导航 */
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  color: var(--c-ink);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fz-h1);
}
h2 {
  font-size: var(--fz-h2);
}
h3 {
  font-size: var(--fz-h3);
}

p {
  text-wrap: pretty;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--c-accent);
}

ul,
ol {
  padding-left: 1.15em;
}

/* 无障碍：保留键盘焦点可见 */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 跳转到主内容（键盘用户） */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--c-accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ---------- 3. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--sec-y);
}

.section--soft {
  background: var(--c-bg-soft);
}

.section--dark {
  background: var(--c-bg-dark);
  color: #c9d6e2;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.grid {
  display: grid;
  gap: clamp(1.25rem, 0.9rem + 1.6vw, 2.25rem);
}

/* 自适应列：卡片宽度不足 260px 自动换行 */
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

@media (min-width: 900px) {
  .grid--3-1 {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }
}

.stack > * + * {
  margin-top: 1rem;
}

.text-center {
  text-align: center;
}
.mx-auto {
  margin-inline: auto;
}
.measure {
  max-width: 62ch;
}

/* ---------- 4. 章节标题 ---------- */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.65rem;
}

.lede {
  font-size: clamp(1.02rem, 0.98rem + 0.35vw, 1.2rem);
  color: var(--c-muted);
  margin-top: 0.85rem;
}

.section--dark .lede {
  color: #a8bacb;
}

/* ---------- 5. 顶部导航 ---------- */
.topbar {
  background: var(--c-bg-dark);
  color: #c9d6e2;
  font-size: 0.85rem;
  padding-block: 0.45rem;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.topbar a {
  color: #dbe6f0;
}
.topbar a:hover {
  color: #fff;
}

.topbar__tag {
  display: none;
}
@media (min-width: 720px) {
  .topbar__tag {
    display: inline;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--dur) var(--ease);
}

.site-header.is-stuck {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--c-ink);
  font-weight: 800;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--c-primary);
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand__text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  line-height: 1.2;
}

.nav__menu {
  display: none;
  align-items: center;
  gap: clamp(1rem, 0.4rem + 1.2vw, 1.9rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 960px) {
  .nav__menu {
    display: flex;
  }
}

.nav__link {
  color: var(--c-text);
  font-weight: 600;
  font-size: 0.975rem;
  padding-block: 0.4rem;
  position: relative;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--c-primary);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--c-accent);
  border-radius: 2px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav__phone {
  display: none;
  font-weight: 800;
  color: var(--c-primary);
  font-size: 1.05rem;
  white-space: nowrap;
}
@media (min-width: 1100px) {
  .nav__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
}

/* 汉堡按钮 */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}
@media (min-width: 960px) {
  .nav__toggle {
    display: none;
  }
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: relative;
}
.nav__toggle span::before {
  top: -6px;
}
.nav__toggle span::after {
  top: 4px;
}

.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav__toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* 移动端抽屉 */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: #fff;
  padding: 6rem 1.5rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
}

.mobile-nav li + li {
  border-top: 1px solid var(--c-line);
}

.mobile-nav a {
  display: block;
  padding: 1rem 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-ink);
}

.mobile-nav__cta {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.975rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(232, 89, 12, 0.55);
}
.btn--primary:hover {
  background: var(--c-accent-dark);
  color: #fff;
}

.btn--outline {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: transparent;
}
.btn--outline:hover {
  background: var(--c-primary);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--c-primary);
}
.btn--light:hover {
  background: var(--c-primary-light);
  color: var(--c-primary);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn-row--center {
  justify-content: center;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- 7. 英雄区 ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, #0f2537 0%, #123a55 55%, #0b4f8a 100%);
  color: #dbe6f0;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  padding-block: clamp(3rem, 2rem + 6vw, 6rem);
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
  }
}

.hero h1 {
  color: #fff;
}

.hero__sub {
  font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.22rem);
  color: #b6c8d8;
  margin-top: 1.1rem;
  max-width: 56ch;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.hero__badges li {
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e8eff6;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.hero__cta {
  margin-top: 2rem;
}

.hero__note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: #94a9bc;
}

.hero__card {
  background: #fff;
  color: var(--c-text);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1.4vw, 2rem);
  box-shadow: var(--shadow-lg);
}

.hero__card h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

/* 首屏「可直接拨号」大按钮 */
.quick-contact {
  display: grid;
  gap: 0.7rem;
}

.quick-contact a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  font-weight: 700;
  color: var(--c-ink);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.quick-contact a:hover {
  background: var(--c-primary-light);
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.quick-contact small {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--c-muted);
}

/* 首屏卡片内的小程序入口：白底码贴浅蓝块，保证扫码静区干净 */
.hero__qr {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.85rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: var(--c-primary-light);
  border: 1px solid #cbdeee;
}

.hero__qr img {
  display: block;
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  background: #fff;
  padding: 4px;
  border-radius: 8px;
}

.hero__qr-body strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--c-primary-dark);
}

.hero__qr-body span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--c-text);
}

@media (max-width: 420px) {
  .hero__qr {
    flex-direction: column;
    text-align: center;
    gap: 0.7rem;
  }
  .hero__qr img {
    width: 136px;
    height: 136px;
  }
}

/* ---------- 8. 卡片 ---------- */
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1vw, 1.85rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd9e6;
}

.card--plain {
  box-shadow: none;
  background: transparent;
}
.card--plain:hover {
  transform: none;
  box-shadow: none;
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--c-muted);
  font-size: 0.975rem;
}

/* ---------- 9. 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.stat__num {
  font-size: clamp(1.85rem, 1.4rem + 2vw, 2.75rem);
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat__num sup {
  font-size: 0.5em;
  font-weight: 700;
  vertical-align: super;
  margin-left: 0.1em;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--c-muted);
  margin-top: 0.35rem;
}

/* ---------- 10. 关键事实表（AI 易摘录） ---------- */
.facts {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.facts caption {
  text-align: left;
  font-weight: 700;
  color: var(--c-ink);
  padding: 0.85rem 1rem;
  background: var(--c-primary-light);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--c-line);
}

.facts th,
.facts td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}

.facts th {
  width: 34%;
  font-weight: 700;
  color: var(--c-ink);
  background: #fbfdff;
}

.facts tr:last-child th,
.facts tr:last-child td {
  border-bottom: 0;
}

.facts-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 窄屏下表格横向滚动，避免单元格被压成逐字换行 */
@media (max-width: 620px) {
  .facts {
    min-width: 470px;
  }
  .facts th {
    width: 30%;
  }
  /* 右侧渐隐提示「还能往右滑」 */
  .facts-wrap {
    background: linear-gradient(to left, rgba(11, 79, 138, 0.09), transparent 28px)
      right center / 33px 100% no-repeat;
  }
}

/* ---------- 11. FAQ 手风琴 ---------- */
.faq-item {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 0.85rem;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.05rem 1.25rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--c-ink);
  cursor: pointer;
  font-family: inherit;
}

.faq-item__q:hover {
  color: var(--c-primary);
  background: #fafcff;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.2rem;
  transition: transform var(--dur) var(--ease);
  color: var(--c-accent);
}

.faq-item__q[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__a {
  padding: 0 1.25rem 1.15rem;
  color: var(--c-text);
}

.faq-item__a > * + * {
  margin-top: 0.75rem;
}

.faq-item__a[hidden] {
  display: none;
}

/* ---------- 12. 面包屑 ---------- */
.breadcrumb {
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg-soft);
  font-size: 0.88rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  color: var(--c-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: #b6c3d0;
}

.breadcrumb [aria-current="page"] {
  color: var(--c-ink);
  font-weight: 600;
}

/* ---------- 13. 通用列表打勾 ---------- */
.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.99rem;
}

.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.28rem;
  background: var(--c-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3E%3Cpath d='M8.1 14.2 4 10.1l1.4-1.4 2.7 2.7L14.6 5l1.4 1.4z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  border-radius: 50%;
}

.section--dark .checklist li::before {
  background-color: #34d399;
}

/* ---------- 14. 流程步骤 ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 3rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--c-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.steps p {
  font-size: 0.93rem;
  color: var(--c-muted);
}

/* ---------- 15. 案例卡 ---------- */
.case {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 1rem + 1.2vw, 1.85rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: #fff;
}

@media (min-width: 760px) {
  .case {
    grid-template-columns: 190px 1fr;
    align-items: start;
  }
}

.case__fig {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg-soft);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.case__fig svg {
  width: 100%;
  height: 100%;
}

.case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  padding: 0;
  list-style: none;
}

.case__meta li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-primary);
  background: var(--c-primary-light);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.case__result {
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  background: var(--c-success-bg);
  border-left: 3px solid var(--c-success);
  border-radius: 0 8px 8px 0;
  font-size: 0.94rem;
}

.case__result strong {
  color: var(--c-success);
}

/* ---------- 16. 引用 / 评价 ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.35rem 1.5rem;
}

.quote blockquote {
  margin: 0;
  font-size: 1.02rem;
  color: var(--c-ink);
}

.quote figcaption {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--c-muted);
}

.rating {
  color: #f59e0b;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* ---------- 17. CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--c-primary-dark), var(--c-primary));
  color: #e8eff6;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.4rem + 2.6vw, 3.25rem);
  text-align: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #bfd2e3;
  max-width: 60ch;
  margin: 0.85rem auto 0;
}

.cta-band .btn-row {
  margin-top: 1.75rem;
}

/* ---------- 18. 联系区块 ---------- */
.contact-grid {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.contact-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  display: grid;
  place-items: center;
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card dt {
  font-size: 0.85rem;
  color: var(--c-muted);
  font-weight: 600;
}

.contact-card dd {
  margin: 0.15rem 0 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--c-ink);
  overflow-wrap: anywhere;
}

.contact-card dd small {
  display: block;
  font-weight: 500;
  font-size: 0.83rem;
  color: var(--c-muted);
}

/* 复制成功提示 */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-primary);
  background: var(--c-primary-light);
  border: 1px solid #cfe0ee;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}

.copy-btn:hover {
  background: #d6e6f4;
}

.copy-btn.is-copied {
  background: var(--c-success-bg);
  border-color: #b6e2c9;
  color: var(--c-success);
}

/* ---------- 19. 移动端底部转化条 ---------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-auto-flow: column;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -4px 16px -8px rgba(15, 37, 55, 0.2);
}

@media (min-width: 860px) {
  .action-bar {
    display: none;
  }
}

.action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.5rem 0.25rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.2;
}

.action-bar a svg {
  width: 20px;
  height: 20px;
}

.action-bar a:first-child {
  background: var(--c-accent);
  color: #fff;
}

.action-bar a:first-child:hover {
  background: var(--c-accent-dark);
  color: #fff;
}

/* 有底部转化条时留出页面空间 */
@media (max-width: 859px) {
  body {
    padding-bottom: 68px;
  }
}

/* ---------- 20. 页脚 ---------- */
.site-footer {
  background: var(--c-bg-dark);
  color: #9fb3c5;
  padding-top: clamp(2.5rem, 2rem + 3vw, 4rem);
  padding-bottom: 1.5rem;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.9rem;
  letter-spacing: 0.02em;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: #9fb3c5;
}
.site-footer a:hover {
  color: #fff;
}

.footer-brand p {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  max-width: 34ch;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #7d92a6;
}

/* ---------- 21. 滚动入场动效（JS 加 class） ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 无 JS 时兜底，保证内容可见 */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- 21. 产品实拍图册 ---------- */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.6rem, 0.4rem + 0.6vw, 1rem);
  margin-top: 1.1rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 620px) {
  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .shot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.shot {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.shot:hover,
.shot:focus-visible {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.shot:hover img {
  transform: scale(1.04);
}

/* 图片右下角的「放大」提示 */
.shot::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(15, 37, 55, 0.55)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 L21 21'/%3E%3C/svg%3E")
    center / 15px no-repeat;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.shot:hover::after,
.shot:focus-visible::after {
  opacity: 1;
}

@media (hover: none) {
  .shot::after {
    opacity: 0.75;
  }
}

/* 组标题：小标签样式 */
.shot-group + .shot-group {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.shot-group__head {
  display: block;
}

.shot-group__head h3 {
  margin: 0;
}

.shot-group__head p {
  margin: 0.35rem 0 0;
  color: var(--c-muted);
  font-size: 0.92rem;
}

/* 图片灯箱：用原生 dialog，无需第三方库 */
.lb {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.lb::backdrop {
  background: rgba(9, 20, 30, 0.95);
}

.lb__stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(1rem, 4vw, 3rem);
}

.lb__img {
  max-width: 100%;
  /* 留出底部说明文字的空间，避免说明压在图片上 */
  max-height: calc(100% - 2.5rem);
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.lb__cap {
  position: absolute;
  left: 50%;
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.lb__btn {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}

.lb__btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lb__btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lb__close {
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
}

.lb__prev {
  left: clamp(0.5rem, 2vw, 1.5rem);
  top: 50%;
  transform: translateY(-50%);
}

.lb__next {
  right: clamp(0.5rem, 2vw, 1.5rem);
  top: 50%;
  transform: translateY(-50%);
}

/* 图册底部的补充说明 */
.notice {
  padding: clamp(1rem, 0.8rem + 0.8vw, 1.4rem) clamp(1.1rem, 0.9rem + 1vw, 1.6rem);
  border-radius: var(--radius);
  background: var(--c-primary-light);
  border-left: 4px solid var(--c-primary);
}

.notice p {
  margin: 0;
  color: var(--c-text);
}

/* ---------- 23. 小程序入口（扫码看全部款式） ---------- */
.mini-cta {
  display: grid;
  gap: clamp(1.25rem, 1rem + 1.4vw, 2rem);
  align-items: center;
  margin-top: 2rem;
  padding: clamp(1.5rem, 1.2rem + 1.8vw, 2.5rem);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}

@media (min-width: 720px) {
  .mini-cta {
    grid-template-columns: 236px 1fr;
  }
}

.mini-cta__qr {
  justify-self: center;
  text-align: center;
}

.mini-cta__qr img {
  display: block;
  width: 200px;
  height: 200px;
  /* 白底留白即扫码静区，不可用深色背景紧贴码边缘 */
  background: #fff;
  padding: 8px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.mini-cta__qr figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--c-muted);
}

.mini-cta__body h3 {
  margin-top: 0.35rem;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  color: var(--c-ink);
  line-height: 1.4;
}

.mini-cta__body p {
  margin-top: 0.75rem;
  color: var(--c-text);
}

.mini-cta__tips {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--c-muted);
}

.mini-cta__tips li {
  position: relative;
  padding-left: 1.35rem;
}

.mini-cta__tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
}

.mini-cta__tips strong {
  color: var(--c-ink);
}

/* 深色 CTA 横幅内的轻量版：白底胶囊保证扫码静区 */
.cta-band__mini {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.75rem auto 0;
  padding: 1rem 1.6rem 1rem 1rem;
  background: #fff;
  border-radius: var(--radius-lg);
  text-align: left;
  color: var(--c-ink);
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.45);
}

.cta-band__mini img {
  display: block;
  width: 112px;
  height: 112px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
}

.cta-band__mini strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}

.cta-band__mini span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--c-muted);
}

@media (max-width: 520px) {
  .cta-band__mini {
    flex-direction: column;
    padding: 1.1rem;
    gap: 0.85rem;
    text-align: center;
  }
  .cta-band__mini img {
    width: 128px;
    height: 128px;
  }
  .cta-band__mini strong {
    font-size: 0.98rem;
  }
}

/* 案例页与关于页的配图：统一裁切成容器比例 */
.case__fig img,
.figure-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.figure-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--c-bg-soft);
}

/* ---------- 22. 打印样式（便于客户存档/转发） ---------- */
@media print {
  .site-header,
  .action-bar,
  .mobile-nav,
  .topbar,
  .cta-band {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }
}
