/* ===========================================
   响应式适配 - 全站统一
   覆盖原有固定宽度布局，实现PC+移动自适应
   =========================================== */

/* ===== 小于1300px：容器变流体 ===== */
@media (max-width: 1300px) {
  .main { width: 96% !important; }
  #header { width: 96% !important; }
}

/* ===== 小于1024px：导航压缩 ===== */
@media (max-width: 1024px) {
  .top_c1 { max-width: 200px !important; }
  .top_c1 dl dd h2 { font-size: 15px !important; }
  .top_c1 dl dd p { font-size: 13px !important; margin-top: 6px !important; }
  .top_c2 { width: auto !important; }
  .top_c2 ul li a { font-size: 16px !important; padding: 6px 10px !important; }
  .top_c3 { width: auto !important; }
  .top_c3 dl dt { font-size: 15px !important; }
}

/* ===== 小于768px：移动端 ===== */
@media (max-width: 768px) {
  /* 基础 */
  body { font-size: 15px !important; }

  /* ---- 顶部导航 ---- */
  #header {
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
    padding: 8px 6px !important;
    position: fixed !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08) !important;
    z-index: 999;
  }
  .top_c { flex-wrap: nowrap; align-items: center; }

  /* logo区：只显示图片，隐藏文字 */
  .top_c1 { width: auto !important; min-width: unset !important; max-width: 50px !important; flex-shrink: 0; }
  .top_c1 dl dd { display: none !important; }
  .top_c1 dl dt img { height: 30px !important; width: auto; }
  .top_c1 dl { gap: 0; }

  /* 导航：水平滚动 */
  .top_c2 { width: auto !important; flex: 1; margin-top: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .top_c2::-webkit-scrollbar { display: none; }
  .top_c2 ul { flex-wrap: nowrap; margin-top: 0; gap: 0; justify-content: flex-start !important; }
  .top_c2 ul li a {
    font-size: 13px !important;
    padding: 6px 8px !important;
    white-space: nowrap;
    display: block;
  }
  .top_c2 ul li.active a { background: rgba(1,85,184,0.08); border-radius: 6px; }

  /* 电话区：隐藏 */
  .top_c3 { display: none !important; }

  /* ---- 页面标题 ---- */
  .inner-banner {
    padding: 65px 10px 18px !important;
  }
  .inner-banner h1 { font-size: 26px !important; margin-bottom: 4px !important; }
  .inner-banner p { font-size: 15px !important; }

  /* ---- 面包屑 ---- */
  .posnav {
    margin: 4% 10px !important;
    width: auto !important;
    height: auto !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #ddd !important;
  }
  .posnav h2 { font-size: 18px !important; float: none !important; display: inline-block; }
  .posnav h2 span { font-size: 11px !important; }
  .posnav p { float: none !important; font-size: 13px !important; margin-top: 3px !important; display: block; }

  /* ---- 内容区 ---- */
  .nypages { padding: 15px 10px !important; }

  /* 本源商业之道 */
  .content-block { max-width: 100% !important; margin-bottom: 24px !important; }
  .content-block h3 { font-size: 20px !important; padding-left: 10px !important; }
  .content-block p { font-size: 16px !important; line-height: 1.7 !important; }
  .content-block .quote { font-size: 17px !important; padding: 14px 18px !important; }

  /* 对比表 */
  .compare-table {
    font-size: 13px !important;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .compare-table th,
  .compare-table td { padding: 8px 10px !important; font-size: 13px !important; }

  /* 适合/不适合 */
  .fit-section { grid-template-columns: 1fr !important; gap: 12px !important; }
  .fit-box { padding: 16px !important; }
  .fit-box h4 { font-size: 18px !important; }
  .fit-box ul li { font-size: 15px !important; }

  /* ---- 认知体系 ---- */
  .clayer { padding: 16px 18px !important; }
  .clayer h3 { font-size: 18px !important; }
  .clayer .wood { font-size: 13px !important; }
  .clayer p { font-size: 15px !important; }
  .clayer .pct {
    float: none !important;
    display: inline-block;
    font-size: 13px !important;
    position: static !important;
    margin-bottom: 4px;
  }

  /* ---- 课程体系 ---- */
  .stage-card { padding: 16px 18px !important; }
  .stage-card h3 { font-size: 20px !important; }
  .stage-card .sub { font-size: 16px !important; }
  .stage-card p { font-size: 15px !important; }
  .stage-card .topics span { font-size: 13px !important; padding: 3px 10px !important; }

  /* ---- 精益思想 ---- */
  .module-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .module-card { padding: 16px 18px !important; }
  .module-card h3 { font-size: 18px !important; }
  .module-card p { font-size: 15px !important; }

  .principle-item { padding: 12px 14px !important; gap: 10px !important; flex-wrap: nowrap; }
  .principle-item .num { width: 26px; height: 26px; font-size: 12px; flex-shrink: 0; }
  .principle-item .content h4 { font-size: 16px !important; }
  .principle-item .content p { font-size: 14px !important; }

  .clayer.l1, .clayer.l2, .clayer.l3, .clayer.l4 { padding: 14px 16px !important; }

  /* ---- 首页 ---- */
  .hero-banner { padding: 70px 10px 20px !important; }
  .hero-banner h1 { font-size: 28px !important; }
  .hero-banner p { font-size: 16px !important; }
  .hero-banner .btn-group a {
    font-size: 15px !important;
    padding: 10px 20px !important;
    display: block;
    margin: 8px auto;
    max-width: 220px;
  }

  .stats-row { gap: 12px !important; padding: 12px 0 !important; flex-wrap: wrap; }
  .stats-row .s-item .num { font-size: 22px !important; }
  .stats-row .s-item .label { font-size: 13px !important; }

  .part3 .tit h2 { font-size: 22px !important; }
  .part3 .tit p { font-size: 15px !important; }
  .p3_c ul { flex-direction: column; }
  .p3_c ul li { width: 100%; margin-bottom: 8px; }
  .p3_c ul li dl dt { font-size: 20px; margin-top: 20px; padding: 0 20px; }
  .p3_c ul li dl dd { margin-top: 50px; padding: 0 20px; }
  .p3_c ul li dl dd p { font-size: 15px; }

  .not-grid { flex-direction: column; align-items: center; }
  .not-grid .n-item { width: 100% !important; max-width: 300px; }

  .card4-grid { flex-direction: column; align-items: center; }
  .card4-grid .c4 { width: 100% !important; max-width: 320px; padding: 18px !important; }
  .card4-grid .c4 h4 { font-size: 18px !important; }
  .card4-grid .c4 p { font-size: 15px !important; }

  .two-col { flex-direction: column !important; gap: 16px !important; text-align: center; }
  .two-col .col-left { width: auto !important; }
  .two-col .col-left img { width: 100px !important; height: 100px !important; }
  .two-col .col-right h3 { font-size: 20px !important; }
  .two-col .col-right p { font-size: 15px !important; }
  .two-col .col-right .badge { font-size: 13px !important; padding: 4px 12px !important; }

  .part4 { padding: 8% 10px !important; }
  .part4 h2 { font-size: 22px !important; }
  .part4 h3 { font-size: 18px !important; }

  .contact-flex { gap: 16px !important; flex-direction: column !important; }

  .bottom_foot2 { padding: 16px 10px !important; }
  .bottom_foot2 .foot_bt2 p { font-size: 14px !important; }
  .footer_copy { font-size: 12px !important; padding: 10px !important; }
  .footer_copy_con { font-size: 12px !important; }

  /* 漏斗图自适应 */
  .funnel { max-width: 100% !important; }

  /* 所有大标题缩小 */
  .tit h2 { font-size: 24px !important; line-height: 1.4 !important; }
  .tit p { font-size: 16px !important; }

  /* 关于我们/案例等页面 */
  .nypages h2 { font-size: 24px !important; }
  .nypages > p { font-size: 15px !important; }
}
