/* ===========================================================
   三电蜂学院 · 设计系统 (浅灰底 #F1F2F4 + 明黄 #FFD400 + 炭黑文字)
   字体：Noto Sans SC（中文）/ Inter（英文 kicker）
   =========================================================== */
:root {
  --bg: #F1F2F4;                 /* 页面底色：浅灰 */
  --bg-2: #E7E9ED;               /* 分区/页眉横幅：略深灰 */
  --surface: #FFFFFF;            /* 卡片：白 */
  --surface-2: #E9EBEF;          /* 媒体占位底 */
  --border: #E2E5EA;             /* 浅描边 */
  --gold: #FFD400;               /* 明黄（用作填充：按钮、芯片、下划线） */
  --gold-strong: #FFE24D;
  --gold-soft: rgba(255, 212, 0, 0.16);
  --gold-line: rgba(255, 212, 0, 0.45);
  --accent-ink: #9A6B00;         /* 深琥珀：浅底上的文字强调，保证可读性 */
  --text: #1B1E23;               /* 主文字：炭黑 */
  --text-2: #565C66;             /* 次级文字 */
  --text-3: #8A9099;             /* 三级文字 */
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1200px;
  --font-sans: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Inter", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(20, 24, 33, 0.10);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 15px; font-weight: 500; transition: all .2s ease; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #1A1A1A; font-weight: 700; }
.btn-gold:hover { background: var(--gold-strong); transform: translateY(-1px); }
.btn-ghost { background: rgba(0,0,0,0.03); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(0,0,0,0.06); border-color: var(--gold-line); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(241, 242, 244, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-name { letter-spacing: .5px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav-link {
  padding: 8px 14px; border-radius: 8px; color: var(--text-2); font-size: 15px; transition: all .15s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--accent-ink); background: var(--gold-soft); }
.nav-cta { margin-left: 8px; }
.nav-admin {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 8px; padding: 7px 14px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  color: var(--accent-ink); text-decoration: none;
  background: transparent; border: 1px solid var(--border); border-radius: 999px;
  transition: border-color .15s, color .15s, background .15s;
}
.nav-admin:hover { border-color: var(--gold); color: #b58900; background: var(--gold-soft); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); color: var(--text);
  width: 42px; height: 42px; border-radius: 10px; font-size: 18px;
}

/* ---------------- 通用区块 ---------------- */
.section { padding: 84px 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.kicker {
  display: inline-block; font-family: var(--font-en); font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px;
}
.sec-title { font-size: clamp(26px, 3.4vw, 38px); }
.sec-sub { margin-top: 14px; color: var(--text-2); font-size: 17px; }
.lead { color: var(--text-2); }

/* ---------------- HERO ---------------- */
.hero {
  position: relative; overflow: hidden; min-height: 680px;
  display: flex; align-items: center; color: #fff;
  padding: 96px 0 80px;
}
.hero::before { display: none; } /* 轮播背景替代金色光晕 */
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  position: relative; z-index: 2; width: 100%;
}
.hero-copy .kicker { color: var(--gold); opacity: 0.95; }
.hero-title { font-size: clamp(32px, 4.6vw, 52px); font-weight: 900; letter-spacing: .5px; color: #fff; }
.hero-title .accent { color: var(--gold); }
.hero-sub { margin-top: 20px; color: rgba(255,255,255,0.85); font-size: 18px; max-width: 520px; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(255,255,255,0.82); }
.hero-trust .ic { font-size: 17px; }
.hero .btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.55); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: #fff; }

/* Hero 轮播背景 */
.hero-carousel {
  position: absolute; inset: 0; z-index: 0;
  background: #0a0b0d;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-carousel-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,11,13,0.82) 0%, rgba(10,11,13,0.55) 55%, rgba(10,11,13,0.38) 100%);
}
.hero-carousel-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; gap: 10px;
}
.hero-carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.35); transition: background .2s, transform .2s;
}
.hero-carousel-dots button.active { background: var(--gold); transform: scale(1.25); }

