@charset "UTF-8";
/* =========================================================================
   企智网络 · 多页面企业官网
   设计规范来源：tx.md（V1.0）第五节 视觉设计规范
   方向：深色科技风，以清晰和控制感替代炫技
   断点策略：移动端优先的渐进增强（768 / 992 / 1200）
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. 设计令牌
   ------------------------------------------------------------------------- */
:root {
  /* 色彩（tx.md 5.3） */
  --bg-base: #0a1628;
  --bg-elevated: #101e33;
  --bg-sunken: #08111f;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary: rgba(255, 255, 255, 0.87);
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.46);
  --accent: #00c2d4;
  --accent-hover: #22d3e2;
  --accent-soft: rgba(0, 194, 212, 0.12);
  --accent-border: rgba(0, 194, 212, 0.4);
  --surface-light: #f4f6f9;
  --on-accent: #04202a;
  --on-light: #0a1628;
  --danger: #ff8188;
  --success: #43d9a3;

  /* 字体（tx.md 5.4） */
  --font-sans: "Inter", "Noto Sans SC", system-ui, -apple-system, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  /* 间距刻度 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* 布局（tx.md 5.2：12 列栅格，最大宽 1200px，列间距 24px） */
  --container: 1200px;
  --gutter: 16px;
  --grid-gap: 24px;
  --header-h: 64px;

  /* 组件刻度（tx.md 5.5） */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 150ms ease;
  --focus-ring: 0 0 0 3px rgba(0, 194, 212, 0.18);
}

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
    --header-h: 72px;
  }
}

@media (min-width: 992px) {
  :root {
    --gutter: 32px;
  }
}

@media (min-width: 1200px) {
  :root {
    --gutter: 40px;
  }
}

