/* ==========================================================
   云南智足信息咨询有限公司 — 站点样式
   ========================================================== */

:root {
  /* 色板取自公司图标（icon.png）：主蓝 #29B4EE、深灰 #4D4D4D、底白 #FFFFFF */
  --brand:        #29B4EE;       /* 图标主蓝：点缀、链接、边框、图标、光晕 */
  --brand-dark:   #1189C8;       /* 同色加深一档：实心按钮底、小标题、数字 */
  --brand-deep:   #0D6E9F;       /* 按钮 hover / 需要更强对比时 */
  --brand-soft:   #E9F6FD;       /* 浅色底：标签、图标底、hover 底 */
  --brand-rgb:    41, 180, 238;  /* 主蓝分量，供 rgba() 用 */

  --ink:          #4D4D4D;       /* 图标深灰：正文与标题 */
  --ink-2:        #5C5C5C;
  --muted:        #7A7A7A;
  --ink-deep:     #2C3034;       /* 深色区块底（页脚） */
  --surface-dark: #33383D;       /* 深色渐变起点（内页横幅 / CTA 条） */

  --bg:           #FFFFFF;
  --bg-soft:      #F4FAFD;
  --line:         #E6E9EB;
  --radius:       12px;
  --radius-lg:    18px;
  --shadow-sm:    0 1px 3px rgba(28, 39, 45, .06);
  --shadow:       0 6px 24px rgba(28, 39, 45, .08);
  --shadow-lg:    0 16px 44px rgba(28, 39, 45, .12);
  --max:          1160px;
  --header-h:     72px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }
a  { color: var(--brand); text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 18px; letter-spacing: .02em; }
.brand-text em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
}

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .18s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--brand);
  transition: right .22s ease;
}
.site-nav a:hover { color: var(--brand); }
.site-nav a:hover::after { right: 0; }
.site-nav .nav-cta {
  background: var(--brand-dark);
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  transition: background .18s, transform .18s;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--brand-deep); color: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  background: linear-gradient(180deg, #F3FAFE 0%, #FFFFFF 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(760px 380px at 82% 8%, rgba(var(--brand-rgb), .16), transparent 62%),
    radial-gradient(560px 320px at 8% 92%, rgba(17, 137, 200, .10), transparent 65%),
    linear-gradient(rgba(var(--brand-rgb), .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-rgb), .07) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-copy { max-width: 760px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(var(--brand-rgb), .16);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(32px, 5.2vw, 54px);
  line-height: 1.2;
  margin-bottom: 20px;
  color: #3A3A3A;
}
.hero .lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-2);
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.btn-primary {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(var(--brand-rgb), .3);
}
.btn-primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-block { width: 100%; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero-facts li {
  padding-right: 44px;
  margin-right: 44px;
  border-right: 1px solid var(--line);
}
.hero-facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts strong {
  display: block;
  font-size: 30px;
  color: var(--brand-dark);
  line-height: 1.2;
}
.hero-facts .unit { font-size: 16px; font-weight: 600; margin-left: 2px; }
.hero-facts span { font-size: 13px; color: var(--muted); }

/* 首屏右侧视觉 */
.hero-visual {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 380px;
}
.hv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}
.hv-main {
  animation: hvFloat 7s ease-in-out infinite;
}
.hv-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--brand);
  margin-bottom: 16px;
}
.hv-chips { display: flex; flex-direction: column; gap: 9px; }
.hv-chips li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 8px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hv-chips li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.hv-float {
  position: absolute;
  left: -46px;
  bottom: -34px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  animation: hvFloat 7s ease-in-out infinite reverse;
}
.hv-float strong { display: block; font-size: 15px; color: var(--ink); }
.hv-float em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.hv-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  position: relative;
  flex: none;
}
.hv-dot::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .18);
}
@keyframes hvFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hv-main, .hv-float { animation: none; }
}

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-copy p { color: var(--ink-2); }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.mini-card h4 { font-size: 15px; margin-bottom: 8px; color: var(--brand-dark); }
.mini-card p { margin: 0; font-size: 14px; color: var(--muted); }

.about-info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.about-info h3 { font-size: 18px; margin-bottom: 20px; }
.info-table { margin: 0; }
.info-row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.info-row:last-of-type { border-bottom: 0; }
.info-row dt { color: var(--muted); }
.info-row dd { margin: 0; color: var(--ink); word-break: break-all; }

.badge-ok {
  display: inline-block;
  background: #E8F7EE;
  color: #1A7F45;
  border: 1px solid rgba(26, 127, 69, .22);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 13px;
  font-weight: 600;
}
.info-note { font-size: 12.5px; color: var(--muted); margin: 18px 0 0; }

