/* 巡黔记响应式优化补丁｜2026-11-27
   仅调整平板/手机端；桌面端原有视觉与布局保持不变。
   重点：首屏视频完整呈现、减少机械纵向堆叠、优化四大产品理念卡片。
*/
img, picture, video, canvas, svg {
  max-width: 100%;
}
@media (max-width: 1024px) {
  html { scroll-padding-top: 76px; }
  body { overflow-x: clip; }
  .shell { width: min(100% - 36px, var(--shell)); }
  .section-heading { gap: 18px; margin-bottom: 28px; }
  .section-heading h2,
  .section-title h2,
  .feature-copy h2,
  .origin-copy h2,
  .co-copy h2 { text-wrap: balance; }
  .photo-grid-four { gap: 14px; }
  .photo-card > div { left: 20px; right: 20px; bottom: 20px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 66px; }
  body {
    font-size: 15px;
    line-height: 1.68;
    overflow-x: clip;
  }
  .shell { width: calc(100% - 32px); }
  .section-pad { padding: 52px 0; }
  .section-heading { gap: 8px; margin-bottom: 22px; }
  .section-heading > p { font-size: 13px; line-height: 1.7; }
  .section-heading h2,
  .section-title h2,
  .feature-copy h2,
  .origin-copy h2,
  .co-copy h2 { font-size: clamp(27px, 7.2vw, 34px); }
  .nav-shell { height: 66px; gap: 16px; }
  .brand { width: 126px; }
  .site-nav { top: 66px; }
  .menu-toggle { min-width: 42px; min-height: 42px; }

  /* 首页首屏：移动端不再使用 145vh 粘性滚动与放大裁切 */
  .v3-hero {
    height: auto !important;
    min-height: 0 !important;
    background: #091118;
  }
  .v3-hero__sticky {
    position: relative !important;
    top: auto !important;
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #091118;
  }
  .v3-hero__video {
    position: absolute !important;
    inset: 0 !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    will-change: auto !important;
  }
  .v3-hero__shade { opacity: .035 !important; }
  .v3-hero__copy { left: 20px; right: 20px; }
  .v3-hero__full { bottom: 12px; right: 14px; }

  /* 首屏后的品牌介绍：缩短上下留白，保留清晰层级 */
  .home-intro-statement { padding: 42px 0 46px; }
  .home-intro-grid { gap: 20px; }
  .home-intro-grid .xqj-home-punct-title {
    font-size: clamp(29px, 8.2vw, 38px);
    line-height: 1.14;
  }
  .home-intro-grid > div:last-child > p {
    font-size: .96rem;
    line-height: 1.75;
  }
  .hero-actions { flex-wrap: wrap; gap: 12px; }

  /* 品牌名称释义：三张卡片横向滑动，避免连续长条堆叠 */
  .deep-name-layout { gap: 22px; }
  .deep-name-meaning-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82%, 1fr);
    grid-template-columns: none;
    gap: 12px;
    margin-right: -16px;
    padding: 0 16px 10px 1px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .deep-name-meaning-list::-webkit-scrollbar { display: none; }
  .deep-name-meaning-card {
    min-height: 158px;
    padding: 16px;
    gap: 12px;
    border-radius: 19px;
    scroll-snap-align: start;
  }
  .deep-name-meaning-card strong {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 1.65rem;
  }
  .deep-name-meaning-card h3 { font-size: 1rem; margin: 1px 0 5px; }
  .deep-name-meaning-card p { font-size: .84rem; line-height: 1.62; }
  .deep-name-rotator { height: 350px; margin-inline: -6px; }
  .deep-name-rotator__inner { width: 218px; height: 306px; }
  .deep-name-rotator__card {
    transform: rotateY(calc(var(--card-index) * 120deg)) translateZ(164px);
    border-radius: 22px;
  }
  .deep-name-rotator__copy { left: 17px; right: 17px; bottom: 17px; }
  .deep-name-rotator__copy h3 { font-size: 1.2rem; }
  .deep-name-rotator__copy p { font-size: .78rem; line-height: 1.55; }

  /* 四大产品理念：手机端采用 2×2 视觉矩阵，不再四张长卡片逐张纵排 */
  .photo-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, clamp(224px, 62vw, 270px)) !important;
    gap: 11px;
  }
  .photo-card,
  .photo-card.tall { grid-row: auto !important; min-width: 0; border-radius: 19px; }
  .photo-card > div { left: 13px; right: 13px; bottom: 14px; }
  .photo-card span { font-size: 9px; }
  .photo-card h3 { font-size: clamp(20px, 6vw, 25px); margin: 3px 0; }
  .photo-card p { font-size: 11px; line-height: 1.45; }

  /* 其他内容模块：保留图文关系，控制过长的移动端留白 */
  .feature-grid, .origin-grid { gap: 26px; }
  .feature-image { aspect-ratio: 16 / 11; border-radius: 22px; }
  .feature-copy > p, .origin-copy > p { font-size: .92rem; line-height: 1.72; }
  .origin-images { min-height: 390px; }
  .origin-main { height: 360px; }
  .origin-float { height: 205px; }
  .film-wrap { border-radius: 18px; }
  .film-wrap video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .deep-news-grid { gap: 22px; min-height: 0; }
  .deep-news-depth { height: 330px; }
  .deep-3d-marquee { height: 390px; }
  .footer-main { gap: 28px; }
  .footer-links { gap: 20px; }

  /* 防止表格、长单词和图片造成页面横向溢出 */
  table { max-width: 100%; }
  .prose, p, li, h1, h2, h3 { overflow-wrap: break-word; }
  img, video, iframe { max-width: 100%; }
}
@media (max-width: 390px) {
  .shell { width: calc(100% - 28px); }
  .photo-grid-four {
    grid-template-rows: repeat(2, 226px) !important;
    gap: 9px;
  }
  .photo-card > div { left: 11px; right: 11px; bottom: 12px; }
  .photo-card h3 { font-size: 20px; }
  .photo-card p { font-size: 10px; }
  .deep-name-meaning-list { grid-auto-columns: 88%; }
  .deep-name-meaning-card { grid-template-columns: 46px minmax(0, 1fr); }
  .deep-name-meaning-card strong { width: 46px; height: 46px; }
}
@media (orientation: landscape) and (max-height: 500px) and (max-width: 900px) {
  .v3-hero__sticky { aspect-ratio: 16 / 9; }
  .section-pad { padding-top: 38px; padding-bottom: 38px; }
}
