/* 博锐学官网样式：外观复刻老官网（藏青 #233f64、金 #d4aa60、标题蓝 #1d4ca2），新增组件沿用同一套视觉。 */
:root {
  --navy: #233f64;
  --navy-dark: #0f1b30;
  --gold: #d4aa60;
  --blue: #1d4ca2;
  --text: #262626;
  --text-2: #333;
  --muted: #666;
  --bg-gray: #f2f2f2;
  --w: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
  color: #000;
  background: #fff;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.container { width: var(--w); max-width: 100%; margin: 0 auto; padding: 0 16px; }
.gold { color: var(--gold); }
.blue { color: var(--blue); }
.center { text-align: center; }

/* 顶部导航 */
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 #eee; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 96px; }
.logo img { height: 74px; width: auto; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hotline { color: var(--gold); font-weight: 700; font-size: 14px; }
.hotline::before { content: "\260E  "; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: 16px; color: var(--text); padding-bottom: 8px; border-bottom: 2px solid transparent; }
.nav a.active { color: var(--navy); font-weight: 700; border-color: var(--navy); }
.nav a:hover { color: var(--navy); }
.nav a.has-sub::after { content: " \2335"; font-size: 12px; color: #999; }
.search-btn {
  width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer;
  background: #e8e8e8 radial-gradient(circle at 45% 45%, transparent 4px, #333 4px, #333 5.5px, transparent 5.5px);
  margin-bottom: 8px;
}

/* 首屏 */
.hero {
  background: var(--navy) url("https://img.bjyyb.net/sites/100000/100418/1779937447918457982669062144.webp") center / cover no-repeat;
  width: var(--w); max-width: 100%; margin: 0 auto;
}
.hero-inner { display: flex; justify-content: space-between; align-items: center; min-height: 430px; padding: 40px 48px 40px 140px; }
.hero-text { color: #fff; }
.hero-text h1 { font-size: 46px; font-weight: 400; line-height: 1.3; }
.hero-text h1 .gold { font-size: 60px; }
.hero-sub { display: block; font-size: 30px; margin: 4px 0 28px; }
.hero-point { font-size: 15px; margin-top: 12px; }
.hero-form { width: 300px; background: #fff; padding: 22px 18px 34px; text-align: center; box-shadow: 0 4px 18px rgba(0,0,0,.15); }
.form-slogan { color: var(--gold); font-size: 22px; }
.form-title { font-size: 20px; color: var(--text-2); margin: 10px 0 14px; }
.form-tabs { display: flex; }
.form-tabs button { flex: 1; height: 30px; border: 0; background: #eee; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.form-tabs button.on { background: #fff; color: var(--gold); border-bottom: 1px solid var(--gold); }
.form-panel, .tab-panel, .lead-form { padding-top: 22px; }
.tab-panel .lead-form { padding-top: 0; }
.field { display: block; position: relative; }
.field input { width: 100%; height: 34px; border: 0; background: #f5f5f5; padding: 0 10px; font: inherit; font-size: 13px; }
.field input:focus { outline: 1px solid var(--gold); }
.req { position: absolute; right: -10px; top: 6px; color: #e33; }
.btn-gold { display: inline-block; background: var(--gold); color: #fff; border: 0; font: inherit; cursor: pointer; text-align: center; }
.btn-gold:hover { filter: brightness(1.05); }
.btn-block { width: 100%; height: 40px; margin-top: 14px; font-weight: 700; font-size: 14px; }
.btn-mid { width: 150px; line-height: 30px; font-size: 13px; }
.btn-small { width: 150px; line-height: 28px; font-size: 13px; margin-top: 26px; }
.tab-panel.chat img { width: 120px; margin: 0 auto 8px; }
.tab-panel.chat p { font-size: 12px; color: var(--muted); }

/* 通用区块 */
.sec { padding: 50px 0 60px; }
.sec-title { text-align: center; font-size: 30px; font-weight: 400; color: #000; }
.sec-sub { text-align: center; color: var(--muted); font-size: 13px; margin: 10px 0 36px; }

/* 课程 */
.course-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; width: 880px; max-width: 100%; margin: 0 auto 36px; }
.course { display: flex; gap: 12px; padding: 14px 10px; }
.course.c1, .course.c3 { background: #eefaee; }
.course.c2 { background: #fdf6ea; }
.course img { width: 128px; height: 160px; object-fit: cover; }
.course-info h3 { font-size: 17px; font-weight: 400; margin: 14px 0 12px; }
.course-info p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.course .more { display: inline-block; margin-top: 18px; background: #fff; color: var(--gold); font-size: 12px; padding: 4px 14px; }

/* 六大优势 */
.adv { background: var(--bg-gray); width: var(--w); max-width: 100%; margin: 0 auto; }
.adv-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; width: 880px; max-width: 100%; margin: 0 auto; }
.adv-card { background: #fff; padding-bottom: 18px; }
.adv-card img { width: 100%; aspect-ratio: 430 / 278; object-fit: cover; }
.adv-card h3 { font-size: 18px; font-weight: 400; color: var(--text-2); padding: 16px 14px 10px; }
.adv-card p { font-size: 12px; color: var(--muted); line-height: 1.8; padding: 0 14px; }

/* 师资 */
.teacher-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: 860px; max-width: 100%; margin: 0 auto; }
.teacher img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #eee; }
.teacher h3 { font-size: 13px; font-weight: 400; margin: 10px 4px 6px; }
.teacher p { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 关于 */
.about { background: var(--bg-gray); width: var(--w); max-width: 100%; margin: 0 auto; padding: 40px 0; }
.about-box { position: relative; display: flex; gap: 34px; align-items: center; width: 960px; max-width: 100%; margin: 0 auto; padding: 0 0 0 64px; }
.about-box::before { content: ""; position: absolute; inset: 70px 0 -30px 0; border: 1px solid #e6cf9f; z-index: 0; }
.about-box img { position: relative; z-index: 1; width: 410px; height: 270px; object-fit: cover; }
.about-text { position: relative; z-index: 1; flex: 1; padding-top: 50px; }
.about-text h2 { font-size: 22px; font-weight: 400; margin-bottom: 26px; }
.about-text p { font-size: 12px; color: var(--text-2); line-height: 1.9; }

/* 资讯 */
.news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 880px; max-width: 100%; margin: 30px auto 40px; }
.news-card { border: 1px solid #eee; padding-bottom: 16px; transition: box-shadow .2s; }
.news-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-card h3 { font-size: 16px; font-weight: 400; margin: 14px 10px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-card p { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 底部 */
.footer { width: var(--w); max-width: 100%; margin: 0 auto; background: var(--navy); color: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding: 36px 150px 30px 140px; }
.footer .foot-slogan { font-size: 22px; margin-bottom: 22px; }
.footer p { font-size: 13px; line-height: 1.9; }
.footer-tel { color: var(--gold); font-size: 20px; margin-top: 18px; }
.footer-tel small { color: #fff; font-size: 11px; }
.qr { background: #fff; padding: 6px; text-align: center; color: var(--text-2); font-size: 11px; }
.qr img { width: 118px; height: 118px; }
.copyright { background: var(--navy-dark); font-size: 10px; }
.copyright-inner { display: flex; justify-content: space-between; padding: 8px 140px; }
.copyright a { text-decoration: underline; }

/* 右侧悬浮 */
.side-bar { position: fixed; right: 18px; bottom: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 60; }
.side-btn { width: 30px; height: 30px; background: var(--gold); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.side-btn.round { border-radius: 50%; font-size: 8px; line-height: 1.1; text-align: center; margin-bottom: 8px; }

/* 窄屏 */
@media (max-width: 900px) {
  .header-inner { height: auto; padding: 10px 16px; flex-wrap: wrap; }
  .logo img { height: 52px; }
  .nav { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .nav a { font-size: 14px; }
  .hero-inner { flex-direction: column; gap: 24px; padding: 32px 16px; }
  .hero-text h1 { font-size: 32px; }
  .hero-text h1 .gold { font-size: 40px; }
  .hero-sub { font-size: 22px; }
  .hero-form { width: 100%; max-width: 340px; }
  .course-list, .adv-list, .news-list { grid-template-columns: minmax(0, 1fr); }
  .teacher-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-box { flex-direction: column; padding: 0 16px; }
  .about-box::before { display: none; }
  .about-box img { width: 100%; height: auto; }
  .about-text { padding-top: 0; }
  .footer-inner { flex-direction: column; gap: 20px; padding: 30px 16px; }
  .copyright-inner { flex-direction: column; gap: 4px; padding: 8px 16px; }
}

/* 预约提交 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 18px; margin-top: 8px; font-size: 12px; color: #e33; text-align: left; }
.btn-gold:disabled { opacity: .7; cursor: default; }
.lead-done { padding-top: 18px; text-align: center; }
.done-title { color: var(--gold); font-size: 18px; font-weight: 700; }
.done-text { font-size: 13px; color: var(--muted); margin: 8px 0 12px; }
.done-qr { width: 130px; height: 130px; object-fit: contain; margin: 0 auto 6px; }
.done-wechat { font-size: 13px; color: var(--text-2); }
.news-cover-empty { width: 100%; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #233f64, #1d4ca2); color: #fff; font-size: 18px; letter-spacing: 2px; }

/* 新闻列表与详情 */
.news-page, .article-page { padding-top: 40px; padding-bottom: 60px; min-height: 60vh; }
.news-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0 30px; }
.news-tabs a { padding: 6px 18px; border: 1px solid #e3e3e3; font-size: 14px; color: var(--text-2); }
.news-tabs a.on, .news-tabs a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.news-items { width: 900px; max-width: 100%; margin: 0 auto; }
.news-item { display: flex; gap: 24px; padding: 22px 0; border-bottom: 1px solid #eee; }
.news-item img, .news-item .news-cover-empty { width: 240px; flex: none; aspect-ratio: 16 / 10; object-fit: cover; }
.news-item h2 { font-size: 19px; font-weight: 400; color: #000; margin-bottom: 10px; }
.news-item:hover h2 { color: var(--blue); }
.news-item p { font-size: 13px; color: var(--muted); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: block; margin-top: 10px; font-size: 12px; color: #999; }
.news-empty { text-align: center; color: #999; padding: 60px 0; }
.news-pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 30px; font-size: 14px; }
.news-pager a { padding: 6px 16px; border: 1px solid #e3e3e3; }
.news-pager a:hover { border-color: var(--gold); color: var(--gold); }
.article-page { width: 860px; }
.article-back { font-size: 13px; color: var(--muted); }
.article-back:hover { color: var(--gold); }
.article-page h1 { font-size: 28px; font-weight: 700; line-height: 1.4; margin: 20px 0 8px; }
.article-body { margin-top: 26px; font-size: 16px; line-height: 1.9; color: var(--text-2); }
.article-body h2, .article-body h3, .article-body h4, .article-body h5 { color: #000; margin: 28px 0 12px; line-height: 1.4; }
.article-body h2 { font-size: 22px; } .article-body h3 { font-size: 19px; } .article-body h4, .article-body h5 { font-size: 17px; }
.article-body p, .article-body ul, .article-body ol, .article-body blockquote, .article-body pre { margin: 0 0 16px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body img { max-width: 100%; height: auto; margin: 12px auto; }
.article-body a { color: var(--blue); text-decoration: underline; }
.article-body blockquote { border-left: 3px solid var(--gold); padding: 6px 14px; color: var(--muted); background: #faf7f0; }
.article-body pre { background: #f6f6f6; padding: 12px; overflow-x: auto; font-size: 13px; }
.article-body code { background: #f3f3f3; padding: 1px 4px; font-size: 14px; }
.article-body pre code { background: none; padding: 0; }
.article-body hr { border: 0; border-top: 1px solid #eee; margin: 24px 0; }
@media (max-width: 900px) {
  .news-item { flex-direction: column; gap: 12px; }
  .news-item img, .news-item .news-cover-empty { width: 100%; }
  .article-page h1 { font-size: 22px; }
}
.crumbs { font-size: 13px; color: #999; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.article-page .crumbs { margin-bottom: 0; }

/* ---- 新官网补充组件（审计 037 统一组件；视觉沿用老站配色） ---- */
.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; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; }
.skip-link:focus { top: 8px; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-sub { position: relative; display: flex; }
.nav-sub > a { display: block; }
.nav-drop { display: none; position: absolute; left: -16px; top: 100%; min-width: 120px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); padding: 6px 0; z-index: 70; }
.nav-drop a { display: block; padding: 8px 16px; border: 0; font-size: 14px; }
.nav-sub:hover .nav-drop, .nav-sub:focus-within .nav-drop { display: block; }
.search-form { position: absolute; right: 16px; top: 92px; display: flex; gap: 6px; background: #fff; padding: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.12); z-index: 70; }
.search-form input { height: 32px; border: 1px solid #ddd; padding: 0 10px; font: inherit; font-size: 13px; width: 220px; }
.search-form button { border: 0; background: var(--gold); color: #fff; padding: 0 14px; font: inherit; font-size: 13px; cursor: pointer; }
.header-inner { position: relative; }
.nav-toggle { display: none; }
.consent { display: block; text-align: left; font-size: 11px; color: var(--muted); line-height: 1.6; margin-top: 10px; }
.consent input { vertical-align: -2px; margin-right: 4px; }
.consent a { color: var(--blue); }
.done-wechat button, .copy-wechat { border: 1px solid var(--gold); background: #fff; color: var(--gold); font: inherit; font-size: 12px; padding: 2px 8px; cursor: pointer; margin-left: 6px; }
.done-fallback { font-size: 12px; color: var(--muted); margin-top: 10px; }
.done-fallback a { color: var(--gold); }

.page-head { padding: 36px 16px 10px; }
.page-head h1 { font-size: 30px; font-weight: 400; color: #000; }
.page-head p { color: var(--muted); font-size: 14px; margin-top: 10px; line-height: 1.8; }
.crumbs { padding-top: 18px; }
.page-section { padding-top: 26px; padding-bottom: 26px; }
.page-section h2 { font-size: 22px; font-weight: 400; color: #000; margin-bottom: 16px; padding-left: 10px; border-left: 3px solid var(--gold); }
.page-section p { font-size: 14px; line-height: 1.9; color: var(--text-2); }
.page-section h2 a:hover { color: var(--gold); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.split img { width: 100%; height: auto; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; text-align: center; }
.stat-row div { background: #faf7f0; padding: 22px 10px; }
.stat-row strong { display: block; color: var(--gold); font-size: 32px; font-weight: 400; }
.stat-row span { font-size: 13px; color: var(--muted); }
.note { font-size: 12px !important; color: #999 !important; margin-top: 10px; }
.mission p { text-align: center; font-size: 15px; line-height: 2.1; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.values div { border: 1px solid #eee; padding: 18px; }
.values dt { color: var(--gold); font-size: 15px; margin-bottom: 8px; }
.values dd { font-size: 14px; color: var(--text-2); }
.info-list { list-style: none; font-size: 14px; line-height: 2.1; color: var(--text-2); overflow-wrap: anywhere; }
.info-list li::before { content: "● "; color: var(--gold); font-size: 10px; }
.info-list a { color: var(--blue); }
.process { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.process li { counter-increment: step; background: #f7f8fb; padding: 18px 14px; font-size: 13px; line-height: 1.7; color: var(--text-2); }
.process li::before { content: counter(step); display: inline-block; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 50%; background: var(--gold); color: #fff; margin-bottom: 8px; }
.process strong { display: block; font-size: 15px; color: #000; margin-bottom: 6px; }
.adv-list.wide { width: auto; }
.method-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 14px; }
.method-list div { border: 1px solid #eee; padding: 18px; }
.method-list img { width: 48px; height: 48px; }
.method-list h3 { font-size: 17px; font-weight: 400; margin: 8px 0; }
.course-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.course-card { border: 1px solid #eee; background: #fff; transition: box-shadow .2s; }
.course-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.course-card img { width: 100%; aspect-ratio: 27 / 17; object-fit: cover; }
.course-card-body { display: block; padding: 12px; }
.course-card-title { display: block; font-size: 16px; color: #000; margin-bottom: 6px; }
.course-card-text { display: block; font-size: 12px; color: var(--muted); line-height: 1.7; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.anchor-nav a { border: 1px solid #e3e3e3; padding: 5px 14px; font-size: 13px; }
.anchor-nav a:hover { border-color: var(--gold); color: var(--gold); }
[id] { scroll-margin-top: 110px; }
.course-detail { padding-top: 10px; }
.course-hero { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 30px; align-items: center; margin: 20px 0 10px; }
.course-hero img { width: 100%; height: auto; }
.course-hero h1 { font-size: 30px; font-weight: 400; }
.course-meta { color: var(--muted); font-size: 13px; margin: 10px 0 20px; }
.course-detail section { padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.course-detail section h2 { font-size: 20px; font-weight: 400; color: var(--navy); margin-bottom: 10px; }
.course-detail section p { font-size: 14px; line-height: 1.9; color: var(--text-2); }
.course-detail section a { color: var(--blue); }
.needs-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.needs-strip a { border: 1px solid #eee; padding: 16px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.needs-strip strong { display: block; color: #000; font-size: 16px; font-weight: 400; margin-bottom: 6px; }
.need-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.need-courses a { border: 1px solid #eee; padding: 14px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.need-courses strong { display: block; color: #000; font-size: 15px; font-weight: 400; }
.teacher { display: block; }
.teacher-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.teacher-card { display: block; border: 1px solid #eee; padding-bottom: 14px; }
.teacher-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #eee; }
.teacher-card span { display: block; padding: 0 12px; }
.tc-title { color: var(--gold); font-size: 12px; margin-top: 12px; }
.tc-name { font-size: 18px; color: #000; margin: 4px 0; }
.tc-sub { font-size: 12px; color: var(--navy); margin-bottom: 6px; }
.tc-text { font-size: 12px; color: var(--muted); line-height: 1.7; }
.teacher-photo { float: right; width: 200px; height: auto; margin: 0 0 16px 24px; }
.faq-list details { border-bottom: 1px solid #eee; padding: 14px 0; }
.faq-list summary { cursor: pointer; font-size: 16px; color: #000; }
.faq-list p { font-size: 14px; color: var(--text-2); line-height: 1.9; margin-top: 8px; }
.contact-form { background: #faf7f0; padding: 20px; }
.contact-form .lead-form { padding-top: 0; }
.contact-qr { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.contact-qr img { width: 90px; height: 90px; }
.cta { background: var(--navy); color: #fff; width: var(--w); max-width: 100%; margin: 30px auto 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.cta-inner { padding: 30px 16px; text-align: center; }
.cta-title { font-size: 22px; margin-bottom: 8px; }
.cta p { font-size: 13px; opacity: .85; margin-bottom: 16px; }
.consult { margin: auto; border: 0; padding: 0; width: 360px; max-width: calc(100% - 32px); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.consult::backdrop { background: rgba(0,0,0,.45); }
.consult-head { display: flex; justify-content: space-between; align-items: center; background: var(--navy); color: #fff; padding: 12px 16px; }
.consult-title { font-size: 16px; }
.consult-close { width: 36px; height: 36px; border: 0; background: none; color: #fff; font-size: 24px; cursor: pointer; }
.consult-tip { font-size: 12px; color: var(--muted); line-height: 1.7; padding: 14px 16px 0; }
.consult .lead-form, .consult .lead-done { padding: 14px 16px 18px; }
.mobile-bar { display: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 140px 0; font-size: 12px; }
.foot-links a { text-decoration: none; opacity: .85; }
.foot-links a:hover { opacity: 1; color: var(--gold); }
.search-big { display: flex; gap: 8px; margin-top: 16px; max-width: 520px; }
.search-big input { flex: 1; height: 40px; border: 1px solid #ddd; padding: 0 12px; font: inherit; }
.search-big button { padding: 0 22px; }
.search-results { list-style: none; margin-top: 14px; }
.search-results li { padding: 14px 0; border-bottom: 1px solid #eee; }
.search-results a { font-size: 16px; color: #000; }
.search-results a:hover { color: var(--blue); }
.search-results .tag { display: inline-block; font-size: 11px; background: #faf7f0; color: var(--gold); padding: 1px 6px; margin-right: 8px; vertical-align: 2px; }
.search-results p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.news-pager span[aria-current] { padding: 6px 12px; background: var(--gold); color: #fff; }
.policy h2 { margin-top: 20px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; position: absolute; right: 16px; top: 18px; }
  .nav-toggle summary { list-style: none; cursor: pointer; border: 1px solid #ddd; padding: 4px 12px; font-size: 13px; }
  .nav-toggle summary::-webkit-details-marker { display: none; }
  .header .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; }
  body.nav-open .header .nav { display: flex; }
  .header .nav a { padding: 10px 0; border: 0; width: 100%; }
  .nav-drop { position: static; display: block; box-shadow: none; padding-left: 12px; }
  .header-right { width: 100%; }
  .search-form { position: static; box-shadow: none; padding: 8px 0; }
  .split, .stat-row, .values, .method-list, .needs-strip, .need-courses { grid-template-columns: minmax(0, 1fr); }
  .course-grid, .teacher-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: minmax(0, 1fr); }
  .course-hero { grid-template-columns: minmax(0, 1fr); }
  .teacher-photo { float: none; width: 60%; margin: 0 auto 16px; }
  .foot-links { padding: 10px 16px 0; }
  .side-bar { display: none; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,.1); }
  .mobile-bar a, .mobile-bar button { flex: 1; height: 50px; display: flex; align-items: center; justify-content: center; border: 0; font: inherit; font-size: 15px; }
  .mobile-bar a { color: var(--navy); }
  .mobile-bar button { background: var(--gold); color: #fff; }
  body { padding-bottom: 50px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .header, .side-bar, .mobile-bar, .cta, .consult, .footer { display: none !important; } }
.contact .info-list { margin-bottom: 26px; }