/* ---------- 服务卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--brand-rgb), .3);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }

.scope-note {
  margin: 32px 0 0;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- 流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -16px;
  width: 10px; height: 10px;
  border-top: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
  transform: rotate(45deg);
  opacity: .55;
}
.step-no {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: rgba(var(--brand-rgb), .22);
  line-height: 1;
  margin-bottom: 14px;
}
.steps h3 { font-size: 16px; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- 优势 ---------- */
.strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.strength {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--brand);
}
.strength h3 { font-size: 16px; margin-bottom: 10px; }
.strength p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- 联系 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.contact-label { color: var(--muted); }
.contact-value { color: var(--ink); }

.placeholder {
  color: #9BA0A4;
  background: #F2F4F6;
  border: 1px dashed #D3D7DA;
  border-radius: 6px;
  padding: 1px 10px;
  display: inline-block;
  font-size: 14px;
}

.qr-box { margin-top: 28px; display: flex; align-items: center; gap: 18px; }
.qr-ph {
  width: 96px; height: 96px;
  border: 1px dashed #D3D7DA;
  border-radius: 8px;
  background:
    repeating-conic-gradient(#EEF1F3 0% 25%, #fff 0% 50%) 50% / 16px 16px;
}
.qr-img {
  width: 96px; height: 96px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}
.qr-box p { margin: 0; font-size: 13px; color: var(--muted); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 18px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .12);
}
.form-tip { margin: 12px 0 0; font-size: 13.5px; min-height: 20px; }
.form-tip.ok  { color: #1A7F45; }
.form-tip.err { color: #C0392B; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink-deep);
  color: #B0B3B6;
  padding: 56px 0 24px;
  font-size: 14px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
}
.footer-brand strong { display: block; color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer-brand p { margin: 0 0 6px; font-size: 13.5px; }
.footer-links h4, .footer-contact h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.footer-links a { display: block; color: #B0B3B6; margin-bottom: 8px; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-contact p { margin: 0 0 8px; font-size: 13.5px; }
.footer-contact .placeholder {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .16);
  color: #9BA0A4;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-top: 20px;
  font-size: 13px;
  color: #8C8F92;
}
.footer-bottom p { margin: 0; }

/* ---------- 导航当前页高亮 ---------- */
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.site-nav a[aria-current="page"]::after { right: 0; }

/* ---------- 内页横幅 ---------- */
.page-banner {
  position: relative;
  padding: 60px 0 56px;
  background: linear-gradient(135deg, var(--surface-dark) 0%, #4D4D4D 100%);
  color: #fff;
  overflow: hidden;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(520px 260px at 88% 12%, rgba(var(--brand-rgb), .34), transparent 62%),
    radial-gradient(420px 240px at 6% 88%, rgba(255, 255, 255, .07), transparent 66%);
  pointer-events: none;
}
.page-banner > .container { position: relative; }
.page-banner h1 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.banner-sub {
  margin: 0;
  max-width: 660px;
  font-size: 16px;
  color: rgba(255, 255, 255, .82);
}
.banner-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.crumb {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.crumb a { color: rgba(255, 255, 255, .78); }
.crumb a:hover { color: #fff; }
.crumb em { font-style: normal; color: rgba(255, 255, 255, .95); }

.section-sm { padding: 40px 0; }

/* ---------- 领域标签行 ---------- */
.fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-bottom: 4px;
}
.fields-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  flex: none;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-row li {
  font-size: 13.5px;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
}

/* ---------- 案例卡片 ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--brand-rgb), .3);
}
.case-thumb {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #9BA0A4;
  background:
    repeating-conic-gradient(#F1F4F6 0% 25%, #fff 0% 50%) 50% / 22px 22px;
  border-bottom: 1px solid var(--line);
}
.case-thumb-icon { opacity: .7; }
.case-thumb-text { font-size: 12.5px; letter-spacing: .04em; }

.case-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.case-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.case-body h3 { font-size: 17px; margin-bottom: 10px; }
.case-body p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.case-stats dt { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.case-stats dd { margin: 0; font-size: 17px; font-weight: 700; color: var(--brand-dark); }
.case-more {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-dark);
}
.case-card:hover .case-more { color: var(--brand-deep); }

/* ---------- 案例详情页 ---------- */
.case-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}
.detail-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 34px;
}
.detail-hero img { width: 100%; height: auto; }
.detail-block + .detail-block { margin-top: 34px; }
.detail-block h2 {
  font-size: 20px;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
}
.detail-block p { margin: 0 0 1em; font-size: 15.5px; color: var(--ink-2); }
.detail-block p:last-child { margin-bottom: 0; }
.detail-empty {
  margin: 0;
  padding: 20px 22px;
  background: #fff;
  border: 1px dashed #D3D7DA;
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--muted);
}

/* 列表空态（如「暂无对外展示的案例」） */
.list-empty {
  margin: 0;
  padding: 34px 24px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed #D3D7DA;
  border-radius: var(--radius-lg);
}

.detail-side {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.side-title { font-size: 15px; margin-bottom: 14px; }
.side-card .info-row { grid-template-columns: 92px 1fr; gap: 12px; font-size: 14px; padding: 9px 0; }
.side-empty { margin: 0; font-size: 14px; color: var(--muted); }
.side-stats { margin: 0; display: grid; gap: 14px; }
.side-stats dt { font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.side-stats dd { margin: 0; font-size: 20px; font-weight: 700; color: var(--brand-dark); }

.detail-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.detail-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.detail-nav-item:hover {
  border-color: rgba(var(--brand-rgb), .3);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.detail-nav-item.next { text-align: right; }
.detail-nav-item.disabled { border: 0; background: none; padding: 0; }
.dn-label { font-size: 12.5px; color: var(--muted); }
.dn-title { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.nf-detail { display: flex; justify-content: center; }

/* ---------- 说明块 ---------- */
.note-block {
  margin-top: 44px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
}
.note-block h3 { font-size: 16px; margin-bottom: 12px; color: var(--brand-dark); }
.note-block p { font-size: 14.5px; color: var(--ink-2); }
.note-list { margin: 14px 0 0; padding-left: 20px; list-style: decimal; }
.note-list li { font-size: 14.5px; color: var(--ink-2); margin-bottom: 8px; }
.note-list strong { color: var(--ink); }
.note-block code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
}
.note-foot { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- 合作方向 ---------- */
.coop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.coop-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.coop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--brand-rgb), .3);
}
.coop-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.coop-card h3 { font-size: 16px; margin-bottom: 10px; }
.coop-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- 伙伴墙 ---------- */
.partner-group { margin-bottom: 40px; }
.partner-group:last-of-type { margin-bottom: 0; }
.pg-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
}
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.logo-cell {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px dashed #D3D7DA;
  border-radius: var(--radius);
  padding: 12px;
  transition: border-color .2s, background .2s;
}
.logo-cell img { max-height: 100%; object-fit: contain; }
.logo-cell span { font-size: 13px; color: #9BA0A4; }
.logo-cell:hover { border-color: var(--brand); background: var(--brand-soft); }

/* ---------- 行动号召条 ---------- */
.cta-band {
  background-color: var(--surface-dark);
  background-image:
    radial-gradient(520px 240px at 88% 50%, rgba(var(--brand-rgb), .32), transparent 64%),
    linear-gradient(135deg, var(--surface-dark) 0%, #4D4D4D 100%);
  color: #fff;
  padding: 52px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-inner h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 8px; }
.cta-inner p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 15px; }
.btn-light {
  background: #fff;
  color: var(--brand-dark);
  flex: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}
.btn-light:hover { background: var(--brand-soft); color: var(--brand-deep); transform: translateY(-2px); }

/* ---------- 滚动出现动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .cards, .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:not(:last-child)::after { display: none; }
  .hero-visual { display: none; }
  .hero-copy { max-width: 100%; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 24px 18px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav .nav-cta { border-bottom: 0; margin-top: 14px; text-align: center; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 64px 0 60px; }
  .hero-facts li { padding-right: 26px; margin-right: 26px; }
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .cards, .strength-grid, .steps, .about-cards { grid-template-columns: 1fr; }
  .hero-facts li { padding-right: 18px; margin-right: 18px; }
  .hero-facts strong { font-size: 24px; }
  .info-row { grid-template-columns: 96px 1fr; }
  .contact-form, .about-info { padding: 24px; }
}

/* ---------- 新增内页组件：响应式 ---------- */
@media (max-width: 1024px) {
  .cases { grid-template-columns: repeat(2, 1fr); }
  .coop-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  /* 案例详情页：窄屏改为单栏，侧栏不再吸顶 */
  .case-detail { grid-template-columns: 1fr; gap: 32px; }
  .detail-side { position: static; }
}

@media (max-width: 860px) {
  .page-banner { padding: 44px 0 40px; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
}

@media (max-width: 560px) {
  .cases, .coop-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .note-block { padding: 22px 20px; }
  .case-body { padding: 20px; }
  .cta-band { padding: 40px 0; }
  .detail-nav { grid-template-columns: 1fr; gap: 12px; }
  .case-detail { gap: 26px; }
}
