:root {
  --navy: #1e3045;
  --navy2: #243a52;
  --slate: #2a3f56;
  --muted: #667085;
  --line: #e5e7eb;
  --blue: #0b3b75;
  --blue-hover: #0a4b8d;
  --bg: #f4f6f9;
  --bg-light: #f7f9fc;
  --white: #fff;
  --text: #142033;
  --text-dark: #102038;
  --text-body: #5e6b7d;
  --text-muted: #374151;
  --text-light: #9ca3af;
  --tag-bg: #eef3ff;
  --bg-tint: #f0f4f9;
  --form-border: #d7dde7;
  --text-footer: #c7d3e3;
  --border-light: #edf0f4;
  --border-faint: #f3f4f6;
  --gold: #b8942e;
  --gold-light: #d4b85c;
  --font-serif: Georgia, "Noto Serif SC", "STSong", "Songti SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --shadow-glow: 0 4px 24px rgba(11,59,117,.10);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,.04);
  --shadow-md: 0 8px 30px rgba(11,59,117,.08);
  --shadow-card: 0 2px 12px rgba(0,0,0,.06);
  --transition: .25s ease;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text, #142033);
  line-height: 1.7;
  background: #fff
}

main { display: block; margin: 0; padding: 0; }

main > section:first-child { margin-top: 0; }

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

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

.container {
  width: min(1180px, 92%);
  margin: auto
}

/* ===== 顶部导航 ===== */
.topbar {
  background: var(--navy, #1e3045);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
  border-bottom: 1px solid var(--navy);
}

.topbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--blue), transparent);
  opacity: .3;
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: .3px
}

.logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0
}

.brand small {
  display: block;
  color: #b8c7d9;
  font-size: 12px;
  font-weight: 500
}

.menu {
  display: flex;
  align-items: center;
  gap: 36px;
  font-weight: 700
}

.menu a {
  opacity: .85;
  transition: opacity .3s, color .3s;
}

.menu a.active,
.menu a:hover {
  color: #fff;
  opacity: 1;
  border-bottom: 2px solid #fff;
  padding-bottom: 8px
}

/* ===== 下拉菜单 ===== */
.menu-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-dropdown > a {
  cursor: pointer;
}

.dropdown-items {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -12px;
  min-width: 160px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  padding: 6px 0;
  z-index: 30;
}

.dropdown-items::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 28px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgba(0,0,0,.04);
}

.menu-dropdown:hover .dropdown-items {
  display: block;
}

.dropdown-items a {
  display: block;
  padding: 10px 20px;
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 600;
  border-bottom: none !important;
  opacity: 1 !important;
  white-space: nowrap;
}

.dropdown-items a:hover,
.dropdown-items a.active {
  background: #f0f4f9;
  color: var(--blue, #0b3b75) !important;
  border-bottom: none !important;
  padding-bottom: 10px !important;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue, #0b3b75);
  color: #fff;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .5px;
  transition: all .3s;
  box-shadow: 0 2px 8px rgba(11,59,117,.15);
}

.btn:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 16px rgba(11,59,117,.25);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn.outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  box-shadow: none;
}

.btn.outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.85);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

/* ===== 案例中心 ===== */
.case-filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.case-filter-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.filter-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted, #667085);
  margin-right: 8px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted, #667085);
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.filter-btn span {
  font-size: 12px;
  color: #b0b8c4;
}

