/* ===================================================
   冀九洲官网 - 响应式样式表
   =================================================== */

/* ---------- 大屏适配 (≤1400px) ---------- */
@media (max-width: 1400px) {
  .container { padding: 0 30px; }
  .hero-title { font-size: 56px; }
  .section-title { font-size: 34px; }
}

/* ---------- 平板适配 (≤1024px) ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }

  /* 导航 */
  .nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 100px 24px 40px;
    gap: 4px;
    transition: var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav.open { right: 0; }

  .nav-link {
    color: var(--text) !important;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-bg);
  }

  .nav-link::after { display: none; }

  .mobile-menu-btn { display: flex; }

  /* Hero */
  .hero-title { font-size: 44px; letter-spacing: 4px; }
  .hero-subtitle { font-size: 22px; }
  .hero-desc { font-size: 15px; }
  .hero-brand-img { max-width: 880px; }

  /* 数据统计 */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 40px; }

  /* 品牌介绍 */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image .image-placeholder { min-height: 300px; }
  .about-image-badge { bottom: 10px; right: 10px; padding: 14px; }
  .about-image-badge i { font-size: 22px; }
  .about-image-badge span { font-size: 12px; }

  /* 产地底蕴 */
  .origin-grid { grid-template-columns: 1fr; }
  .origin-main .image-placeholder { min-height: 300px; }
  .origin-eco-bar { grid-template-columns: repeat(2, 1fr); }

  /* 产品 */
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }

  /* 产业链 */
  .chain-flow { flex-wrap: wrap; gap: 8px; padding: 24px; }
  .chain-step { min-width: 100px; padding: 12px; }
  .chain-arrow { display: none; }
  .chain-details { grid-template-columns: 1fr; }

  /* 荣誉 */
  .honors-layout { grid-template-columns: 1fr; gap: 30px; }
  .honors-stats { grid-template-columns: repeat(3, 1fr); }

  /* 品牌 */
  .story-section { padding: 80px 0; }
  .story-quote { padding: 24px 20px; }
  .story-quote p { font-size: 15px; }

  /* 战略 */
  .strategy-grid { grid-template-columns: 1fr; }

  /* 关联主体 */
  .partners-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-brand-desc { margin: 0 auto; }
  .footer-qr { justify-content: center; }
}

/* ---------- 手机适配 (≤768px) ---------- */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 14px; }

  /* 导航 */
  .header-inner { height: 64px; padding: 0 16px; }
  .logo img { width: 36px; height: 36px; }
  .logo-text { font-size: 18px; letter-spacing: 2px; }

  /* Hero */
  .hero { min-height: 500px; }
  .hero-title { font-size: 32px; letter-spacing: 3px; }
  .hero-subtitle { font-size: 18px; letter-spacing: 2px; }
  .hero-desc { font-size: 14px; margin-bottom: 24px; }
  .btn-primary { padding: 12px 28px; font-size: 14px; }
  .hero-scroll-hint { display: none; }
  .hero-brand-img { max-width: 680px; }

  /* 数据统计 */
  .stats-section { padding: 40px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .stat-icon { font-size: 24px; margin-bottom: 8px; }
  .stat-number { font-size: 32px; }
  .stat-unit { font-size: 14px; }
  .stat-label { font-size: 12px; }

  /* 品牌介绍 */
  .about-heading { font-size: 22px; }
  .about-text { font-size: 15px; }
  .about-feature-item { padding: 12px; gap: 10px; }
  .feature-text strong { font-size: 14px; }
  .feature-text span { font-size: 13px; }

  /* 产地底蕴 */
  .origin-eco-bar { grid-template-columns: 1fr 1fr; gap: 12px; }
  .eco-item { padding: 16px; gap: 10px; }
  .eco-icon { width: 40px; height: 40px; font-size: 18px; }
  .eco-text strong { font-size: 14px; }
  .eco-text span { font-size: 12px; }

  /* 产品 */
  .product-tabs { flex-wrap: wrap; gap: 8px; }
  .product-tab { padding: 10px 20px; font-size: 13px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-img .image-placeholder { min-height: 200px; }
  .cert-grid { grid-template-columns: 1fr; }

  /* 产业链 */
  .chain-flow { padding: 16px; }
  .chain-step { min-width: 80px; padding: 8px; }
  .chain-icon { width: 48px; height: 48px; font-size: 20px; }
  .chain-step h4 { font-size: 14px; }
  .chain-step p { font-size: 11px; }
  .chain-detail-card { padding: 20px; }

  /* 荣誉 */
  .honors-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .honor-stat-card { padding: 20px 12px; }
  .honor-stat-number { font-size: 28px; }
  .honor-item { flex-direction: column; gap: 12px; padding: 16px; }
  .honor-icon { width: 48px; height: 48px; font-size: 18px; }

  /* 品牌故事 */
  .story-section { padding: 60px 0; }
  .story-quote { padding: 20px 16px; }
  .story-quote i { font-size: 24px; }
  .story-quote p { font-size: 15px; line-height: 1.8; }
  .story-text p { font-size: 15px; }
  .story-highlight { padding: 16px; }
  .story-slogan { font-size: 17px !important; }

  /* 战略 */
  .strategy-card-header { padding: 24px; }
  .strategy-card-header h4 { font-size: 18px; }
  .strategy-card-body { padding: 20px 24px; }
  .strategy-card-body li { font-size: 14px; }
  .strategy-card-img { padding: 0 24px 20px; }

  /* 关联主体 */
  .partner-card { padding: 28px 20px; }

  /* Footer */
  .footer-grid { gap: 24px; }
  .footer-logo { width: 44px; height: 44px; }
  .footer-brand h3 { font-size: 20px; }

  /* 回到顶部 */
  .back-to-top { bottom: 24px; right: 24px; width: 42px; height: 42px; font-size: 16px; }
}

/* ---------- 小屏手机 (≤480px) ---------- */
@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .hero-subtitle { font-size: 16px; }
  .hero-brand-img { max-width: 560px; }
  .section-title { font-size: 24px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 28px; }

  .origin-eco-bar { grid-template-columns: 1fr; }
  .eco-item { justify-content: center; text-align: center; flex-direction: column; gap: 8px; }

  .honors-stats { grid-template-columns: 1fr 1fr; }

  .product-tab { padding: 8px 16px; font-size: 12px; }

  .chain-flow { flex-direction: column; align-items: center; }
  .chain-step { min-width: 140px; }

  .strategy-card-header .strategy-icon { font-size: 26px; }

  .footer-qr { flex-direction: column; align-items: center; }
}

/* ---------- 打印样式 ---------- */
@media print {
  .header, .hero-scroll-hint, .back-to-top, .mobile-menu-btn { display: none; }
  .hero { min-height: auto; height: 300px; }
  .section { padding: 40px 0; }
  body { color: #000; }
}
