/* =========================================================
   兴义智拓网络科技 · 官网全站样式
   风格:浅色商务风(白底 + 品牌蓝 + 大圆角卡片)
   ========================================================= */

/* ---------- 设计变量 ---------- */
:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-light: #60a5fa;
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;

  --ink: #1f2937;
  --ink-soft: #374151;
  --muted: #6b7280;
  --muted-light: #9ca3af;

  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-deep: #0f172a;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 6px 20px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 46px rgba(37, 99, 235, .16);

  --wrap: 1180px;
  --header-h: 72px;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 布局容器 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }

/* ---------- 通用标题组 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--brand);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}
.section-desc { margin-top: 16px; font-size: 17px; color: var(--muted); }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37, 99, 235, .36); }

.btn--outline {
  color: var(--brand);
  background: #fff;
  border: 1.5px solid var(--brand-100);
}
.btn--outline:hover { border-color: var(--brand); background: var(--brand-50); transform: translateY(-2px); }

.btn--ghost { color: var(--ink-soft); background: rgba(255, 255, 255, .7); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--light { background: #fff; color: var(--brand-dark); box-shadow: 0 10px 26px rgba(2, 6, 23, .18); }
.btn--light:hover { transform: translateY(-2px); }

.btn--lg { padding: 16px 34px; font-size: 16px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(15, 23, 42, .05);
}

.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 11px; }
.brand__logo { height: 42px; width: auto; display: block; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  position: relative;
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 9px;
  transition: color .2s ease, background .2s ease;
}
.nav-menu a:hover { color: var(--brand); background: var(--brand-50); }
.nav-menu a.is-active { color: var(--brand); font-weight: 700; }
.nav-menu a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--brand);
}

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 11px;
  border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(0) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(0) rotate(-45deg); }

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 96px;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 82% -8%, rgba(96, 165, 250, .22), transparent 62%),
    radial-gradient(700px 420px at 6% 12%, rgba(124, 58, 237, .12), transparent 58%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 82%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(37, 99, 235, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }

.hero h1 {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.02em;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand) 0%, #7c3aed 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 560px; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 24px; }
.hero__badge { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.hero__badge svg { width: 20px; height: 20px; color: var(--brand); }

/* Hero 右侧装饰面板 */
.hero__visual { position: relative; }
.hero-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.hero-card__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.hero-card__dot { width: 11px; height: 11px; border-radius: 50%; }
.hero-card__dot:nth-child(1) { background: #f87171; }
.hero-card__dot:nth-child(2) { background: #fbbf24; }
.hero-card__dot:nth-child(3) { background: #34d399; }
.hero-card__title { margin-left: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }

.hero-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; border-radius: 14px;
  background: var(--bg-soft); border: 1px solid var(--line);
  margin-bottom: 12px;
}
.hero-row:last-child { margin-bottom: 0; }
.hero-row__icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), #7c3aed);
}
.hero-row__icon svg { width: 22px; height: 22px; }
.hero-row b { display: block; font-size: 15px; }
.hero-row span { font-size: 13px; color: var(--muted); }
.hero-row__pill {
  margin-left: auto; font-size: 12px; font-weight: 700; color: #059669;
  background: #ecfdf5; padding: 4px 10px; border-radius: 999px;
}

.hero-float {
  position: absolute; right: -14px; bottom: -22px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero-float b { font-size: 22px; color: var(--brand); line-height: 1; }
.hero-float span { font-size: 13px; color: var(--muted); }

/* ---------- 数据条 ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 38px 26px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }

/* 服务能力条(无数字) */
.stat__icon { width: 46px; height: 46px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 13px; color: var(--brand); background: var(--brand-50); border: 1px solid var(--brand-100); }
.stat__icon svg { width: 23px; height: 23px; }
.stat__title { font-size: 17px; font-weight: 700; color: var(--ink); }
.stat__desc { margin-top: 7px; font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--brand), #7c3aed); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.card:hover::after { transform: scaleX(1); }

.card__icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  color: var(--brand); background: var(--brand-50); border: 1px solid var(--brand-100);
  margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card__list { margin-top: 18px; display: grid; gap: 9px; }
.card__list li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-soft); }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-50);
  box-shadow: inset 0 0 0 1.5px var(--brand);
}
.card__list li::after {
  content: ""; position: absolute; left: 4.5px; top: 12px; width: 5px; height: 3px;
  border-left: 1.6px solid var(--brand); border-bottom: 1.6px solid var(--brand);
  transform: rotate(-45deg);
}
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 600; color: var(--brand); font-size: 15px; }
.card__link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card__link:hover svg { transform: translateX(4px); }

