:root {
  --brand: #1a5fb4;
  --brand-d: #124a8f;
  --brand-l: #2f7fd4;
  --accent: #e8590c;
  --gold: #ffd166;
  --ink: #1f2328;
  --ink-2: #4a5259;
  --ink-3: #8a949e;
  --line: #e3e6ea;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --card: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 6px 24px rgba(20, 40, 80, 0.08);
  --shadow-hover: 0 14px 40px rgba(20, 40, 80, 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--brand-d);
  text-decoration: underline;
}

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

ul,
ol {
  list-style-position: outside;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ============ 顶部信息条 ============ */
.topbar {
  background: linear-gradient(90deg, var(--brand-d), var(--brand));
  color: #dfe8f5;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}

.topbar a {
  color: #dfe8f5;
}

.topbar a:hover {
  color: #fff;
  text-decoration: none;
}

/* ============ 页头导航 ============ */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.3s var(--ease);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  flex-shrink: 0;
}

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

.brand .logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  transition: transform 0.35s var(--ease);
}

.brand:hover .logo {
  transform: rotate(-6deg) scale(1.06);
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: 0.5px;
  line-height: 1.4;
}

nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2px;
  flex-wrap: wrap;
}

nav.main-nav a {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14.5px;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

nav.main-nav a:hover {
  background: var(--bg-2);
  color: var(--brand);
  text-decoration: none;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.12);
}

.search-box input {
  border: 0;
  outline: 0;
  padding: 8px 12px;
  font-size: 14px;
  width: 150px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
}

.search-box input::placeholder {
  color: var(--ink-3);
}

.search-box button {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  transition: background 0.2s var(--ease);
}

.search-box button:hover {
  background: var(--brand-d);
}