/* -------------------------------------------------------------------------
   2. 基础重置
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition),
    opacity var(--transition);
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--border-subtle);
  margin: var(--space-6) 0;
}

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

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

/* -------------------------------------------------------------------------
   3. 排版层级（tx.md 5.4）
   ------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-3);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1,
.h1 {
  font-size: 30px;
  line-height: 1.25;
}

h2,
.h2 {
  font-size: 22px;
  line-height: 1.3;
}

h3,
.h3 {
  font-size: 18px;
  line-height: 1.4;
}

h4,
.h4 {
  font-size: 16px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  h1,
  .h1 {
    font-size: 34px;
  }

  h2,
  .h2 {
    font-size: 24px;
  }
}

@media (min-width: 992px) {
  h1,
  .h1 {
    font-size: 40px;
  }

  h2,
  .h2 {
    font-size: 28px;
  }

  h3,
  .h3 {
    font-size: 20px;
  }
}

.small {
  font-size: 14px;
  line-height: 1.6;
}

.caption {
  font-size: 12px;
  line-height: 1.5;
}

.secondary {
  color: var(--text-secondary);
}

.muted {
  color: var(--text-muted);
}

.accent-text {
  color: var(--accent);
}

.measure {
  max-width: 68ch;
}

.measure-sm {
  max-width: 46ch;
}

.lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

@media (min-width: 992px) {
  .lead {
    font-size: 18px;
  }
}

strong,
b {
  color: var(--text-primary);
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   4. 布局工具
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-7);
  border-bottom: 1px solid var(--border-subtle);
}

.section:last-of-type {
  border-bottom: 0;
}

.section--tight {
  padding-block: var(--space-6);
}

.section--flush {
  border-bottom: 0;
}

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

@media (min-width: 992px) {
  .section {
    padding-block: var(--space-8);
  }

  .section--tight {
    padding-block: var(--space-7);
  }
}

.section-head {
  margin-bottom: var(--space-6);
  max-width: 62ch;
}

.section-head h2 {
  margin-bottom: var(--space-3);
}

.section-head p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* 标题与右侧链接同排时，标题区收窄并去掉下间距 */
.flex-between > .section-head {
  margin-bottom: 0;
  max-width: 56ch;
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stack {
  display: grid;
  gap: var(--space-4);
}

.stack-lg {
  display: grid;
  gap: var(--space-6);
}

.grid {
  display: grid;
  gap: var(--grid-gap);
}

@media (min-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.split {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 992px) {
  .split--aside {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: var(--space-7);
    align-items: start;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
  color: var(--on-accent);
}

[hidden] {
  display: none !important;
}

/* -------------------------------------------------------------------------
   5. 按钮与链接（tx.md 5.5）
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), filter var(--transition), transform var(--transition);
}

.btn--primary {
  background-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  color: var(--on-accent);
}

.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

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

.btn--quiet {
  min-height: 40px;
  padding: 0 14px;
  border-color: var(--border-subtle);
  background-color: var(--bg-elevated);
  color: var(--text-primary);
}

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

.btn--block {
  width: 100%;
}

.btn--sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

/* 触控宽度下所有按钮回到 44px 触控高度 */
@media (max-width: 991px) {
  .btn--sm {
    min-height: 44px;
  }
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* 次按钮 / 文字链接：无背景，强调色文字 + 下划线悬停 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.link-arrow::after {
  content: "→";
  transition: transform var(--transition);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.link-underline {
  color: var(--accent);
  border-bottom: 1px solid transparent;
}

.link-underline:hover {
  border-bottom-color: var(--accent);
}

.text-link {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-strong);
}

.text-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* -------------------------------------------------------------------------
   6. 顶部导航（tx.md 4.1）
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: rgba(10, 22, 40, 0.92);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--transition), border-color var(--transition);
}

@media (min-width: 992px) {
  .site-header {
    background-color: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header.is-scrolled {
    background-color: rgba(10, 22, 40, 0.86);
    border-bottom-color: var(--border-subtle);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text-primary);
}

.brand:hover {
  color: var(--text-primary);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--accent-border);
  border-radius: 7px;
  background-color: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand__text {
  display: grid;
  line-height: 1.2;
}

.brand__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand__sub {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* 桌面主导航 */
.nav {
  display: none;
}

@media (min-width: 992px) {
  .nav {
    display: block;
  }
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 15px;
  transition: color var(--transition), background-color var(--transition);
}

.nav__link:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.04);
}

/* 当前页指示：强调色文字 + 底部短线，不使用粗重色块 */
.nav__link.is-active {
  color: var(--accent);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 1px;
  background-color: var(--accent);
}

.nav__caret {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}

.nav__item.is-open .nav__caret {
  transform: rotate(-135deg) translateY(-2px);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 70;
  min-width: 290px;
  padding: var(--space-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition),
    visibility var(--transition);
}

.nav__item:hover > .dropdown,
.nav__item:focus-within > .dropdown,
.nav__item.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__link {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

.dropdown__link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

.dropdown__link span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.dropdown__all {
  display: block;
  margin-top: var(--space-1);
  padding: 10px 12px;
  border-top: 1px solid var(--border-subtle);
  color: var(--accent);
  font-size: 14px;
}

.header-actions {
  display: none;
  align-items: center;
  gap: var(--space-3);
}

@media (min-width: 992px) {
  .header-actions {
    display: flex;
  }
}

.header-phone {
  color: var(--text-secondary);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.header-phone:hover {
  color: var(--accent);
}

/* 汉堡按钮 */
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text-primary);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle__bars {
  display: grid;
  gap: 5px;
  width: 20px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background-color: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* 移动端全屏面板 */
.mobile-panel {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: var(--space-5) var(--gutter) var(--space-7);
  background-color: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  animation: panel-in 200ms ease both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 992px) {
  .mobile-panel {
    display: none !important;
  }
}

.mobile-nav {
  display: grid;
  gap: 2px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 4px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 500;
}

.mobile-nav__link.is-active {
  color: var(--accent);
}

.mobile-nav__group {
  padding: var(--space-4) 0 var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav__group > p {
  margin-bottom: var(--space-2);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-nav__sub {
  display: grid;
  gap: 2px;
}

.mobile-nav__sub a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--text-secondary);
  font-size: 15px;
}

.mobile-nav__sub a:hover,
.mobile-nav__sub a.is-active {
  color: var(--accent);
}

.mobile-panel__footer {
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-3);
}

.mobile-panel__meta {
  display: grid;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* -------------------------------------------------------------------------
   7. 首屏与内页页头
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-6) var(--space-7);
  border-bottom: 1px solid var(--border-subtle);
}

/* 背景纹理：透明度 ≤4% 的网格线（tx.md 5.6） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 20% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 70% at 20% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 992px) {
  .hero {
    padding-block: var(--space-8) var(--space-9);
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--space-8);
    align-items: start;
  }
}

.hero h1 {
  margin-bottom: var(--space-4);
}

.hero__lead {
  margin-bottom: var(--space-5);
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
  max-width: 52ch;
}

@media (min-width: 992px) {
  .hero__lead {
    font-size: 18px;
  }
}

.hero__actions {
  margin-bottom: var(--space-5);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 14px;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__meta strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* 首屏右侧信息面板 */
.hero-panel {
  padding: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background-color: var(--bg-elevated);
}

.hero-panel__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel__list {
  display: grid;
  gap: 1px;
  background-color: var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.hero-panel__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 13px 14px;
  background-color: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 15px;
}

.hero-panel__item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--accent);
}