/* Hero 右侧：实拍图 + 玻璃诊断面板（视觉组合） */
.hero-visual { position: relative; z-index: 0; display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
.hero-shot { position: relative; border-radius: 20px; }
.hero-photo { width: 100%; border-radius: 20px; border: 1px solid var(--border); display: block; box-shadow: 0 20px 50px rgba(20,24,33,0.12); }
.hero-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: #1A1A1A; font-size: 13px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; box-shadow: 0 8px 20px rgba(255,212,0,0.35);
}
.glass-panel {
  position: absolute; right: -8px; bottom: -28px; z-index: 2;
  width: 360px; max-width: 80%; background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(244,245,247,0.92));
  border: 1px solid var(--gold-line); border-radius: 20px; padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(20,24,33,0.18); backdrop-filter: blur(8px);
}
.hero-hex {
  position: absolute; z-index: 0; width: 120px; height: 138px; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='69' viewBox='0 0 60 69'%3E%3Cpolygon points='30,2 58,18.5 58,50.5 30,67 2,50.5 2,18.5' fill='none' stroke='%23FFD400' stroke-opacity='0.5' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 60px 69px; opacity: 0.5;
}
.hero-hex-1 { top: -52px; right: -30px; }
.hero-hex-2 { bottom: -40px; left: -34px; opacity: 0.35; transform: scale(1.3); }
.glass-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.glass-head .tag { font-family: var(--font-en); font-size: 12px; color: var(--accent-ink); letter-spacing: 1px; }
.glass-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #22A06B; box-shadow: 0 0 10px #22A06B; }
.soh { text-align: center; margin: 6px 0 20px; }
.soh-num { font-size: 52px; font-weight: 900; color: var(--accent-ink); line-height: 1; }
.soh-num small { font-size: 20px; font-weight: 700; }
.soh-label { color: var(--text-2); font-size: 13px; margin-top: 6px; }
.metric-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--border); }
.metric-row span:first-child { color: var(--text-2); font-size: 14px; }
.metric-row span:last-child { font-weight: 600; font-family: var(--font-en); }

