/* ============================================
   山东晋鹏教育官网 aijinpeng.cn 通用样式
   简洁白底 · 紧凑排版 · 电脑/手机双端适配
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: #fff; color: #222; line-height: 1.6;
  font-size: 15px;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid #e5e7eb;
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 20px;
  height: 58px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo .logo-mark {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: #1e6fff; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}
.logo .logo-text { line-height: 1.2; }
.logo .logo-text b { font-size: 17px; color: #111; letter-spacing: 0.5px; }
.logo .logo-text span { display: block; font-size: 11px; color: #888; letter-spacing: 1px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 8px 13px; color: #333; text-decoration: none;
  font-size: 14.5px; border-radius: 6px; transition: .15s;
}
.nav a:hover { background: #f3f4f6; color: #1e6fff; }
.nav a.active { color: #1e6fff; font-weight: 600; }
.nav a.cta {
  background: #1e6fff; color: #fff; font-weight: 600; margin-left: 8px;
  padding: 8px 16px;
}
.nav a.cta:hover { background: #0a4fd6; }
.nav-toggle { display: none; }

/* ===== 页脚 ===== */
.site-footer { background: #f7f7f8; border-top: 1px solid #e5e7eb; margin-top: 48px; }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 30px 20px 22px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h4 { font-size: 14px; color: #111; margin-bottom: 10px; }
.footer-cols a { display: block; color: #555; text-decoration: none; font-size: 13.5px; padding: 3px 0; }
.footer-cols a:hover { color: #1e6fff; }
.footer-cols p { color: #555; font-size: 13.5px; padding: 2px 0; }
.footer-bottom {
  border-top: 1px solid #e5e7eb; margin-top: 22px; padding-top: 14px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: 12.5px; color: #888;
}

/* ===== 通用区块 ===== */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 42px 0 8px; }
.section-title { font-size: 24px; color: #111; text-align: center; margin-bottom: 6px; }
.section-sub { text-align: center; color: #888; font-size: 14px; margin-bottom: 26px; }
.badge-red { display: inline-block; background: #1e6fff; color: #fff; font-size: 12px; border-radius: 4px; padding: 1px 8px; margin-right: 6px; vertical-align: 2px; }

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, #f4f6fb 0%, #fff 100%); border-bottom: 1px solid #dde6f7; }
.hero-inner { max-width: 1160px; margin: 0 auto; padding: 64px 20px 56px; text-align: center; }
.hero h1 { font-size: 34px; line-height: 1.35; color: #111; font-weight: 700; }
.hero h1 .red { color: #1e6fff; }
.hero .sub { margin-top: 14px; font-size: 16px; color: #666; max-width: 720px; margin-left: auto; margin-right: auto; }
.hero .btns { margin-top: 26px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; transition: .15s; }
.btn-primary { background: #1e6fff; color: #fff; }
.btn-primary:hover { background: #0a4fd6; }
.btn-outline { border: 1.5px solid #d0d3d6; color: #333; background: #fff; }
.btn-outline:hover { border-color: #1e6fff; color: #1e6fff; }
.hero-stats { margin-top: 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero-stat {
  background: #fff; border: 1px solid #dde6f7; border-radius: 10px;
  padding: 12px 26px; text-align: center; min-width: 130px;
}
.hero-stat .n { font-size: 26px; font-weight: 700; color: #1e6fff; }
.hero-stat .l { font-size: 12.5px; color: #888; margin-top: 2px; }

/* ===== 卡片网格 ===== */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: #fff; border: 1px solid #dde6f7; border-radius: 10px;
  padding: 20px 18px; transition: .15s;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.07); border-color: #d5cdc0; }
.card .icon { font-size: 26px; margin-bottom: 10px; }
.card h3 { font-size: 16px; color: #111; margin-bottom: 6px; }
.card p { font-size: 13.5px; color: #666; line-height: 1.65; }
.card a.more { display: inline-block; margin-top: 10px; font-size: 13px; color: #1e6fff; text-decoration: none; font-weight: 600; }
.card a.more:hover { text-decoration: underline; }

/* ===== 双栏介绍 ===== */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.split h2 { font-size: 22px; color: #111; margin-bottom: 12px; line-height: 1.4; }
.split p { color: #555; font-size: 14.5px; margin-bottom: 12px; }
.split ul { list-style: none; }
.split ul li { padding: 6px 0 6px 26px; position: relative; color: #444; font-size: 14.5px; border-bottom: 1px dashed #eee; }
.split ul li:last-child { border-bottom: none; }
.split ul li::before { content: "✔"; position: absolute; left: 0; color: #1e6fff; font-size: 14px; top: 7px; }
.split .box {
  background: #f4f6fb; border: 1px solid #eee5da; border-radius: 12px; padding: 22px;
}
.split .box h3 { font-size: 16px; margin-bottom: 10px; color: #111; }
.split .box table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.split .box td { padding: 7px 8px; border-bottom: 1px solid #eee5da; color: #444; }
.split .box td:first-child { color: #111; font-weight: 600; white-space: nowrap; }
.split .box tr:last-child td { border-bottom: none; }

/* ===== 资料卡片 ===== */
.ziliao-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ziliao-card { border: 1px solid #dde6f7; border-radius: 10px; padding: 18px; background: #fff; }
.ziliao-card h3 { font-size: 15.5px; color: #111; margin-bottom: 6px; }
.ziliao-card .tag { display: inline-block; font-size: 11.5px; background: #e3f0ff; color: #1e6fff; border-radius: 4px; padding: 1px 7px; margin-bottom: 6px; }
.ziliao-card p { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 10px; }
.ziliao-card .links a { display: inline-block; font-size: 13px; color: #1e6fff; text-decoration: none; margin-right: 12px; font-weight: 600; }
.ziliao-card .links a:hover { text-decoration: underline; }

/* ===== 关于 ===== */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.about-item { border: 1px solid #dde6f7; border-radius: 10px; padding: 18px; }
.about-item h3 { font-size: 15.5px; color: #111; margin-bottom: 8px; }
.about-item p { font-size: 13.5px; color: #666; line-height: 1.7; }
.about-item .qr-tip { font-size: 12px; color: #999; margin-top: 6px; }

/* ===== 移动端 ===== */
@media (max-width: 900px) {
  body { overflow-x: hidden; }
  .nav-toggle {
    display: flex; width: 40px; height: 40px; align-items: center; justify-content: center;
    flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: #333; border-radius: 1px; transition: .2s; }
  .nav {
    display: none; position: absolute; top: 58px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid #e5e7eb; padding: 10px 16px 14px;
    flex-direction: column; align-items: stretch; gap: 2px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; font-size: 15px; border-radius: 8px; }
  .nav a.cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .hero h1 { font-size: 19px; line-height: 1.4; word-break: break-all; overflow-wrap: anywhere; padding: 0 4px; }
  .hero h1 br.mbr { display: none; }
  .hero .sub { font-size: 12.5px; line-height: 1.6; word-break: break-all; padding: 0 6px; }
  .hero .btns { flex-direction: column; align-items: stretch; padding: 0 12px; }
  .hero .btns .btn { width: 100%; padding: 11px 14px; font-size: 14.5px; box-sizing: border-box; }
  .hero-stats { gap: 8px; padding: 0 6px; }
  .hero-stat { min-width: 0; flex: 1 1 calc(50% - 4px); padding: 10px 8px; }
  .hero-stat .n { font-size: 20px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ziliao-grid { grid-template-columns: 1fr; gap: 12px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .section-title { font-size: 19px; }
  .section-sub { font-size: 13px; }
  .logo .logo-text b { font-size: 15px; }
  .logo .logo-text span { font-size: 10px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .brand .t1 { font-size: 14px !important; line-height: 1.4 !important; word-break: break-all; }
}
@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 36px 14px 32px; }
  .hero-stat { flex: 1 1 calc(50% - 4px); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .section { padding: 32px 0 4px; }
}

/* ===== 小程序码引导弹窗（全站统一） ===== */
.qr-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:9999;padding:20px;}
.qr-modal.show{display:flex;}
.qr-box{background:#fff;border-radius:14px;padding:26px 24px 22px;width:100%;max-width:340px;text-align:center;position:relative;box-shadow:0 10px 40px rgba(0,0,0,.25);}
.qr-title{font-size:15px;font-weight:700;color:#111;margin-bottom:14px;padding:0 28px 0 8px;line-height:1.45;word-break:keep-all;}
.qr-close{position:absolute;top:8px;right:12px;border:none;background:none;font-size:24px;color:#aaa;cursor:pointer;line-height:1;width:32px;height:32px;}
.qr-close:hover{color:#333;}
.qr-img{width:200px;height:200px;margin:0 auto 12px;border:1px solid #eee;border-radius:10px;overflow:hidden;background:#fafafa;}
.qr-img img{width:100%;height:100%;object-fit:cover;display:block;}
.qr-tip{font-size:13.5px;color:#555;line-height:1.7;}
.qr-more{font-size:12px;color:#999;margin-top:10px;}
