/**
 * 首页移动端布局（≤768）— 不影响 PC
 */
@media (max-width: 768px) {
  /* —— Hero —— */
  .home-hero {
    padding: 20px 0 18px;
    max-height: 500px;
    overflow: hidden;
    background:
      radial-gradient(ellipse 90% 60% at 80% -10%, rgba(201, 162, 39, 0.22), transparent 55%),
      linear-gradient(160deg, #062828 0%, #0a4545 48%, #12706c 100%);
  }
  .home-hero-glow {
    width: 280px;
    height: 280px;
    right: -60px;
    top: -80px;
    opacity: 0.85;
  }
  .home-hero-inner {
    max-width: 100%;
  }

  .home-hero-m {
    display: block !important;
    margin-bottom: 14px;
  }
  .home-hero-m-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }
  .home-hero-m-logo {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
  }
  .home-hero-m-name {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 750;
    color: #fff;
    line-height: 1.25;
  }
  .home-hero-m-name span {
    font-weight: 600;
    opacity: 0.92;
  }
  .home-hero-m-en {
    margin: 2px 0 0;
    font-size: 11px;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.62);
  }
  .home-hero-m-pitch {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.94);
  }
  .home-hero-m-points {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .home-hero-m-points li {
    position: relative;
    padding: 6px 10px 6px 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #e7fbfa;
    font-size: 12px;
    font-weight: 600;
  }
  .home-hero-m-points li::before {
    content: "✓";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ae8e4;
    font-size: 11px;
  }
  .home-hero-m-cta {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
  }
  .home-hero-m-btn {
    flex: 1;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 12px;
  }
  .home-hero-m-btn--ghost {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
  }

  .home-hero .home-search {
    margin-top: 0;
  }
  .home-hero .home-search-tabs {
    margin-bottom: 8px;
  }
  .home-hero .home-hot {
    display: none;
  }

  /* —— Stats 2×2 —— */
  .home-stats {
    margin-top: -12px;
    padding-top: 28px;
  }
  .home-stats .home-section-sub,
  .home-stats .home-section-sub-en {
    display: none;
  }
  .home-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
  .home-stat-card {
    min-height: 110px;
    height: auto;
    padding: 16px 14px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(11, 18, 32, 0.06);
  }
  .home-stat-value,
  .home-stat-value .home-count {
    font-size: 28px !important;
    line-height: 1.1;
    font-weight: 750;
  }
  .home-stat-label {
    font-size: 12px !important;
    margin-top: 6px;
  }
  .home-stat-label span[lang='en'] {
    display: none;
  }
  .home-stats-strip {
    display: none;
  }

  /* —— 服务横滑 —— */
  .home-m-services {
    display: block !important;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .home-m-services .home-section-head {
    margin-bottom: 12px;
  }
  .home-m-services-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 16px 12px;
    scrollbar-width: none;
  }
  .home-m-services-rail::-webkit-scrollbar {
    display: none;
  }
  .home-m-service-card {
    flex: 0 0 72%;
    max-width: 260px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 16px;
    border-radius: 16px;
    border: 1px solid rgba(13, 79, 82, 0.12);
    background: #fff;
    box-shadow: 0 10px 28px rgba(11, 18, 32, 0.07);
    text-decoration: none;
    color: inherit;
    min-height: 156px;
  }
  .home-m-service-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 79, 82, 0.08);
    color: var(--jade);
    margin-bottom: 4px;
  }
  .home-m-service-card strong {
    font-size: 16px;
    color: var(--ink);
  }
  .home-m-service-en {
    font-size: 11px;
    color: var(--muted);
  }
  .home-m-service-desc {
    font-size: 13px;
    color: #5a6578;
    line-height: 1.45;
    margin-top: 2px;
  }

  /* 移动端隐藏「能力卡片」长文区块，改用横滑服务入口 */
  .home-features {
    display: none;
  }

  /* —— 企业卡片精简 —— */
  .home-showcase .home-section-sub {
    display: none;
  }
  .home-company-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .home-company-card:nth-child(n + 5) {
    display: none;
  }
  .home-company-card {
    border-radius: 14px;
    border: 1px solid rgba(13, 79, 82, 0.1);
    box-shadow: 0 8px 22px rgba(11, 18, 32, 0.06);
    padding: 16px;
  }
  .home-company-tin,
  .home-company-en {
    display: none;
  }
  .home-company-name {
    font-size: 16px;
    margin: 8px 0 10px;
    line-height: 1.35;
  }
  .home-company-meta {
    display: grid;
    gap: 6px;
    margin: 0 0 12px;
  }
  .home-company-meta div {
    display: flex;
    gap: 8px;
    font-size: 13px;
  }
  .home-company-meta dt {
    color: var(--muted);
    min-width: 3.2em;
  }
  .home-company-meta dd {
    margin: 0;
    color: var(--ink);
  }
  .home-company-cta {
    font-size: 13px;
    font-weight: 650;
  }
  .home-company-cta-en {
    display: none;
  }
  .home-company-cta-zh {
    display: inline;
  }

  /* 区块留白与字号 */
  .home-section {
    padding: 32px 0;
  }
  .home-section-head h2 {
    font-size: 22px;
  }
  .home-section-sub {
    font-size: 14px;
  }
  .home-eyebrow {
    font-size: 12px;
  }

  /* 后续长区块略收密度 */
  .home-visit .home-section-sub,
  .home-setup .home-section-sub,
  .home-digital .home-section-sub {
    font-size: 13px;
  }
  .home-setup-grid,
  .home-digital-grid,
  .home-visit-grid {
    gap: 12px;
  }
}
