/* ============================================================
   唯才选学 前台样式（PC + H5 响应式）
   设计语言：青绿主题 × 深墨青 × 冷灰白 · 现代科技感（参考 BOSS 直聘视觉）
   ============================================================ */
:root {
  --primary: #00A99A;        /* 青绿 主色（按钮/链接/高亮） */
  --primary-dark: #00857A;   /* 深青绿 hover */
  --primary-deep: #00A99A;
  --deep: #07423C;           /* 深墨青（banner/页脚/深色区块） */
  --deep-2: #063A34;         /* 深色区块变体 */
  --primary-soft: #E2F6F3;   /* 淡青底 */
  --cyan: #00D0B0;           /* 点缀亮青 */
  --teal: #00C6C0;           /* BOSS风青绿渐变起（转化CTA） */
  --teal-dark: #00A99A;      /* 青绿渐变止 */
  --bg: #F4F6FA;             /* 冷灰白背景 */
  --white: #FFFFFF;
  --text: #1A2233;
  --text-2: #5A6478;
  --text-3: #8B95A3;
  --border: #E6EAF2;
  --border-strong: #D8DEE9;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(10, 70, 62, .05), 0 8px 24px rgba(10, 70, 62, .06);
  --shadow-hover: 0 2px 6px rgba(10, 70, 62, .07), 0 16px 40px rgba(10, 70, 62, .12);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); color: var(--text); font-size: 15px; line-height: 1.7; background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.site-main { min-height: 60vh; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 26px; border-radius: var(--radius-sm); font-size: 15px; transition: all .2s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; }
.btn-accent:hover { filter: brightness(1.05); }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- 顶部导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; height: 68px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; border-radius: 9px; background: var(--deep); color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; letter-spacing: 1px; }
.logo-text { font-size: 21px; font-weight: 700; display: flex; flex-direction: column; line-height: 1.25; }
.logo-text em { font-style: normal; font-size: 11px; font-weight: 400; color: var(--text-3); }
.main-nav { display: flex; gap: 6px; flex: 1; justify-content: center; }
.main-nav a { position: relative; padding: 8px 14px; font-size: 15px; color: var(--text-2); transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 0; height: 2px; border-radius: 2px; background: var(--primary); transition: width .25s; }
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { width: 60%; }
.main-nav a.active { color: var(--primary); font-weight: 600; }
.main-nav a.active::after { width: 60%; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: all .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Banner 轮播 ---------- */
.banner { position: relative; overflow: hidden; }
.banner-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.banner-item { min-width: 100%; position: relative; min-height: 420px; display: flex; align-items: center; background: var(--deep); }
.banner-item.bg-2 { background: #063A34; }
.banner-item.bg-3 { background: #043029; }
.banner-item .banner-deco { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: 230px; height: 230px; border-radius: 26px; background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(0,208,176,.06)); border: 1px solid rgba(255,255,255,.25); }
.banner-item .banner-deco.d2 { right: 15%; top: auto; bottom: -54px; transform: none; width: 130px; height: 130px; border-radius: 20px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.banner-item .banner-deco::after { content: "唯才选学"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; letter-spacing: 6px; color: rgba(255,255,255,.4); writing-mode: vertical-rl; }
.banner-item .banner-deco.d2::after { content: none; }
.banner-item img.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-item .banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,66,60,.94) 0%, rgba(7,66,60,.75) 45%, rgba(7,66,60,.2) 100%); }
.banner-content { position: relative; z-index: 2; padding: 56px 0; width: 100%; }
.banner-content .container { text-align: left; }
.banner-title { font-size: 42px; font-weight: 800; color: #fff; letter-spacing: 2px; }
.banner-sub { margin-top: 18px; font-size: 16px; color: rgba(255,255,255,.78); display: flex; align-items: center; gap: 12px; }
.banner-sub::before { content: ""; width: 32px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--cyan)); }
.banner-btn { margin-top: 34px; }
.banner-btn .btn { padding: 13px 38px; font-size: 15px; }
.banner-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.banner-dots span { width: 26px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.25); cursor: pointer; transition: all .3s; }
.banner-dots span.on { background: var(--primary); width: 40px; }