.btn-icon {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-icon:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

/* ============ 面包屑 ============ */
.breadcrumb {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 0;
}

.breadcrumb li::after {
  content: "›";
  margin-left: 6px;
  color: #aab2bb;
}

.breadcrumb li:last-child::after {
  content: "";
}

/* ============ 主视觉 Banner ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0b2e5c 0%, #124a8f 32%, #1a5fb4 62%, #2f7fd4 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 209, 102, 0.22), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(47, 127, 212, 0.45), transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.16), transparent 55%);
  animation: heroGlow 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGlow {
  from {
    opacity: 0.55;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.12);
  }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.38;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 8px;
  background: rgba(255, 209, 102, 0.28);
  border-radius: 4px;
  z-index: -1;
}

.hero p.lead {
  font-size: 16px;
  color: #e3edfa;
  margin-bottom: 24px;
  max-width: 620px;
  line-height: 1.85;
}

.hero .cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: #fff;
  color: var(--brand-d);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background: var(--gold);
  color: #5a3c00;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 209, 102, 0.35);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
  border-color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
  max-width: 560px;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 14px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.hero-stats div:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats b {
  display: block;
  font-size: 24px;
  color: var(--gold);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.hero-stats span {
  font-size: 13px;
  color: #dbe7f7;
}

/* ============ 轮播 ============ */
.slider {
  position: relative;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 22px;
  min-height: 280px;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
  animation: fade 0.55s var(--ease);
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.slide h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #fff;
}

.slide p {
  font-size: 14px;
  color: #dbe7f7;
  margin-bottom: 10px;
  line-height: 1.8;
}

.slide .tag {
  display: inline-block;
  background: rgba(255, 209, 102, 0.18);
  color: var(--gold);
  border: 1px solid rgba(255, 209, 102, 0.4);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 12px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.slider-dots button:hover {
  background: rgba(255, 255, 255, 0.7);
}

.slider-dots button.active {
  background: var(--gold);
  transform: scale(1.25);
}

/* ============ 通用区块 ============ */
section {
  padding: 60px 0;
}

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

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head .kicker {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 2px 12px;
  background: rgba(26, 95, 180, 0.08);
  border-radius: 999px;
}

.section-head h2 {
  font-size: 27px;
  line-height: 1.42;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.section-head p {
  color: var(--ink-2);
  font-size: 15px;
}

/* ============ 网格 ============ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ============ 卡片 ============ */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-l), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: #cfe0f5;
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.card h4 {
  font-size: 15px;
  margin: 14px 0 6px;
  color: var(--brand-d);
}

.card p {
  font-size: 14.5px;
  color: var(--ink-2);
}

.card ul {
  margin: 10px 0 0 18px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.card ul li {
  margin-bottom: 6px;
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f0fb, #d5e5f9);
  color: var(--brand);
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.card:hover .icon-badge {
  transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, #d5e5f9, #bcd6f5);
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

/* ============ 正文排版 ============ */
.prose {
  font-size: 15.5px;
  color: var(--ink-2);
}

.prose p {
  margin-bottom: 14px;
}

.prose h3 {
  color: var(--ink);
  font-size: 19px;
  margin: 24px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  line-height: 1.5;
}

.prose h4 {
  color: var(--ink);
  font-size: 16px;
  margin: 18px 0 8px;
}

.prose ul,
.prose ol {
  margin: 0 0 14px 22px;
}

.prose li {
  margin-bottom: 6px;
}

/* ============ 时间线 ============ */
.timeline {
  position: relative;
  margin-top: 14px;
  padding-left: 26px;
  border-left: 2px solid #d7e3f4;
}

.timeline .item {
  position: relative;
  margin-bottom: 22px;
}

.timeline .item:last-child {
  margin-bottom: 0;
}

.timeline .item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px #e8f0fb;
  transition: transform 0.25s var(--ease);
}

.timeline .item:hover::before {
  transform: scale(1.3);
}

.timeline .item b {
  color: var(--brand-d);
  font-size: 15px;
}

.timeline .item p {
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ============ 文章列表 ============ */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.article-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #cfe0f5;
}

.article-card .meta {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.article-card p {
  font-size: 14px;
  color: var(--ink-2);
  flex: 1;
  margin-bottom: 12px;
}

.article-card a.more {
  font-size: 14px;
  font-weight: 600;
  align-self: flex-start;
  transition: transform 0.25s var(--ease);
}

.article-card:hover a.more {
  transform: translateX(4px);
}

/* ============ FAQ ============ */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--card);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.faq-item:hover {
  border-color: #cfe0f5;
  box-shadow: var(--shadow);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 20px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  font-family: inherit;
  transition: background 0.2s var(--ease);
}

.faq-q:hover {
  background: rgba(26, 95, 180, 0.04);
}

.faq-q .arrow {
  transition: transform 0.3s var(--ease);
  color: var(--brand);
  font-size: 18px;
  flex-shrink: 0;
}

.faq-item.open .faq-q .arrow {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: var(--ink-2);
  animation: fade 0.35s var(--ease);
}

.faq-item.open .faq-a {
  display: block;
}

/* ============ 步骤 ============ */
.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 20px 68px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.step:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
  border-color: #cfe0f5;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-l));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(26, 95, 180, 0.3);
}

.step h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.step p {
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ============ 案例卡 ============ */
.case-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #cfe0f5;
}

.case-card .thumb {
  background: linear-gradient(135deg, #e8f0fb, #d3e3f8);
  padding: 18px;
  overflow: hidden;
}

.case-card .thumb svg {
  transition: transform 0.5s var(--ease);
  width: 100%;
  height: auto;
}

.case-card:hover .thumb svg {
  transform: scale(1.05);
}

.case-card .body {
  padding: 20px;
}

.case-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.case-card p {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.case-card .result {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--brand-d);
  font-weight: 600;
}

/* ============ 评价 ============ */
blockquote.testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 22px;
  font-size: 14.5px;
  color: var(--ink-2);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

blockquote.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 18px;
  font-size: 56px;
  line-height: 1;
  color: rgba(26, 95, 180, 0.1);
  font-family: Georgia, serif;
}

blockquote.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

blockquote.testimonial footer {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-3);
}

/* ============ 表格 ============ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}

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

th,
td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: #f0f5fc;
  color: var(--brand-d);
  font-weight: 600;
}

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

tbody tr {
  transition: background 0.2s var(--ease);
}

tbody tr:hover {
  background: rgba(26, 95, 180, 0.04);
}

/* ============ 联系区 ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.contact-info dl {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px 12px;
  font-size: 14.5px;
  margin-bottom: 8px;
}

.contact-info dt {
  color: var(--ink-2);
}

.contact-info dd {
  color: var(--ink);
  font-weight: 500;
  word-break: break-word;
}

.contact-info dd a {
  font-weight: 600;
}

.contact-info h4 {
  margin-top: 16px;
}

form.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.3s var(--ease);
}

form.contact-form:focus-within {
  box-shadow: var(--shadow);
}

form.contact-form h3 {
  margin-bottom: 16px;
}

form.contact-form label {
  display: block;
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 6px;
  font-weight: 500;
}

form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 14px;
  outline: none;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.12);
}

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

form.contact-form button {
  background: linear-gradient(135deg, var(--brand), var(--brand-l));
  color: #fff;
  border: 0;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s var(--ease);
}

form.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 95, 180, 0.3);
  filter: brightness(1.06);
}

/* ============ 网站地图 ============ */
.sitemap-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.sitemap-cols h4 {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--brand-d);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.sitemap-cols ul {
  list-style: none;
  font-size: 14px;
}

.sitemap-cols li {
  margin-bottom: 7px;
}

.sitemap-cols a {
  color: var(--ink-2);
  display: inline-block;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.sitemap-cols a:hover {
  color: var(--brand);
  transform: translateX(3px);
  text-decoration: none;
}

/* ============ 页脚 ============ */
footer.site-footer {
  background: linear-gradient(180deg, #0f2236, #0a1826);
  color: #b9c6d6;
  font-size: 14px;
  padding: 48px 0 0;
}

footer.site-footer a {
  color: #cfdbea;
  transition: color 0.2s var(--ease);
}

footer.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 32px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}

.footer-grid h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-brand p {
  margin-bottom: 10px;
  line-height: 1.75;
}

.footer-bottom {
  border-top: 1px solid #1e3550;
  padding: 16px 0;
  font-size: 13px;
  color: #8fa2b8;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  line-height: 1.7;
}

/* ============ 返回顶部 ============ */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-l));
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  z-index: 200;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}

