/* ============================================================
   炳途留学官网 · 设计系统
   风格基准：goabroad-guide.lovable.app（浅色近白底 + 深teal主色
   + 6px圆角卡片 + 英文eyebrow + 编号卡片 + 大图hero）
   学院化升级：衬线大标题 / 墨绿金点缀 / 细金线 / 克制动效
   ============================================================ */

:root {
  --bg: #F7F9F7;
  --surface: #FFFFFF;
  --primary: #0C4A45;
  --primary-600: #0E5A54;
  --primary-700: #093B37;
  --primary-tint: #EEF4F2;
  --accent: #B08D57;
  --accent-deep: #96773F;
  --accent-tint: #F6F1E7;
  --ink: #22302D;
  --muted: #5E6E6A;
  --line: #E2E8E4;
  --line-strong: #CBD6D1;
  --danger: #A94438;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(12, 74, 69, 0.06);
  --shadow-md: 0 10px 30px rgba(12, 74, 69, 0.10);
  --shadow-lg: 0 24px 60px rgba(12, 74, 69, 0.16);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--primary); color: #fff; }

/* ---------- 布局工具 ---------- */
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section--tint { background: var(--primary-tint); }
.section--surface { background: var(--surface); }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.22em;
  color: var(--accent-deep); text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--accent); }

.section-title {
  font-family: var(--serif);
  font-size: 34px; font-weight: 650; line-height: 1.35;
  color: var(--ink);
}
.section-lead { margin-top: 16px; color: var(--muted); font-size: 16px; }

.section-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--primary);
  transition: color 0.2s;
}
.section-more:hover { color: var(--accent-deep); }
.section-more .arrow { transition: transform 0.2s; }
.section-more:hover .arrow { transform: translateX(4px); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 26px;
  border-radius: var(--radius);
  font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.btn--ghost-light { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.45); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.22); }
.btn--sm { height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(12, 74, 69, 0.08); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 40px; }

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

/* 品牌 Logo 图片（炳途教育官方标识，263x163 透明底） */
.brand-logo { display: block; height: 50px; width: auto; }
.site-footer .brand-logo { height: 44px; }
@media (max-width: 860px) {
  .brand-logo { height: 42px; }
}

.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav-link {
  position: relative; font-size: 15px; color: var(--muted); font-weight: 500;
  padding: 6px 2px; transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }
.nav-link.is-active { color: var(--primary); font-weight: 600; }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--accent); border-radius: 1px;
}
.header-cta { margin-left: 8px; }
.mobile-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: var(--radius); }
.mobile-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }
.mobile-nav { display: none; }

