/* ==========================================================================
   海陆空智能设备维修服务 - 全站样式
   现代标准: CSS 变量 / Grid / Flexbox / 原生嵌套 / Container Queries
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  /* 品牌色 */
  --c-primary: #534AB7;
  --c-primary-dark: #3C3489;
  --c-primary-light: #EEEDFE;
  --c-primary-mid: #CECBF6;

  /* 强调色 */
  --c-accent: #0F6E56;
  --c-accent-light: #E1F5EE;
  --c-warn: #BA7517;
  --c-warn-light: #FAEEDA;
  --c-danger: #A32D2D;

  /* 中性色 */
  --c-bg: #ffffff;
  --c-bg-soft: #f7f7fa;
  --c-bg-warm: #faf9f5;
  --c-text: #1a1a2e;
  --c-text-muted: #555559;
  --c-text-hint: #888780;
  --c-border: rgba(26, 26, 46, 0.08);
  --c-border-strong: rgba(26, 26, 46, 0.16);

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 12px 32px rgba(26, 26, 46, 0.12);

  /* 圆角 */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

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

  /* 字号 */
  --fs-h1: clamp(2rem, 4vw + 1rem, 3.5rem);
  --fs-h2: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  --fs-h3: clamp(1.2rem, 1vw + 0.9rem, 1.5rem);
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-xs: 13px;

  /* 布局 */
  --container: 1200px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -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;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--c-primary-dark);
}

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

/* ---------- 通用工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-4);
}
@media (min-width: 768px) {
  .container {
    padding-inline: var(--s-5);
  }
}

.section {
  padding-block: var(--s-7);
}
@media (min-width: 768px) {
  .section {
    padding-block: var(--s-8);
  }
}

.section-head {
  text-align: center;
  margin-bottom: var(--s-7);
}
.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-3);
}
.section-head .lead {
  color: var(--c-text-muted);
  max-width: 720px;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-primary);
  background: var(--c-primary-light);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--s-3);
}

.lead {
  color: var(--c-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-text);
}
.nav__brand img {
  height: 36px;
  width: auto;
}
.nav__list {
  display: none;
  list-style: none;
  gap: var(--s-5);
}
.nav__list a {
  color: var(--c-text);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
}
.nav__list a:hover {
  color: var(--c-primary);
}
.nav__list a[aria-current="page"] {
  color: var(--c-primary);
}
.nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-primary);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 500;
}
.nav__cta:hover {
  background: var(--c-primary-dark);
}

.nav__toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
}
.nav__toggle:hover {
  background: var(--c-bg-soft);
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav__toggle span::before {
  top: -7px;
}
.nav__toggle span::after {
  top: 7px;
}
.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav__toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav__list {
    display: flex;
  }
  .nav__toggle {
    display: none;
  }
}

/* 移动端导航抽屉 */
.nav__drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: #fff;
  z-index: 49;
  overflow-y: auto;
  padding: var(--s-5);
}
.nav__drawer.is-open {
  display: block;
}
.nav__drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.nav__drawer a {
  display: block;
  padding: 14px 12px;
  border-radius: var(--r-sm);
  color: var(--c-text);
  font-size: 1.05rem;
  font-weight: 500;
}
.nav__drawer a:hover,
.nav__drawer a[aria-current="page"] {
  background: var(--c-primary-light);
  color: var(--c-primary);
}
@media (min-width: 1024px) {
  .nav__drawer {
    display: none !important;
  }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: var(--fs-sm);
  transition: all 0.2s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--c-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary-mid);
}
.btn--ghost:hover {
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
}
.btn--lg {
  padding: 14px 28px;
  font-size: var(--fs-body);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #faf9f5 0%, var(--c-primary-light) 100%);
  padding-block: var(--s-8);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(83, 74, 183, 0.08) 0, transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(15, 110, 86, 0.08) 0, transparent 40%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: var(--s-7);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--s-9);
  }
}
.hero h1 {
  font-size: var(--fs-h1);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}
.hero h1 em {
  color: var(--c-primary);
  font-style: normal;
}
.hero .lead {
  margin-bottom: var(--s-5);
  max-width: 540px;
}
.hero__actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.hero__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-primary-light);
  box-shadow: var(--shadow-lg);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__stats {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  max-width: 540px;
}
.hero__stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.2;
}
.hero__stat span {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

/* ---------- 卡片 ---------- */
.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-primary-mid);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary-light);
  color: var(--c-primary);
  border-radius: var(--r-md);
  font-size: 1.4rem;
  margin-bottom: var(--s-4);
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.card p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* 服务卡片网格 */
.grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- 设备矩阵 ---------- */
.matrix {
  background: var(--c-bg-soft);
}
.matrix__list {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .matrix__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 900px) {
  .matrix__list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.matrix__item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  transition: all 0.2s var(--ease);
}
.matrix__item:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-light);
}
.matrix__item .dot {
  width: 10px;
  height: 10px;
  background: var(--c-primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.matrix__item .dot--green {
  background: var(--c-accent);
}
.matrix__item .dot--gray {
  background: var(--c-text-hint);
}
.matrix__item strong {
  font-weight: 600;
  font-size: 0.95rem;
}
.matrix__item small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-top: 2px;
}

/* ---------- 业务四支柱 ---------- */
.pillars {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pillar {
  position: relative;
  padding: var(--s-5);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-primary);
}
.pillar:nth-child(2)::before {
  background: var(--c-accent);
}
.pillar:nth-child(3)::before {
  background: var(--c-warn);
}
.pillar:nth-child(4)::before {
  background: #D85A30;
}
.pillar__num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--c-primary-light);
  line-height: 1;
  margin-bottom: var(--s-3);
}
.pillar:nth-child(2) .pillar__num {
  color: var(--c-accent-light);
}
.pillar:nth-child(3) .pillar__num {
  color: var(--c-warn-light);
}
.pillar:nth-child(4) .pillar__num {
  color: #FAECE7;
}
.pillar h3 {
  font-size: 1.15rem;
  margin-bottom: var(--s-2);
}
.pillar p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* ---------- 新闻列表 ---------- */
.news-list {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .news-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .news-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.25s var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary-mid);
}
.news-card__media {
  aspect-ratio: 16 / 9;
  background: var(--c-primary-light);
  overflow: hidden;
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.news-card:hover .news-card__media img {
  transform: scale(1.05);
}
.news-card__body {
  padding: var(--s-4);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card__meta {
  font-size: var(--fs-xs);
  color: var(--c-text-hint);
  margin-bottom: var(--s-2);
}
.news-card__meta time {
  margin-right: var(--s-3);
}
.news-card__meta .tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  border-radius: 4px;
  font-weight: 500;
}
.news-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-text);
  margin-bottom: var(--s-2);
}
.news-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
  flex: 1;
}
.news-card__more {
  margin-top: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--c-primary);
  font-weight: 500;
}