.back-top.show {
  display: flex;
  animation: fade 0.3s var(--ease);
}

.back-top:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
}

/* ============ 滚动动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  will-change: opacity, transform;
}

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

/* ============ 暗色模式 ============ */
body.dark {
  --ink: #e6ebf1;
  --ink-2: #a9b4c0;
  --ink-3: #7b8794;
  --line: #2a3a4d;
  --bg: #0e1621;
  --bg-2: #121d2b;
  --card: #152233;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 16px 44px rgba(0, 0, 0, 0.55);
  --glass: rgba(14, 22, 33, 0.72);
  --glass-border: rgba(42, 58, 77, 0.6);
}

body.dark header.site-header {
  background: var(--glass);
  border-bottom-color: var(--line);
}

body.dark .search-box {
  background: #0e1621;
}

body.dark .card,
body.dark .article-card,
body.dark .faq-item,
body.dark .step,
body.dark .case-card,
body.dark .table-wrap,
body.dark form.contact-form,
body.dark blockquote.testimonial {
  background: var(--card);
  border-color: #2a3a4d;
}

body.dark .card:hover,
body.dark .article-card:hover,
body.dark .case-card:hover,
body.dark .faq-item:hover,
body.dark .step:hover {
  border-color: #3a5270;
}

body.dark th {
  background: #1b2c40;
  color: #cfe0f5;
}

body.dark tbody tr:hover {
  background: rgba(47, 127, 212, 0.08);
}

body.dark .btn-icon {
  background: var(--card);
  color: var(--ink);
}

body.dark .topbar {
  background: linear-gradient(90deg, #0a1626, #0e1f36);
}

body.dark .icon-badge {
  background: linear-gradient(135deg, #1b2c40, #223a55);
}

body.dark .card:hover .icon-badge {
  background: linear-gradient(135deg, #223a55, #2a4a6b);
}

body.dark .timeline {
  border-left-color: #2a3a4d;
}

body.dark .timeline .item::before {
  box-shadow: 0 0 0 4px #1b2c40;
}

body.dark .section-head .kicker {
  background: rgba(47, 127, 212, 0.16);
  color: #7fb2f0;
}

body.dark .case-card .thumb {
  background: linear-gradient(135deg, #1b2c40, #223a55);
}

body.dark .breadcrumb {
  background: var(--bg-2);
}

body.dark .faq-q:hover {
  background: rgba(47, 127, 212, 0.08);
}

body.dark .search-box input {
  color: var(--ink);
}

body.dark form.contact-form input,
body.dark form.contact-form textarea,
body.dark form.contact-form select {
  background: #0e1621;
  color: var(--ink);
}

body.dark .sitemap-cols h4 {
  color: #7fb2f0;
}

body.dark .sitemap-cols a {
  color: var(--ink-2);
}

body.dark .sitemap-cols a:hover {
  color: #7fb2f0;
}

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  nav.main-nav a {
    padding: 8px 9px;
    font-size: 14px;
  }
  .search-box input {
    width: 120px;
  }
}

@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-list,
  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sitemap-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  nav.main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 16px;
    box-shadow: var(--shadow-hover);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  nav.main-nav.open {
    display: block;
    animation: fade 0.3s var(--ease);
  }
  nav.main-nav ul {
    flex-direction: column;
    gap: 2px;
  }
  nav.main-nav a {
    padding: 10px 12px;
    font-size: 15px;
  }
  .menu-toggle {
    display: flex;
  }
  .search-box input {
    width: 110px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  section {
    padding: 40px 0;
  }
  .hero h1 {
    font-size: 24px;
    line-height: 1.45;
  }
  .hero p.lead {
    font-size: 14.5px;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero-stats b {
    font-size: 20px;
  }
  .hero-stats span {
    font-size: 12px;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid,
  .sitemap-cols {
    grid-template-columns: 1fr;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .section-head {
    margin-bottom: 26px;
  }
  .card {
    padding: 20px;
  }
  .contact-info dl {
    grid-template-columns: 84px 1fr;
    font-size: 14px;
  }
  .btn {
    padding: 11px 20px;
    font-size: 14px;
  }
  .hero .cta {
    gap: 10px;
  }
  .slider {
    padding: 18px;
    min-height: 240px;
  }
  .topbar .container {
    justify-content: center;
    text-align: center;
    font-size: 12px;
  }
  .back-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
  .search-box {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .brand small {
    display: none;
  }
}

/* ============ 动效降级 ============ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============ 打印 ============ */
@media print {
  header.site-header,
  .topbar,
  .back-top,
  nav.main-nav,
  .slider,
  .hero::after,
  .hero::before {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  .hero {
    background: none;
    color: #000;
  }
  .hero h1,
  .hero p.lead,
  .hero h1 em {
    color: #000;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
  .card,
  .article-card,
  .faq-item,
  .step,
  .case-card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}