/* ---------- Hero 轮播 ---------- */
.hero { position: relative; height: calc(100vh - var(--header-h)); min-height: 600px; margin-top: var(--header-h); overflow: hidden; background: var(--primary-700); }
.hero-track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 32, 29, 0.82) 0%, rgba(6, 32, 29, 0.55) 38%, rgba(6, 32, 29, 0.12) 68%, transparent 100%);
}
.hero-inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding-left: max(48px, calc((100vw - 1200px) / 2));
  padding-right: 48px;
  max-width: 780px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: #E8D5AC; font-size: 13px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; margin-bottom: 22px;
  opacity: 0; transform: translateY(16px); transition: all 0.7s ease 0.15s;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 58px); font-weight: 700; line-height: 1.28;
  color: #FFFFFF; letter-spacing: 0.02em;
  opacity: 0; transform: translateY(20px); transition: all 0.7s ease 0.25s;
}
.hero-subtitle {
  margin-top: 14px; font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 24px); font-weight: 500; color: #F3E9D2; letter-spacing: 0.06em;
  opacity: 0; transform: translateY(20px); transition: all 0.7s ease 0.35s;
}
.hero-en { margin-top: 10px; font-size: 15px; font-style: italic; letter-spacing: 0.08em; color: rgba(255,255,255,0.75); font-family: Georgia, var(--serif); opacity: 0; transition: all 0.7s ease 0.4s; }
.hero-desc { margin-top: 18px; font-size: 16px; color: rgba(255,255,255,0.85); max-width: 560px; opacity: 0; transform: translateY(16px); transition: all 0.7s ease 0.45s; }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; transform: translateY(16px); transition: all 0.7s ease 0.55s; }
.hero-slide.is-active .hero-eyebrow,
.hero-slide.is-active .hero-title,
.hero-slide.is-active .hero-subtitle,
.hero-slide.is-active .hero-en,
.hero-slide.is-active .hero-desc,
.hero-slide.is-active .hero-actions { opacity: 1; transform: translateY(0); }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  transition: background 0.2s;
}
.hero-arrow:hover { background: rgba(255,255,255,0.28); }
.hero-arrow svg { width: 20px; height: 20px; stroke: #fff; }
.hero-arrow--prev { left: 28px; }
.hero-arrow--next { right: 28px; }

.hero-pager {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 5;
  display: flex; align-items: center; gap: 14px;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7); background: transparent;
  padding: 0; transition: all 0.3s;
}
.hero-dot.is-active { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }
.hero-progress {
  position: absolute; left: 0; bottom: 0; z-index: 5; height: 2px;
  background: var(--accent); width: 0;
}
.hero-progress.is-running { animation: heroProgress var(--hero-duration, 5s) linear forwards; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

/* ---------- 数字成绩带 ---------- */
.stats { background: var(--surface); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat-item {
  padding: 52px 20px; text-align: center;
  border-left: 1px solid var(--line);
  display: block;
  transition: background 0.25s;
}
.stat-item:first-child { border-left: none; }
.stat-item:hover { background: var(--primary-tint); }
.stat-value {
  font-family: var(--serif); font-size: 46px; font-weight: 700; color: var(--primary);
  line-height: 1.1; font-variant-numeric: tabular-nums;
}
.stat-value .suffix { font-size: 22px; color: var(--accent-deep); margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: 14px; color: var(--muted); }
.stats-link { display: flex; justify-content: center; padding-bottom: 40px; }

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

.card {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-no {
  font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.12em; display: block; margin-bottom: 18px;
}
.card-no::after { content: ""; display: block; width: 22px; height: 1px; background: var(--accent); margin-top: 10px; }
.card-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary-tint); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card-title { font-family: var(--serif); font-size: 20px; font-weight: 650; color: var(--ink); }
.card-en { font-size: 12px; letter-spacing: 0.14em; color: var(--accent-deep); text-transform: uppercase; margin-top: 4px; }
.card-desc { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 14px; font-weight: 500; color: var(--primary); }
.card-more .arrow { transition: transform 0.2s; }
.card:hover .card-more .arrow { transform: translateX(4px); }

/* ---------- 经典案例小卡 ---------- */
.case-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 20px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.case-tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 600; color: var(--primary);
  background: var(--primary-tint); border-radius: 999px; padding: 3px 12px;
}
.case-title { font-family: var(--serif); font-size: 16.5px; font-weight: 650; line-height: 1.6; color: var(--ink); }
.case-more { margin-top: auto; font-size: 13px; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 4px; }

/* ---------- 理念速览 ---------- */
.philo-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.philo-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 38px;
}
.philo-panel-title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--primary); display: flex; align-items: baseline; gap: 12px; }
.philo-panel-title .en { font-size: 12px; letter-spacing: 0.2em; color: var(--accent-deep); font-family: var(--sans); font-weight: 600; }
.philo-items { margin-top: 26px; display: grid; gap: 18px; }
.philo-item { display: flex; gap: 14px; align-items: flex-start; }
.philo-item .no {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent-deep);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 15px;
}
.philo-item h4 { font-family: var(--serif); font-size: 16.5px; color: var(--ink); }
.philo-item p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ---------- CTA 带 ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--primary-700), var(--primary) 60%, var(--primary-600));
  color: #fff; text-align: center;
  padding: 88px 24px;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(176, 141, 87, 0.35);
}
.cta-band::before { top: -210px; left: -120px; }
.cta-band::after { bottom: -260px; right: -100px; }
.cta-title { font-family: var(--serif); font-size: 32px; font-weight: 700; letter-spacing: 0.02em; }
.cta-desc { margin: 14px auto 0; color: rgba(255,255,255,0.82); max-width: 560px; }
.cta-actions { margin-top: 34px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-desc { font-size: 13.5px; color: var(--muted); max-width: 300px; }
.footer-col h5 { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 13.5px; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-contact li { display: flex; gap: 8px; }
.footer-contact .label { color: var(--accent-deep); flex: none; }
.footer-bar {
  border-top: 1px solid var(--line); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted);
}

/* ---------- 滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
/* 无 JS 时全部可见（SEO 与降级友好） */
.noscript .reveal { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(4) { border-left: none; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-toggle { display: grid; place-items: center; }
  .mobile-nav {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }
  .mobile-nav.is-open { display: block; }
  .mobile-nav a { display: block; padding: 13px 4px; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav .btn { width: 100%; margin-top: 12px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 27px; }
  .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
  .philo-wrap { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-left: none; border-top: 1px solid var(--line); }
  .hero { min-height: 540px; height: calc(100vh - var(--header-h)); }
  .hero-inner { padding: 0 24px; }
  .hero-title { font-size: 32px; }
  .hero-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- 创始人专栏页 ---------- */
/* 创始人介绍区：徽章列与信息列等高（顶对齐姓名、底对齐导语块） */
.founder-wrap {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px;
  align-items: stretch; padding: 72px 0 8px;
}
.founder-photo {
  position: relative; height: 100%; min-height: 240px; border-radius: var(--radius-lg);
  background: var(--accent-tint); border: 1px solid rgba(176, 141, 87, 0.35);
  display: grid; place-items: center; overflow: hidden;
}
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-seal {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--primary); color: #E8D5AC;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 44px; font-weight: 700;
  border: 2px solid var(--accent);
}
.founder-info { display: flex; flex-direction: column; }
.founder-nameline { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.founder-name { font-family: var(--serif); font-size: clamp(30px, 3vw, 38px); font-weight: 700; color: var(--ink); line-height: 1.3; }
.founder-role { font-size: 14px; letter-spacing: 0.18em; color: var(--accent-deep); font-weight: 600; }
.founder-bio { margin-top: 22px; max-width: 720px; font-size: 15.5px; color: var(--muted); line-height: 2.05; }
.founder-intro {
  margin-top: auto; max-width: 720px; padding: 20px 24px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.founder-intro .lbl { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--accent-deep); margin-bottom: 8px; }
.founder-intro p { font-size: 14.5px; color: var(--muted); line-height: 2; }

/* 三个子分类导览卡 */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.cat-card {
  text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.cat-card.is-active { border-color: var(--accent); background: var(--accent-tint); }
.cat-no { font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.12em; }
.cat-name { margin-top: 12px; font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); }
.cat-desc { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.cat-count { display: inline-block; margin-top: 16px; font-size: 12.5px; color: var(--accent-deep); letter-spacing: 0.06em; }

/* 文章筛选 chips + 列表 */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.article-card {
  text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.article-top { display: flex; align-items: center; gap: 10px; }
.article-cat { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent-deep); }
.article-date { font-size: 12px; color: var(--muted); }
.article-title { font-family: var(--serif); font-size: 17.5px; font-weight: 700; color: var(--ink); line-height: 1.55; }
.article-summary { font-size: 13.5px; color: var(--muted); line-height: 1.9; flex: 1; }
.article-more { font-size: 13px; color: var(--accent-deep); font-weight: 600; letter-spacing: 0.04em; }
.article-card[hidden] { display: none; }
.articles-empty { padding: 40px 0; text-align: center; color: var(--muted); font-size: 14px; }

/* 文章弹窗正文排版 */
.modal-body--article { font-size: 15px; line-height: 2.1; color: var(--ink); }
.modal-body--article p + p { margin-top: 14px; }

@media (max-width: 1024px) {
  .founder-wrap { grid-template-columns: 180px minmax(0, 1fr); gap: 36px; }
  .founder-photo { min-height: 200px; }
  .founder-seal { width: 80px; height: 80px; font-size: 36px; }
  .cat-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .founder-wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 52px; align-items: start; }
  .founder-photo { width: 140px; height: 168px; min-height: 0; }
  .founder-seal { width: 72px; height: 72px; font-size: 32px; }
  .article-grid { grid-template-columns: 1fr; }
}

/* ---------- 关于炳途页 ---------- */
/* 简介区（参考布局：左大标题 + 右上介绍文字 + 下方图标特性卡） */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.about-hero-title { margin-top: 18px; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; color: var(--ink); line-height: 1.4; }
.about-slogan { margin-top: 16px; font-size: 14px; color: var(--accent-deep); letter-spacing: 0.06em; font-weight: 600; }
.about-hero-left p, .about-hero-right p { font-size: 15px; color: var(--muted); line-height: 2.1; }
.about-hero-left p + p, .about-hero-right p + p { margin-top: 14px; }
.about-hero-left .tail-paras { margin-top: 22px; }
.about-hero-right .about-philosophy { margin-top: 0; }
/* 服务理念：无边框纯文字块，淡蓝色字体 */
.about-philosophy { padding: 0; background: none; border: none; }
.about-philosophy .lbl { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: #6E89B0; margin-bottom: 10px; }
.about-philosophy p { font-size: 14px; color: #6E89B0; line-height: 2.05; }

/* 炳途简介：五框一行展示（缩进框宽保持一页） */
.adv5-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 44px; }
.adv5-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 16px 24px; text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.adv5-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.adv5-ico {
  width: 56px; height: 56px; margin: 0 auto; border-radius: 50%;
  background: var(--accent-tint); border: 1px solid rgba(176, 141, 87, 0.4);
  display: grid; place-items: center; color: var(--accent-deep);
}
.adv5-ico svg { width: 23px; height: 23px; }
.adv5-card h3 { margin-top: 16px; font-family: var(--serif); font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.adv5-card p { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.9; }

/* 星光历程：横向时间线（参考布局） */
.tl { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 64px; }
/* 贯穿轴线：穿过全部圆点中心（圆心在 item 内 68px），两端渐隐 */
.tl::before {
  content: ''; position: absolute; left: 4px; right: 4px; top: 68px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 6%, var(--accent) 94%, transparent);
}
.tl-item { position: relative; }
.tl-year { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--primary); line-height: 1.2; letter-spacing: 0.02em; }
/* 年份逐字闪现：字符依次淡入上散（item 进入视口时播放，字间/节点间延迟由 JS 写入 animation-delay） */
.tl-yc { display: inline-block; opacity: 0; }
.tl-item.is-visible .tl-yc { animation: tlYearPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes tlYearPop {
  from { opacity: 0; transform: translateY(12px); filter: blur(3px); }
  55% { opacity: 1; filter: blur(0); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.tl-dot {
  position: relative; z-index: 1; display: block; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent); margin: 22px 0 26px;
}
.tl-title { font-family: var(--serif); font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.55; }
.tl-desc { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.95; }

/* 四个自我：详情卡（2×2） */
.self-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.self-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 30px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.self-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.self-head { display: flex; align-items: baseline; gap: 14px; }
.self-no { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.self-name { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--primary); }
.self-subtitle { margin-top: 6px; font-size: 13.5px; color: var(--accent-deep); letter-spacing: 0.04em; font-weight: 600; }
.self-desc { margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 2.05; }

/* 三真价值观卡 */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.value-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.value-head { display: flex; align-items: center; gap: 14px; }
.value-seal {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #E8D5AC; border: 1.5px solid var(--accent);
  display: grid; place-items: center; font-family: var(--serif); font-size: 21px; font-weight: 700;
}
.value-name { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--primary); }
.value-subtitle { font-size: 13px; color: var(--accent-deep); margin-top: 3px; font-weight: 600; }
.value-points { margin-top: 20px; display: grid; gap: 12px; }
.value-points li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.value-points li::before {
  content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
}

/* 联系我们 */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; margin-top: 44px; align-items: stretch; }
.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px;
}
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.contact-form label .req { color: var(--accent-deep); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 11px 14px; font-size: 14px; font-family: var(--sans);
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.15);
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form .form-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.contact-form .form-ok { margin-top: 14px; font-size: 13.5px; color: var(--primary); font-weight: 600; }
.contact-form .form-err { margin-top: 14px; font-size: 13px; line-height: 1.7; color: var(--danger); }
.contact-form .form-err a { color: var(--danger); text-decoration: underline; }
.contact-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-info { display: grid; gap: 16px; align-content: space-between; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px;
}
.contact-card .ico {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-tint); border: 1px solid rgba(176, 141, 87, 0.35);
  display: grid; place-items: center; color: var(--accent-deep);
}
.contact-card .ico svg { width: 19px; height: 19px; }
.contact-card h4 { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0.06em; }
.contact-card p { margin-top: 5px; font-size: 15px; color: var(--ink); font-weight: 600; font-family: var(--serif); }
.contact-qr {
  background: var(--surface); border: 1px solid rgba(176, 141, 87, 0.35); border-radius: var(--radius-lg);
  padding: 26px 24px; text-align: center;
}
.contact-qr .qr-box {
  width: 132px; height: 132px; margin: 0 auto; border-radius: var(--radius);
  background: #fff; border: 1px solid rgba(176, 141, 87, 0.35);
  padding: 5px; overflow: hidden;
}
.contact-qr .qr-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.contact-qr p { margin-top: 14px; font-size: 13px; color: var(--muted); }

@media (max-width: 1024px) {
  .about-hero { grid-template-columns: 1fr; gap: 36px; }
  .adv5-grid { grid-template-columns: repeat(3, 1fr); }
  .tl { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .tl::before { display: none; }
  .tl-item { padding-left: 26px; }
  .tl-item::before {
    content: ''; position: absolute; left: 0; top: 8px; bottom: -44px; width: 1px;
    background: linear-gradient(180deg, var(--accent), rgba(176, 141, 87, 0.25));
  }
  .tl-item:nth-child(3n)::before { bottom: auto; height: 40px; }
  .tl-dot { position: absolute; left: -5px; top: 6px; margin: 0; width: 13px; height: 13px; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .tl { grid-template-columns: 1fr; row-gap: 36px; margin-top: 48px; }
  .tl-item { padding-left: 26px; padding-bottom: 4px; }
  .tl-item::before { bottom: -36px; }
  .tl-item:nth-child(3n)::before { bottom: -36px; height: auto; }
  .tl-item:last-child::before { display: none; }
  .self-grid { grid-template-columns: 1fr; }
  .tl-year { font-size: 26px; }
  .adv5-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 无障碍 ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 8px; top: 8px; z-index: 200; background: var(--primary); color: #fff; padding: 8px 16px; border-radius: var(--radius); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-slide img { transform: none !important; }
}

/* ============================================================
   内页通用：页头横幅
   ============================================================ */
.page-hero {
  margin-top: var(--header-h);
  background: linear-gradient(120deg, var(--primary-700) 0%, var(--primary) 70%);
  color: #fff; text-align: center;
  padding: 88px 24px 80px;
  position: relative; overflow: hidden;
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(176, 141, 87, 0.3);
}
.page-hero::before { top: -190px; left: -110px; }
.page-hero::after { bottom: -230px; right: -90px; }
.page-hero .eyebrow { color: #E8D5AC; }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--accent); }
.page-hero-title { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; letter-spacing: 0.02em; }
.page-hero-sub { margin-top: 14px; color: rgba(255,255,255,0.82); font-size: 16px; }
.page-hero-en { margin-top: 10px; font-size: 13px; letter-spacing: 0.26em; color: rgba(232, 213, 172, 0.85); text-transform: uppercase; }

/* ============================================================
   高端案例页：Offer 电影胶片
   ============================================================ */
.film-band {
  margin-top: var(--header-h);
  background: var(--primary-700);
  padding: 64px 0 56px;
  overflow: hidden;
  position: relative;
}
.film-perf {
  height: 12px;
  background-image: radial-gradient(circle at center, rgba(247, 249, 247, 0.85) 3.2px, transparent 4px);
  background-size: 26px 12px;
  background-repeat: repeat-x;
  opacity: 0.75;
}
.film-rows { display: grid; gap: 22px; margin: 22px 0; }
.film-row {
  display: flex; gap: 22px;
  width: max-content;
  animation: filmScroll 46s linear infinite;
}
.film-row--rev { animation-direction: reverse; }
.film-band:hover .film-row { animation-play-state: paused; }
@keyframes filmScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.offer-card {
  flex: none; width: 288px;
  background: #FFFDF7;
  border: 1px solid rgba(176, 141, 87, 0.45);
  border-radius: 4px;
  padding: 16px 18px 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}
.film-row:hover .offer-card { transform: scale(0.985); }
.offer-card:hover { transform: scale(1.03) !important; }
.offer-thumb {
  height: 188px;
  border: 1px dashed var(--line-strong);
  background:
    repeating-linear-gradient(45deg, #F7F2E6 0 14px, #F2EAD6 14px 28px);
  display: grid; place-items: center; gap: 6px;
  text-align: center;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
/* 真实 offer 图：去占位背景，顶部对齐裁切（露出校徽与信头，打码区可见） */
.offer-thumb:has(.offer-img) {
  border-style: solid;
  border-color: rgba(176, 141, 87, 0.3);
  background: #fff;
}
.offer-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.offer-thumb .seal {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--accent-deep);
  background: rgba(255, 253, 247, 0.7);
}
.offer-thumb .hint { font-size: 12px; color: var(--accent-deep); letter-spacing: 0.08em; }
.offer-school { margin-top: 14px; font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--primary); }
.offer-program { font-size: 14px; color: var(--ink); margin-top: 2px; }
.offer-meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.offer-term { font-size: 12px; color: var(--accent-deep); border: 1px solid rgba(176,141,87,.4); border-radius: 999px; padding: 2px 10px; }
.offer-bg { font-size: 12px; color: var(--muted); background: var(--primary-tint); border-radius: 999px; padding: 2px 10px; }

/* 案例名单：四列 + 垂直无缝滚动 */
.case-board {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.cb-head, .cb-row {
  display: grid;
  grid-template-columns: 92px minmax(84px, 0.85fr) minmax(110px, 1.05fr) minmax(0, 3.1fr);
  align-items: center;
  gap: 14px;
  padding: 0 26px;
}
.cb-head {
  height: 52px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--primary);
  border-bottom: 1px solid rgba(176, 141, 87, 0.35);
  background: rgba(176, 141, 87, 0.06);
}
.cb-row { height: 58px; font-size: 13.5px; cursor: pointer; }
.cb-row:nth-child(even) { background: rgba(12, 74, 69, 0.03); }
.cb-row:hover { background: rgba(176, 141, 87, 0.09); }
.cb-name { font-weight: 700; color: var(--ink); white-space: nowrap; }
.cb-origin, .cb-major, .cb-offer {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cb-origin, .cb-major, .cb-sum { color: var(--muted); }
.cb-school { color: var(--primary); font-weight: 600; }
.cb-viewport {
  height: 406px; /* 7 行 × 58px */
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
}
.cb-track { animation: cbScrollDown 50s linear infinite; }
.case-board:hover .cb-track { animation-play-state: paused; }
@keyframes cbScrollDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.film-band-title {
  text-align: center;
  font-family: var(--serif);
  font-size: 27px; font-weight: 700;
  color: #F3E9D2; letter-spacing: 0.08em;
  margin-bottom: 10px;
}

/* ============================================================
   高端案例页：分类钉住 + 瀑布流
   ============================================================ */
.chip-bar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(247, 249, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.chip-bar-inner { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.chip-label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.chip {
  height: 34px; padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 14px; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

.case-sec { scroll-margin-top: calc(var(--header-h) + 70px); }
.case-sec-head { display: flex; align-items: baseline; gap: 16px; margin: 64px 0 30px; }
.case-sec:first-of-type .case-sec-head { margin-top: 48px; }
.case-sec-no { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.case-sec-title { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--ink); }
.case-sec-count { font-size: 13px; color: var(--muted); }
.case-sec-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); align-self: center; }

.masonry { columns: 3; column-gap: 24px; }
.case-card--m {
  break-inside: avoid;
  margin-bottom: 24px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.case-card--m .case-school {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; font-size: 13px; color: var(--primary); font-weight: 600;
}
.case-card--m .case-summary { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.demo-flag {
  font-size: 11px; color: var(--accent-deep);
  border: 1px solid rgba(176, 141, 87, 0.5); border-radius: 3px;
  padding: 0 6px; margin-left: 8px; vertical-align: 1px;
}
.cases-empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 14px; }

/* ============================================================
   案例详情弹窗
   ============================================================ */
.modal-mask {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(9, 59, 55, 0.55);
  backdrop-filter: blur(4px);
  display: none; place-items: center;
  padding: 24px;
}
.modal-mask.is-open { display: grid; }
.modal {
  background: var(--surface); border-radius: var(--radius-lg);
  width: min(640px, 100%); max-height: 84vh; overflow: auto;
  padding: 44px 44px 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted); transition: all 0.2s;
}
.modal-close:hover { background: var(--primary-tint); color: var(--primary); }
.modal-close svg { width: 18px; height: 18px; }
.modal-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--accent-deep); text-transform: uppercase; margin-bottom: 14px; }
.modal-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.modal-title { font-family: var(--serif); font-size: 25px; font-weight: 700; line-height: 1.5; color: var(--ink); padding-right: 36px; }
.modal-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.modal-tag { font-size: 12.5px; color: var(--primary); background: var(--primary-tint); border-radius: 999px; padding: 3px 12px; }
.modal-tag--school { color: var(--accent-deep); background: var(--accent-tint); }
.modal-body { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); line-height: 1.9; }
.modal-lbl { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; color: var(--accent-deep); margin-bottom: 12px; }
.modal-lbl::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.modal-offers { margin-bottom: 24px; }
.modal-offer-list { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-offer { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; background: var(--accent-tint); border: 1px solid rgba(176, 141, 87, 0.35); border-radius: 999px; font-size: 13px; color: var(--ink); font-weight: 600; line-height: 1.4; }
.modal-offer svg { color: var(--accent-deep); flex: none; }
.modal-offer--top { background: var(--primary); border-color: var(--primary); color: #fff; }
.modal-offer--top svg { color: var(--accent); }
.modal-summary { margin: 0; }
.modal-note { margin-top: 20px; font-size: 13px; color: var(--accent-deep); background: var(--accent-tint); border-radius: var(--radius); padding: 12px 16px; }

/* ============================================================
   领航式服务页
   ============================================================ */
main .svc-block[ id ], main section[ id ] { scroll-margin-top: calc(var(--header-h) + 76px); }

/* ---------- 业务大区块 ---------- */
.svc-block { padding: 88px 0; }
.svc-block-inner { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; }
.svc-block-no {
  grid-column: 1; grid-row: 1; align-self: baseline;
  font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--accent); letter-spacing: 0.12em;
}
.svc-block-body { grid-column: 2; grid-row: 1; align-self: baseline; min-width: 0; }
.svc-block-name { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); font-weight: 700; color: var(--ink); line-height: 1.35; }
.svc-block-en { display: block; margin-top: 7px; font-size: 12.5px; letter-spacing: 0.22em; color: var(--accent-deep); text-transform: uppercase; font-weight: 600; }
.svc-block-tagline {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 16px; color: var(--accent-deep); letter-spacing: 0.04em;
}
.svc-block-tagline::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

.svc-intro { margin-top: 14px; max-width: 780px; font-size: 16px; color: var(--muted); line-height: 2.05; }

.mode-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.mode-pill {
  display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 20px;
  border-radius: 999px; background: var(--surface); border: 1px solid rgba(176, 141, 87, 0.45);
  font-size: 14px; color: var(--primary); font-weight: 500;
}
.mode-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- 参考布局：标题 + 副标题 + 图标特性卡（2×2） ---------- */
/* 同行卡顶底对齐（grid 默认 stretch），行间高度随内容；排版空间压缩（padding/行距收紧） */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.feat-card {
  background: var(--accent-tint);
  border: 1px solid rgba(176, 141, 87, 0.22);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(176, 141, 87, 0.5); }
.feat-ico {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface); border: 1px solid rgba(176, 141, 87, 0.35);
  display: grid; place-items: center; color: var(--accent-deep);
}
.feat-ico svg { width: 19px; height: 19px; }
.feat-card h4 { font-family: var(--serif); font-size: 16.5px; font-weight: 650; color: var(--ink); line-height: 1.5; }
.feat-card p { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ---------- 美国升硕：scope + A/B/C 产品卡 ---------- */
.svc-scope {
  margin-top: 32px; display: flex; gap: 16px; align-items: flex-start; max-width: 860px;
  background: var(--primary-700); color: #F3E9D2;
  border-radius: var(--radius); padding: 20px 26px;
}
.svc-scope svg { width: 20px; height: 20px; stroke: var(--accent); flex: none; margin-top: 7px; }
.svc-scope-text { font-size: 14.5px; line-height: 1.95; }
.svc-scope-text strong { color: #E8D5AC; font-weight: 600; letter-spacing: 0.08em; margin-right: 8px; }
.svc-scope-note { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(232, 213, 172, 0.82); }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; align-items: stretch; }
.prod-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.prod-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), rgba(176, 141, 87, 0.22)); }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.prod-key {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--accent); background: var(--accent-tint);
  color: var(--accent-deep); font-family: var(--serif); font-size: 21px; font-weight: 700;
  display: grid; place-items: center;
}
.prod-name { margin-top: 20px; min-height: 63px; font-family: var(--serif); font-size: 19.5px; font-weight: 700; line-height: 1.55; color: var(--ink); }
.prod-tagline { margin-top: 8px; font-size: 13.5px; color: var(--accent-deep); letter-spacing: 0.02em; font-weight: 500; }
.prod-points { margin-top: 22px; display: grid; gap: 12px; }
.prod-points li { position: relative; padding-left: 24px; font-size: 14px; color: var(--muted); line-height: 1.85; }
.prod-points li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 11px; height: 6px;
  border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}