/* 大业务卡(首页三大板块)*/
.biz-card { padding: 34px 30px; }
.biz-card .card__icon { width: 64px; height: 64px; border-radius: 18px; }
.biz-card .card__icon svg { width: 32px; height: 32px; }
.biz-card .card__tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand);
  background: var(--brand-50); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- 优势图标行 ---------- */
.feature { display: flex; gap: 16px; padding: 4px; }
.feature__icon {
  width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
  color: var(--brand); background: #fff; border: 1px solid var(--brand-100); box-shadow: var(--shadow-sm);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h4 { font-size: 17px; margin-bottom: 5px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------- 服务流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step__num {
  counter-increment: step;
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--brand), #7c3aed);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .3);
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- 客户评价 ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote__stars { display: flex; gap: 3px; color: #f59e0b; margin-bottom: 14px; }
.quote__stars svg { width: 17px; height: 17px; }
.quote p { font-size: 15.5px; color: var(--ink-soft); }
.quote__person { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--brand), #7c3aed);
}
.quote__person b { display: block; font-size: 15px; }
.quote__person span { font-size: 13px; color: var(--muted); }

/* ---------- Logo 墙 ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-chip {
  height: 74px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; color: var(--muted-light); font-weight: 700; font-size: 15px;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.logo-chip:hover { color: var(--brand); border-color: var(--brand-100); transform: translateY(-3px); }

/* ---------- 课程海报墙 ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.course-card {
  display: block; width: 100%; padding: 0; cursor: zoom-in;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.course-card img { width: 100%; height: auto; display: block; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }

/* ---------- 图片灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 28px;
  background: rgba(15, 23, 42, .88); backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: min(760px, 92vw); max-height: 88vh; width: auto; height: auto;
  border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.lightbox__btn {
  position: absolute; display: grid; place-items: center; color: #fff;
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(4px); transition: background .2s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .26); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: 24px; right: 26px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- CTA 行动区 ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(125deg, #1e3a8a 0%, var(--brand) 55%, #7c3aed 120%);
  color: #fff; padding: 62px 56px; box-shadow: var(--shadow-lg);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(circle at 80% 0%, #000, transparent 70%);
}
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.01em; }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, .82); font-size: 16px; max-width: 560px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 页面 Banner(内页)*/
.page-banner {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 62px) 0 66px;
  background:
    radial-gradient(760px 380px at 88% -20%, rgba(96, 165, 250, .22), transparent 62%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}
.page-banner__inner { position: relative; }
.page-banner h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.page-banner p { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 680px; }
.breadcrumb { margin-top: 22px; font-size: 14px; color: var(--muted-light); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 8px; }

/* ---------- 锚点侧导航(服务页)*/
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 46px; }
.anchor-nav a {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: all .2s ease;
}
.anchor-nav a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }

/* ---------- 服务详情区块 ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.svc--reverse .svc__media { order: 2; }
.svc__index { font-size: 15px; font-weight: 800; color: var(--brand); letter-spacing: .1em; }
.svc h2 { font-size: clamp(24px, 3vw, 34px); margin: 12px 0 16px; font-weight: 800; letter-spacing: -.01em; }
.svc__desc { color: var(--muted); font-size: 16px; }
.svc__points { margin-top: 24px; display: grid; gap: 14px; }
.svc__point { display: flex; gap: 13px; align-items: flex-start; }
.svc__point svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 3px; }
.svc__point b { display: block; font-size: 16px; }
.svc__point span { font-size: 14.5px; color: var(--muted); }

.svc__media {
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff;
  padding: 26px; box-shadow: var(--shadow);
}
.svc__media-row { display: flex; align-items: center; gap: 14px; padding: 15px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 12px; }
.svc__media-row:last-child { margin-bottom: 0; }
.svc__media-num { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--brand); background: var(--brand-50); }
.svc__media-row b { font-size: 15px; display: block; }
.svc__media-row span { font-size: 13px; color: var(--muted); }

/* ---------- 关于:时间线 ---------- */
.timeline { position: relative; margin-top: 10px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--brand), #7c3aed); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -33px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.tl-item__year { font-weight: 800; color: var(--brand); font-size: 15px; }
.tl-item h4 { font-size: 18px; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); font-size: 15px; }

