/* ===== 设计令牌 ===== */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-tint: #f0f3f7;
  --ink: #16213a;
  --ink-soft: #45536e;
  --muted: #7a879e;
  --line: #e4e9f0;
  --accent: #1d5c8f;
  --accent-deep: #123e66;
  --accent-soft: #e8f1f9;
  --gold: #c08a3e;
  --shadow: 0 18px 50px -20px rgba(18, 62, 102, 0.22);
  --shadow-sm: 0 8px 24px -14px rgba(18, 62, 102, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --font-sans: "DM Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--maxw), calc(100% - 48px)); margin: 0 auto; }

/* ===== 导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 250, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -18px rgba(18,62,102,.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: block; width: 42px; height: 42px; flex: none; }
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand-text { font-weight: 700; font-size: 16px; line-height: 1.15; }
.brand-en { display: block; font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .5px; }
/* 语言切换按钮 */
.nav-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 4px; }
.lang-btn { border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .5px; padding: 6px 13px; border-radius: 100px; cursor: pointer; transition: all .2s ease; font-family: var(--font-sans); }
.lang-btn:hover { color: var(--accent); }
.lang-btn.active { background: var(--accent-deep); color: #fff; box-shadow: var(--shadow-sm); }
.lang-divider { color: var(--line); font-size: 12px; }

/* 横向栏目 Tab */
.tab-wrap { border-top: 1px solid var(--line); }
.tab-nav { display: flex; align-items: stretch; gap: 4px; height: 52px; overflow-x: auto; scrollbar-width: none; }
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  flex: 0 0 auto; position: relative; border: 0; background: transparent; cursor: pointer;
  color: var(--ink-soft); font-size: 14px; font-weight: 600; font-family: var(--font-sans);
  padding: 0 18px; white-space: nowrap; transition: color .2s ease;
}
.tab-btn::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); transform: scaleX(0); transition: transform .25s ease; }
.tab-btn:hover { color: var(--accent); }
.tab-btn.active { color: var(--accent-deep); }
.tab-btn.active::after { transform: scaleX(1); }