/* ---------- 门店列表 ---------- */
.store-list {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .store-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .store-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.store-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transition: all 0.2s var(--ease);
}
.store-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md);
}
.store-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--s-1);
}
.store-card__meta {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
}
.store-card__meta .label {
  display: inline-block;
  font-size: var(--fs-xs);
  color: var(--c-text-hint);
  width: 3.5em;
  flex-shrink: 0;
}
.store-card__meta .row {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
  align-items: flex-start;
}
.store-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  background: var(--c-accent-light);
  color: var(--c-accent);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
  width: fit-content;
}

/* ---------- 招募/合作卡片 ---------- */
.cta-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .cta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cta-card {
  position: relative;
  background: var(--c-bg-soft);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  border: 1px solid var(--c-border);
}
.cta-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--s-2);
  color: var(--c-primary-dark);
}
.cta-card p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--s-4);
}
.cta-card ul {
  list-style: none;
  margin-bottom: var(--s-4);
}
.cta-card li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-sm);
  margin-bottom: 6px;
  color: var(--c-text);
}
.cta-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--c-primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

/* ---------- 合作类型大块 ---------- */
.partner-block {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  margin-bottom: var(--s-6);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}
@media (min-width: 768px) {
  .partner-block {
    grid-template-columns: 200px 1fr;
    align-items: start;
  }
}
.partner-block__num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}
.partner-block h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.partner-block p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* ---------- 表单 ---------- */
.form {
  display: grid;
  gap: var(--s-4);
  max-width: 640px;
  margin-inline: auto;
}
.form-row {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.form label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--c-text);
}
.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-sm);
  font: inherit;
  background: #fff;
  color: var(--c-text);
  transition: border-color 0.2s var(--ease);
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-light);
}
.form textarea {
  min-height: 120px;
  resize: vertical;
}
.form__hint {
  font-size: var(--fs-xs);
  color: var(--c-text-hint);
  margin-top: 4px;
}
.form__success {
  background: var(--c-accent-light);
  color: var(--c-accent);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  display: none;
  font-size: var(--fs-sm);
}
.form__success.is-shown {
  display: block;
}

/* ---------- 商品卡片 ---------- */
.product-list {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .product-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .product-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.product-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.2s var(--ease);
}
.product-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.product-card__media {
  aspect-ratio: 1;
  background: var(--c-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-hint);
}
.product-card__body {
  padding: var(--s-3) var(--s-4);
}
.product-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.4;
}
.product-card__cat {
  font-size: var(--fs-xs);
  color: var(--c-text-hint);
}

/* ---------- 内容正文 ---------- */
.prose {
  max-width: 720px;
  margin-inline: auto;
}
.prose h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: var(--s-6) 0 var(--s-3);
}
.prose p {
  color: var(--c-text-muted);
  margin-bottom: var(--s-3);
  line-height: 1.8;
}
.prose ul {
  margin: var(--s-3) 0 var(--s-3) var(--s-5);
  color: var(--c-text-muted);
}
.prose li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* ---------- 步骤 ---------- */
.steps {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.step {
  position: relative;
  padding: var(--s-5) var(--s-4);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  text-align: center;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--s-3);
}
.step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.step p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--s-7) var(--s-5);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(15, 110, 86, 0.2) 0, transparent 40%);
}
.cta-banner > * {
  position: relative;
}
.cta-banner h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.cta-banner p {
  max-width: 540px;
  margin: 0 auto var(--s-5);
  opacity: 0.9;
}
.cta-banner .btn--primary {
  background: #fff;
  color: var(--c-primary);
}
.cta-banner .btn--primary:hover {
  background: var(--c-primary-light);
}

/* ---------- 页脚 ---------- */
.footer {
  margin-top: auto;
  background: #0e0e1a;
  color: rgba(255, 255, 255, 0.7);
  padding-block: var(--s-7) var(--s-5);
  font-size: var(--fs-sm);
}
.footer__grid {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}
.footer h4 {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: var(--s-3);
}
.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer a {
  color: rgba(255, 255, 255, 0.7);
}
.footer a:hover {
  color: #fff;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s-3);
}
.footer__brand img {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer__brand span {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}
.footer__contact p {
  margin-bottom: 6px;
  line-height: 1.7;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 40;
}
.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.to-top:hover {
  transform: translateY(-2px);
  color: #fff;
}

/* ---------- 页面进入动画 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    animation: fade-in 0.6s var(--ease) both;
  }
  @keyframes fade-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ---------- 打印样式 ---------- */
@media print {
  .nav,
  .footer,
  .to-top {
    display: none;
  }
  body {
    color: #000;
    background: #fff;
  }
}
