/* ==========================================================================
   安徽中博智教教育科技集团 · 官网样式
   ========================================================================== */

:root {
  --ink: #0b1424;
  --ink-2: #33415c;
  --muted: #6b7a90;
  --line: #e7ecf5;
  --line-strong: #d7e0ee;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --bg-soft-2: #eef3fb;
  --navy: #0a1120;
  --blue: #1f5fcc;
  --blue-dark: #17499e;
  --blue-soft: #eef4ff;
  --orange: #f28a17;
  --orange-soft: #fff4e5;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 25, 48, .05);
  --shadow-md: 0 18px 44px -22px rgba(16, 42, 86, .28);
  --shadow-lg: 0 34px 80px -36px rgba(11, 32, 72, .42);
  --max: 1240px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(31, 95, 204, .16); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 基础布局 ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 104px 0; }
.section--tight { padding: 76px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em;
  color: var(--blue); text-transform: uppercase;
}
.kicker::before {
  content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px;
}
.kicker--light { color: rgba(255, 255, 255, .78); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: 40px; font-weight: 700; margin: 18px 0 16px; }
.section-head p { font-size: 16px; color: var(--muted); line-height: 1.85; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }

.lead { font-size: 17px; line-height: 1.9; color: var(--muted); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 9px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 12px 26px -12px rgba(31, 95, 204, .75);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(31, 95, 204, .8); }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: #b9c9e3; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -18px rgba(0, 0, 0, .45); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--blue);
}
.text-link svg { transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12, 30, 60, .45); }
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  height: 74px; display: flex; align-items: center; gap: 40px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__text b { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: .1em; }
.brand__text i { font-style: normal; font-size: 9.5px; color: var(--muted); letter-spacing: .01em; margin-top: 4px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  position: relative; padding: 10px 14px; font-size: 15px; color: var(--ink-2);
  border-radius: 8px; transition: color .16s ease, background-color .16s ease;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a.is-active { color: var(--blue); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--orange);
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-tel { font-size: 14px; color: var(--muted); }
.header-actions .btn { height: 42px; padding: 0 20px; font-size: 14.5px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: 9px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 76px;
  background:
    radial-gradient(900px 460px at 88% 8%, rgba(31, 95, 204, .10), transparent 62%),
    radial-gradient(720px 420px at 74% 86%, rgba(242, 138, 23, .10), transparent 66%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 78%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(18, 45, 90, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 45, 90, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(680px 380px at 78% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(680px 380px at 78% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.04fr .96fr;
  gap: 64px; align-items: center;
}
.hero h1 {
  font-size: 58px; font-weight: 700; line-height: 1.16; letter-spacing: -.035em;
  margin: 22px 0 24px;
}
.hero h1 .accent {
  background: linear-gradient(96deg, var(--blue) 6%, #3f86e8 62%, #5aa6f0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { max-width: 540px; font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta li::before {
  content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--orange);
}

.hero-visual { position: relative; }
.hero-visual::after {
  content: ""; position: absolute; inset: 26px -18px -26px 34px;
  border: 1px solid rgba(31, 95, 204, .22); border-radius: 20px; z-index: 0;
}
.hero-photo {
  position: relative; z-index: 1; overflow: hidden; border-radius: 18px;
  border: 1px solid #fff; box-shadow: var(--shadow-lg); background: #dfe8f5;
}
.hero-photo img { width: 100%; height: auto; }
.hero-tag {
  position: absolute; z-index: 2; top: 18px; right: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  box-shadow: 0 8px 20px -12px rgba(10, 30, 60, .5);
}
.hero-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero-card {
  position: relative; z-index: 2; margin: -46px 0 0 26px; width: min(392px, 86%);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 22px; box-shadow: var(--shadow-md);
  display: flex; gap: 14px; align-items: flex-start;
}
.hero-card .icon-sq {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center;
}
.hero-card strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.5; }
.hero-card 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); }
.stat { padding: 40px 32px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num {
  font-size: 46px; font-weight: 700; color: var(--ink); line-height: 1.1;
  letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.stat .num em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--orange); margin-left: 6px; letter-spacing: 0; }
.stat .label { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- 业务卡片 ---------- */
.card-grid { display: grid; gap: 22px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: #c6d7f2; box-shadow: var(--shadow-md); }
.card .icon-sq {
  width: 46px; height: 46px; border-radius: 12px;
  background: #e8f0ff; color: #1a55bd;
  display: grid; place-items: center; margin-bottom: 22px;
}
.card .icon-sq--orange { background: var(--orange-soft); color: var(--orange); }
.card h3 { font-size: 19px; font-weight: 650; margin-bottom: 10px; }
.card p { font-size: 14.5px; line-height: 1.85; color: var(--muted); }
.card .index {
  position: absolute; top: 26px; right: 26px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #c3cfe2;
  font-variant-numeric: tabular-nums;
}
.card .more { margin-top: 18px; }

/* ---------- 四链 ---------- */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.chain-item { padding: 30px 26px 30px 0; border-right: 1px solid var(--line); }
.chain-item:last-child { border-right: 0; padding-right: 0; }
.chain-item .n {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.chain-item h3 { font-size: 20px; margin: 10px 0 8px; }
.chain-item p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ---------- 案例 ---------- */
.case-feature {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
}
.case-feature__media { position: relative; min-height: 340px; background: var(--bg-soft-2); overflow: hidden; }
.case-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.case-feature__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 17, 32, 0) 46%, rgba(10, 17, 32, .58) 100%);
}
.case-feature__caption {
  position: absolute; z-index: 1; left: 22px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: #fff; letter-spacing: .02em;
}
.case-feature__caption::before {
  content: ""; width: 18px; height: 2px; background: var(--orange); border-radius: 2px;
}
.case-feature__body { padding: 44px 42px; display: flex; flex-direction: column; justify-content: center; }
.case-feature__body h3 { font-size: 26px; margin: 14px 0 14px; }
.case-feature__body p { font-size: 15px; line-height: 1.9; color: var(--muted); }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
  border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-2);
}
.case-stack { display: grid; gap: 22px; margin-top: 22px; }
.case-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px;
  padding: 28px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.case-row:hover { border-color: #c6d7f2; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.case-row h3 { font-size: 18px; margin-bottom: 8px; }
.case-row p { font-size: 14px; color: var(--muted); }
.case-row .metric { text-align: right; }
.case-row .metric strong { display: block; font-size: 30px; color: var(--blue); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.case-row .metric span { font-size: 12.5px; color: var(--muted); }

/* ---------- 荣誉 ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.honor {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 14px 20px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.honor:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d9c9a8; }
.honor img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f7f9fd; padding: 6px; border-radius: 10px; }
.honor h3 { font-size: 15px; margin: 16px 2px 6px; }
.honor p { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin: 0 2px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 22px;
  background: linear-gradient(112deg, #123a86 0%, #1f5fcc 46%, #2f7fdd 100%);
  color: #fff; padding: 66px 64px;
}
.cta::before {
  content: ""; position: absolute; right: -80px; top: -120px; width: 460px; height: 460px;
  border-radius: 50%; background: radial-gradient(circle, rgba(242, 138, 23, .55), transparent 62%);
}
.cta::after {
  content: ""; position: absolute; left: 42%; bottom: -180px; width: 520px; height: 520px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { color: #fff; font-size: 36px; margin: 16px 0 14px; }
.cta p { color: rgba(255, 255, 255, .8); font-size: 15px; max-width: 560px; }
.cta-actions { display: flex; gap: 14px; flex: none; }

/* ---------- 内页 Hero ---------- */
[id] { scroll-margin-top: 96px; }

.page-hero {
  position: relative; overflow: hidden; padding: 92px 0 74px;
  background:
    radial-gradient(760px 380px at 82% 12%, rgba(31, 95, 204, .12), transparent 64%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; right: 0; top: 0; width: 42%; height: 100%;
  background-image: linear-gradient(rgba(18, 45, 90, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 45, 90, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(100deg, transparent 6%, #000 96%);
  mask-image: linear-gradient(100deg, transparent 6%, #000 96%);
  pointer-events: none;
}
.page-hero__inner { position: relative; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumb a:hover { color: var(--blue); }
.crumb i { font-style: normal; color: #c1cbd9; }
.page-hero h1 { font-size: 48px; margin: 18px 0 20px; letter-spacing: -.035em; max-width: 780px; }
.page-hero p { font-size: 16.5px; line-height: 1.9; color: var(--ink-2); max-width: 660px; }

/* ---------- 通用文本块 ---------- */
.prose p { font-size: 16px; line-height: 2; color: var(--ink-2); margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 68px; align-items: center; }
.split--top { align-items: start; }
.media-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--sticky { position: sticky; top: 108px; }

.feature-list { display: grid; gap: 16px; margin-top: 30px; }
.feature-list li {
  display: flex; gap: 14px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.feature-list .dot {
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  background: var(--blue-soft); color: var(--blue); display: grid; place-items: center;
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.feature-list strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.feature-list span { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ---------- 业务板块 ---------- */
.pillar { padding: 72px 0; border-bottom: 1px solid var(--line); }
.pillar:last-child { border-bottom: 0; }
.pillar-head { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 34px; }
.pillar-num {
  flex: none; font-size: 13px; font-weight: 700; color: var(--blue);
  letter-spacing: .12em; padding: 6px 10px; background: var(--blue-soft);
  border-radius: 6px; font-variant-numeric: tabular-nums; margin-top: 6px;
}
.pillar-head h2 { font-size: 30px; margin-bottom: 10px; }
.pillar-head p { font-size: 15px; color: var(--muted); max-width: 720px; }
.pillar-body { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: start; }
.pillar-body--reverse { grid-template-columns: .98fr 1.02fr; }
.bullet-list { display: grid; gap: 14px; }
.bullet-list li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.bullet-list li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px;
  border-radius: 2px; background: var(--orange);
}
.bullet-list strong { color: var(--ink); font-weight: 650; }
.stat-inline { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stat-chip {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 12px 16px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line);
}
.stat-chip strong { font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-chip span { font-size: 12.5px; color: var(--muted); }

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-pair figure, .photo-triple figure { margin: 0; }
.photo-pair img, .photo-triple img {
  width: 100%; border-radius: 12px; border: 1px solid var(--line); object-fit: cover; aspect-ratio: 4 / 3;
}
.photo-triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* ---------- 案例页 ---------- */
.case-block {
  display: grid; grid-template-columns: .96fr 1.04fr; gap: 60px; align-items: center;
  padding: 70px 0; border-bottom: 1px solid var(--line);
}
.case-block:last-of-type { border-bottom: 0; }
.case-block--reverse .case-block__media { order: 2; }
.case-block__media { position: relative; }
.case-block h2 { font-size: 30px; margin: 14px 0 16px; }
.case-block .lead { font-size: 15.5px; }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.kpi {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px;
}
.kpi strong { display: block; font-size: 24px; color: var(--blue); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12.5px; color: var(--muted); line-height: 1.6; display: block; margin-top: 4px; }

.event-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.event-card__head { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; }
.event-card__head img { width: 100%; height: 100%; object-fit: contain; background: #f2f7fd; padding: 20px; }
.event-card__meta { padding: 34px 38px; }
.event-card__meta h3 { font-size: 24px; margin: 12px 0 14px; }
.event-card__meta p { font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.meta-table { margin-top: 22px; border-top: 1px solid var(--line); }
.meta-table div { display: flex; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.meta-table dt { flex: none; width: 62px; color: var(--muted); }
.meta-table dd { margin: 0; color: var(--ink-2); }
.event-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border-top: 1px solid var(--line); }
.event-gallery img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; padding-bottom: 0; }
.info-item .icon-sq { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.info-item strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.info-item span { font-size: 14px; color: var(--muted); line-height: 1.75; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 34px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 9px;
  padding: 12px 14px; font-size: 14.5px; background: #fff; color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 95, 204, .12);
}
.field input::placeholder, .field textarea::placeholder { color: #a9b4c4; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-ok {
  display: none; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 16px 18px;
  background: #f1f8f3; border: 1px solid #cfe8d6; border-radius: 10px; font-size: 14px; color: #2f6b45;
}
.form-ok.is-visible { display: flex; }
.form-ok .icon-sq { background: #e2f3e7; color: #2f8f52; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .62); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 48px; padding-bottom: 54px; }
.footer-lockup { display: flex; align-items: center; gap: 12px; }
.footer-lockup img { width: 34px; height: 34px; flex: none; }
.footer-lockup b { display: block; color: #fff; font-size: 16px; letter-spacing: .1em; }
.footer-lockup span { display: block; font-size: 9.5px; color: rgba(255, 255, 255, .45); margin-top: 4px; }
.footer-brand p { font-size: 13.5px; line-height: 1.9; margin-top: 20px; max-width: 320px; color: rgba(255, 255, 255, .55); }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 18px; letter-spacing: .02em; }
.footer-col a, .footer-col span { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .58); padding: 6px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12.5px; color: rgba(255, 255, 255, .42);
}

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .case-row:hover, .honor:hover, .btn:hover { transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .hero h1 { font-size: 48px; }
  .hero-grid { gap: 44px; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr .8fr .8fr; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .section { padding: 76px 0; }
  .nav, .header-actions .btn, .header-tel { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { height: 66px; gap: 16px; }
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 40px; }
  .hero-visual { order: -1; }
  .hero-visual::after { display: none; }
  .hero-card { margin: -38px 16px 0; width: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 22px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr 1fr; }
  .chain-item { border-bottom: 1px solid var(--line); }
  .chain-item:nth-child(2n) { border-right: 0; padding-right: 0; }
  .chain-item:nth-child(1), .chain-item:nth-child(2) { }
  .split, .pillar-body, .pillar-body--reverse, .case-feature, .case-block, .contact-grid, .event-card__head { grid-template-columns: 1fr; }
  .media-frame--sticky { position: static; }
  .case-block--reverse .case-block__media { order: 0; }
  .pillar-body { gap: 32px; }
  .cta { padding: 44px 28px; border-radius: 18px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta h2 { font-size: 28px; }
  [id] { scroll-margin-top: 96px; }

  .page-hero { padding: 64px 0 52px; }
  .page-hero h1 { font-size: 36px; }
  .section-head h2 { font-size: 30px; }
  .case-row { grid-template-columns: 1fr; gap: 16px; }
  .case-row .metric { text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .event-gallery { grid-template-columns: 1fr; }
  .photo-triple { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .site-footer { padding-top: 56px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 34px; }
  .hero-cta .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .chain { grid-template-columns: 1fr; }
  .chain-item { border-right: 0; padding-right: 0; }
  .kpi-grid { grid-template-columns: 1fr; }
  .photo-pair { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .form-card, .info-card { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0 18px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__text b { font-size: 15.5px; }
  .brand__text i { display: none; }
}

/* 移动端抽屉 */
.drawer {
  position: fixed; inset: 0; z-index: 80; display: none;
  background: #fff; padding: 22px;
}
.drawer.is-open { display: flex; flex-direction: column; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.drawer__brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: .1em; }
.drawer__brand img { width: 28px; height: 28px; }
.drawer__close {
  width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line-strong);
  background: #fff; font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { padding: 16px 4px; font-size: 19px; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer nav a.is-active { color: var(--blue); }
.drawer .btn { margin-top: 26px; width: 100%; }
body.is-locked { overflow: hidden; }
