/* ============================================================
   responsive.css —— 响应式断点
   1440+  /  1200-1439  /  992-1199  /  768-991  /  ≤767
   ============================================================ */

/* ---------- ≤1439px：容器收窄 ---------- */
@media (max-width: 1439px) {
  :root { --container: 1140px; }
  .mega { width: min(980px, calc(100vw - 40px)); }
  .mega__grid { grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); }
  .biz-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- ≤1199px：导航收起为汉堡 ---------- */
@media (max-width: 1199px) {
  .nav, .header__actions .btn--primary { display: none; }
  .burger { display: inline-flex; }
  .header__inner { height: 68px; }
  .brand__img { height: 60px; }
  .header__actions { margin-left: auto; }
  .lang { display: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; margin: 0 auto; order: -1; }
  .hero__metrics { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5) var(--sp-4); }

  .biz-grid, .biz-grid--3, .biz-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .sell-grid, .sell-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .mode-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-pair, .tools-pair, .oversea, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .oversea__map { max-width: 520px; margin: 0 auto; }
  .about-visual { max-width: 460px; margin: 0 auto; }

  .steps { grid-template-columns: repeat(4, 1fr); row-gap: var(--sp-6); }
  .news-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .corp-list { grid-template-columns: repeat(2, 1fr); }

  .footer__main { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
}

/* ---------- ≤991px ---------- */
@media (max-width: 991px) {
  .topbar__slogan { display: none; }
  .topbar__inner { justify-content: center; }

  .biz-grid, .biz-grid--3, .biz-grid--2 { grid-template-columns: 1fr; }
  .sell-grid, .sell-grid--3 { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .news-grid, .cases-grid { grid-template-columns: 1fr; }
  .corp-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }

  .mobile-bar { display: flex; }
  body { padding-bottom: 62px; }
  .to-top { bottom: 78px; right: 16px; }

  .footer__main { grid-template-columns: 1fr; gap: var(--sp-6); padding: var(--sp-8) 0 var(--sp-7); }
  .footer__brand { max-width: none; }
}

/* ---------- ≤767px ---------- */
@media (max-width: 767px) {
  :root { --section-y: 52px; }
  .container { padding: 0 var(--sp-5); }

  .topbar__inner { height: 34px; font-size: 11.5px; }
  .topbar__item--hide-sm { display: none; }

  .hero { padding: 44px 0 56px; }
  .hero__title { font-size: clamp(30px, 8.4vw, 40px); }
  .hero__sub { font-size: 15px; }
  .hero__metrics { grid-template-columns: repeat(2, 1fr); margin-top: var(--sp-6); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__phone { justify-content: center; }

  .trust__inner { gap: var(--sp-3) var(--sp-5); justify-content: flex-start; }
  .trust__item { font-size: var(--fs-xs); }

  .steps { grid-template-columns: 1fr; row-gap: var(--sp-5); }
  .step { padding-top: 36px; }
  .step::after { display: none; }

  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: var(--sp-5); }

  .tool-card { flex-direction: column; align-items: stretch; }
  .qr-box { width: 100%; display: flex; align-items: center; gap: var(--sp-4); }
  .qr-box__frame { width: 104px; height: 104px; }
  .qr-box__cap { margin-top: 0; text-align: left; }

  .feature-big { padding: var(--sp-5); }
  .cta-band { border-radius: var(--r-xl); padding: var(--sp-6) var(--sp-5); }
  .cta-band__actions { flex-direction: column; align-items: stretch; }
  .cta-band__actions .btn { width: 100%; }

  .biz-group__hint { display: none; }
  .biz-card { padding: var(--sp-4); }
  .biz-card__icon { width: 40px; height: 40px; }
  .biz-card__icon svg { width: 21px; height: 21px; }

  .page-hero { padding: var(--sp-6) 0 var(--sp-7); }
  .page-hero__top { gap: var(--sp-3); }
  .page-hero__icon { width: 46px; height: 46px; }
  .page-hero__icon svg { width: 24px; height: 24px; }

  .block + .block { margin-top: var(--sp-7); }
  .tbl { font-size: var(--fs-xs); }
  .tbl thead th, .tbl tbody td { padding: 10px var(--sp-3); }

  .footer__bottom { padding-bottom: var(--sp-8); }
  .footer__legal { gap: var(--sp-3); }
  .footer__legal .divider { display: none; }

  .toast { bottom: 76px; left: var(--sp-4); right: var(--sp-4); transform: translateY(16px); max-width: none; }
  .toast.is-show { transform: translateY(0); }
}

/* ---------- ≤380px ---------- */
@media (max-width: 380px) {
  .biz-card__num { display: none; }
  .hero__metrics { grid-template-columns: 1fr 1fr; }
  .corp-list { grid-template-columns: 1fr; }
}

/* ---------- 打印 ---------- */
@media print {
  .header, .topbar, .footer, .mobile-bar, .to-top, .drawer, .toast { display: none !important; }
  body { padding-bottom: 0; }
  .hero, .page-hero, .section--dark { background: #fff !important; color: #000 !important; }
  .hero__title, .page-hero__title { color: #000 !important; -webkit-text-fill-color: #000 !important; }
}
