/* 首页移动端专用布局（≤768px） */
@media (max-width: 768px) {
  /* 行业场景：灰底通栏，去掉两侧白条 */
  .section-gray:has(#cases) {
    padding-inline: 0;
  }

  #cases.section {
    padding-inline: 16px;
  }

  #cases .section-title {
    padding-inline: 4px;
  }

  #cases .scene-grid--partners {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: 18px 12px 24px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    gap: 10px;
    grid-auto-rows: minmax(148px, auto);
  }

  #cases .scene-grid--partners .scene-card.scene-card--media {
    min-height: 148px;
  }

  #cases .scene-card__sheet {
    padding: 12px 8px 10px;
  }

  #cases .scene-card__title {
    font-size: clamp(13px, 3.4vw, 15px);
    line-height: 1.35;
  }

  /* 品牌实力：指标纵向排列，为右下角浮动栏留空 */
  #strength.section {
    padding-inline: 16px;
    padding-right: calc(16px + 52px);
  }

  #strength .strength-data {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  #strength .strength-item {
    padding: 20px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(10, 22, 40, 0.06);
  }

  #strength .strength-item strong.strength-value {
    font-size: clamp(34px, 9.5vw, 48px);
    margin-bottom: 8px;
  }

  #strength .strength-item .strength-label {
    font-size: 14px;
  }

  #strength .global-layout {
    padding: 20px 12px 24px;
    border-radius: 8px;
  }

  #strength .global-presence-grid {
    gap: 14px 10px;
  }

  #strength .presence-circle {
    width: 72px;
    height: 72px;
    margin-bottom: 10px;
  }

  #strength .presence-card h4 {
    font-size: 13px;
    line-height: 1.35;
  }

  /* 覆盖 PC 首页浮动栏居中定位 */
  .floating-sidebar {
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    right: calc(8px + env(safe-area-inset-right, 0px));
    transform: none;
    opacity: 1;
    gap: 8px;
  }

  .floating-item {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(10, 22, 40, 0.18);
  }

  .floating-item:hover {
    transform: none;
  }

  .floating-icon {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 430px) {
  #cases .scene-grid--partners {
    grid-auto-rows: minmax(132px, auto);
    padding-inline: 10px;
  }

  #strength .strength-item strong.strength-value {
    font-size: clamp(30px, 8.8vw, 40px);
  }

  #strength .presence-circle {
    width: 64px;
    height: 64px;
  }
}