.prod-fit { margin-top: auto; padding-top: 24px; border-top: 1px dashed var(--line-strong); }
.prod-fit-label { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; color: var(--accent-deep); }
.prod-fit-who { margin-top: 8px; font-family: var(--serif); font-size: 15.5px; font-weight: 650; color: var(--primary); }
.prod-fitpoints { margin-top: 12px; display: grid; gap: 8px; }
.prod-fitpoints li { position: relative; padding-left: 16px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.prod-fitpoints li::before { content: "·"; position: absolute; left: 2px; top: -2px; color: var(--accent); font-weight: 700; }

/* ---------- 留学 & 求职双路径 ---------- */
.career-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.career-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.career-item:hover { border-color: var(--accent); transform: translateY(-3px); }
.career-no { flex: none; font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--accent); line-height: 1.8; }
.career-item span:last-child { font-size: 14.5px; color: var(--ink); line-height: 1.75; }

/* ---------- 服务流程 ---------- */
.proc-lead-points {
  margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; max-width: 860px;
}
.proc-lead-points li { position: relative; padding-left: 24px; font-size: 14px; color: var(--muted); }
.proc-lead-points li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 10px; height: 5px;
  border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}
.proc-wrap { position: relative; margin-top: 64px; }
.proc-line {
  position: absolute; top: 27px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
}
.proc-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.proc-dot {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--accent);
  color: var(--primary); font-family: var(--serif); font-size: 17px; font-weight: 700;
  display: grid; place-items: center;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--bg);
}
.proc-name { margin-top: 22px; font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink); }
.proc-name::after { content: ""; display: block; width: 22px; height: 2px; background: var(--accent); margin-top: 10px; }
.proc-points { margin-top: 16px; display: grid; gap: 10px; }
.proc-points li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.proc-points li::before { content: "·"; position: absolute; left: 2px; top: -2px; color: var(--accent); font-weight: 700; }

