/* ==========================================================
   天智教育 www.sztzjy.cn  宣传站主样式
   ========================================================== */
:root {
  --brand: #e02020;
  --brand-2: #ff5a3c;
  --brand-dark: #b81616;
  --ink: #171b22;
  --ink-2: #4b5563;
  --ink-3: #8a94a6;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-dark: #14181f;
  --line: #e9edf3;
  --gold: #ffb400;
  --blue: #2f7cf6;
  --green: #00a870;
  --purple: #8a5cf6;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(20, 26, 40, .08);
  --shadow-lg: 0 18px 50px rgba(20, 26, 40, .14);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 6px 18px rgba(224, 32, 32, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(224, 32, 32, .36); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-sm { height: 34px; padding: 0 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- 顶部条 ---------- */
.topbar { background: var(--bg-dark); color: rgba(255,255,255,.72); font-size: 13px; height: 38px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar .left { display: flex; gap: 18px; align-items: center; }
.topbar .right { display: flex; gap: 16px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar .tel { color: var(--gold); font-weight: 700; letter-spacing: .5px; }

/* ---------- 导航 ---------- */
.header { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; height: 74px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo .mark {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -1px;
  box-shadow: 0 4px 14px rgba(224,32,32,.3);
}
.logo .txt b { display: block; font-size: 19px; line-height: 1.1; letter-spacing: 1px; }
.logo .txt span { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: 2px; }

.nav { display: flex; gap: 4px; flex: 1; }
.nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--ink);
  position: relative; transition: all .18s;
}
.nav a:hover { color: var(--brand); background: rgba(224,32,32,.06); }
.nav a.on { color: var(--brand); }
.nav a.on::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: -12px; height: 3px;
  background: var(--brand); border-radius: 3px;
}
.header .actions { display: flex; align-items: center; gap: 12px; }
.header .actions .tel { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.header .actions .tel b { color: var(--brand); font-size: 19px; letter-spacing: .5px; }

/* ---------- 移动端汉堡菜单 ---------- */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 42px; height: 42px; padding: 0 10px; margin-left: 10px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger.on span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav { display: none; }

/* ---------- Banner ---------- */
.hero { position: relative; background: var(--bg-dark); overflow: hidden; }
.hero .slides { position: relative; height: 480px; }
.hero .slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; transition: opacity .6s ease; padding: 0;
}
.hero .slide.on { opacity: 1; }
.hero .slide::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 78% 40%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(120deg, #161b24 0%, #20293a 45%, #2a1a1a 100%);
}
.hero .slide.theme-ai::before { background: radial-gradient(900px 420px at 78% 40%, rgba(138,92,246,.35), transparent 62%), linear-gradient(120deg, #141b2c 0%, #232a4a 50%, #3a1f3d 100%); }
.hero .slide.theme-ops::before { background: radial-gradient(900px 420px at 78% 40%, rgba(47,124,246,.32), transparent 62%), linear-gradient(120deg, #101822 0%, #17293d 50%, #123040 100%); }
.hero .slide.theme-test::before { background: radial-gradient(900px 420px at 78% 40%, rgba(0,168,112,.3), transparent 62%), linear-gradient(120deg, #101a18 0%, #16302a 50%, #1d3a2a 100%); }
.hero .slide.theme-free::before { background: radial-gradient(900px 420px at 78% 40%, rgba(255,180,0,.3), transparent 62%), linear-gradient(120deg, #1d1710 0%, #33241a 50%, #3d1d16 100%); }

.hero .slide .wrap { position: relative; z-index: 2; display: flex; align-items: center; gap: 40px; }
.hero .txt { flex: 1; color: #fff; max-width: 620px; }
.hero .tag {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px;
  border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  font-size: 13px; margin-bottom: 18px; backdrop-filter: blur(4px);
}
.hero h1 { font-size: 46px; line-height: 1.18; letter-spacing: -1px; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .desc { font-size: 16px; color: rgba(255,255,255,.82); margin-bottom: 26px; }
.hero .meta { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; flex-wrap: wrap; }
.hero .price { font-size: 34px; font-weight: 800; color: var(--gold); letter-spacing: -1px; }
.hero .price small { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.6); margin-left: 8px; letter-spacing: 0; }
.hero .note { font-size: 13px; color: rgba(255,255,255,.66); }
.hero .btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero .visual { width: 380px; flex-shrink: 0; position: relative; }
.hero .card-art {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px; padding: 20px; backdrop-filter: blur(6px);
}
.hero .card-art .row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.86); }
.hero .card-art .row:last-child { border-bottom: 0; }
.hero .card-art .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.hero .card-art h4 { font-size: 15px; color: #fff; margin-bottom: 12px; }
.hero .card-art .big { font-size: 26px; font-weight: 800; color: var(--gold); margin-top: 14px; }

.hero .dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.hero .dots i { width: 26px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); cursor: pointer; transition: all .25s; }
.hero .dots i.on { background: var(--gold); width: 40px; }
.hero .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 42px; height: 42px;
  border-radius: 50%; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.2);
  color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 20px;
}
.hero .arrow:hover { background: rgba(0,0,0,.5); }
.hero .arrow.prev { left: 20px; } .hero .arrow.next { right: 20px; }

/* ---------- 数据条 ---------- */
.stats { background: #fff; padding: 34px 0; border-bottom: 1px solid var(--line); }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .item { text-align: center; border-right: 1px solid var(--line); }
.stats .item:last-child { border-right: 0; }
.stats .num { font-size: 38px; font-weight: 800; letter-spacing: -1px; color: var(--brand); line-height: 1.1; }
.stats .num span { font-size: 16px; margin-left: 2px; }
.stats .label { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* ---------- 区块通用 ---------- */
.sec { padding: 70px 0; }
.sec.soft { background: var(--bg-soft); }
.sec.dark { background: var(--bg-dark); color: #fff; }
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-head .eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: 3px; margin-bottom: 10px; }
.sec-head h2 { font-size: 34px; letter-spacing: -1px; }
.sec-head .sub { color: var(--ink-3); margin-top: 12px; font-size: 15px; }
.sec.dark .sec-head h2 { color: #fff; }
.sec.dark .sec-head .sub { color: rgba(255,255,255,.6); }
.sec.dark .sec-head .eyebrow { color: var(--gold); }

/* ---------- 课程卡片 ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: all .25s ease; position: relative; display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.course-card .thumb {
  height: 150px; color: #fff; padding: 22px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.course-card .thumb.c-ai { background: linear-gradient(135deg, #6c3ff0, #b23cff 60%, #ff5a8a); }
.course-card .thumb.c-ops { background: linear-gradient(135deg, #1250c4, #1f8ce8 60%, #22d3ee); }
.course-card .thumb.c-test { background: linear-gradient(135deg, #00795a, #00b579 60%, #7ed957); }
.course-card .thumb .ic { font-size: 30px; opacity: .95; }
.course-card .thumb h3 { font-size: 21px; }
.course-card .thumb .salary { font-size: 13px; background: rgba(0,0,0,.22); padding: 4px 12px; border-radius: 999px; align-self: flex-start; }
.course-card .thumb::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px;
  border-radius: 50%; background: rgba(255,255,255,.13);
}
.course-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.course-card .desc { color: var(--ink-2); font-size: 14px; min-height: 60px; }
.course-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.course-card .tags span { font-size: 12px; background: var(--bg-soft); color: var(--ink-2); padding: 3px 10px; border-radius: 6px; }
.course-card .price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.course-card .price-row b { font-size: 26px; color: var(--brand); letter-spacing: -1px; }
.course-card .price-row s { color: var(--ink-3); font-size: 13px; }
.course-card .price-row .online { font-size: 12px; color: var(--green); background: rgba(0,168,112,.1); padding: 2px 8px; border-radius: 6px; }
.course-card .foot { margin-top: auto; display: flex; gap: 10px; }
.course-card .foot .btn { flex: 1; }
.badge-hot {
  position: absolute; right: 12px; top: 12px; z-index: 3; background: var(--gold); color: #4a2c00;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px;
}

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: all .25s;
}
.adv-item:hover { border-color: rgba(224,32,32,.3); box-shadow: var(--shadow); transform: translateY(-4px); }
.adv-item .ic {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(224,32,32,.12), rgba(255,90,60,.12)); color: var(--brand); font-size: 22px; margin-bottom: 14px;
}
.adv-item h4 { font-size: 17px; margin-bottom: 8px; }
.adv-item p { color: var(--ink-2); font-size: 14px; }

/* ---------- 名师 ---------- */
.teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.teacher-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; transition: all .25s; }
.teacher-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700;
}
.teacher-card h4 { font-size: 17px; }
.teacher-card .tt { font-size: 13px; color: var(--brand); margin: 4px 0 10px; }
.teacher-card .desc { font-size: 13px; color: var(--ink-2); min-height: 54px; }
.teacher-card .tags { display: flex; justify-content: center; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.teacher-card .tags span { font-size: 12px; background: var(--bg-soft); color: var(--ink-2); padding: 2px 9px; border-radius: 6px; }
.teacher-card .years { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--gold); font-weight: 700; }

/* ---------- 就业喜报 ---------- */
.job-wrap { overflow: hidden; position: relative; padding: 4px 0; }
.job-track { display: flex; gap: 16px; animation: marquee 40s linear infinite; width: max-content; }
.job-wrap:hover .job-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.job-card {
  width: 250px; flex-shrink: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 18px; transition: all .2s;
}
.job-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.job-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.job-card .nm { font-weight: 700; font-size: 15px; }
.job-card .money { color: var(--brand); font-weight: 800; font-size: 20px; letter-spacing: -1px; }
.job-card .company { font-size: 13px; color: var(--ink-2); }
.job-card .bot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.job-card .course-tag { display: inline-block; font-size: 12px; background: rgba(224,32,32,.08); color: var(--brand); padding: 2px 8px; border-radius: 5px; }

.job-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.job-table th, .job-table td { padding: 13px 16px; text-align: left; font-size: 14px; }
.job-table th { background: var(--bg-dark); color: #fff; font-weight: 600; }
.job-table tr:nth-child(even) td { background: #fafbfd; }
.job-table td b { color: var(--brand); }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.flow .step { text-align: center; position: relative; }
.flow .step .num {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px;
  box-shadow: 0 6px 16px rgba(224,32,32,.25);
}
.flow .step h4 { font-size: 15px; margin-bottom: 6px; }
.flow .step p { font-size: 13px; color: var(--ink-3); }
.flow .step:not(:last-child)::after {
  content: ''; position: absolute; top: 26px; left: 62%; right: -18%;
  height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}

/* ---------- 新闻 ---------- */
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.news-item {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px; transition: all .2s;
}
.news-item:hover { border-color: var(--brand); transform: translateX(4px); }
.news-item .date { font-size: 12px; color: var(--ink-3); flex-shrink: 0; width: 78px; }
.news-item .tt { flex: 1; font-size: 15px; font-weight: 600; }
.news-item .tag { font-size: 12px; color: var(--brand); background: rgba(224,32,32,.08); padding: 2px 9px; border-radius: 5px; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item .q { padding: 16px 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-item .q:hover { color: var(--brand); }
.faq-item .a { padding: 0 20px 16px; color: var(--ink-2); font-size: 14px; display: none; }
.faq-item.open .a { display: block; }
.faq-item .q i { font-style: normal; color: var(--ink-3); transition: transform .2s; }
.faq-item.open .q i { transform: rotate(45deg); color: var(--brand); }

/* ---------- 荣誉 ---------- */
.honor-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; }
.honor-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,.82); padding: 8px 0; }
.honor-list li::before { content: '◆'; color: var(--gold); font-size: 11px; margin-top: 6px; }

/* ---------- 底部 ---------- */
.footer { background: #0f131a; color: rgba(255,255,255,.62); padding: 54px 0 0; font-size: 14px; }
.footer .grid { display: flex; flex-wrap: wrap; gap: 34px 32px; padding-bottom: 36px; align-items: flex-start; }
/* 品牌列更宽；其余列等宽自适应。
   注意：不要用 grid-template-columns: 1.6fr repeat(auto-fit, minmax(140px,1fr))——
   fr 与 auto-fit 混用在 Chromium 里整条声明会被判无效，导致 footer 全部竖着排。 */
.footer .grid > div { flex: 1 1 148px; min-width: 0; }
.footer .grid > div:first-child { flex: 1.7 1 280px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer li { padding: 5px 0; }
.footer li a:hover { color: #fff; }
.footer .brand-b { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer .brand-b .mark { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.footer .brand-b b { color: #fff; font-size: 17px; }
.footer .contact-line { padding: 6px 0; }
.footer .contact-line b { color: var(--gold); font-size: 18px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- 课程详情 ---------- */
.crumb { font-size: 13px; color: var(--ink-3); padding: 16px 0; }
.crumb a:hover { color: var(--brand); }
.detail-hero { background: var(--bg-dark); color: #fff; padding: 48px 0; position: relative; overflow: hidden; }
.detail-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 82% 40%, rgba(224,32,32,.35), transparent 62%);
}
.detail-hero .wrap { position: relative; display: flex; gap: 40px; align-items: center; }
.detail-hero .l { flex: 1; }
.detail-hero h1 { font-size: 38px; margin-bottom: 12px; letter-spacing: -1px; }
.detail-hero .slogan { color: var(--gold); font-size: 17px; margin-bottom: 14px; }
.detail-hero .desc { color: rgba(255,255,255,.75); font-size: 15px; margin-bottom: 22px; max-width: 640px; }
.detail-hero .kv { display: flex; gap: 30px; flex-wrap: wrap; margin-bottom: 24px; }
.detail-hero .kv div span { display: block; font-size: 12px; color: rgba(255,255,255,.5); }
.detail-hero .kv div b { font-size: 17px; }
.detail-hero .r { width: 300px; flex-shrink: 0; }
.price-box { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 24px; text-align: center; }
.price-box .p { font-size: 36px; font-weight: 800; color: var(--gold); letter-spacing: -1px; }
.price-box .p small { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.6); }
.price-box s { color: rgba(255,255,255,.45); font-size: 13px; }
.price-box .btn { margin-top: 14px; }

.syllabus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sy-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.sy-item h4 { font-size: 16px; color: var(--brand); margin-bottom: 12px; }
.sy-item li { padding: 5px 0 5px 16px; position: relative; font-size: 14px; color: var(--ink-2); }
.sy-item li::before { content: ''; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

.proj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proj-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: all .22s; }
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(224,32,32,.3); }
.proj-card .no { font-size: 12px; color: var(--brand); font-weight: 700; letter-spacing: 1px; }
.proj-card h4 { font-size: 16px; margin: 8px 0; }
.proj-card p { font-size: 13px; color: var(--ink-2); }

.class-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.class-table th, .class-table td { padding: 14px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.class-table th { background: var(--bg-soft); }
.class-table tr:last-child td { border-bottom: 0; }
.status { font-size: 12px; background: rgba(224,32,32,.1); color: var(--brand); padding: 3px 10px; border-radius: 6px; }

.job-pos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.job-pos .p { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-align: center; }
.job-pos .p b { display: block; font-size: 15px; margin-bottom: 6px; }
.job-pos .p span { color: var(--brand); font-weight: 700; }

/* ---------- 表单页 ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); max-width: 620px; margin: 0 auto; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.form-row label .req { color: var(--brand); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px;
  font-size: 14px; font-family: inherit; outline: none; transition: border-color .18s;
}
.form-row textarea { height: 90px; padding: 10px 14px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--brand); }
.form-tip { font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.form-ok { display: none; text-align: center; padding: 20px 0; }
.form-ok .ico { width: 60px; height: 60px; border-radius: 50%; background: rgba(0,168,112,.12); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 14px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.contact-box h4 { font-size: 17px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.contact-box .line { padding: 7px 0; color: var(--ink-2); font-size: 14px; }
.contact-box .line b { color: var(--ink); }
.map-ph { height: 220px; border-radius: 12px; background: linear-gradient(135deg, #eef2f8, #dfe6f0); display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-size: 14px; border: 1px dashed var(--line); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header .actions { margin-left: auto; }
  .mnav {
    display: block; position: fixed; inset: 0; z-index: 950;
    background: rgba(15, 19, 26, .45); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
  }
  .mnav.on { opacity: 1; visibility: visible; }
  .mnav-panel {
    position: absolute; left: 0; right: 0; top: 0; background: #fff;
    padding: 14px 20px 22px; max-height: 100vh; overflow-y: auto;
    box-shadow: 0 18px 40px rgba(10, 14, 22, .18);
    transform: translateY(-10px); transition: transform .22s ease;
  }
  .mnav.on .mnav-panel { transform: translateY(0); }
  .mnav-panel > a {
    display: block; padding: 13px 4px; font-size: 15px; color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .mnav-panel > a.on { color: var(--brand); font-weight: 600; }
  .mnav-panel > a.mnav-tel { border-bottom: 0; color: var(--brand); font-weight: 700; font-size: 16px; }
  .mnav-panel > a.btn { margin-top: 12px; border-bottom: 0; }
  .hero .visual { display: none; }
  .course-grid, .adv-grid, .teacher-grid, .syllabus, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid, .job-pos { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .flow .step::after { display: none; }
  .footer .grid { gap: 26px 24px; }
  .footer .grid > div { flex: 1 1 44%; }
  .footer .grid > div:first-child { flex: 1 1 100%; }
  .detail-hero .wrap { flex-direction: column; }
  .detail-hero .r { width: 100%; }
}
@media (max-width: 640px) {
  /* 手机端头部：电话挪进汉堡菜单，避免竖排换行 */
  .header .wrap { height: 62px; gap: 10px; }
  .header .actions .tel { display: none; }
  .logo .txt b { font-size: 17px; }
  .logo .txt span { display: none; }
  .logo .mark { width: 36px; height: 36px; font-size: 16px; }
  .topbar { font-size: 12px; }
  .topbar .left { gap: 0; min-width: 0; overflow: hidden; }
  .topbar .left span { white-space: nowrap; }
  .topbar .left span:nth-child(2) { display: none; }
  .topbar .right { flex-shrink: 0; }
  .hero .slides { height: 400px; }
  .hero h1 { font-size: 30px; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stats .item { border-right: 0; }
  .course-grid, .adv-grid, .teacher-grid, .syllabus, .news-list, .contact-grid, .proj-grid, .job-pos { grid-template-columns: 1fr; }
  .sec { padding: 46px 0; }
  .sec-head h2 { font-size: 26px; }
  .footer .grid > div, .footer .grid > div:first-child { flex: 1 1 100%; }
  .honor-list { grid-template-columns: 1fr; }
}

/* ---------- 侧边悬浮工具条 ---------- */
.side-tools {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%);
  z-index: 990; display: flex; flex-direction: column; gap: 8px;
}
.st-item {
  width: 58px; height: 58px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; cursor: pointer; box-shadow: var(--shadow); transition: all .2s; color: var(--ink-2);
  text-decoration: none;
}
.st-item span { font-size: 18px; line-height: 1; }
.st-item em { font-style: normal; font-size: 11px; }
.st-item:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateX(-3px); }
@media (max-width: 640px) { .side-tools { display: none; } }

/* ---------- 新闻正文排版（后台录入，md.js 渲染） ---------- */
.article-body h3 { font-size: 21px; margin: 26px 0 10px; color: var(--ink); }
.article-body h4 { font-size: 17px; margin: 22px 0 8px; color: var(--ink); }
.article-body p { margin: 0 0 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 22px; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body li { margin-bottom: 6px; color: var(--ink-2); }
.article-body a { color: var(--brand); font-weight: 600; }
.article-body code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 13.5px; }

/* ---------- 备案信息 ---------- */
.footer .bottom a:hover { color: #fff; }