/* ---------- 关于:价值卡 ---------- */
.value-card { text-align: center; padding: 34px 26px; }
.value-card .card__icon { margin: 0 auto 18px; }
.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 团队 ---------- */
.member { text-align: center; }
.member__photo {
  width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; color: #fff; font-size: 34px; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), #7c3aed);
  box-shadow: 0 12px 26px rgba(37, 99, 235, .28);
}
.member b { font-size: 18px; display: block; }
.member span { color: var(--muted); font-size: 14px; }
.member p { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- 案例 ---------- */
.case-card { padding: 0; overflow: hidden; }
.case-card__cover {
  height: 168px; display: grid; place-items: center; color: #fff; position: relative;
  background: linear-gradient(135deg, var(--brand), #7c3aed);
}
.case-card__cover svg { width: 54px; height: 54px; opacity: .92; }
.case-card__body { padding: 24px 26px 28px; }
.case-card__industry { font-size: 12.5px; font-weight: 600; color: var(--brand); background: var(--brand-50); padding: 3px 11px; border-radius: 999px; }
.case-card h3 { font-size: 19px; margin: 14px 0 8px; }
.case-card p { font-size: 14.5px; color: var(--muted); }
.case-card__metrics { display: flex; gap: 22px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.case-card__metrics div b { display: block; font-size: 22px; color: var(--brand); font-weight: 800; line-height: 1.1; }
.case-card__metrics div span { font-size: 13px; color: var(--muted); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; margin-bottom: 16px; transition: box-shadow .2s ease, transform .2s ease; }
.contact-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-item__icon { width: 48px; height: 48px; border-radius: 13px; flex: none; display: grid; place-items: center; color: var(--brand); background: var(--brand-50); border: 1px solid var(--brand-100); }
.contact-item__icon svg { width: 24px; height: 24px; }
.contact-item b { display: block; font-size: 15px; margin-bottom: 3px; }
.contact-item span { color: var(--muted); font-size: 15px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink-soft); }
.field label .req { color: #ef4444; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 15px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-50);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ef4444; background: #fef2f2; }
.field__error { display: none; margin-top: 6px; font-size: 13px; color: #ef4444; }
.field.has-error .field__error { display: block; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted-light); }
.form-success { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: #ecfdf5; color: #047857; font-size: 14.5px; font-weight: 600; border: 1px solid #a7f3d0; }
.form-success.show { display: block; }

.map-placeholder {
  margin-top: 20px; height: 240px; border-radius: var(--radius); border: 1px dashed var(--line);
  background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 12px, #f1f5f9 12px, #f1f5f9 24px);
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px;
}
.map-placeholder svg { width: 34px; height: 34px; color: var(--brand); margin: 0 auto 10px; }

/* ---------- 二维码卡片 ---------- */
.qr-card {
  margin-top: 16px; display: flex; align-items: center; gap: 18px; padding: 22px;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
}
.qr-card img { width: 132px; height: 132px; border-radius: 12px; display: block; flex: none; border: 1px solid var(--line); }
.qr-card b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.qr-card span { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 14px; overflow: hidden; }
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--brand); font-weight: 400; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; color: var(--muted); font-size: 15px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-deep); color: #cbd5e1; padding: 66px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer .brand__logo { height: 46px; width: auto; background: #fff; padding: 8px 14px; border-radius: 12px; }
.footer-about { margin-top: 20px; font-size: 14.5px; color: #94a3b8; max-width: 320px; }
.footer-badges { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges span { font-size: 12.5px; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.06); color: #cbd5e1; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 700; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { color: #94a3b8; font-size: 14.5px; transition: color .2s ease; }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #94a3b8; font-size: 14.5px; margin-bottom: 12px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--brand-light); flex: none; margin-top: 3px; }
.footer-qr { margin-top: 20px; display: flex; align-items: center; gap: 13px; }
.footer-qr img { width: 96px; height: 96px; border-radius: 12px; background: #fff; padding: 6px; display: block; flex: none; }
.footer-qr b { display: block; color: #fff; font-size: 14.5px; margin-bottom: 4px; }
.footer-qr span { font-size: 13.5px; color: #94a3b8; line-height: 1.6; }
.footer-bottom { margin-top: 52px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #64748b; }
.footer-bottom a:hover { color: #cbd5e1; }

/* ---------- 滚动淡入 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .svc { gap: 38px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 66px 0; }
  .wrap { padding: 0 18px; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 18px 22px; box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 13px 14px; font-size: 16px; }
  .nav-menu a.is-active::after { display: none; }
  .nav-menu a.is-active { background: var(--brand-50); }
  .nav-cta .btn { display: none; }
  .brand__logo { height: 36px; }

  .hero { padding-top: calc(var(--header-h) + 48px); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc--reverse .svc__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 44px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .form-card { padding: 26px; }
}

@media (max-width: 560px) {
  .course-grid { grid-template-columns: 1fr; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox__close { top: 14px; right: 14px; }
  .qr-card { flex-direction: column; text-align: center; }
  .qr-card img { margin: 0 auto; }
}