/* ---------- 服务优势 ---------- */
.adv-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 56px; }
.adv-card {
  flex: 1 1 320px; max-width: 368px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.adv-card-no { font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.14em; }
.adv-card h4 { margin-top: 12px; font-family: var(--serif); font-size: 19px; font-weight: 650; color: var(--ink); }
.adv-card p { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.95; }

/* ---------- 十大素养 ---------- */
.lit-slogan {
  margin: 0 auto; text-align: center;
  font-family: var(--serif); font-size: 20px; font-weight: 650; color: var(--primary); letter-spacing: 0.02em;
}
.lit-slogan::before { content: "“"; color: var(--accent); margin-right: 8px; }
.lit-slogan::after { content: "”"; color: var(--accent); margin-left: 8px; }
.lit-grid { margin-top: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.lit-item {
  display: flex; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px;
  transition: border-color 0.25s ease;
}
.lit-item:hover { border-color: var(--accent); }
.lit-no { flex: none; font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--accent); line-height: 1.45; }
.lit-item h4 { font-family: var(--serif); font-size: 16.5px; font-weight: 650; color: var(--ink); }
.lit-item p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.95; }

/* ---------- 服务页响应式 ---------- */
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .proc-line { display: none; }
  .proc-dot { box-shadow: 0 0 0 8px var(--bg); }
  .lit-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-block { padding: 60px 0; }
  .svc-block-inner { grid-template-columns: 1fr; row-gap: 10px; }
  .svc-block-no { grid-column: 1; grid-row: auto; }
  .svc-block-body { grid-column: 1; grid-row: auto; }
  .svc-block-head { gap: 14px; }
  .adv-mini-grid { grid-template-columns: 1fr; }
  .career-grid { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr; }
  .prod-card { padding: 30px 24px 26px; }
  .prod-name { min-height: 0; }
  .svc-brief { padding: 18px 20px; }
}

