/* ==========================================================================
   mobile-solutions.css — 解决方案页移动端专属样式
   --------------------------------------------------------------------------
   仅包含该页特有的结构；公共组件一律复用 css/mobile-template.css。
   所有规则均位于 @media (max-width: 789px) 内，
   因此桌面端（≥790px）的 Figma 画布保持原样，零影响。
   ========================================================================== */
@media (max-width: 789px) {
  /* ---------------------------------------------------------------- 首屏
     桌面端首屏为 3880×2170 的公路大图，在 1920×666 的画布里居中裁切；
     窄屏时保留画面中部偏下的车辆，并补一层暗色蒙版，
     保证白色标题与金色 eyebrow 的可读性。 */
  .m-solutions-hero .m-hero__bg {
    object-position: 50% 64%;
    opacity: 0.6;
  }

  .m-solutions-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(
      100deg,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.34) 60%,
      rgba(0, 0, 0, 0.2) 100%
    );
  }

  .m-solutions-hero .m-hero__inner {
    z-index: 1;
  }

  /* ---------------------------------------------------------- 八大行业卡片
     桌面端 .industry-card 为 186×244 的竖向卡片，图标居中、标题压底；
     移动端改为两列方卡。行业图标是 preserveAspectRatio="none" 的 SVG，
     这里按原始比例缩放（width:100% + height:auto），避免图标被拉变形。 */
  .m-industry-cards {
    margin-top: 18px;
  }

  .m-industry-cards .m-card__icon {
    width: 100%;
    max-width: 76px;
    height: auto;
  }

  .m-industry-cards .m-card__title {
    font-size: 13px;
  }

  /* 汽车零部件在桌面端是默认展开（.is-default）的高亮卡片，移动端沿用金色底 */
  .m-industry-cards .m-card--highlight {
    background: linear-gradient(180deg, #fffdfa 0%, #fff1d5 45%, #ffd481 100%);
    border-color: rgba(255, 188, 32, 0.55);
  }

  .m-industry-cards .m-card--highlight .m-card__icon {
    max-width: 92px;
  }

  .m-industry-cards .m-card--highlight .m-card__title {
    color: #464646;
    font-weight: 700;
  }

  /* ------------------------------------------------------------ 合作伙伴
     桌面端 Logo 为 3×2 的大网格，移动端两列排列，logo 保持原始比例。 */
  .m-partner-tags {
    margin-top: 0;
  }

  .m-partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m-partner-logos .m-logo {
    min-height: 76px;
    padding: 14px 12px;
  }

  .m-partner-logos .m-logo img {
    max-height: 56px;
    object-fit: contain;
  }

  /* 合作伙伴版块是浅灰底，提示块换成白底才不会与背景糊在一起 */
  .m-partners .m-note {
    background: #fff;
  }
}