/* ---------- 通用板块 ---------- */
.section { padding: 76px 0; }
.section.gray { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .sec-no { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 3px; color: var(--primary); margin-bottom: 10px; text-transform: uppercase; }
.section-head h2 { font-size: 28px; font-weight: 800; color: var(--text); }
.section-head h2::after { content: ""; display: block; width: 34px; height: 3px; border-radius: 2px; margin: 16px auto 0; background: linear-gradient(90deg, var(--primary), var(--cyan)); }
.section-head p { margin-top: 12px; color: var(--text-3); font-size: 14px; }
.section-head .more { margin-top: 14px; display: inline-block; color: var(--primary); font-size: 14px; border-bottom: 1px solid transparent; transition: all .2s; }
.section-head .more:hover { border-bottom-color: var(--primary); }

/* ---------- 六大业务卡片 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.biz-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; transition: all .25s; display: flex; flex-direction: column; }
.biz-card:hover { transform: translateY(-3px); border-color: rgba(0,169,154,.5); box-shadow: var(--shadow-hover); }
.biz-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.biz-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.biz-card p { color: var(--text-2); font-size: 13.5px; line-height: 1.7; min-height: 46px; }
.biz-card .class-meta { font-size: 12.5px; color: var(--text-3); gap: 4px; margin: 12px 0 0 !important; }
.biz-card .class-meta li { line-height: 1.55; }
.biz-actions { margin-top: 16px; display: flex; gap: 10px; }
.biz-actions .btn { padding: 8px 0; font-size: 13.5px; flex: 1; }

/* ---------- 开班动态 ---------- */
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.class-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: all .25s; }
.class-card:hover { border-color: rgba(0,169,154,.5); box-shadow: var(--shadow-hover); }
.class-card .tag-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.class-name { font-size: 16px; font-weight: 700; }
.class-meta { color: var(--text-2); font-size: 13.5px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.quota { color: var(--primary); font-weight: 600; }
.quota.none { color: var(--text-3); }

/* ---------- 资讯列表 ---------- */
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item { display: flex; gap: 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; transition: all .2s; }
.news-item:hover { border-color: rgba(0,169,154,.5); }
.news-thumb { width: 150px; height: 96px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; background: var(--primary-soft); }
.news-thumb-ph { display: flex; align-items: center; justify-content: center; font-size: 28px; background: var(--primary-soft); color: var(--primary); }
.news-item .info { flex: 1; min-width: 0; }
.news-item h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-item p { color: var(--text-2); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { margin-top: 10px; color: var(--text-3); font-size: 12.5px; display: flex; gap: 14px; align-items: center; }
.news-side { flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.tag { display: inline-block; padding: 2px 10px; font-size: 12px; border-radius: 4px; background: var(--primary-soft); color: var(--primary); }
.tag-hot { background: #FFF1E6; color: #FA8C16; }

/* ---------- 优势板块 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.adv-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 18px; transition: all .25s; }
.adv-item:hover { border-color: rgba(0,169,154,.5); box-shadow: var(--shadow); }
.adv-item .adv-no { display: block; font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.adv-item .adv-no::after { content: ""; display: block; width: 18px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, var(--primary), var(--cyan)); margin-top: 8px; }
.adv-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.adv-item p { color: var(--text-2); font-size: 13px; line-height: 1.65; }

/* ---------- 首页底部预约模块（BOSS风青绿渐变卡） ---------- */
.lead-section { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); border-radius: 14px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.lead-section::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%); }
.lead-section::after { content: ""; position: absolute; left: 30%; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.lead-section .lead-title { color: #fff; font-size: 27px; font-weight: 800; }
.lead-section .lead-desc { color: rgba(255,255,255,.88); margin-top: 12px; }
.lead-section form { background: var(--white); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.lead-section form .full { grid-column: 1 / -1; }
.lead-section .lead-title-wrap { text-align: center; position: relative; z-index: 1; }
.lead-notice { text-align: center; color: var(--text-3); font-size: 12.5px; margin-top: 8px; }
.lead-notice a { color: var(--primary); white-space: nowrap; }
.lead-section .lead-notice { color: rgba(255,255,255,.75); }
.lead-section .lead-notice a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.6); }

/* ---------- 表单控件 ---------- */
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 14px; color: var(--text-2); }
.form-row .required { color: #FA8C16; font-style: normal; margin-right: 2px; }
.form-row input, .form-row select, .form-row textarea { border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 11px 13px; font-size: 14px; font-family: inherit; outline: none; transition: border .2s; width: 100%; background: #fff; color: var(--text); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--primary); }
.form-row textarea { resize: vertical; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--deep); color: rgba(255,255,255,.6); margin-top: 76px; padding: 52px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1fr; gap: 32px; padding-bottom: 34px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer-col h4::after { content: ""; display: block; width: 22px; height: 2px; border-radius: 1px; background: var(--primary); margin-top: 10px; }
.footer-col p { font-size: 13px; line-height: 2; }
.footer-desc { max-width: 320px; }
.footer-disclaimer { color: rgba(255,255,255,.38); }
.footer-link { color: #fff; border-bottom: 1px solid rgba(0,169,154,.6); }
.footer-col a:hover { color: #fff; }
.footer-qrcode img { width: 110px; height: 110px; border-radius: 6px; background: #fff; padding: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.42); }
.footer-bottom a { color: rgba(255,255,255,.62); margin-left: 10px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 预约弹窗 ---------- */
.lead-mask { position: fixed; inset: 0; background: rgba(7, 66, 60, .6); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lead-mask[hidden] { display: none; }
.lead-modal { background: var(--white); border-radius: 12px; width: 100%; max-width: 420px; max-height: 92vh; overflow-y: auto; padding: 30px 26px 22px; position: relative; animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.lead-close { position: absolute; top: 10px; right: 14px; font-size: 24px; color: var(--text-3); line-height: 1; padding: 4px; }
.lead-modal-head { text-align: center; margin-bottom: 20px; }
.lead-modal-head h3 { font-size: 21px; font-weight: 800; }
.lead-modal-head h3::after { content: ""; display: block; width: 30px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--cyan)); margin: 12px auto 0; }
.lead-modal-head p { color: var(--text-3); font-size: 12.5px; margin-top: 10px; }
#leadForm { display: flex; flex-direction: column; gap: 14px; }
.lead-privacy-tip { text-align: center; color: var(--text-3); font-size: 12px; margin-top: 12px; }
.lead-privacy-tip a { color: var(--primary); border-bottom: 1px solid var(--border-strong); }

/* ---------- 成功提示 ---------- */
.lead-toast-mask { position: fixed; inset: 0; background: rgba(7, 66, 60, .6); z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lead-toast-mask[hidden] { display: none; }
.lead-toast { background: var(--white); border-radius: 12px; padding: 34px 42px; text-align: center; animation: modalIn .25s ease; max-width: 330px; }
.toast-icon { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 26px; display: flex; align-items: center; justify-content: center; }
.lead-toast p { margin-bottom: 20px; font-size: 15px; }

/* ---------- 移动端底部 TabBar（App 式） ---------- */
.m-tabbar { display: none; }
.header-tel { display: none; }
.m-fab { display: none; }

@media (max-width: 768px) {
  .m-tabbar {
    display: flex; align-items: stretch;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    background: var(--white); border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .m-tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--text-3); padding: 6px 0 7px; -webkit-tap-highlight-color: transparent; }
  .m-tab .ico { display: flex; align-items: center; justify-content: center; }
  .m-tab.on { color: var(--primary); font-weight: 600; }
  .m-tab.on .ico { position: relative; }
  .m-tab.on .ico::after { content: ""; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }
  .m-tab:active { opacity: .65; }
  .m-fab-slot { width: 64px; flex-shrink: 0; position: relative; }
  .m-fab {
    display: flex; align-items: center; justify-content: center;
    position: absolute; left: 50%; top: -16px; transform: translateX(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; font-size: 13px; font-weight: 700;
    border: 3px solid var(--white); box-shadow: 0 4px 14px rgba(0,169,154,.4);
    transition: transform .1s;
  }
  .m-fab:active { transform: translateX(-50%) scale(.92); }

  .header-actions .btn-primary { display: none; }
  .header-tel { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); flex-shrink: 0; }
}

/* ---------- 预约弹窗：移动端底部抽屉（Bottom Sheet） ---------- */
@media (max-width: 768px) {
  .lead-mask { align-items: flex-end; padding: 0; }
  .lead-modal {
    max-width: 100%; border-radius: 14px 14px 0 0;
    max-height: 88vh; padding-bottom: calc(18px + env(safe-area-inset-bottom));
    animation: sheetUp .28s ease;
  }
  .lead-close { top: 8px; right: 10px; }
}
@keyframes sheetUp { from { transform: translateY(60%); opacity: .5; } to { transform: none; opacity: 1; } }

/* ---------- 页面切换淡入（App 转场感） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .site-main { animation: pageIn .25s ease; }
  @keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* ---------- 页面通用（详情/列表页头部） ---------- */
.page-banner { background: var(--deep); color: #fff; padding: 46px 0; position: relative; overflow: hidden; }
.page-banner::after { content: ""; position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 120px; height: 120px; border-radius: 26px; background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(0,208,176,.06)); border: 1px solid rgba(255,255,255,.25); }
.page-banner h1 { font-size: 27px; font-weight: 800; }
.page-banner .crumbs { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.6); }
.page-banner .crumbs a { color: rgba(255,255,255,.82); }
.page-wrap { padding: 40px 0 64px; }

/* ---------- 筛选标签 ---------- */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-tabs a { padding: 7px 20px; border-radius: var(--radius-sm); background: var(--white); color: var(--text-2); font-size: 14px; border: 1px solid var(--border); transition: all .2s; }
.filter-tabs a:hover { border-color: var(--primary); color: var(--primary); }
.filter-tabs a.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- 项目详情 ---------- */
.detail-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 18px; }
.detail-block h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.detail-block h2::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(180deg, var(--primary), var(--cyan)); }
.detail-block .plain { color: var(--text-2); white-space: pre-line; }
.class-item { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 16px; margin-bottom: 10px; display: flex; gap: 16px; align-items: baseline; }
.class-item .cname { color: var(--primary); font-weight: 600; flex-shrink: 0; }
.class-item .cdesc { color: var(--text-2); font-size: 14px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { padding: 15px 0; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: "+"; color: var(--primary); font-size: 20px; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 15px; color: var(--text-2); font-size: 14px; }
.faq-item.open .faq-a { display: block; }
.detail-bottom-bar { position: sticky; bottom: 0; background: var(--white); border-top: 1px solid var(--border); border-radius: 10px 10px 0 0; padding: 12px 0; z-index: 50; }
.detail-bottom-bar .inner { display: flex; align-items: center; gap: 14px; }
.detail-bottom-bar .disclaimer { flex: 1; color: var(--text-3); font-size: 12px; }
.detail-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.detail-meta .item { background: var(--bg); border-radius: var(--radius-sm); padding: 14px 16px; }
.detail-meta .item .k { color: var(--text-3); font-size: 12.5px; }
.detail-meta .item .v { margin-top: 4px; font-weight: 600; }

/* ---------- 富文本排版 ---------- */
.rich { color: var(--text); overflow-wrap: break-word; }
.rich h2, .rich h3 { margin: 20px 0 10px; font-size: 18px; font-weight: 700; }
.rich p { margin: 8px 0; color: var(--text-2); }
.rich ul { list-style: disc; padding-left: 22px; margin: 8px 0; }
.rich li { color: var(--text-2); margin: 4px 0; }
.rich img { border-radius: var(--radius-sm); margin: 10px 0; }

/* ---------- 校区环境 ---------- */
.campus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.campus-item { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--border); }
.campus-item img { width: 100%; height: 220px; object-fit: cover; transition: transform .3s; }
.campus-item:hover img { transform: scale(1.04); }
.campus-item .cap { padding: 12px 14px; font-size: 13.5px; color: var(--text-2); }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.contact-line { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-line:last-child { margin-bottom: 0; }
.contact-line .ico { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.contact-line .k { color: var(--text-3); font-size: 12.5px; }
.contact-line .v { font-weight: 600; margin-top: 2px; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--white); }
.map-box iframe { width: 100%; height: 320px; border: 0; display: block; }
.contact-qr { text-align: center; margin-top: 16px; }
.contact-qr img { width: 130px; height: 130px; margin: 8px auto 0; border: 1px solid var(--border); border-radius: 6px; }

/* ---------- 静态页 ---------- */
.static-page { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px; }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination a, .pagination span { padding: 8px 15px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .disabled { color: var(--text-3); cursor: not-allowed; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 80px 0; }
.not-found h1 { font-size: 72px; font-weight: 800; color: var(--primary); }
.not-found p { color: var(--text-3); margin: 12px 0 24px; }

/* ============================================================
   响应式（H5）
   ============================================================ */
@media (max-width: 992px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(3, 1fr); }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .campus-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { padding-bottom: 64px; } /* 给底部 TabBar 留空间 */
  .header-inner { height: 58px; gap: 12px; }
  .main-nav { position: fixed; top: 58px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 16px 14px; gap: 2px; box-shadow: 0 8px 20px rgba(10,70,62,.12); display: none; }
  .main-nav.show { display: flex; }
  .main-nav a { padding: 12px 10px; border-radius: 8px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .logo-text { font-size: 18px; }
  .banner-item { min-height: 240px; }
  .banner-item .banner-deco { display: none; }
  .banner-title { font-size: 25px; letter-spacing: 1px; }
  .banner-sub { font-size: 13.5px; }
  .banner-btn .btn { padding: 11px 28px; font-size: 14px; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 22px; }
  .biz-grid, .class-grid, .adv-grid, .campus-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* 列表页卡片信息较多，移动端改单列展示 */
  .biz-grid-list { grid-template-columns: 1fr; }
  .biz-grid-list .biz-card { padding: 16px 14px; }
  .biz-card { padding: 16px 14px; }
  .biz-card h3 { font-size: 16px; }
  .biz-card p { font-size: 13px; min-height: 0; }
  .biz-actions { flex-direction: column; gap: 8px; }
  /* 列表页单列卡片按钮保持横排，降低卡片高度 */
  .biz-grid-list .biz-actions { flex-direction: row; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-item { padding: 16px 12px; }
  .lead-section { grid-template-columns: 1fr; padding: 28px 18px; }
  .lead-section form { grid-template-columns: 1fr; }
  .lead-section .lead-title { font-size: 21px; }
  .news-item { flex-direction: column; }
  .news-thumb { width: 100%; height: 150px; }
  .news-thumb-ph { width: 100%; }
  .news-side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .page-banner { padding: 30px 0; }
  .page-banner::after { display: none; }
  .page-banner h1 { font-size: 21px; }
  .page-wrap { padding: 26px 0 50px; }
  .detail-block { padding: 20px 16px; }
  .detail-meta { grid-template-columns: 1fr; }
  .campus-grid { grid-template-columns: 1fr 1fr; }
  .campus-item img { height: 120px; }
  .campus-item .cap { font-size: 12px; padding: 8px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .static-page { padding: 24px 18px; }
  .lead-modal { padding: 24px 18px 16px; }
  .detail-bottom-bar .inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .detail-bottom-bar .btn { width: 100%; }
}
@media (max-width: 400px) {
  .biz-grid, .class-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   转化优化模块 v1.6：数据横幅 / 开班倒计时 / 学员上岸榜 / 资讯钩子 / 悬浮咨询
   ============================================================ */

/* ---------- 数据横幅（信任数据条） ---------- */
.stat-strip { margin-top: 26px; }
.stat-inner { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 10px; }
.stat-item { text-align: center; position: relative; padding: 0 8px; }
.stat-item + .stat-item::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: var(--border); }
.stat-item b { display: block; font-size: 26px; font-weight: 800; color: var(--primary); line-height: 1.25; }
.stat-item span { display: block; font-size: 13px; color: var(--text-3); margin-top: 4px; }

/* ---------- 开班倒计时 ---------- */
.class-count { display: inline-flex; align-items: center; gap: 5px; margin: -4px 0 12px; padding: 3px 10px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 600; color: #FA8C16; background: #FFF1E6; }
.class-count.urgent { color: #fff; background: #FA541C; animation: countPulse 1.6s ease-in-out infinite; }
.class-count::before { content: "⏰"; font-size: 12px; }
@keyframes countPulse { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }

/* ---------- 学员上岸榜 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 18px; transition: all .25s; display: flex; flex-direction: column; }
.case-card:hover { transform: translateY(-3px); border-color: rgba(0,169,154,.5); box-shadow: var(--shadow-hover); }
.case-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.case-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.case-who { min-width: 0; }
.case-who b { display: block; font-size: 15px; line-height: 1.4; }
.case-who .tag { margin-top: 4px; font-size: 11px; padding: 1px 8px; }
.case-score { font-size: 21px; font-weight: 800; color: var(--primary); line-height: 1.3; }
.case-result { margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.case-result::before { content: "✓ "; color: var(--primary); font-weight: 700; }
.case-quote { margin-top: 12px; color: var(--text-3); font-size: 12.5px; line-height: 1.7; background: var(--bg); border-radius: var(--radius-sm); padding: 10px 12px; }

/* ---------- 资讯详情页咨询钩子 ---------- */
.news-hook { margin-top: 24px; background: linear-gradient(135deg, var(--primary-soft) 0%, #FFFFFF 70%); border: 1px solid rgba(0,169,154,.35); border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.news-hook .nh-t { font-size: 16px; font-weight: 700; }
.news-hook .nh-d { color: var(--text-2); font-size: 13px; margin-top: 3px; }
.news-hook .btn { flex-shrink: 0; }

/* ---------- 预约承诺话术 ---------- */
.lead-promise { text-align: center; color: var(--primary); font-size: 12.5px; font-weight: 600; }

/* ---------- 悬浮咨询球 ---------- */
.float-consult { position: fixed; right: 18px; bottom: 24px; z-index: 920; display: flex; flex-direction: column; gap: 10px; }
.fc-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 14px rgba(0,169,154,.35); transition: transform .15s; }
.fc-btn:hover { transform: translateY(-2px); }
.fc-btn:active { transform: scale(.92); }
.fc-tel { background: var(--primary); }
.fc-qr { background: #2AAE67; }
.fc-lead { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); }
.fc-qr-wrap { position: relative; }
.fc-qr-pop { position: absolute; right: 60px; bottom: 0; width: 158px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-hover); padding: 12px; text-align: center; animation: modalIn .2s ease; }
.fc-qr-pop[hidden] { display: none; }
.fc-qr-pop img { width: 130px; height: 130px; margin: 0 auto; border-radius: 6px; background: #fff; }
.fc-qr-pop p { font-size: 12px; color: var(--text-3); margin-top: 6px; }

/* ---------- 转化模块响应式 ---------- */
@media (max-width: 992px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .stat-inner { grid-template-columns: repeat(2, 1fr); gap: 14px 0; padding: 16px 6px; }
  .stat-item:nth-child(3)::before, .stat-item:nth-child(4)::before { display: none; }
  .stat-item b { font-size: 21px; }
  .stat-item span { font-size: 12px; }
  .case-grid { gap: 12px; }
  .case-card { padding: 14px 12px; }
  .case-top { margin-bottom: 10px; }
  .case-score { font-size: 17px; }
  .case-result { font-size: 12.5px; }
  .case-quote { font-size: 12px; padding: 8px 10px; }
  .news-hook { flex-direction: column; align-items: flex-start; padding: 16px; }
  .news-hook .btn { width: 100%; }
  .float-consult { right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); gap: 8px; }
  .fc-btn { width: 42px; height: 42px; }
  .fc-qr-pop { right: 54px; }
}

/* ============================================================
   样式打磨 v1.8（P2）：胶囊按钮 / 阴影层次 / 面包屑 / H5 Banner
   ============================================================ */

/* ---------- 按钮胶囊化 + 统一悬停反馈 ---------- */
.btn { border-radius: 999px; }
.btn-primary:hover, .btn-accent:hover, .btn-outline:hover, .btn-ghost:hover, .pf-card .pf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 70, 62, .18);
}
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn:disabled, .btn:disabled:hover { transform: none; box-shadow: none; }
.pf-card .pf-btn { border-radius: 999px; }

/* ---------- 标签/筛选/分页/倒计时 胶囊统一 ---------- */
.tag { border-radius: 999px; }
.filter-tabs a { border-radius: 999px; }
.pagination a, .pagination span { border-radius: 999px; }
.class-count { border-radius: 999px; }

/* ---------- 卡片阴影层次统一：静止极浅投影，悬停统一上浮+深投影 ---------- */
.biz-card, .class-card, .case-card, .adv-item, .news-item, .campus-item, .detail-block, .contact-card, .static-page {
  box-shadow: 0 1px 3px rgba(10, 70, 62, .05);
}
.biz-card:hover, .class-card:hover, .case-card:hover, .adv-item:hover, .news-item:hover, .campus-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ---------- 面包屑微调 ---------- */
.page-banner .crumbs a { transition: color .2s; }
.page-banner .crumbs a:hover { color: #fff; }

/* ---------- H5 Banner 优化 ---------- */
@media (max-width: 768px) {
  .banner-item { min-height: 264px; }
  .banner-content { padding: 44px 0 54px; }
  .banner-title { font-size: 26px; }
  .banner-sub { font-size: 13.5px; margin-top: 12px; }
  .banner-btn { margin-top: 26px; }
  .banner-btn .btn { padding: 12px 30px; border-radius: 999px; }
  /* 渐变帧右上装饰环 + 光点（有图帧被图片覆盖，不影响照片 Banner） */
  .banner-item::before { content: ""; position: absolute; right: -44px; top: -44px; width: 150px; height: 150px; border-radius: 50%; border: 20px solid rgba(255,255,255,.06); }
  .banner-item::after { content: ""; position: absolute; right: 76px; bottom: 76px; width: 10px; height: 10px; border-radius: 50%; background: rgba(0,208,176,.5); }
  .page-banner .crumbs { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .biz-card:hover, .class-card:hover, .case-card:hover, .adv-item:hover, .news-item:hover, .campus-item:hover { transform: none; }
}

/* ============================================================
   体验完善 v1.9：成功弹窗企微承接 / 返回顶部 / 触屏手势
   ============================================================ */

/* ---------- 提交成功弹窗：等待回电期间引导添加企业微信 ---------- */
.lead-toast .toast-qr { margin: 4px 0 16px; }
.lead-toast .toast-qr img { width: 118px; height: 118px; margin: 0 auto; border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 4px; }
.lead-toast .toast-qr p { font-size: 12px; color: var(--text-2); margin-top: 8px; }

/* ---------- 返回顶部（悬浮球栈底部，滚动超 480px 出现） ---------- */
.fc-back { background: #33414E; opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity .25s, transform .25s, box-shadow .2s; }
.fc-back.show { opacity: 1; pointer-events: auto; transform: none; }
.fc-back:active { transform: scale(.92); }
@media (max-width: 768px) {
  .fc-back { width: 42px; height: 42px; }
}

/* ---------- 表单行内错误提示 ---------- */
.form-err-text { color: #FA541C; font-size: 12px; line-height: 1.4; }
.form-row input.input-err { border-color: #FA541C; }
.form-row input.input-err:focus { border-color: #FA541C; }
@media (max-width: 400px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   样式优化 v1.7：Banner 视觉 / 按钮体系 / 图标化 / 数据横幅 / 入场动画
   ============================================================ */

/* ---------- 按钮：新增幽灵按钮（Banner 次按钮） ---------- */
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }

/* ---------- Banner 右侧浮动视觉卡（替代旧占位方块） ---------- */
.banner-visual { position: absolute; right: 7%; top: 50%; transform: translateY(-50%); width: 300px; height: 280px; z-index: 2; }
.bv-card { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 18px 44px rgba(4,40,36,.35); animation: bvFloat 5.5s ease-in-out infinite; }
.bv-score { left: 0; top: 22px; padding: 16px 22px 14px; animation-delay: 0s; }
.bv-score .bv-label { display: block; font-size: 12px; color: var(--text-3); letter-spacing: 1px; }
.bv-score b { display: block; font-size: 34px; font-weight: 800; color: var(--primary); line-height: 1.2; margin-top: 2px; }
.bv-score .bv-badge { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #2AAE67, #23A455); }
.bv-plan { right: 0; bottom: 26px; display: flex; align-items: center; gap: 10px; padding: 13px 18px; animation-delay: 1.6s; }
.bv-plan .bv-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bv-plan .bv-txt { display: flex; flex-direction: column; line-height: 1.35; }
.bv-plan .bv-txt b { font-size: 14px; color: var(--text); }
.bv-plan .bv-txt i { font-style: normal; font-size: 12px; color: var(--text-3); }
.bv-ring { position: absolute; right: 26px; top: 6px; width: 74px; height: 74px; border-radius: 50%; border: 10px solid rgba(0,208,176,.28); animation: bvFloat 6.5s ease-in-out infinite; animation-delay: .8s; }
.bv-dot { position: absolute; left: 40%; bottom: 0; width: 14px; height: 14px; border-radius: 50%; background: rgba(0,208,176,.5); animation: bvFloat 4.6s ease-in-out infinite; animation-delay: 2.2s; }
@keyframes bvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 资讯占位缩略图：渐变底 + 线性图标 + 分类角标 ---------- */
.news-thumb-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(135deg, #DFF3F0, #C9E9E4); color: var(--primary); position: relative; }
.news-thumb-ph .ph-cat { position: absolute; left: 8px; bottom: 6px; font-style: normal; font-size: 11px; color: var(--primary); opacity: .85; }

/* ---------- 优势区：图标圆底（替代数字序号） ---------- */
.adv-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); margin-bottom: 14px; transition: all .25s; }
.adv-item:hover .adv-ico { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ---------- 数据横幅：上浮叠压 Banner + 数字滚动 ---------- */
.stat-strip { position: relative; z-index: 5; margin-top: -34px; }
.banner:has(+ .stat-strip) .banner-dots { bottom: 64px; } /* 避免圆点被横幅遮住 */

/* ---------- 上岸榜卡片强化 ---------- */
.case-card { position: relative; }
.case-avatar { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; }
.case-score { font-size: 24px; }
.case-badge { position: absolute; right: 14px; top: 14px; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #1B7F4D; background: #E5F6EC; border: 1px solid rgba(42,174,103,.35); }

/* ---------- 页脚上方转化横幅 ---------- */
.pre-footer-cta { margin: 0 0 -52px; position: relative; z-index: 6; }
.pf-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); border-radius: 14px; padding: 26px 34px; box-shadow: var(--shadow-hover); }
.pf-card b { color: #fff; font-size: 19px; display: block; }
.pf-card span { color: rgba(255,255,255,.85); font-size: 13px; display: block; margin-top: 4px; }
.pf-card .pf-btn { background: #fff; color: var(--primary-dark); font-weight: 700; padding: 12px 30px; border-radius: var(--radius-sm); flex-shrink: 0; transition: transform .15s, box-shadow .2s; }
.pf-card .pf-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(4,40,36,.25); }

/* ---------- 滚动入场动画（reveal 类由 JS 添加，JS 失效不影响内容显示） ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bv-card, .bv-ring, .bv-dot { animation: none; }
  .class-count.urgent { animation: none; }
}

/* ---------- 样式优化响应式 ---------- */
@media (max-width: 992px) {
  .banner-visual { width: 250px; height: 230px; right: 4%; opacity: .92; }
  .bv-score b { font-size: 28px; }
}
@media (max-width: 768px) {
  .banner-visual { display: none; } /* 小屏隐藏浮动卡，保证文案清晰 */
  .banner-btn .btn-ghost { display: none; }
  .stat-strip { margin-top: -22px; }
  .banner:has(+ .stat-strip) .banner-dots { bottom: 58px; }
  .pre-footer-cta { margin-bottom: -38px; }
  .pf-card { flex-direction: column; align-items: flex-start; padding: 20px; gap: 12px; }
  .pf-card .pf-btn { width: 100%; }
  .adv-ico { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 10px; }
  .case-score { font-size: 18px; }
  .case-badge { right: 10px; top: 10px; }
}

/* ============================================================
   校区环境 3D 立体旋转轮播：图片沿圆形轨道排布，正面高亮、
   两侧压暗后退，自动旋转 + 箭头/圆点/拖拽切换
   ============================================================ */
.campus-3d { position: relative; max-width: 960px; margin: 0 auto; }
.campus-3d-stage { position: relative; height: 420px; perspective: 1300px; overflow: hidden; border-radius: var(--radius); }
/* tilt 层：位于舞台中心，由 JS 控制随鼠标轻微倾斜（rotateX/rotateY），纵深感来源 */
.campus-3d-tilt {
  position: absolute; top: 50%; left: 50%; width: 0; height: 0;
  transform-style: preserve-3d; will-change: transform;
  transition: transform .35s ease-out;
}
.campus-3d-ring { position: absolute; top: 0; left: 0; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.25,.8,.25,1); will-change: transform; }
.campus-3d-item {
  position: absolute; top: 0; left: 0; width: 340px; height: 226px;
  margin: -113px 0 0 -170px; /* 以轨道圆心为基准居中 */
  transform-style: preserve-3d; border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(10,70,62,.20);
  filter: brightness(.68) saturate(.9); opacity: .9;
  transition: filter .5s, opacity .5s;
  cursor: grab; user-select: none; -webkit-user-select: none;
  /* 镜面倒影：随卡片一起倾斜转动（仅 Chromium/Edge 支持，其他浏览器自动忽略不影响功能） */
  -webkit-box-reflect: below 10px linear-gradient(transparent 55%, rgba(0,0,0,.24));
}
.campus-3d-item:active { cursor: grabbing; }
.campus-3d-item.is-front { filter: none; opacity: 1; }
.campus-3d-item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
/* 图片标题：覆盖在图片底部渐变遮罩上，避免撑高卡片 */
.campus-3d-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 10px;
  font-size: 13.5px; color: #fff; text-align: center;
  background: linear-gradient(transparent, rgba(8,44,40,.82));
}
.campus-3d-btn {
  position: absolute; top: 46%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--primary); font-size: 15px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow); transition: background .2s, color .2s, transform .2s;
}
.campus-3d-btn:hover { background: var(--primary); color: #fff; transform: translateY(-50%) scale(1.06); }
.campus-3d-btn.prev { left: 14px; }
.campus-3d-btn.next { right: 14px; }
.campus-3d-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.campus-3d-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--border); cursor: pointer; transition: all .25s; }
.campus-3d-dots span.on { width: 22px; background: var(--primary); }
.campus-3d-tip { text-align: center; color: var(--text-3); font-size: 12.5px; margin-top: 10px; }

/* 3D 轮播响应式：小屏缩小卡片与轨道半径（JS 按 offsetWidth 自动计算半径） */
@media (max-width: 768px) {
  .campus-3d-stage { height: 300px; }
  .campus-3d-item { width: 216px; height: 148px; margin: -74px 0 0 -108px; -webkit-box-reflect: below 6px linear-gradient(transparent 60%, rgba(0,0,0,.18)); }
  .campus-3d-item .cap { font-size: 12px; padding: 22px 10px 8px; }
  .campus-3d-btn { width: 36px; height: 36px; }
  .campus-3d-btn.prev { left: 8px; }
  .campus-3d-btn.next { right: 8px; }
}
@media (max-width: 400px) {
  .campus-3d-stage { height: 270px; }
  .campus-3d-item { width: 188px; height: 130px; margin: -65px 0 0 -94px; }
}
/* 减弱动态偏好：关闭视角倾斜过渡（轮播旋转仍可手动操作） */
@media (prefers-reduced-motion: reduce) {
  .campus-3d-tilt { transition: none; }
}