/* ---------- 案例页响应式 ---------- */
@media (max-width: 1024px) {
  .masonry { columns: 2; }
}
@media (max-width: 640px) {
  .masonry { columns: 1; }
  .offer-card { width: 248px; }
  .modal { padding: 32px 24px 28px; }
  .chip-bar-inner { gap: 8px; }
  .chip { padding: 0 14px; height: 32px; font-size: 13px; }
  button.chip { font-family: inherit; cursor: pointer; }
  /* 案例名单：四列改两行排版（名称行 + 录取行） */
  .cb-head, .cb-row {
    grid-template-columns: auto auto minmax(0, 1fr);
    grid-template-areas: "name origin major" "offer offer offer";
    height: auto;
    gap: 2px 10px;
    padding: 0 16px;
  }
  .cb-head { padding-top: 12px; padding-bottom: 12px; }
  .cb-row { padding-top: 11px; padding-bottom: 11px; font-size: 13px; }
  .cb-head > :nth-child(1), .cb-row > :nth-child(1) { grid-area: name; }
  .cb-head > :nth-child(2), .cb-row > :nth-child(2) { grid-area: origin; }
  .cb-head > :nth-child(3), .cb-row > :nth-child(3) { grid-area: major; }
  .cb-head > :nth-child(4), .cb-row > :nth-child(4) { grid-area: offer; }
  .cb-offer { white-space: normal; line-height: 1.6; }
  .cb-viewport { height: 330px; }
}
@media (prefers-reduced-motion: reduce) {
  .film-row { animation: none; }
  .film-band { overflow-x: auto; }
  .cb-track { animation: none; transform: none; }
  .cb-list--dup { display: none; }
  .cb-viewport { overflow-y: auto; }
  .tl-yc { opacity: 1; }
  .tl-item.is-visible .tl-yc { animation: none; }
}