.hero-panel__item span {
  color: var(--text-muted);
  font-size: 12px;
}

.hero-panel__foot {
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

/* 内页页头 */
.page-head {
  position: relative;
  padding-block: var(--space-6) var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-sunken);
}

.page-head h1 {
  margin-bottom: var(--space-3);
}

.page-head p {
  margin: 0;
  max-width: 66ch;
  color: var(--text-secondary);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  color: var(--text-muted);
  font-size: 12px;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

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

.breadcrumbs li::after {
  content: "/";
  margin-left: var(--space-2);
  color: var(--text-muted);
}

.breadcrumbs li:last-child::after {
  display: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs [aria-current="page"] {
  color: var(--text-secondary);
}

/* -------------------------------------------------------------------------
   8. 卡片
   ------------------------------------------------------------------------- */
.card {
  padding: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
  transition: border-color var(--transition), background-color var(--transition),
    transform var(--transition);
}

.card--link {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  color: inherit;
}

.card--link:hover {
  border-color: var(--accent-border);
  color: inherit;
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.card__index {
  color: var(--text-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}

.card h3 {
  margin-bottom: 0;
}

.card__desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.card__foot {
  margin-top: auto;
  padding-top: var(--space-2);
}

/* 服务卡片：名称 + 对客户意味着什么 + 3 个标签 + 轻量链接 */
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
  color: inherit;
  transition: border-color var(--transition), background-color var(--transition);
}

.svc-card:hover {
  border-color: var(--accent-border);
  color: inherit;
}

.svc-card h3 {
  margin: 0;
}

.svc-card__for {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.svc-card__for strong {
  color: var(--text-primary);
  font-weight: 500;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}

.tag--accent {
  border-color: var(--accent-border);
  background-color: var(--accent-soft);
  color: var(--accent);
}

.svc-card__link {
  margin-top: auto;
  padding-top: var(--space-2);
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

/* 案例卡片：客户类型 / 做了什么 / 一个可感知的结果 */
.case-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
  color: inherit;
  transition: border-color var(--transition);
}

.case-card:hover {
  border-color: var(--accent-border);
  color: inherit;
}

.case-card__type {
  color: var(--text-secondary);
  font-size: 14px;
}

.case-card__type strong {
  color: var(--text-primary);
  font-weight: 600;
}

.case-card__what {
  margin: 0;
  color: var(--text-primary);
  font-size: 16px;
}

/* 可量化结果：浅色小面积对比块，面积不超过卡片区域的 30% */
.result-chip {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  max-width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--surface-light);
  color: var(--on-light);
  font-size: 14px;
  line-height: 1.5;
}

.result-chip strong {
  color: var(--on-light);
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.case-card__foot {
  margin-top: auto;
  padding-top: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

/* 案例列表顶部轻量筛选 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.filter-bar__label {
  margin-right: var(--space-2);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-btn {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background-color: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition),
    background-color var(--transition);
}

.filter-btn:hover {
  border-color: var(--accent-border);
  color: var(--text-primary);
}

.filter-btn[aria-pressed="true"] {
  border-color: var(--accent);
  background-color: var(--accent-soft);
  color: var(--accent);
}

.filter-status {
  margin-bottom: var(--space-4);
  color: var(--text-muted);
  font-size: 13px;
}

.is-filtered-out {
  display: none !important;
}

/* -------------------------------------------------------------------------
   9. 流程步骤（首页简版 + /process 纵向步骤条）
   ------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .steps--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step {
  padding: var(--space-5) var(--space-4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
}

.step__index {
  display: inline-block;
  margin-bottom: var(--space-3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}

.step h3 {
  margin-bottom: var(--space-2);
  font-size: 17px;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

/* 纵向步骤条 */
.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-subtle);
}

.tl-step {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 992px) {
  .tl-step {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: var(--space-6);
    padding: var(--space-6) 0;
  }
}

.tl-step__head {
  display: grid;
  gap: var(--space-2);
  align-content: start;
}

.tl-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tl-step__title {
  margin: 0;
  font-size: 18px;
}

@media (min-width: 992px) {
  .tl-step__title {
    font-size: 20px;
  }
}

.tl-step__body {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .tl-step__body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.kv {
  display: grid;
  gap: 6px;
  align-content: start;
}

.kv__key {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kv__val {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.kv__val strong {
  color: var(--text-primary);
  font-weight: 500;
}

.checkpoint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  background-color: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
}

/* -------------------------------------------------------------------------
   10. 信任条 / 对照栏 / 清单 / 表格
   ------------------------------------------------------------------------- */
.trust-bar {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
}

@media (min-width: 768px) {
  .trust-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
  }
}

.trust-item h3 {
  margin-bottom: var(--space-1);
  font-size: 15px;
}

.trust-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.trust-item__label {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* 适合谁 / 不适合谁：两栏对照 */
.compare {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

.compare__col {
  padding: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
}

.compare__col--fit {
  border-left: 2px solid var(--accent);
}

.compare__col h3 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: 16px;
}

.compare__col h3::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.compare__col--no h3::before {
  background-color: rgba(255, 255, 255, 0.3);
}

.compare__col ul {
  display: grid;
  gap: var(--space-3);
}

.check-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent);
}

.check-list--muted li::before {
  background-color: rgba(255, 255, 255, 0.28);
}

.check-list li strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* 交付物清单 / 定义列表 */
.deliverables {
  display: grid;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-elevated);
}

@media (min-width: 768px) {
  .deliverables {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.deliverable {
  display: grid;
  gap: 4px;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .deliverable {
    border-right: 1px solid var(--border-subtle);
  }

  .deliverable:nth-child(2n) {
    border-right: 0;
  }

  /* 两列布局时最后一行不再画底线，避免与容器边框叠加 */
  .deliverable:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

.deliverable:last-child {
  border-bottom: 0;
}

.deliverable dt {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
}

.deliverable dd {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.deliverable__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-1);
  color: var(--accent);
  font-size: 12px;
}

/* 表格 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

caption {
  padding: var(--space-4) var(--space-5) 0;
  color: var(--text-muted);
  font-size: 12px;
  text-align: left;
}

th,
td {
  padding: 14px var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

thead th {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody th {
  width: 30%;
  color: var(--text-primary);
  font-weight: 500;
}

tbody td {
  color: var(--text-secondary);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

/* 手机（<768px）：表格纵向堆叠成卡片，避免横向滚动（tx.md 5.2 单列纵向堆叠） */
@media (max-width: 767px) {
  .table-wrap {
    overflow: visible;
    border: 0;
    background-color: transparent;
  }

  .table-wrap table {
    display: block;
    min-width: 0;
  }

  .table-wrap caption,
  .table-wrap thead {
    display: none;
  }

  .table-wrap tbody {
    display: grid;
    gap: var(--space-4);
  }

  .table-wrap tbody tr {
    display: grid;
    gap: var(--space-3);
    padding: var(--space-4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background-color: var(--bg-elevated);
  }

  .table-wrap tbody th,
  .table-wrap tbody td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  .table-wrap tbody th[scope="row"] {
    font-size: 16px;
  }

  .table-wrap tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
  }
}

/* -------------------------------------------------------------------------
   11. 表单（tx.md 5.5）
   ------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: var(--space-4);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}

.field__hint {
  color: var(--text-muted);
  font-size: 12px;
}

.input,
.textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--bg-sunken);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

.input::placeholder,
.textarea::placeholder {
  color: var(--text-muted);
}

/* 聚焦：边框变强调色 + 单层微弱外发光 */
.input:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}

.field.has-error .input,
.field.has-error .textarea {
  border-color: var(--danger);
}

.field__error {
  display: none;
  color: var(--danger);
  font-size: 13px;
}

.field.has-error .field__error {
  display: block;
}

.form-note {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.form-success {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  background-color: var(--accent-soft);
}

.form-success h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 17px;
}

.form-success p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.form-success .link-arrow {
  color: var(--accent);
}

/* 联系页右侧直接通道 */
.contact-rail {
  display: grid;
  gap: var(--space-4);
}

.rail-card {
  padding: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
}

.rail-card h2,
.rail-card h3 {
  margin-bottom: var(--space-3);
  font-size: 16px;
}

.rail-list {
  display: grid;
  gap: var(--space-3);
}

.rail-item {
  display: grid;
  gap: 2px;
}

.rail-item__label {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail-item__value {
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.rail-item__value:hover {
  color: var(--accent);
}

.rail-item__note {
  color: var(--text-secondary);
  font-size: 13px;
}

/* 微信二维码 */
.qr-figure {
  display: inline-grid;
  gap: var(--space-2);
  justify-items: center;
  padding: var(--space-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--surface-light);
  font-family: inherit;
  cursor: zoom-in;
  transition: border-color var(--transition), transform var(--transition);
}

.qr-figure:hover {
  border-color: var(--accent);
}

.qr-figure img,
.qr-figure svg {
  width: 132px;
  height: 132px;
  border-radius: 2px;
}

.qr-figure figcaption,
.qr-figure__cap {
  color: var(--on-light);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.qr-inline {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* 放大查看弹层 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background-color: rgba(4, 10, 20, 0.82);
  backdrop-filter: blur(4px);
  animation: fade-in 200ms ease both;
}

.modal__box {
  display: grid;
  gap: var(--space-3);
  justify-items: center;
  padding: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background-color: var(--bg-elevated);
}

.modal__box img,
.modal__box svg {
  width: min(280px, 62vw);
  height: auto;
  border-radius: var(--radius-sm);
  background-color: var(--surface-light);
  padding: 10px;
}

.modal__box p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  text-align: center;
}

.modal__close {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

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

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* -------------------------------------------------------------------------
   12. FAQ（原生 details，无需脚本）
   ------------------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--border-subtle);
}

.faq__item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 18px 0;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  color: var(--accent);
}

.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  transition: border-color var(--transition), transform var(--transition);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1px;
  background-color: currentColor;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity var(--transition);
}

.faq__item[open] .faq__icon {
  border-color: var(--accent);
  color: var(--accent);
}

.faq__item[open] .faq__icon::after {
  opacity: 0;
}

.faq__body {
  padding: 0 0 20px;
  max-width: 70ch;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.faq__body p:last-child {
  margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   13. 案例详情页
   ------------------------------------------------------------------------- */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: 13px;
}

.article-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prose > h2 {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
  font-size: 20px;
}

.prose > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose p,
.prose li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.prose ul {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.prose ul li {
  position: relative;
  padding-left: 18px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent);
}

.aside-card {
  padding: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
}

.aside-card + .aside-card {
  margin-top: var(--space-4);
}

.aside-card h2,
.aside-card h3 {
  margin-bottom: var(--space-3);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.aside-facts {
  display: grid;
  gap: var(--space-3);
}

.aside-facts div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.aside-facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.aside-facts dt {
  color: var(--text-muted);
}

.aside-facts dd {
  margin: 0;
  color: var(--text-primary);
  text-align: right;
}

.quote {
  margin: 0;
  padding: var(--space-5);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background-color: var(--bg-elevated);
}

.quote p {
  margin-bottom: var(--space-3);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.75;
}

.quote footer {
  color: var(--text-muted);
  font-size: 13px;
}

.note-inline {
  padding: var(--space-4);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* 插图：矢量示意图（不使用通用图库照片，也不伪造客户截图）
   全部插图由 scripts/gen-art.mjs 生成，尺寸固定，页面里的 width/height 与之对应 */
.svc-card__icon {
  width: 52px;
  height: 52px;
  display: block;
}

.case-card__thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  margin-bottom: var(--space-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background-color: #0c1a2c;
  transition: border-color var(--transition);
}

.case-card:hover .case-card__thumb {
  border-color: var(--accent-border);
}

.fig {
  margin: 0;
}

.fig img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: #0c1a2c;
}

.fig figcaption {
  margin-top: var(--space-3);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
}

.fig--rail img {
  border-radius: var(--radius-sm);
}

@media (min-width: 992px) {
  .fig--wide {
    max-width: 960px;
  }
}

/* -------------------------------------------------------------------------
   14. 转化条（底部 CTA）
   ------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-7);
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-elevated);
}

.cta-band__inner {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 992px) {
  .cta-band__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--space-8);
    align-items: start;
  }
}

.cta-band h2 {
  margin-bottom: var(--space-3);
}

.cta-band p {
  color: var(--text-secondary);
}

.cta-form-card {
  padding: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-base);
}

.cta-side {
  display: grid;
  gap: var(--space-3);
  align-content: start;
}

.cta-side__phone {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cta-side__phone:hover {
  color: var(--accent);
}

/* -------------------------------------------------------------------------
   15. 页脚（tx.md 4.2 四栏结构）
   ------------------------------------------------------------------------- */
.site-footer {
  padding-block: var(--space-7) var(--space-5);
  background-color: var(--bg-sunken);
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: var(--space-7);
  }
}

.footer-brand p {
  margin: var(--space-3) 0 0;
  max-width: 34ch;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-address {
  margin-top: var(--space-4) !important;
  color: var(--text-muted) !important;
  font-size: 13px !important;
  line-height: 1.7;
}

.footer-col h2,
.footer-col h3 {
  margin-bottom: var(--space-4);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: var(--space-3);
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-contact {
  display: grid;
  gap: var(--space-3);
}

.footer-contact__item {
  display: grid;
  gap: 1px;
}

.footer-contact__item span {
  color: var(--text-muted);
  font-size: 12px;
}

.footer-contact__item a,
.footer-contact__item strong {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.footer-contact__item a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .footer-bottom {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--space-5);
  }
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: grid;
  gap: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

/* -------------------------------------------------------------------------
   16. 动效：内容淡入 200ms（tx.md 5.5，仅两类动效之一）
   ------------------------------------------------------------------------- */
/* 默认可见；仅在脚本可用时（html.js）才启用入场淡入，避免脚本失效后内容不可见 */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@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;
  }

  .reveal,
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------------------------------------
   17. 小工具类
   ------------------------------------------------------------------------- */
.mt-0 {
  margin-top: 0;
}
.mt-2 {
  margin-top: var(--space-2);
}
.mt-3 {
  margin-top: var(--space-3);
}
.mt-4 {
  margin-top: var(--space-4);
}
.mt-5 {
  margin-top: var(--space-5);
}
.mt-6 {
  margin-top: var(--space-6);
}
.mb-0 {
  margin-bottom: 0;
}
.mb-3 {
  margin-bottom: var(--space-3);
}
.mb-4 {
  margin-bottom: var(--space-4);
}
.mb-5 {
  margin-bottom: var(--space-5);
}

.flex-between {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.inline-divider {
  height: 1px;
  background-color: var(--border-subtle);
}