/* Tab 面板显隐 */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: panelIn .45s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 双语显隐 */
body.lang-zh .i18n.en { display: none !important; }
body.lang-en .i18n.zh { display: none !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 70px 0 0; }
.hero-glow {
  position: absolute; top: -180px; right: -120px; width: 680px; height: 680px;
  background: radial-gradient(circle at center, rgba(29,92,143,.14), transparent 62%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; padding-bottom: 70px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin: 0 0 20px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; }
.hero h1 { font-family: var(--font-serif); font-size: clamp(38px, 5.2vw, 62px); line-height: 1.25; margin: 0 0 24px; font-weight: 700; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: 16px; color: var(--ink-soft); max-width: 560px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 10px; font-size: 14px; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-primary { background: var(--accent-deep); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--accent); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }

/* 双简历下载按钮组 */
.cv-group { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.cv-btn { padding-inline: 18px; }
.cv-tag { font-size: 10px; font-weight: 800; letter-spacing: .6px; color: var(--accent); background: var(--accent-soft); border-radius: 5px; padding: 2px 6px; line-height: 1.5; }
.contact-actions .cv-group { justify-content: center; }

/* 肖像 */
.hero-portrait { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.portrait-frame {
  width: min(360px, 80vw); aspect-ratio: 4 / 4.6;
  border-radius: 22px; overflow: hidden; position: relative;
  background: linear-gradient(145deg, #dce8f3, #eef2f7 55%, #f6e9d6);
  box-shadow: var(--shadow); border: 6px solid var(--surface);
}
.portrait-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); pointer-events: none;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--accent-deep); }
.ph-initials { font-family: var(--font-serif); font-size: 84px; font-weight: 700; opacity: .28; }
.ph-hint { font-size: 12px; color: var(--muted); }
.portrait-caption { text-align: center; }
.portrait-caption strong { display: block; font-size: 15px; }
.portrait-caption span { font-size: 12px; color: var(--muted); }

/* 统计条 */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 26px 10px;
}
.stat { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 18px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-serif); font-size: 40px; font-weight: 700; color: var(--accent-deep); line-height: 1; }
.stat-plus { font-size: 20px; color: var(--gold); }
.stat-label { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.stat-label small { color: var(--muted); font-weight: 400; font-size: 11px; }

/* ===== 通用 section ===== */
.section { padding: 100px 0; }
.section-tint { background: var(--surface-tint); }
.section-heading { margin-bottom: 44px; }
.section-heading.center { text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading h2 { font-family: var(--font-serif); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.3; margin: 0 0 14px; font-weight: 700; }
.section-sub { color: var(--ink-soft); max-width: 560px; margin: 0; }
.section-heading.center .section-sub { margin: 0 auto; }

/* 关于 */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.about-body .lead { font-family: var(--font-serif); font-size: 21px; font-weight: 600; line-height: 1.7; color: var(--accent-deep); margin: 0 0 22px; }
.about-body p { color: var(--ink-soft); margin: 0 0 16px; }
.about-tags { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.about-tags li { background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; padding: 7px 14px; border-radius: 100px; }

/* 教学领域卡片 */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.focus-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform .25s ease, box-shadow .25s ease; }
.focus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.focus-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-size: 26px; font-weight: 600; margin-bottom: 20px; }
.focus-card h3 { font-size: 19px; margin: 0 0 10px; }
.focus-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* 课程体系 */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program-card.featured { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.program-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.program-tag { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent); background: var(--accent-soft); padding: 5px 11px; border-radius: 7px; }
.program-card.featured .program-tag { background: rgba(255,255,255,.16); color: #fff; }
.program-no { font-family: var(--font-serif); font-size: 30px; color: var(--line); font-weight: 700; line-height: 1; }
.program-card.featured .program-no { color: rgba(255,255,255,.25); }
.program-card h3 { font-family: var(--font-serif); font-size: 23px; margin: 0 0 12px; }
.program-card p { font-size: 14px; margin: 0 0 20px; }
.program-card:not(.featured) p { color: var(--ink-soft); }
.program-card.featured p { color: rgba(255,255,255,.82); }
.program-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.program-card li { font-size: 13px; padding-left: 20px; position: relative; }
.program-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.program-card.featured li { color: rgba(255,255,255,.9); }

/* 教育理念 */
.journey-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.journey-list { display: grid; gap: 0; }
.journey-item { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.journey-item:first-child { padding-top: 0; }
.journey-item:last-child { border-bottom: 0; }
.journey-year { font-size: 12px; font-weight: 700; color: var(--accent); padding-top: 5px; }
.journey-item h3 { font-size: 17px; margin: 0 0 6px; }
.journey-item p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* 联系 */
.contact { text-align: center; background: var(--surface); }
.contact .eyebrow { justify-content: center; }
.contact h2 { font-family: var(--font-serif); font-size: clamp(32px, 4vw, 48px); margin: 0 0 16px; }
.contact-lead { color: var(--ink-soft); max-width: 520px; margin: 0 auto 28px; }
.contact-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.contact-note { font-size: 13px; color: var(--muted); }
.contact-note a { color: var(--accent); }
.contact-note a:hover { text-decoration: underline; }
.sep { margin: 0 10px; color: var(--line); }

/* 页脚 */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; font-size: 12px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-inner, .about-grid, .journey-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-portrait { order: -1; }
  .portrait-frame { width: min(300px, 70vw); }
  .focus-grid, .programs { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--maxw)); }
  .nav-toggle { display: none; }
  .tab-btn { padding: 0 14px; font-size: 13px; }
  .tab-btn::after { left: 14px; right: 14px; }
  .section { padding: 70px 0; }
  .hero { padding-top: 50px; }
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 20px 6px; }
  .stat { flex-direction: column; gap: 6px; text-align: center; padding: 10px; }
  .stat-label small { display: none; }
  .stat-num { font-size: 32px; }
  .role-grid, .ib-grid, .edu-grid, .gallery-grid, .ib-feature { grid-template-columns: 1fr; gap: 18px; }
  .ib-feature { padding: 24px; }
  .ib-feature-media img { height: 220px; }
  .timeline::before { left: 7px; }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; padding-left: 30px; padding-bottom: 24px; }
  .timeline-meta { text-align: left; }
  .timeline-meta::after { left: -27px; right: auto; top: 4px; }
  .timeline-body { padding: 20px; }
  .timeline-body-detailed { padding: 20px; }
  .tl-head { flex-wrap: wrap; }
  .gifted-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 220px; }
}

/* ===== 领导经验 ===== */
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.role-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 34px 30px; box-shadow: var(--shadow-sm); }
.role-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.role-date { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .5px; margin-bottom: 8px; }
.role-card h3 { font-family: var(--font-serif); font-size: 22px; margin: 0 0 4px; line-height: 1.4; }
.role-org { color: var(--muted); font-size: 13px; margin: 0; }
.role-badge { flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--gold); background: #faf3e8; border-radius: 100px; padding: 5px 12px; }
.role-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.role-list li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.role-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.role-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.role-tags span { font-size: 12px; color: var(--accent-deep); background: var(--accent-soft); border-radius: 100px; padding: 5px 12px; }