.filter-btn:hover {
  color: var(--blue, #0b3b75);
  background: var(--tag-bg, #eef3ff);
}

.filter-btn.active {
  color: #fff;
  background: var(--blue, #0b3b75);
  border-color: var(--blue, #0b3b75);
}

.filter-btn.active span {
  color: rgba(255,255,255,.7);
}

/* 三列案例网格 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

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

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

/* 入场动画 */
.case-anim {
  opacity: 1;
  transform: translateY(0);
}

.case-anim.visible {
  animation: caseFadeIn .5s ease forwards;
}

@keyframes caseFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.case-card {
  background: var(--white, #fff);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s, transform .3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 推荐卡片 */
.case-card.case-rec {
  border-left: 4px solid var(--blue);
  background: linear-gradient(135deg, #fafcff 0%, #fff 60%);
}

/* 卡片悬停 */
.case-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: var(--blue);
  transform: translateY(-4px);
}

.case-card:hover .case-cover img {
  transform: scale(1.04);
  filter: brightness(1.06);
}

.case-cover {
  position: relative;
  height: 200px;
  background: #f0f3f8;
  overflow: hidden;
  display: block;
  color: inherit;
  text-decoration: none;
}

.case-cover:hover {
  color: inherit;
  text-decoration: none;
}

.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

/* 默认渐变封面 */
.case-cover-def {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8edf5 0%, #d4dce8 100%);
}

.case-cover-def img {
  max-width: 60%;
  max-height: 50%;
  opacity: .4;
  object-fit: contain;
}

/* 推荐角标 */
.case-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 3px;
  z-index: 2;
  letter-spacing: .5px;
}

/* 行业标签 (封面左上角) */
.case-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue, #0b3b75);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
  z-index: 2;
}

.case-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 卡片元信息行 (日期 + 行业) */
.case-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted, #667085);
  margin-bottom: 10px;
}

.case-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 卡片标题 */
.case-info h3 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--text-dark, #102038);
  line-height: 1.45;
}

.case-info h3 a {
  color: var(--text-dark, #102038);
  text-decoration: none;
  transition: color .2s;
}

.case-info h3 a:hover {
  color: var(--blue, #0b3b75);
}

.case-desc {
  font-size: 14px;
  color: var(--text-body, #5e6b7d);
  line-height: 1.7;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 卡片底部信息栏 */
.case-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  border-top: 1px solid var(--border-light);
}

.case-card-client {
  font-size: 13px;
  color: var(--blue, #0b3b75);
  font-weight: 600;
}

.case-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue, #0b3b75);
  text-decoration: none;
  transition: color .2s;
}

.case-card-link:hover {
  color: var(--navy, #1e3045);
  text-decoration: underline;
}

/* ===== 案例详情导航 ===== */
.case-detail-nav {
  background: var(--bg-light, #f7f9fc);
  padding: 28px 0;
}

.case-nav-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.case-nav-side {
  flex: 1;
  min-width: 0;
}

.case-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  text-decoration: none;
  transition: all .2s;
}

.case-nav-btn:hover {
  border-color: var(--blue, #0b3b75);
  box-shadow: 0 2px 12px rgba(11,59,117,.08);
  text-decoration: none;
}

.case-nav-btn.prev {
  justify-content: flex-start;
}

.case-nav-btn.next {
  justify-content: flex-end;
  text-align: right;
}

.case-nav-btn.disabled {
  cursor: default;
  opacity: .4;
}

.case-nav-btn.disabled:hover {
  border-color: var(--line);
  box-shadow: none;
}

.case-nav-arrow {
  font-size: 22px;
  color: var(--blue, #0b3b75);
  flex-shrink: 0;
  line-height: 1;
  font-weight: 700;
}

.case-nav-btn.disabled .case-nav-arrow {
  color: #d1d5db;
}

.case-nav-dir {
  font-size: 12px;
  color: var(--muted, #667085);
  display: block;
}

.case-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark, #102038);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
  display: block;
}

.case-nav-btn:hover .case-nav-title {
  color: var(--blue, #0b3b75);
}

/* 返回列表按钮 (中间) */
.case-nav-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted, #667085);
  background: #fff;
  flex-shrink: 0;
  transition: all .2s;
}

.case-nav-back:hover {
  color: #fff;
  background: var(--blue, #0b3b75);
  border-color: var(--blue, #0b3b75);
}

/* 相关案例 */
.case-detail-related {
  padding-top: 48px;
}

@media (max-width: 768px) {
  .case-nav-row {
    flex-direction: column;
    gap: 12px;
  }

  .case-nav-side {
    width: 100%;
  }

  .case-nav-back {
    order: -1;
  }
}

/* ===== 案例详情两栏布局 ===== */
.cd-detail-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.cd-main {
  min-width: 0;
}

/* 案例封面图（全宽，标题与摘要之间） */
.cd-cover-wrapper {
  padding: 24px 0 0;
}
.cd-cover-wrapper .container img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.cd-cover-def {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy, #1e3045);
  background: linear-gradient(135deg, var(--navy, #1e3045) 0%, var(--navy2, #243a52) 50%, var(--blue, #0b3b75) 100%);
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.cd-cover-def img {
  max-width: 25%;
  max-height: 90px;
  opacity: .5;
  object-fit: contain;
}

/* 摘要引用块（全宽，封面与正文之间） */
.cd-summary-bar {
  padding: 28px 0;
}
.cd-summary-bar blockquote {
  font-size: 18px;
  color: var(--muted, #667085);
  border-left: 3px solid var(--blue);
  padding: 6px 0 6px 20px;
  margin: 0;
  max-width: 880px;
}

/* 文章详情广告横幅 */
.ad-banner {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  transition: box-shadow .3s, transform .3s;
}
.ad-banner:hover {
  box-shadow: 0 8px 30px rgba(11,59,117,.15);
  transform: translateY(-2px);
}
.ad-banner > img {
  width: 100%;
  display: block;
}

/* 广告叠加信息 */
.ad-phone {
  position: absolute;
  bottom: 14px;
  left: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
  pointer-events: none;
}

.ad-qrcode {
  width: 76px;
  height: 76px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,.7);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  object-fit: contain;
  display: block;
}
.ad-qr-wrap {
  position: absolute;
  top: 14px;
  right: 14px;
  text-align: center;
}
.ad-qr-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

/* 正文排版增强（覆盖 Markdown 默认样式） */
.cd-text h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark, #102038);
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
}
.cd-text h2:first-child {
  margin-top: 0;
}
.cd-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy2, #243a52);
  margin: 24px 0 10px;
}
.cd-text p {
  font-size: .95rem;
  color: var(--text-body, #5e6b7d);
  line-height: 1.9;
  margin-bottom: 14px;
}
.cd-text ul,
.cd-text ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
.cd-text ul li,
.cd-text ol li {
  font-size: .95rem;
  color: var(--text-body, #5e6b7d);
  line-height: 2;
}
.cd-text ul li::marker {
  color: var(--blue, #0b3b75);
  font-weight: 700;
}
.cd-text strong {
  color: var(--text-dark, #102038);
}
.cd-text blockquote {
  background: #f0f4f9;
  border-left: 4px solid var(--blue);
  margin: 20px 0;
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  font-size: .93rem;
  color: var(--text-muted, #374151);
}
.cd-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: .9rem;
}
.cd-text table th,
.cd-text table td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-align: left;
}
.cd-text table th {
  background: #f0f4f9;
  font-weight: 700;
  color: var(--text-dark, #102038);
}

.cd-sidebar {
  background: #f4f6f9;
  border-radius: 8px;
  padding: 26px 22px;
  position: sticky;
  top: 98px;
  z-index: 1;
}

/* 侧边栏栏容器（服务详情页：信息 + 联系两个独立块） */
.cd-side-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 98px;
  z-index: 1;
}
.cd-side-col .cd-sidebar {
  position: static;
}
.cd-sidebar h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue);
  color: var(--text-dark, #102038);
}

.cd-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cd-info-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
  color: var(--text-muted, #374151);
}
.cd-info-list li:last-child {
  border-bottom: none;
}

.cd-info-label {
  display: block;
  font-size: .76rem;
  color: var(--muted, #667085);
  margin-bottom: 3px;
  font-weight: 600;
}

.cd-info-icon {
  vertical-align: -2px;
  color: var(--blue);
}

.meta-icon {
  vertical-align: -2px;
  color: var(--muted);
}

.sd-contact-icon {
  vertical-align: -2px;
  opacity: .7;
}

/* 服务详情侧栏 - 服务列表 */
.sd-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sd-service-list li {
  border-bottom: 1px solid var(--line);
}
.sd-service-list li:last-child {
  border-bottom: none;
}
.sd-service-list li a {
  display: block;
  padding: 10px 0;
  font-size: .88rem;
  color: var(--text-muted, #374151);
  text-decoration: none;
  transition: color .2s, padding-left .2s;
}
.sd-service-list li a:hover {
  color: var(--blue, #0b3b75);
  padding-left: 6px;
}
.sd-service-list li.active a {
  color: var(--blue, #0b3b75);
  font-weight: 700;
}

/* 侧栏联系我们模块 */
.sd-contact {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 8px;
  padding: 24px 22px;
  margin-top: 24px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sd-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.sd-contact h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  padding: 0;
  border: none;
  color: #fff;
  font-family: var(--font-serif);
}
.sd-contact p {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  margin: 0 0 14px;
  line-height: 1.6;
}
.sd-contact ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  text-align: left;
}
.sd-contact ul li {
  padding: 7px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.sd-contact ul li:last-child {
  border-bottom: none;
}
.sd-contact-btn {
  display: inline-block;
  background: #fff;
  color: var(--blue, #0b3b75);
  font-size: .88rem;
  font-weight: 700;
  padding: 9px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: all .2s;
}
.sd-contact-btn:hover {
  background: rgba(255,255,255,.9);
  color: var(--blue, #0b3b75);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}

@media (max-width: 992px) {
  .cd-detail-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cd-side-col {
    position: static;
  }
  .cd-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .cd-text h2 {
    font-size: 1.15rem;
  }
}

/* ===== Hero 按钮 ===== */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 14px 36px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 12px;
  transition: all .35s ease;
}

.hero-btn:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.7);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
  color: #fff;
  text-decoration: none;
}

.hero-btn span {
  display: inline-block;
  transition: transform .35s ease;
  font-size: 18px;
}

.hero-btn:hover span {
  transform: translateX(5px);
}

/* ===== Hero 左右箭头 ===== */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  backdrop-filter: blur(8px);
  padding: 0;
}

.hero-arrow svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  transition: transform .3s ease;
}

.hero-arrow:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

.hero-arrow:hover svg {
  transform: scale(1.15);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

@media (max-width: 768px) {
  .hero-arrow {
    width: 36px;
    height: 36px;
  }
  .hero-arrow svg {
    width: 18px;
    height: 18px;
  }
  .hero-prev { left: 10px; }
  .hero-next { right: 10px; }
}
.hero {
  min-height: 85vh;
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s cubic-bezier(.25,0,.15,1), transform 1.8s cubic-bezier(.25,0,.15,1);
  z-index: 1
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1)
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4,22,42,.9) 0%, rgba(4,22,42,.45) 50%, rgba(4,22,42,.25) 100%);
  z-index: 2
}

/* Hero 底部渐变遮罩 */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(4,22,42,.55), transparent);
  z-index: 2;
  pointer-events: none;
}

/* 每个 Slide 内的文字层 */
.hero-caption {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero .container {
  position: relative;
  z-index: 3
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 700;
  max-width: 780px;
  letter-spacing: .02em;
}

.hero p {
  max-width: 640px;
  font-size: 18px;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  font-weight: 400;
}

/* Hero 文入场动画 */
.hero-caption h1,
.hero-caption p,
.hero-caption .hero-btn {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease .2s, transform .8s ease .2s;
}
.hero-slide.active .hero-caption h1,
.hero-slide.active .hero-caption p,
.hero-slide.active .hero-caption .hero-btn {
  opacity: 1;
  transform: translateY(0);
}
.hero-slide.active .hero-caption p { transition-delay: .35s; }
.hero-slide.active .hero-caption .hero-btn { transition-delay: .45s; }

/* 下滚指示器 */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .7;
  transition: opacity .3s;
  cursor: pointer;
}
.hero-scroll-indicator:hover {
  opacity: 1;
}
.hero-scroll-indicator span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.7);
}
.hero-scroll-indicator .scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), rgba(255,255,255,.1));
  position: relative;
  overflow: hidden;
}
.hero-scroll-indicator .scroll-line::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { top: -4px; }
  50% { top: 28px; }
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3
}

.dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: all .3s
}

.dot:hover {
  background: rgba(255, 255, 255, .65)
}

.dot.active {
  background: var(--gold);
  width: 40px;
  box-shadow: 0 0 8px rgba(200,169,110,.4)
}

@media (max-width: 768px) {
  .hero {
    min-height: 75vh;
  }
  .hero h1 {
    font-size: clamp(28px, 7vw, 40px);
  }
  .hero p {
    font-size: 16px;
  }
  .hero-dots {
    bottom: 20px;
  }
  .hero-scroll-indicator {
    bottom: 24px;
  }
}

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

.section.light {
  background: var(--bg-light, #f7f9fc);
}

.section + .section.light {
  background: var(--bg-light, #f7f9fc);
}

.section + .section:not(.light) {
  padding-top: 0;
}

/* 区块交替背景 */
.section.dark + .section,
.section.light + .section:not(.light) {
  background: var(--white);
}
.section + .section.light {
  background: var(--bg-light);
}

/* ===== 联系我们背景 ===== */
.contact-section {
  background: linear-gradient(rgba(6,27,51,.85), rgba(6,27,51,.85)),
              url('../img/yuncxd_in_map1.webp') center/cover no-repeat;
  color: #fff;
}

.contact-inner {
  background: rgba(255,255,255,.94);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--text);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
}

.contact-inner .muted {
  color: var(--text-body, #5e6b7d);
}

.contact-inner .card {
  border: none;
  box-shadow: var(--shadow-sm);
}

/* 地图缩略图 */
.contact-map {
  display: block;
  margin-top: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(6,27,51,.12);
  transition: all .35s ease;
  position: relative;
}

.contact-map:hover {
  box-shadow: 0 8px 36px rgba(6,27,51,.22);
  transform: translateY(-3px);
}

.contact-map img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}

.contact-map:hover img {
  transform: scale(1.03);
}

/* 联系方式 两行布局 */
.contact-item {
  margin-bottom: 18px;
}

.contact-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-dark, #102038);
  margin-bottom: 4px;
}

.contact-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item-body {
  margin: 0 0 0 30px;
  font-size: 14px;
  color: var(--muted, #667085);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-inner {
    padding: 24px;
  }
}

.section.dark {
  background: var(--navy, #1e3045);
  color: #fff
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  text-align: center;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.eyebrow-left {
  text-align: left
}

.title {
  font-family: var(--font-serif);
  text-align: center;
  font-size: 34px;
  line-height: 1.35;
  margin: 8px auto 48px;
  color: var(--text-dark, #102038);
  font-weight: 700;
  letter-spacing: .02em;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px
}

.card {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 34px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* 服务卡片增强 */
.svc-card h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.svc-card:hover h3 {
  color: var(--blue, #0b3b75);
}
.svc-arrow {
  display: inline-block;
  font-size: 20px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all .25s;
  color: var(--blue, #0b3b75);
}
.svc-card:hover .svc-arrow {
  opacity: 1;
  transform: translateX(0);
}
.svc-card .icon {
  transition: background .3s;
}
.svc-card:hover .icon {
  background: var(--blue, #0b3b75);
}

.icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: var(--navy, #1e3045);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: border-radius .3s, background .3s;
}

.icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
}

.svc-card:hover .icon {
  background: var(--blue);
  border-radius: 50%;
}

.card h3 {
  font-size: 22px;
  margin: 0 0 12px
}

.card p,
.muted {
  color: var(--text-body, #5e6b7d)
}

/* ===== CTA Banner ===== */
.banner {
  background: linear-gradient(135deg, rgba(30, 48, 69, .92), rgba(11, 59, 117, .7)), url('../img/business.svg') center/cover no-repeat;
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,.015) 40px,
    rgba(255,255,255,.015) 80px
  );
  pointer-events: none;
}

.banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px
}

.banner h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1.35;
  margin: 0
}

/* ===== 客户案例 ===== */
.case-tag {
  display: inline-block;
  background: var(--tag-bg, #eef3ff);
  color: var(--blue, #0b3b75);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 3px;
  margin-bottom: 14px
}

.case-stat {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue, #0b3b75);
  margin-top: 16px
}

.case-stat small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted, #667085);
  margin-top: 2px
}

/* ===== 案例页统计条 ===== */
.case-stats-bar {
  background: var(--bg-light, #f7f9fc);
  padding: 44px 0;
}

.case-stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.case-stat-card {
  padding: 8px;
}

.case-stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--blue, #0b3b75);
  line-height: 1.2;
}

.case-stat-lbl {
  font-size: 14px;
  color: var(--muted, #667085);
  margin-top: 6px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .case-stat-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ===== 数据展示 ===== */
.stats {
  background: linear-gradient(135deg, var(--navy, #1e3045), var(--navy2, #243a52));
  padding: 72px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,110,.06) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.stats::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,59,117,.15) 0%, transparent 70%);
  bottom: -150px;
  left: -80px;
  pointer-events: none;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  text-align: center
}

.stat-item {
  padding: 20px 12px;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  opacity: .5;
  transition: width .3s, opacity .3s;
}

.stat-item:hover::after {
  width: 48px;
  opacity: 1;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== 合作伙伴 ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 32px;
  align-items: center;
  justify-items: center
}

.partner-logo {
  width: 160px;
  height: 80px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted, #667085);
  filter: grayscale(1);
  opacity: .6;
  transition: filter .4s, opacity .4s, box-shadow .4s, transform .4s;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--border-faint);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
  border-color: var(--line);
}

/* ===== 团队成员 ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

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

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

.team-card {
  color: inherit;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: block;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border-faint);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--blue);
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-avatar {
  width: 130px;
  height: 130px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar-def {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}

.team-card h3 {
  font-size: 16px;
  color: var(--text-dark, #102038);
  margin: 0 0 4px;
}

.team-pos {
  font-size: 13px;
  color: var(--blue, #0b3b75);
  margin: 0 0 6px;
  font-weight: 600;
}

.team-desc {
  font-size: 13px;
  color: var(--muted, #667085);
  line-height: 1.6;
  margin: 0;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy, #1e3045);
  color: #d6dfeb;
  padding: 64px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 46px
}

.footer h4 {
  color: #fff;
  margin-top: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
}

.footer a {
  color: rgba(255,255,255,.6);
  transition: color .3s, padding-left .3s;
}

.footer a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer p {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  line-height: 1.8;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-icon {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: .5;
  transition: opacity .3s;
}

.footer a:hover ~ .footer-icon,
.footer p:hover .footer-icon {
  opacity: .9;
}

.copy {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 48px;
  padding-top: 22px;
  padding-bottom: 28px;
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: 13px;
}

.copy a {
  color: rgba(255,255,255,.5);
  transition: color .3s;
}

.copy a:hover {
  color: var(--gold);
}

/* ===== 子页面通用 ===== */
.page-hero {
  background: linear-gradient(135deg, rgba(30, 48, 69, .88), rgba(11, 59, 117, .55)), url('../img/hero.svg') center/cover no-repeat;
  color: #fff;
  padding: 100px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--blue), transparent);
  opacity: .6;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 42px;
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: .02em;
}

.page-hero p {
  color: rgba(255,255,255,.7);
  font-size: 16px;
}

/* ===== 侧边栏搜索框 ===== */
.sidebar-search {
  margin-bottom: 24px
}

.sidebar-search-row {
  display: flex;
  position: relative
}

.sidebar-search-row input {
  flex: 1;
  padding: 10px 44px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-muted, #374151);
  transition: border-color .2s, box-shadow .2s
}

.sidebar-search-row input::placeholder {
  color: var(--text-light, #9ca3af)
}

.sidebar-search-row input:focus {
  outline: none;
  border-color: var(--blue, #0b3b75);
  box-shadow: 0 0 0 3px rgba(11, 59, 117, .08)
}

.sidebar-search-row button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: none;
  background: var(--blue, #0b3b75);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s
}

.sidebar-search-row button:hover {
  background: var(--blue-hover)
}

.sidebar-search-clear {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-light, #9ca3af);
  transition: color .2s
}

.sidebar-search-clear:hover {
  color: #ef4444
}

.search-notice {
  font-size: 15px;
  color: var(--muted, #667085);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light)
}

.search-notice strong {
  color: var(--text)
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center
}

.list {
  padding-left: 0;
  list-style: none
}

.list li {
  padding: 12px 0;
  border-bottom: 1px solid #e9edf3
}

.list li:before {
  content: '✓';
  color: var(--blue, #0b3b75);
  font-weight: 900;
  margin-right: 10px
}

/* 文章正文宽度 */
.article-body {
  max-width: 880px
}

/* ===== 新闻资讯左右布局 ===== */
.articles-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start
}

.articles-main {
  min-width: 0
}

/* 文章卡片（封面图居左） */
.article-card {
  display: flex;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .2s
}

.article-card + .article-card {
  margin-top: 24px
}

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

/* 推荐文章卡片增强 */
.article-card.article-rec {
  border-left: 4px solid var(--blue, #0b3b75);
  background: linear-gradient(135deg, #fafcff 0%, #fff 60%);
}

/* 文章推荐角标 */
.article-rec-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--blue, #0b3b75);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

/* 封面图容器 */
.article-card-img {
  position: relative;
  flex-shrink: 0;
  width: 240px;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  background: #eef1f6
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease
}

.article-card:hover .article-card-img img {
  transform: scale(1.05)
}

/* 封面图渐变遮罩 → 文字自然过渡 */
.article-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 65%, rgba(255, 255, 255, .18) 100%);
  pointer-events: none;
  z-index: 1
}

.article-card-body {
  flex: 1;
  padding: 24px 28px 24px 0;
  display: flex;
  flex-direction: column
}

.article-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue, #0b3b75);
  background: #eef3ff;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 12px
}

.article-card-body h2 {
  font-size: 20px;
  margin: 0 0 10px;
  line-height: 1.4
}

.article-card-body h2 a {
  color: var(--text);
  transition: color .2s
}

.article-card-body h2 a:hover {
  color: var(--blue, #0b3b75)
}

.article-card-desc {
  font-size: 14px;
  color: var(--muted, #667085);
  line-height: 1.7;
  margin: 0 0 16px;
  flex: 1
}

.article-card-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-light, #9ca3af)
}

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

/* 无封面图占位 */
.article-card-placeholder {
  flex-shrink: 0;
  width: 240px;
  aspect-ratio: 4 / 3;
  background: #eef1f6;
  overflow: hidden;
}

.article-card-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.article-card:hover .article-card-placeholder img {
  transform: scale(1.05);
}

/* 无封面图时：左侧内边距 */
.article-card:not(:has(.article-card-img)) .article-card-body {
  padding-left: 28px
}

/* 首页文章两列网格 */
.article-grid-home {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.article-grid-home .article-card {
  margin-top: 0;
}

/* 首页文章简化卡片（图标风格） */
.home-article-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s;
}
.home-article-item:hover {
  box-shadow: var(--shadow-glow);
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* 首页推荐卡片 */
.home-article-item.article-rec {
  border-left: 4px solid var(--blue, #0b3b75);
}

.ha-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef3ff;
  border-radius: 12px;
  color: var(--blue);
}

.ha-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ha-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark, #102038);
  margin: 0 0 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-article-item:hover .ha-body h3 {
  color: var(--blue, #0b3b75);
}

.ha-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ha-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue, #0b3b75);
  background: #eef3ff;
  padding: 2px 10px;
  border-radius: 4px;
}

.ha-date {
  font-size: 12px;
  color: var(--text-light, #9ca3af);
  margin-left: auto;
}

@media (max-width: 768px) {
  .article-grid-home {
    grid-template-columns: 1fr;
  }
}

/* ===== 侧边栏 ===== */
.articles-sidebar {
  position: sticky;
  top: 98px
}

.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px
}

.sidebar-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
  position: relative
}

.sidebar-title:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.sidebar-cat-list {
  list-style: none;
  padding: 0;
  margin: 0
}

.sidebar-cat-list li {
  border-bottom: 1px solid var(--border-faint)
}

.sidebar-cat-list li:last-child {
  border-bottom: none
}

.sidebar-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-muted, #374151);
  transition: color .2s
}

.sidebar-cat-list a:hover {
  color: var(--blue, #0b3b75)
}

.sidebar-cat-cnt {
  background: var(--border-faint);
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 10px
}

.sidebar-post-list {
  list-style: none;
  padding: 0;
  margin: 0
}

.sidebar-post-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-faint)
}

.sidebar-post-list li:last-child {
  border-bottom: none
}

.sidebar-post-list a {
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.sidebar-post-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  background: #f0f3f7
}

.sidebar-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.sidebar-post-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue, #0b3b75);
  border-radius: 8px;
  color: #fff;
}

.sidebar-post-text {
  flex: 1;
  min-width: 0
}

.sidebar-post-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted, #374151);
  line-height: 1.5;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s
}

.sidebar-post-list a:hover .sidebar-post-name {
  color: var(--blue, #0b3b75)
}

.sidebar-post-meta {
  font-size: 12px;
  color: var(--text-light, #9ca3af)
}

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted, #374151);
  text-decoration: none;
  transition: all .2s
}

.page-btn:hover {
  border-color: var(--blue, #0b3b75);
  color: var(--blue, #0b3b75);
  box-shadow: 0 2px 12px rgba(11,59,117,.1);
}

.page-btn.active {
  background: var(--blue, #0b3b75);
  color: #fff;
  border-color: var(--blue, #0b3b75);
  box-shadow: 0 4px 16px rgba(11,59,117,.2);
}

.page-btn.disabled {
  color: #d1d5db;
  pointer-events: none;
  border-color: var(--border-faint);
  background: #fafafa;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 64px 0
}

/* ===== Markdown 增强组件：突出面板 ===== */
.article-body .callout {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--blue);
  background: #f0f4f9;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.article-body .callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--blue, #0b3b75);
}

.callout.warning {
  border-left-color: #e09b12;
  background: #fef6e6;
}
.callout.warning strong { color: #b8780a; }

.callout.success {
  border-left-color: #16a34a;
  background: #ecfdf5;
}
.callout.success strong { color: #15803d; }

.callout.danger {
  border-left-color: #dc2626;
  background: #fef2f2;
}
.callout.danger strong { color: #b91c1c; }

/* 文章页底部广告文案 */
.article-ad {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--bg-tint, #f0f4f9);
  border-left: 4px solid var(--blue, #0b3b75);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted, #374151);
}

/* ===== 表单 ===== */
.form {
  display: grid;
  gap: 16px
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--form-border);
  font: inherit;
  border-radius: 4px;
  transition: border-color .3s, box-shadow .3s;
  background: var(--white);
}

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

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--blue, #0b3b75);
  box-shadow: 0 0 0 3px rgba(11, 59, 117, .08)
}

.form-feedback {
  padding: 12px 16px;
  border-radius: 4px;
  font-weight: 600;
  display: none;
  margin-top: 8px
}

.form-feedback.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  display: block
}

.form-feedback.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block
}

/* ===== 表格 ===== */
.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff
}

.table th,
.table td {
  padding: 16px;
  border-bottom: 1px solid #e8edf4;
  text-align: left
}

.table th {
  background: #f0f4f9;
  color: var(--text-dark, #102038)
}

/* ===== 通用文本工具类 ===== */
.text-heading { color: var(--text-dark, #102038); font-weight: 800; }
.text-footer { color: var(--text-footer); }
.text-muted-inline { color: var(--muted, #667085); }
.card-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 50%, var(--blue) 100%);
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
}

.card-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.card-dark h3 { color: #fff; font-family: var(--font-serif); }
.card-dark p { color: rgba(255,255,255,.78); }

/* ===== 回到顶部 ===== */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(11,59,117,.85);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(11,59,117,.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, background .3s, transform .3s, box-shadow .3s;
  backdrop-filter: blur(6px);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background: var(--blue);
  box-shadow: 0 6px 24px rgba(11,59,117,.3);
  transform: translateY(-3px);
}

#back-to-top:active {
  transform: translateY(0);
}

/* ===== 移动端菜单按钮 ===== */
.mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 26px;
  user-select: none;
  padding: 4px 8px;
  line-height: 1
}

/* ===== 全局滚动入场动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* 服务/案例网格卡片的阶梯动画 */
.grid3 .card.reveal:nth-child(1) { transition-delay: 0s; }
.grid3 .card.reveal:nth-child(2) { transition-delay: .1s; }
.grid3 .card.reveal:nth-child(3) { transition-delay: .2s; }
.grid3 .card.reveal:nth-child(4) { transition-delay: .3s; }
.grid3 .card.reveal:nth-child(5) { transition-delay: .4s; }
.grid3 .card.reveal:nth-child(6) { transition-delay: .5s; }

/* 图片淡入加载 */
img.lazy-img {
  opacity: 0;
  transition: opacity .5s ease;
}
img.lazy-img.loaded {
  opacity: 1;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background: var(--navy, #1e3045);
    padding: 12px 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .2);
    z-index: 10
  }

  .menu.open {
    display: flex
  }

  .menu a {
    padding: 14px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    opacity: 1
  }

  .menu a.active,
  .menu a:hover {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-bottom: 14px;
    background: rgba(255, 255, 255, .06)
  }

  /* 移动端下拉 */
  .menu-dropdown {
    flex-direction: column;
  }
  .dropdown-items {
    position: static;
    background: rgba(0,0,0,.15);
    box-shadow: none;
    border-radius: 0;
    display: block;
  }
  .dropdown-items a {
    padding-left: 48px;
    color: #c7d3e3 !important;
  }
  .dropdown-items a:hover,
  .dropdown-items a.active {
    background: rgba(255,255,255,.08);
    color: #fff !important;
    padding-bottom: 10px !important;
  }

  .mobile-toggle {
    display: block;
    color: #fff
  }

  .grid3,
  .two-col,
  .footer-grid,
  .articles-layout {
    grid-template-columns: 1fr
  }

  .articles-sidebar {
    position: static
  }

  .article-card {
    flex-direction: column;
    gap: 0
  }

  .article-card-img {
    width: 100%;
    aspect-ratio: 16 / 9
  }

  .article-card-img::after {
    background: linear-gradient(to bottom, transparent 55%, rgba(255, 255, 255, .15) 100%)
  }

  .article-card-body {
    padding: 20px 24px
  }

  .article-card:not(:has(.article-card-img)) .article-card-body {
    padding-left: 24px
  }

  .article-card-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto
  }

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

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

  .banner .container {
    display: block
  }

  .nav {
    height: 68px
  }

  .hero {
    min-height: 520px
  }

  .section {
    padding: 64px 0
  }

  .page-hero h1 {
    font-size: 32px
  }

  .title {
    font-size: 28px
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px
  }

  .stat-number {
    font-size: 36px
  }

  .partners-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px
  }

  .partner-logo {
    width: 100%
  }
}

/* ===== 测试环境提示条 ===== */
.test-env-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #f59e0b;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  letter-spacing: 1px;
}