/* ---------------- 数据条 ---------------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 20px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-size: 40px; font-weight: 900; color: var(--accent-ink); font-family: var(--font-en); }
.stat-label { margin-top: 8px; color: var(--text-2); font-size: 15px; }

/* ---------------- 卡片网格 ---------------- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.card-icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--accent-ink); font-size: 22px; margin-bottom: 18px;
  border: 1px solid var(--gold-line);
}
.card-title { font-size: 19px; margin-bottom: 10px; }
.card-text { color: var(--text-2); font-size: 15px; }
a.card.svc-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.card.svc-link:hover { text-decoration: none; }
.card-more { margin-top: 14px; color: var(--accent-ink); font-size: 14px; font-weight: 600; }

/* 课程卡 */
.course-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.course-media { aspect-ratio: 16/9; background: var(--surface-2); position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.course-media img { width: 100%; height: 100%; object-fit: cover; }
.course-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-tag { align-self: flex-start; font-size: 12px; color: var(--accent-ink); background: var(--gold-soft); border: 1px solid var(--gold-line); padding: 3px 10px; border-radius: 999px; }
.course-title { font-size: 18px; }
.course-text { color: var(--text-2); font-size: 14px; flex: 1; }
.course-meta { display: flex; gap: 14px; color: var(--text-3); font-size: 13px; font-family: var(--font-en); border-top: 1px solid var(--border); padding-top: 14px; }

/* 分类卡 */
.cat-card { padding: 0; overflow: hidden; }
.cat-media { aspect-ratio: 16/10; background: var(--surface-2); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-body { padding: 20px 22px; }
.cat-title { font-size: 18px; }
.cat-text { color: var(--text-2); font-size: 14px; margin-top: 8px; }

/* 列表型课程行 */
.course-list { display: flex; flex-direction: column; gap: 14px; }
.course-row {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px;
}
.course-row .cr-tag { font-family: var(--font-en); font-size: 13px; color: var(--accent-ink); }
.course-row .cr-title { font-size: 17px; }
.course-row .cr-text { color: var(--text-2); font-size: 14px; margin-top: 4px; }
.course-row .cr-price { color: var(--accent-ink); font-weight: 700; white-space: nowrap; }

/* 特色 / 优势 */
.feature .feature-ic { font-size: 24px; }
.feature h3 { font-size: 17px; margin: 12px 0 8px; }

/* 师资 */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.teacher-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; }
.avatar { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 2px solid var(--gold-line); background: var(--surface-2); }
.teacher-name { font-size: 19px; }
.teacher-role { color: var(--accent-ink); font-size: 14px; margin-top: 6px; }
.teacher-desc { color: var(--text-2); font-size: 14px; margin-top: 12px; }

/* 引言 + 数据 */
.intro-quote { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; text-align: center; max-width: 880px; margin: 0 auto; line-height: 1.5; }
.intro-quote .accent { color: var(--accent-ink); }
.intro-stats { display: flex; justify-content: center; gap: 60px; margin-top: 40px; flex-wrap: wrap; }
.intro-stat .n { font-size: 34px; font-weight: 900; color: var(--accent-ink); font-family: var(--font-en); }
.intro-stat .l { color: var(--text-2); font-size: 15px; margin-top: 4px; }

/* 客户评价 */
.testimonial {
  margin-top: 40px; background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 36px 40px; position: relative;
}
.testimonial .quote-mark { font-size: 60px; color: var(--accent-ink); opacity: .35; line-height: .6; }
.testimonial p { font-size: 18px; }
.testimonial .who { margin-top: 16px; color: var(--text-2); font-size: 14px; }

/* 服务详情（2x2） */
.svc-card { padding: 32px; overflow: hidden; }
.svc-media { aspect-ratio: 16/9; margin: -32px -32px 22px; background: var(--surface-2); border-bottom: 1px solid var(--border); overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-card h3 { font-size: 21px; margin-bottom: 12px; }
.svc-card .svc-ic { font-size: 28px; margin-bottom: 14px; }
.svc-card p { color: var(--text-2); font-size: 15px; }
.svc-list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-list li { font-size: 13px; color: var(--accent-ink); background: var(--gold-soft); border: 1px solid var(--gold-line); padding: 4px 10px; border-radius: 999px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.faq-q { font-weight: 700; font-size: 16px; display: flex; gap: 10px; }
.faq-q .q { color: var(--accent-ink); font-family: var(--font-en); }
.faq-a { color: var(--text-2); font-size: 15px; margin-top: 10px; }

/* 转化横幅 */
.lead-cta { background: linear-gradient(135deg, var(--surface-2), var(--bg-2)); border-top: 1px solid var(--gold-line); }
.lead-inner { text-align: center; padding: 70px 0; }
.lead-title { font-size: clamp(24px, 3vw, 34px); }
.lead-sub { color: var(--text-2); margin: 14px auto 26px; max-width: 560px; font-size: 16px; }

/* 内页 HERO */
.page-hero { background: var(--bg-2); border-bottom: 1px solid var(--border); text-align: center; padding: 96px 0 72px; }
.page-hero .kicker { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; }
.page-hero p { color: var(--text-2); margin-top: 16px; font-size: 18px; max-width: 720px; margin-left: auto; margin-right: auto; padding: 0 24px; }
.page-hero-img { width: 100%; max-width: 920px; border-radius: 16px; margin-top: 28px; border: 1px solid var(--border); display: block; }

/* 服务页：主图在内容区内全宽（不霸屏、两侧留白、带圆角） */
.page-hero-wide { padding: 96px 0 56px; }
.page-hero-wide .page-hero-img {
  width: 100%; max-width: 1140px; border-radius: 18px; margin: 28px auto 0;
  border: 1px solid var(--border); display: block; box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

/* 资格认证页：复用首页 Hero 轮播背景 + 文字叠加 */
.cert-hero { min-height: 820px; padding: 96px 0 80px; }
.cert-hero .hero-carousel-overlay {
  background: linear-gradient(90deg, rgba(10,11,13,0.88) 0%, rgba(10,11,13,0.60) 50%, rgba(10,11,13,0.30) 100%);
}
/* 抬升取景：避免人物头部被裁切 */
.cert-hero .hero-slide img { object-position: center 18%; }

/* ---------------- 留言板 / 表单 ---------------- */
.contact-layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: 36px; align-items: start; }
.form-card, .info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }
.form-card .card-title { font-size: 22px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--text); margin-bottom: 8px; font-weight: 500; }
.field .req { color: var(--accent-ink); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-family: inherit; font-size: 15px; padding: 13px 15px; transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 130px; }
.field .err { color: #D64545; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #D64545; }
.privacy { color: var(--text-3); font-size: 12px; margin-top: 4px; }
.form-msg { margin-top: 14px; font-size: 14px; padding: 12px 14px; border-radius: var(--radius-sm); display: none; }
.form-msg.ok { display: block; background: rgba(34,160,107,0.12); color: #1E8C5A; border: 1px solid rgba(34,160,107,0.3); }
.form-msg.bad { display: block; background: rgba(214,69,69,0.10); color: #C23B3B; border: 1px solid rgba(214,69,69,0.3); }

.info-card .info-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.info-row { padding: 14px 0; border-top: 1px solid var(--border); }
.info-row:first-of-type { border-top: none; }
.info-label { font-size: 13px; color: var(--accent-ink); font-weight: 600; margin-bottom: 4px; }
.info-value { font-size: 16px; color: var(--text); }
.info-note { margin-top: 20px; color: var(--text-2); font-size: 13px; line-height: 1.6; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #E9EBEF; border-top: 1px solid var(--border); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; padding: 60px 0 40px; }
.footer-tagline { color: var(--text-2); font-size: 14px; margin: 16px 0; max-width: 280px; }
.footer-contact p { color: var(--text-3); font-size: 13px; margin: 4px 0; }
.footer-col h4 { font-size: 15px; margin-bottom: 14px; color: var(--text); }
.footer-col a { display: block; color: var(--text-3); font-size: 13px; margin: 8px 0; transition: color .15s; }
.footer-col a:hover { color: var(--accent-ink); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: var(--text-3); font-size: 12px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .hero { min-height: auto; padding: 88px 0 48px; }
  .hero-carousel-overlay { background: linear-gradient(180deg, rgba(10,11,13,0.78) 0%, rgba(10,11,13,0.62) 60%, rgba(10,11,13,0.55) 100%); }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .hero-hex { display: none; }
  .glass-panel { position: static; right: auto; bottom: auto; width: 100%; max-width: none; margin-top: 18px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--border); }
  .svc-detail-points, .svc-detail-pain, .svc-steps, .svc-related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding: 72px 0 56px; }
  .hero-carousel-dots { bottom: 18px; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 24px; gap: 4px; }
  .nav.open { display: flex; }
  .nav-cta { display: none; }
  .nav-admin { margin-left: auto; }
  .nav-toggle { display: block; margin-left: 8px; }
  .grid-4, .grid-3, .grid-2, .team-grid { grid-template-columns: 1fr; }
  .svc-detail-points, .svc-detail-pain, .svc-steps, .svc-related { grid-template-columns: 1fr; }
  .cert-showcase { grid-template-columns: 1fr; }
  .cert-stage { height: 320px; }
  .course-row { grid-template-columns: 1fr; gap: 8px; }
  .intro-stats { gap: 30px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ---------------- 服务详情页 ---------------- */
.svc-detail-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-point { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.svc-point .sp-ic { font-size: 26px; }
.svc-point h3 { font-size: 18px; margin: 12px 0 8px; }
.svc-point p { color: var(--text-2); font-size: 14.5px; }

.svc-detail-pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-pain { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.svc-pain .sp-ic { font-size: 22px; line-height: 1.4; }
.svc-pain p { font-size: 15px; color: var(--text); }

.svc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px 22px; }
.svc-step .num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #1A1A1A; font-weight: 800; font-family: var(--font-en); margin-bottom: 14px; }
.svc-step h3 { font-size: 17px; margin-bottom: 8px; }
.svc-step p { color: var(--text-2); font-size: 14px; }

.svc-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-related .card-more { margin-top: 14px; }

/* ---------------- 证书展示区（横竖版混合兼容） ---------------- */
.cert-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cert-item {
  margin: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.cert-stage {
  height: 360px; background: #fff; padding: 22px;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
}
.cert-stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block;
  border-radius: 6px; box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.cert-item figcaption {
  padding: 16px; text-align: center; background: var(--surface);
  display: flex; flex-direction: column; gap: 6px;
}
.cert-item figcaption strong {
  font-size: 15px; color: var(--text-1); font-weight: 600;
}
.cert-period {
  display: inline-block; font-size: 12.5px; color: var(--accent-ink);
  background: rgba(255, 212, 0, 0.15); border: 1px solid rgba(255, 212, 0, 0.4);
  padding: 4px 12px; border-radius: 999px; width: fit-content;
  margin: 0 auto;
}
.cert-note {
  text-align: center; font-size: 13.5px; color: var(--text-3);
  margin-top: 18px;
}

/* ---------------- 往期学院合影（数据驱动画廊） ---------------- */
.alumni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.alumni-card {
  margin: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.alumni-card:hover, .alumni-card:focus-visible {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); outline: none;
}
.alumni-thumb { aspect-ratio: 4 / 3; background: var(--bg-2); overflow: hidden; }
.alumni-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.alumni-cap { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.alumni-title { font-size: 16px; font-weight: 700; color: var(--text); }
.alumni-meta { display: flex; flex-direction: column; gap: 2px; }
.alumni-date { font-size: 13px; color: var(--accent-ink); font-weight: 600; }
.alumni-desc { font-size: 13px; color: var(--text-2); }
.alumni-empty { color: var(--text-2); text-align: center; padding: 40px 0; }

/* 灯箱（点击放大） */
.alumni-lightbox {
  position: fixed; inset: 0; z-index: 999; display: none;
  align-items: center; justify-content: center;
  background: rgba(20, 22, 26, 0.86); backdrop-filter: blur(4px); padding: 24px;
}
.alumni-lightbox.open { display: flex; }
.lb-stage { margin: 0; max-width: min(92vw, 1040px); text-align: center; }
.lb-img { max-width: 100%; max-height: 80vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); display: block; }
.lb-cap { margin-top: 14px; color: #fff; font-size: 15px; line-height: 1.6; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,.14); color: #fff; border: none;
  cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .2s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.3); }
.lb-close { top: 22px; right: 26px; width: 44px; height: 44px; font-size: 26px; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 34px; line-height: 1; }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }

@media (max-width: 980px) {
  .alumni-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .alumni-grid { grid-template-columns: 1fr; }
}

/* ---------------- 课程大纲展示区 ---------------- */
.syllabus-wrap { display: flex; justify-content: center; }
.syllabus-img {
  width: 100%; max-width: min(1100px, 92vw); height: auto; display: block;
  margin: 0 auto; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow); cursor: zoom-in; background: var(--surface);
  transition: transform .2s ease, box-shadow .2s ease;
}
.syllabus-img:hover { transform: translateY(-2px); box-shadow: 0 24px 60px rgba(20,24,33,0.14); }
.syllabus-hint {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-3); margin-top: 14px;
}
.syllabus-hint .ic { font-size: 15px; color: var(--accent-ink); }

/* ---------------- 校区环境 4 图 ---------------- */
.campus-grid { margin-top: 10px; }
.campus-figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.campus-img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow);
}
.campus-cap { font-size: 15px; color: var(--text-2); text-align: center; }

/* 通用点击放大灯箱（任意 img.zoomable） */
.zoomable { cursor: zoom-in; }
.img-zoom {
  position: fixed; inset: 0; z-index: 999; display: none;
  align-items: center; justify-content: center;
  background: rgba(20, 22, 26, 0.86); backdrop-filter: blur(4px); padding: 24px;
}
.img-zoom.open { display: flex; }
.iz-img { max-width: 94vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); display: block; }
.iz-close {
  position: absolute; top: 22px; right: 26px; width: 44px; height: 44px;
  font-size: 26px; line-height: 1; border: none; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.iz-close:hover { background: rgba(255,255,255,.3); }

/* ---------------- 首页扫码关注区块 ---------------- */
.qr-section { background: var(--surface); border-top: 1px solid var(--border); }
.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
.qr-card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; text-align: center; transition: border-color .2s, transform .2s;
}
.qr-card:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.qr-media {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px; display: flex; justify-content: center;
}
.qr-media img { width: 100%; max-width: 200px; height: auto; display: block; border-radius: 6px; }
.qr-cap { margin-top: 16px; }
.qr-ic { font-size: 22px; }
.qr-title { font-size: 18px; margin: 6px 0 4px; }
.qr-text { color: var(--text-2); font-size: 14px; }
@media (max-width: 640px) { .qr-grid { grid-template-columns: 1fr; max-width: 320px; } }