/* ===== IB 成就 ===== */
.ib-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ib-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.ib-card-highlight { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.ib-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.ib-card-highlight .ib-icon { background: rgba(255,255,255,.16); color: #fff; }
.ib-logo-icon, .ib-card-highlight .ib-logo-icon { background: #fff; padding: 5px; }
.ib-logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.ib-kicker { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--gold); margin-bottom: 8px; }
.ib-card h3 { font-family: var(--font-serif); font-size: 20px; margin: 0 0 12px; line-height: 1.4; }
.ib-card p { font-size: 14px; line-height: 1.7; margin: 0 0 20px; flex: 1; }
.ib-card:not(.ib-card-highlight) p { color: var(--ink-soft); }
.ib-card-highlight p { color: rgba(255,255,255,.85); }
.ib-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding-top: 16px; border-top: 1px solid var(--line); }
.ib-card:not(.ib-card-highlight) .ib-foot { color: var(--accent); }
.ib-card-highlight .ib-foot { border-top-color: rgba(255,255,255,.2); color: #fff; }
.ib-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; margin-top: 24px; }
.ib-feature-text { grid-template-columns: 1fr; }
.ib-feature-text .ib-feature-copy { max-width: 760px; }
.ib-feature h3 { font-family: var(--font-serif); font-size: 26px; margin: 0 0 14px; }
.ib-feature p:not(.eyebrow) { color: var(--ink-soft); font-size: 14px; margin: 0 0 18px; }
.ib-feature-media { border-radius: 14px; overflow: hidden; }
.ib-feature-media img { width: 100%; height: 300px; object-fit: cover; }
.text-link { color: var(--accent); font-weight: 600; font-size: 14px; }
.text-link:hover { text-decoration: underline; }
.ib-note { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding: 22px 28px; background: var(--accent-soft); border-radius: var(--radius-sm); }
.ib-note-label { flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--accent-deep); background: #fff; border-radius: 100px; padding: 6px 14px; }
.ib-note p { flex: 1; min-width: 240px; margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ===== 职业履历时间线 ===== */
.timeline { position: relative; padding-left: 0; }
.timeline::before { content: ""; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-meta { position: relative; text-align: right; padding-top: 2px; padding-right: 18px; }
.timeline-date { font-size: 13px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.timeline-meta::after { content: ""; position: absolute; right: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.timeline-current .timeline-meta::after { background: var(--gold); border-color: var(--gold); }
.timeline-current .timeline-date { color: var(--gold); }
.timeline-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px 28px; }
.timeline-current .timeline-body { border-color: var(--gold); }
.timeline-body h3 { font-family: var(--font-serif); font-size: 19px; margin: 0 0 4px; }
.timeline-org { color: var(--accent); font-size: 13px; font-weight: 600; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.org-logo { width: 42px; height: 42px; object-fit: contain; flex: none; }
.timeline-body p:last-child { color: var(--ink-soft); font-size: 14px; margin: 0; line-height: 1.7; }
.timeline-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.timeline-points li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.timeline-points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.timeline-points strong { color: var(--accent-deep); font-weight: 700; }

/* 职业履历：模糊背景（原 IB 活动合影，不单独占页面） */
.career-section { position: relative; overflow: hidden; }
.career-backdrop { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.career-backdrop img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  filter: blur(44px) saturate(0.6); opacity: 0.05; transform: scale(1.12); transform-origin: center;
}
.career-backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(240,243,247,0.86) 0%, rgba(240,243,247,0.94) 100%);
}
.career-section > .container { position: relative; z-index: 1; }

/* 详细履历条目（斐特思 / 世华） */
.timeline-body-detailed { padding: 26px 30px 28px; }
.tl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 2px; }
.tl-head h3 { margin: 0 0 4px; }
.tl-summary { color: var(--ink-soft); font-size: 14px; margin: 0 0 16px; line-height: 1.7; }
.timeline-body-detailed .role-list { margin-bottom: 16px; gap: 10px; }
.timeline-body-detailed .role-tags { margin-bottom: 0; }
/* 优生培养体系板块 */
/* ===== 领导工作重点（优生培养） ===== */
.leadership-feature { margin-top: 26px; }
.lf-head { display: flex; align-items: center; gap: 12px; margin-bottom: 2px; }
.lf-head > div { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--accent-deep); }

.gifted-program { margin-top: 20px; padding: 22px; background: linear-gradient(150deg, #f4f8fc, #eef3f9); border: 1px solid #dbe6f2; border-radius: 14px; }
.gifted-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.gifted-badge { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-deep); color: var(--gold); font-size: 17px; }
.gifted-head-text h4 { font-family: var(--font-serif); font-size: 16px; margin: 0 0 5px; color: var(--accent-deep); }
.gifted-head-text p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--ink-soft); }
.gifted-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gifted-card { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 15px 16px; }
.gifted-num { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--gold); margin-bottom: 5px; }
.gifted-card h5 { font-size: 14px; margin: 0 0 6px; color: var(--ink); font-weight: 700; }
.gifted-card p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }
.gifted-foot { margin: 15px 0 0; padding-top: 13px; border-top: 1px dashed #cdd9e7; font-size: 12.5px; font-style: italic; color: var(--accent); }

/* ===== 教育与资质 ===== */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 44px; }
.edu-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.edu-logo { height: 42px; display: flex; align-items: center; margin-bottom: 14px; }
.edu-logo img { width: 42px; height: 42px; object-fit: contain; }
.edu-year { display: inline-block; font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .5px; margin-bottom: 12px; }
.edu-card h3 { font-family: var(--font-serif); font-size: 19px; margin: 0 0 8px; }
.edu-org { color: var(--accent); font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.edu-card p:last-child { color: var(--ink-soft); font-size: 13px; margin: 0; }
.credentials .eyebrow { margin-bottom: 18px; }
.cred-list { border-top: 1px solid var(--line); }
.cred-item { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.cred-note { font-size: 12px; color: var(--muted); flex-shrink: 0; }
.cred-item > a { color: var(--accent-deep); border-bottom: 1px dashed var(--accent); }
.cred-item > a:hover { color: var(--accent); }
.cred-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cred-pdf { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; line-height: 1; color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 8px; padding: 7px 11px; white-space: nowrap; text-decoration: none; box-shadow: 0 3px 8px -3px rgba(29,92,143,.5); transition: background .15s ease, transform .15s ease; }
.cred-pdf::before { content: ""; width: 13px; height: 15px; flex: none; background: #fff; border-radius: 2px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M3 0h5l4 4v11a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1zm5 0v4h4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3Cpath d='M4.5 9h5M4.5 11.5h5' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M3 0h5l4 4v11a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1zm5 0v4h4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3Cpath d='M4.5 9h5M4.5 11.5h5' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat center / contain; }
.cred-pdf:hover { background: var(--accent-deep); transform: translateY(-1px); }

/* ===== 影像记录：首页底部左右轮播 ===== */
.gallery-section { background: var(--surface-tint); border-top: 1px solid var(--line); }
.gallery-section .section-heading { margin-bottom: 34px; }
.gallery-carousel { position: relative; max-width: 860px; margin: 0 auto; }
.gallery-viewport { overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gallery-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.gallery-slide { flex: 0 0 100%; margin: 0; }
.gallery-slide img { width: 100%; height: 460px; object-fit: cover; display: block; }
.gallery-slide figcaption { padding: 15px 26px; font-size: 13.5px; color: var(--ink-soft); font-weight: 500; min-height: 54px; display: flex; align-items: center; }
.gallery-arrow {
  position: absolute; top: 44%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,0.94); color: var(--accent-deep); font-size: 30px;
  line-height: 1; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: background .2s, color .2s, transform .2s;
}
.gallery-arrow:hover { background: var(--accent-deep); color: #fff; }
.gallery-arrow:active { transform: translateY(-50%) scale(.94); }
.gallery-prev { left: -22px; }
.gallery-next { right: -22px; }
.gallery-dots { display: flex; justify-content: center; gap: 9px; margin-top: 18px; }
.gallery-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: none; background: #c7d2e0; cursor: pointer; transition: background .2s, transform .2s; }
.gallery-dot.active { background: var(--accent); transform: scale(1.35); }
.gallery-counter { text-align: center; margin-top: 10px; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 1px; }

@media (max-width: 640px) {
  .gallery-slide img { height: 280px; }
  .gallery-slide figcaption { padding: 13px 18px; font-size: 12.5px; }
  .gallery-arrow { width: 38px; height: 38px; font-size: 24px; }
  .gallery-prev { left: 4px; }
  .gallery-next { right: 4px; }
}

/* ===== 内嵌配图（穿插在各栏目） ===== */
.inline-figure { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.inline-figure img { width: 100%; height: 420px; object-fit: cover; display: block; transition: transform .4s ease; }
.inline-figure:hover img { transform: scale(1.015); }
.inline-figure figcaption { padding: 14px 22px; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.inline-figure.lead-image { margin: 0 0 44px; }
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.figure-pair .inline-figure { margin: 0; }
.figure-pair img { height: 300px; }
@media (max-width: 640px) {
  .inline-figure img { height: 240px; }
  .figure-pair { grid-template-columns: 1fr; }
  .gifted-grid { grid-template-columns: 1fr; }
  .gifted-program { padding: 17px; }
}

/* ===== 入场动画 ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
