/* ============================================================
   赛思云官网 · 移动端 / 笔记本适配
   规则：common.css → 页面 CSS → mobile.css（必须最后引入）

   断点分层（参考 dudutalk官网_20260914 的适配策略）：
     ≥1920        桌面稿原尺寸
     1680–1919    接近桌面稿，等比收窄间距
     1024–1679    笔记本：保持桌面结构，只缩间距 / 字号
     ≤1023        平板 / 手机：允许改结构（汉堡、单列）
     ≤767         手机：单列 + 竖向滚动

   约束：
     · 禁止 100vw 计算版心
     · 1024–1679 保持三列 / 四列结构，只缩间距字号
     · ≤1023 才改列数与定位方式
   ============================================================ */

/* ============================================================
   一、笔记本主区间（1024–1679）：保持桌面结构，只缩间距 / 字号
   ============================================================ */

@media (min-width: 1024px) and (max-width: 1679px) {
  :root {
    --content-width: min(1200px, calc(100% - 80px));
    --section-y: 64px;
    --block-gap: 60px;
    --card-gap: 28px;
    --title-size: 34px;
    --desc-size: 17px;
    --display-size: 42px;
  }

  .page {
    min-width: 0;
  }

  .header__inner {
    width: var(--content-width);
  }

  .nav {
    gap: 28px;
  }

  .header__left {
    gap: 28px;
  }

  /* 首屏标题：容器改为紧贴内容宽度（fit-content）。
     原来固定 432px，标题在其中居中会相对下方左对齐的描述文字右移一截，
     字号变小后偏移比例更大，小屏下尤其明显。 */
  .hero__title {
    text-align: left;
    white-space: nowrap;
  }

  /* 页脚版心：跟随 --content-width 居中，不要 width:100%（会贴到屏幕左边缘） */
  .footer__inner {
    width: var(--content-width);
    max-width: 100%;
  }

  /* 联系信息行：笔记本缩间距，地址列略收窄，其余结构保持桌面版
     商务列同样放宽到 140px，避免邮箱折行 */
  .footer__contact {
    grid-template-columns: minmax(0, 359px) 140px auto;
    column-gap: 60px;
  }

  .footer__addr {
    width: 100%;
  }

  /* 二维码组：桌面版靠右对齐，笔记本版心变窄后仍贴右缘 */
  .footer__qr-group {
    gap: 30px;
  }

  /* 底部导航行：笔记本缩间距，导航项仍保持横排 */
  .footer__nav-row {
    gap: 32px;
  }

  .footer__nav {
    gap: 16px;
  }

  /* 分割线跟随版心：横线在 .footer__inner 内部，宽度用 100% 撑满版心即可 */
  .footer__line {
    width: 100%;
    max-width: 100%;
  }

  /* 指标：笔记本用 space-between 自适应分布，最小间距收一档防挤压 */
  .industries__metrics {
    gap: 40px;
  }

  /* 客户 Logo 墙：笔记本按比例缩小 */
  .clients {
    --logo-gap: 20px;
  }

  .clients__item {
    width: 104px;
    height: 60px;
  }

  .sec-title {
    line-height: 1.3;
  }
}

/* ---------- 笔记本 + 窄屏（1024–1439）：再收一档间距 ---------- */

@media (min-width: 1024px) and (max-width: 1439px) {
  .nav {
    gap: 20px;
    margin-left: 16px;
  }

  .header__left {
    gap: 20px;
  }

  /* 窄笔记本（1024~1439）：正文列右缘约在视口 62% 处，
     压暗层要跟着加宽才能兜住整列文字 */
  .a-hero__scrim {
    width: 66%;
  }

  .a-hero__desc {
    width: min(520px, 100%);
  }

  /* 生态卡四列在 1280 宽下会挤压文案间距，改为 2×2 但仍保持四卡 */
  .ecology__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecology__card {
    height: auto;
    min-height: 152px;
    padding: 24px;
  }
}

/* ============================================================
   二、平板 / 手机（≤1023）：允许改结构
   ============================================================ */

@media (max-width: 1023px) {
  :root {
    --content-width: calc(100% - 40px);
    --section-y: 48px;
    --block-gap: 40px;
    --card-gap: 20px;
    --title-size: 26px;
    --desc-size: 16px;
    --display-size: 32px;
  }

  .page {
    min-width: 0;
  }

  /* ---------- 顶栏：固定白底 + 汉堡菜单 ---------- */

  .header {
    position: fixed;
    height: 56px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  }

  .header__inner {
    width: calc(100% - 40px);
    height: auto;
  }

  .header__right {
    gap: 10px;
  }

  .phone-pill {
    display: none;
  }

  .nav-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.06);
  }

  .nav-toggle span {
    background: #121212;
  }

  .nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 20px 24px;
    background: #fff;
    color: var(--color-text);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }

  .header.is-open .nav {
    display: flex;
  }

  .nav > a,
  .nav > .nav-item > a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--color-line);
  }

  /* 深色顶栏页（关于我们 / 新闻动态）在移动端仍是白底菜单，
     导航项需保持深色可读，Logo 切回深色版 */
  .header.header--on-dark .nav,
  .header.header--on-dark .nav > a,
  .header.header--on-dark .nav > .nav-item > a {
    color: var(--color-text);
  }

  .header--on-dark .logo__img--dark {
    display: block;
  }

  .header--on-dark .logo__img--light {
    display: none;
  }

  /* 白底顶栏上的白色主按钮不可见，改主题色实心 */
  .header--on-dark .btn--white {
    background: var(--color-primary);
    color: var(--color-white);
  }

  .header--on-dark .phone-pill {
    display: none;
  }

  /* 菜单展开时页面不允许滚动 */
  body.nav-open {
    overflow: hidden;
  }

  .sec-label {
    font-size: 16px;
  }

  .sec-desc {
    line-height: 28px;
  }

  /* ---------- 页脚 ---------- */

  .footer {
    padding-top: 40px;
  }

  /* 平板档同样保持版心居中，避免内容贴到屏幕左边缘 */
  .footer__inner {
    width: var(--content-width);
    max-width: 100%;
  }

  /* 平板档：联系信息行改单列，三块内容纵向堆叠 */
  .footer__contact {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
    column-gap: 0;
  }

  /* 纵向堆叠时导航组回到左对齐，不再贴右 */
  .footer__nav,
  .footer__nav--products {
    justify-content: flex-start;
  }

  /* 底部导航行：平板改为纵向堆叠，避免两组导航挤在一行放不下 */
  .footer__nav-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* 地址在窄屏放不下 359px 固定宽，改为跟随版心并允许换行，
     否则 nowrap 的长地址会横向溢出、压到下方的导航列 */
  .footer__addr {
    width: 100%;
    max-width: 100%;
    gap: 24px;
  }

  .footer__info--contact {
    width: 100%;
    max-width: 100%;
  }

  .footer__qr-group {
    justify-self: start;
    margin-top: 0;
    gap: 32px;
  }

  .footer__line {
    width: 100%;
    max-width: 100%;
    margin-top: 40px;
  }

  /* ---------- 首页：四大优势 / 核心能力 / 生态 / 新闻 ---------- */

  /* 平板：四列网格改两列，避免卡片内容被挤扁 */
  .strength__grid,
  .ability__grid,
  .ecology__grid,
  .news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 能力卡：改为常规流式布局，不再绝对定位 */
  .ability__card {
    height: auto;
    min-height: 242px;
    padding: 24px 20px;
  }

  .ability__head {
    position: static;
    gap: 16px;
  }

  .ability__desc {
    position: static;
    margin-top: 20px;
  }

  /* 行业指标：改为两列，整组居中 */
  .industries__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    margin-top: 40px;
  }

  /* 移动端两列：整卡居中，数字与标签都相对卡片中心对齐 */
  .metric {
    align-items: center;
    text-align: center;
  }

  .metric__num {
    justify-content: center;
  }

  .metric__num strong {
    font-size: 36px;
    line-height: 44px;
  }

  .metric__num i {
    font-size: 26px;
    line-height: 44px;
  }

  .metric:nth-child(n) .metric__label {
    margin-left: 0;
  }

  /* 客户 Logo 墙：移动端保持单行横向滚动 */
  .clients {
    --logo-gap: 12px;
    margin-top: 40px;
  }

  .clients__item {
    width: 108px;
    height: 60px;
  }

  /* 生态卡：单列 */
  .ecology__card {
    height: auto;
    padding: 24px;
  }

  .ecology__list li {
    white-space: normal;
  }

  /* 行业列表：面板改单列容器，两行 .industries__row 各自占一行、行内 4 列 */
  .industries__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 16px;
  }

  .industries__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .industries__item {
    height: 52px;
    font-size: 15px;
    /* 4 列时「上门服务」等 4 字标签可能超宽，允许换行 */
    white-space: normal;
    line-height: 1.3;
    padding: 0 4px;
  }

  .industries__item img {
    width: 24px;
    height: 24px;
  }

  /* FAQ */
  .faq__list {
    margin-top: 40px;
  }

  .faq__item {
    padding: 24px 0;
  }

  .faq__q {
    font-size: 16px;
    white-space: normal;
  }

  .faq__item.is-open .faq__a {
    margin-top: 16px;
  }

  .faq__a {
    max-width: 100%;
  }

  /* ---------- 首页：旗下品牌（平板也要改为流式，避免绝对定位溢出） ---------- */

  /* 背景装饰是 1920×760 的横向渐变，窄屏直接 fill 拉伸会
     在左侧压出一条明显的竖直色带。
     移动端改用 CSS 纵向渐变，视觉更干净。 */
  .brand {
    height: auto;
    padding-bottom: 48px;
    background: linear-gradient(
      to bottom,
      #f7f8ff 0%,
      #eef1f8 45%,
      #e5e9f1 100%
    );
  }

  .brand__bg {
    display: none;
  }

  .brand__inner {
    height: auto;
  }

  /* 文案整块：标签 → 商标 → 口号 → 描述，按设计稿顺序流式排列 */
  .brand__copy {
    position: static;
    width: 100%;
    padding-top: 48px;
    gap: 28px;
  }

  /* 标签与商标之间的间距由 .brand__copy-top 内部控制 */
  .brand__copy-top {
    gap: 0;
    width: 100%;
  }

  .brand__copy-top .sec-label {
    margin-bottom: 20px;
  }

  /* 商标：等比缩到移动端宽度。
     注意基础样式 .brand__wordmark img 是 height:100%，
     容器高度一旦变成 auto 图片就会塌成 0 高，
     所以这里用 aspect-ratio 给容器一个确定高度。 */
  .brand__wordmark {
    width: min(200px, 60%);
    height: auto;
    aspect-ratio: 239.694 / 40;
    margin-bottom: 16px;
  }

  .brand__slogan {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 24px;
  }

  .brand__desc {
    max-width: 100%;
    font-size: 14px;
    line-height: 24px;
  }

  /* 产品矩阵整图：宽度按版心 + aspect-ratio，
     不写死像素高度，避免窄屏被拉伸变形。
     同样注意基础样式 .brand__art-img 是 height:100%，
     容器高度为 auto 时图片会塌成 0 高，必须用 aspect-ratio 兜住。 */
  .brand__art {
    position: static;
    width: var(--content-width);
    max-width: 100%;
    height: auto;
    margin: 32px auto 0;
    transform: none;
  }

  .brand__art-img {
    width: 100%;
    height: auto;
    aspect-ratio: 2391 / 1698;
    object-fit: contain;
  }

  /* ---------- 首页首屏（轮播） ---------- */

  /* 移动端：轮播仍为叠放切换，单屏内文案在上、图形在下 */
  .hero {
    height: 760px;
  }

  .hero__slide {
    display: flex;
    flex-direction: column;
  }

  .hero__content,
  .hero__content--2 {
    padding-top: 120px;
  }

  .hero__text,
  .hero__text--2 {
    width: fit-content;
    max-width: 100%;
  }

  .hero__title,
  .hero__title--2 {
    font-size: 32px;
    line-height: 42px;
    text-align: left;
    white-space: normal;
  }

  .hero__desc,
  .hero__desc--2 {
    margin-top: 16px;
    max-width: 100%;
    font-size: 15px;
    line-height: 26px;
    white-space: normal;
  }

  .hero__actions,
  .hero__actions--2 {
    margin-top: 32px;
  }

  /* 移动端：底图改为整图铺满（产品图与卡片已并入底图） */
  .hero__bg2 img {
    object-fit: cover;
    object-position: center;
  }

  .hero__side {
    display: none;
  }

  /* 指示条：移动端居中靠下 */
  .hero__bar {
    bottom: 24px;
  }

  .hero__dot {
    width: 44px;
  }

  /* ---------- 关于我们页 ---------- */

  /* 首屏：文案与数据卡片改为纵向流式，不再绝对定位 */
  .a-hero {
    height: auto;
    padding-top: 96px;
    padding-bottom: 48px;
    overflow: hidden;
  }

  /* 背景整图退到最底层铺满，文字与数据卡叠在其上，保证可读性 */
  .a-hero__mask {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 750 / 1154;
    opacity: 1;
  }

  .a-hero__mask img {
    position: absolute;
  }

  .a-hero__veil {
    display: none;
  }

  /* 整图自带深蓝底色与顶部光晕，无需再叠压暗层 */
  .a-hero__scrim {
    display: none;
  }

  .a-hero__copy {
    position: relative;
    z-index: 1;
    top: auto;
    left: auto;
    transform: none;
    width: var(--content-width);
    margin: 0 auto;
    gap: 20px;
  }

  .a-hero__title {
    width: auto;
    font-size: 32px;
    line-height: 42px;
    white-space: normal;
  }

  .a-hero__subtitle {
    width: auto;
    font-size: 16px;
    line-height: 24px;
    white-space: normal;
  }

  .a-hero__desc {
    width: 100%;
  }

  .a-hero__desc-p {
    font-size: 14px;
    line-height: 24px;
  }

  /* 数据卡片：两列 */
  .a-stats {
    position: relative;
    z-index: 1;
    top: auto;
    left: auto;
    transform: none;
    width: var(--content-width);
    margin: 40px auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .a-stat {
    width: 100%;
    height: auto;
    padding: 20px 12px;
  }

  .a-stat__num strong {
    font-size: 32px;
    line-height: 40px;
  }

  .a-stat__num i {
    font-size: 24px;
    line-height: 40px;
  }

  .a-stat__label {
    margin-top: 4px;
    font-size: 13px;
    white-space: normal;
  }

  /* 发展历程：单列，卡片自适应宽度 */
  .a-history {
    padding: 48px 0;
  }

  .a-section-title {
    font-size: 28px;
    line-height: 40px;
  }

  .a-history__viewport {
    margin-top: 28px;
    padding-left: 0;
    /* 桌面端是 overflow: hidden（配合 transform 平移裁切），
       窄屏改成原生横向滚动：overflow-x 用 auto，
       overflow-y 显式写成 hidden，视窗才会真正成为横向滚动容器。 */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  /* 窄屏原生横向滚动：禁止轨道被 transform 整体左移 */
  .a-history__viewport.is-scrollable .a-history__track {
    transform: none !important;
  }

  .a-history__viewport::-webkit-scrollbar {
    display: none;
  }

  .a-history__track {
    gap: 16px;
    /* 轨道必须比视窗宽才能产生横向滚动 */
    width: max-content;
    min-width: 100%;
  }

  .a-milestone {
    width: 260px;
    height: auto;
    min-height: 220px;
    padding: 24px;
  }

  .a-milestone--active {
    padding: 24px;
  }

  /* 移动端取消 116px 定宽，年份与标题随内容宽度 */
  .a-milestone--center .a-milestone__head {
    width: auto;
  }

  .a-milestone__year {
    font-size: 34px;
    line-height: 42px;
  }

  .a-milestone__label {
    font-size: 17px;
    line-height: 24px;
    white-space: normal;
  }

  .a-milestone__line {
    width: 100%;
  }

  /* 移动端改为手动横向滑动，隐藏左右箭头 */
  .a-history__nav {
    display: none;
  }

  .a-idea {
    padding: 48px 0;
  }

  .a-idea .sec-label {
    margin: 48px 0 24px;
  }

  /* 核心理念：单列 */
  .a-idea__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .a-idea__card {
    height: 220px;
    padding: 0 24px;
    /* 窄卡片里背景图若铺满（cover）会把立方体图形拉到文字上，
       这里让背景图靠右只占右半边，左侧文字区保持干净底色，避免压字。 */
    justify-content: flex-start;
    padding-top: 32px;
  }

  /* 背景图：只铺右半边，靠右对齐，左侧留给文字
     （inset: 0 是基类的简写，这里要显式覆盖 left/right/top/bottom，
       否则 left:50% 与 width:50% 会溢出卡片） */
  .a-idea__bg {
    top: 0;
    bottom: 0;
    left: 50%;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }

  /* 移动端改回静态流式排版，避免绝对定位溢出 */
  .a-idea__text {
    position: static;
    inset: auto;
    pointer-events: auto;
  }

  .a-idea__name,
  .a-idea__desc {
    position: static;
    left: auto;
    top: auto;
  }

  .a-idea__desc {
    /* 背景图占了右半边，文案限制在左侧区域内，避免压到立方体图形 */
    width: 100%;
    max-width: 52%;
    margin-top: 13px;
  }

  .a-idea__line--bottom {
    margin-top: 48px;
  }

  /* 价值观：单列 */
  .a-values {
    padding: 48px 0;
  }

  .a-values .sec-label {
    margin-bottom: 24px;
  }

  .a-values__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .a-value {
    height: auto;
    padding: 28px 20px;
  }

  .a-value:hover {
    padding: 28px 20px;
  }

  .a-value__desc {
    width: 100%;
  }

  /* 资质与荣誉：横向滑动 */
  .a-honors {
    padding: 48px 0;
  }

  .a-honors__viewport {
    margin-top: 32px;
    padding-left: 0;
    /* 桌面端是 overflow: hidden（配合 JS 自动滚动裁切两端），
       窄屏改成原生横向滚动：overflow-x 用 auto，
       overflow-y 显式写成 hidden（避免 shorthand 残留的默认值），
       这样视窗才会真正成为横向滚动容器。 */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* 底部不要留出多余空白，滚动条已隐藏 */
    padding-bottom: 0;
  }

  /* 窄屏原生横向滚动：禁止轨道被 transform 整体左移
     （JS 在窄屏会清掉 transform，这里再加一道保险） */
  .a-honors__viewport.is-scrollable .a-honors__track {
    transform: none !important;
  }

  .a-honors__viewport::-webkit-scrollbar {
    display: none;
  }

  .a-honors__track {
    gap: 16px;
    /* 轨道必须比视窗宽才能产生横向滚动：
       max-content 由卡片内容宽度决定，不要写成 min-width:100% 就完事 */
    width: max-content;
    min-width: 100%;
    /* 移动端原生滚动更跟手，禁用惯性延迟 */
    will-change: auto;
  }

  .a-honor {
    width: auto !important;
    max-width: 160px;
  }

  .a-honor__img,
  .a-honor--plain .a-honor__img {
    height: 118px;
  }

  .a-honor__img img,
  .a-honor__img img.a-honor__pair,
  .a-honor--plain .a-honor__img img {
    height: 108px;
  }

  /* ---------- 联系我们页 ---------- */

  /* 首屏：改为纵向流式，光晕缩小后置底 */
  .c-hero {
    height: auto;
    padding: 96px 0 48px;
    overflow: hidden;
  }

  /* 光晕移到文字下方作为背景，避免压住标题 */
  .c-hero__glow--blue {
    left: 46%;
    top: 190px;
    width: 200px;
    height: 200px;
    --k: 0.54;
    opacity: 0.7;
  }

  .c-hero__glow--blue2 {
    left: -12%;
    top: 60px;
    width: 280px;
    height: 280px;
    --k: 0.52;
    opacity: 0.7;
  }

  .c-hero__glow--green {
    left: -6%;
    top: 300px;
    width: 280px;
    height: 280px;
    --k: 0.52;
    opacity: 0.7;
  }

  .c-hero__inner {
    position: relative;
    display: block;
    height: auto;
    padding-top: 0;
  }

  .c-hero__copy {
    position: relative;
    margin-left: 0;
  }

  .c-hero__title {
    font-size: 32px;
    line-height: 44px;
    white-space: normal;
  }

  .c-hero__desc {
    font-size: 16px;
    line-height: 26px;
    white-space: normal;
  }

  /* 海报居中，限宽避免过大 */
  .c-hero__card {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
  }

  /* 表单：单列 */
  .c-form {
    padding: 56px 0 72px;
  }

  .c-form__head {
    margin-bottom: 32px;
  }

  .c-form__title {
    font-size: 28px;
    line-height: 40px;
  }

  .c-form__sub {
    font-size: 16px;
    line-height: 26px;
  }

  .c-form__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .c-form__col {
    gap: 20px;
  }

  .c-field__label {
    font-size: 16px;
  }

  .c-field__input {
    height: 44px;
    padding: 10px 16px;
    font-size: 15px;
  }

  .c-field__input--area {
    height: 120px;
  }

  .c-form__submit {
    width: 100%;
    margin-top: 8px;
  }

  /* 提交成功弹层：贴近屏幕、按钮加大便于点按 */
  .c-success {
    padding: 16px;
  }

  .c-success__box {
    max-width: 340px;
    padding: 28px 24px 24px;
  }

  .c-success__title {
    font-size: 20px;
    line-height: 28px;
  }

  .c-success__btn {
    height: 46px;
    font-size: 16px;
  }

  /* ---------- 新闻动态页 ---------- */

  /* 首屏：改为纵向流式，高度自适应 */
  .n-hero {
    height: auto;
    min-height: 420px;
  }

  .n-hero__content {
    gap: 16px;
    padding-top: 120px;
    padding-bottom: 56px;
  }

  .n-hero__title {
    font-size: 32px;
    line-height: 1.3;
  }

  .n-hero__sub {
    font-size: 16px;
    line-height: 26px;
  }

  /* 列表：缩略图与文案改为纵向堆叠 */
  .n-list {
    gap: 16px;
  }

  .n-item {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .n-item__cover {
    flex: none;
    width: 100%;
    aspect-ratio: 373 / 204;
  }

  .n-item__body {
    flex: none;
    width: 100%;
    gap: 10px;
  }

  .n-item__title {
    font-size: 17px;
    line-height: 26px;
  }

  .n-item__desc {
    font-size: 13px;
    line-height: 22px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  /* 翻页器 */
  .n-pager {
    gap: 8px;
    margin-top: 32px;
  }

  .n-pager__btn {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  /* CTA */
  .n-cta {
    padding: 48px 0;
  }

  .n-cta__inner {
    gap: 32px;
  }

  .n-cta__title {
    font-size: 24px;
    line-height: 34px;
  }

  .n-cta__desc {
    font-size: 15px;
    line-height: 26px;
  }

  .n-cta__actions {
    gap: 16px;
  }

  /* ---------- 新闻动态详情页 ---------- */

  .nd {
    padding: 96px 0 40px;
  }

  /* 单栏：侧边栏移到正文下方 */
  .nd__layout {
    display: block;
  }

  .nd__main {
    max-width: none;
  }

  .nd__tabs {
    height: 60px;
  }

  .nd__tabs a {
    font-size: 24px;
    line-height: 60px;
  }

  .nd__title {
    margin-top: 32px;
    font-size: 22px;
    line-height: 32px;
  }

  .nd__meta {
    margin-top: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    font-size: 13px;
  }

  .nd__content p {
    font-size: 15px;
    line-height: 28px;
  }

  .nd__content h2 {
    margin: 28px 0 12px;
    font-size: 18px;
    line-height: 28px;
  }

  .nd__tags {
    gap: 10px;
    margin-top: 24px;
  }

  .nd__pager {
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
  }

  .nd__pager a {
    flex: 1 1 0;
    width: auto;
    height: 40px;
    line-height: 38px;
  }

  .nd__side {
    width: 100%;
    padding-top: 32px;
  }

  .nd__demo a {
    max-width: none;
  }

  .nd-cta {
    padding: 48px 0;
  }

  .nd-cta__inner {
    gap: 32px;
  }

  .nd-cta__title {
    font-size: 24px;
    line-height: 34px;
  }

  .nd-cta__desc {
    font-size: 15px;
    line-height: 26px;
  }

  .nd-cta__actions {
    gap: 16px;
  }
}

/* ============================================================
   三、手机（≤767）：单列 + 竖向堆叠
   ============================================================ */

@media (max-width: 767px) {
  :root {
    --content-width: calc(100% - 32px);
    --section-y: 40px;
    --block-gap: 32px;
    --card-gap: 16px;
    --title-size: 22px;
  }

  .sec-title {
    line-height: 1.35;
  }

  .header__inner {
    width: calc(100% - 32px);
  }

  .nav {
    padding: 8px 16px 24px;
  }

  /* ---------- 首页 ---------- */

  /* 首屏：按视口高度自适应，避免小屏出现大片空白 */
  .hero {
    height: 640px;
  }

  .hero__content,
  .hero__content--2 {
    padding-top: 104px;
  }

  .hero__title,
  .hero__title--2 {
    font-size: 28px;
    line-height: 38px;
  }

  .hero__desc,
  .hero__desc--2 {
    font-size: 14px;
    line-height: 24px;
  }

  .hero__actions,
  .hero__actions--2 {
    margin-top: 24px;
  }

  /* 图形层整体下移并缩小，给文案留足空间 */
  .hero__bar {
    bottom: 20px;
  }

  .hero__dot {
    width: 32px;
  }

  /* 四大优势 / 核心能力 / 生态 / 新闻：单列 */
  .strength__grid,
  .ability__grid,
  .ecology__grid,
  .news__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 旗下品牌：手机端再收一档间距 */
  .brand {
    padding-bottom: 40px;
  }

  .brand__copy {
    padding-top: 40px;
    gap: 24px;
  }

  .brand__wordmark {
    width: min(170px, 58%);
    margin-bottom: 14px;
  }

  .brand__slogan {
    font-size: 15px;
    line-height: 22px;
  }

  .brand__art {
    margin: 24px auto 0;
  }

  /* 行业指标：两列但数字缩小 */
  .metric__num strong {
    font-size: 30px;
    line-height: 38px;
  }

  .metric__num i {
    font-size: 22px;
    line-height: 38px;
  }

  /* 行业列表：手机端更紧凑，每行 3 项 */
  .industries__list {
    gap: 10px;
    padding: 20px 14px;
  }

  .industries__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .industries__item {
    height: 48px;
    font-size: 14px;
    gap: 6px;
    /* 窄屏 3 列时「上门服务」这类 4 字标签可能超宽，允许换行 */
    white-space: normal;
    line-height: 1.3;
    padding: 0 4px;
  }

  .industries__item img {
    width: 22px;
    height: 22px;
  }

  /* CTA 按钮竖排 */
  .hero__actions,
  .cta__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* ---------- 关于我们页 ---------- */

  .a-hero {
    padding-top: 88px;
    padding-bottom: 40px;
  }

  .a-hero__title {
    font-size: 27px;
    line-height: 36px;
  }

  .a-stat {
    padding: 16px 10px;
  }

  .a-stat__num strong {
    font-size: 28px;
    line-height: 34px;
  }

  .a-stat__num i {
    font-size: 20px;
    line-height: 34px;
  }

  .a-stat__label {
    font-size: 12px;
  }

  .a-section-title {
    font-size: 24px;
    line-height: 34px;
  }

  .a-milestone {
    width: 240px;
    min-height: 200px;
  }

  .a-idea__card {
    height: 200px;
  }

  /* ---------- 联系我们页 ---------- */

  .c-hero {
    padding: 88px 0 40px;
  }

  .c-hero__title {
    font-size: 27px;
    line-height: 38px;
  }

  .c-form {
    padding: 44px 0 56px;
  }

  .c-form__title {
    font-size: 24px;
    line-height: 34px;
  }

  .c-form__sub {
    font-size: 14px;
    line-height: 24px;
  }

  /* ---------- 新闻动态页 ---------- */

  .n-hero {
    min-height: 360px;
  }

  .n-hero__content {
    padding-top: 104px;
    padding-bottom: 44px;
  }

  .n-hero__title {
    font-size: 28px;
  }

  .n-hero__sub {
    font-size: 14px;
    line-height: 24px;
  }

  .n-item {
    padding: 14px;
  }

  .n-item__title {
    font-size: 16px;
    line-height: 24px;
  }

  .n-item__desc {
    font-size: 12px;
    line-height: 20px;
  }

  .n-pager {
    gap: 6px;
    margin-top: 24px;
  }

  .n-pager__btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .n-pager__ellipsis {
    width: 16px;
    font-size: 12px;
  }

  /* ---------- 新闻动态详情页 ---------- */

  .nd {
    padding: 88px 0 32px;
  }

  .nd__tabs {
    height: 52px;
  }

  .nd__tabs a {
    font-size: 20px;
    line-height: 52px;
  }

  .nd__title {
    margin-top: 24px;
    font-size: 20px;
    line-height: 30px;
  }

  .nd__content p {
    font-size: 14px;
    line-height: 26px;
  }

  .nd__content h2 {
    margin: 24px 0 10px;
    font-size: 17px;
    line-height: 26px;
  }

  .nd__side h2 {
    height: 52px;
    font-size: 18px;
    line-height: 52px;
  }

  /* ---------- CTA 通用 ---------- */

  .cta__inner,
  .n-cta__inner,
  .nd-cta__inner,
  .a-cta__inner {
    gap: 28px;
  }

  .cta__title,
  .n-cta__title,
  .nd-cta__title,
  .a-cta__title {
    font-size: 21px;
    line-height: 30px;
  }

  .cta__desc,
  .n-cta__desc,
  .nd-cta__desc,
  .a-cta__desc {
    font-size: 14px;
    line-height: 24px;
  }

  .cta__actions,
  .n-cta__actions,
  .nd-cta__actions,
  .a-cta__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta__actions .btn,
  .n-cta__btn,
  .nd-cta__btn,
  .a-cta__btn {
    width: 100%;
    max-width: 320px;
  }

  /* ---------- 页脚：手机端整体隐藏 ---------- */

  .footer {
    display: none;
  }
}

/* ============================================================
   三点五、首页 / 关于我们 首屏（移动端新稿，Figma 750 宽）
   几何尺寸用容器宽度单位 cqw（1 设计 px = 100/750 cqw），
   字号取 max(下限, 设计值)，保证小屏可读。仅 ≤1023 生效，不影响 PC。
   ============================================================ */

/* 移动端专用素材：桌面端一律隐藏 */
.hero__bg-m,
.hero__bg2-m,
.a-hero__bg-m {
  display: none;
}

@media (max-width: 1023px) {
  .hero__bg-d,
  .hero__side-d,
  .hero__bg2-d,
  .a-hero__bg-d {
    display: none;
  }

  .hero__bg-m,
  .hero__bg2-m,
  .a-hero__bg-m {
    display: block;
  }

  /* ---------- 顶栏：首屏上透明，滚动 / 展开菜单后恢复白底 ---------- */

  .page--home .logo,
  .page--about .logo {
    width: 121px;
    height: 20px;
  }

  .page--home .logo img,
  .page--about .logo img {
    width: 121px;
    height: 20px;
  }

  .page--home .header:not(.is-stuck):not(.is-open),
  .page--about .header:not(.is-stuck):not(.is-open) {
    position: absolute;
    height: 60px;
    background: transparent;
    box-shadow: none;
  }

  .page--home .header:not(.is-stuck):not(.is-open) .header__right .btn,
  .page--about .header:not(.is-stuck):not(.is-open) .header__right .btn {
    display: none;
  }

  .page--home .header:not(.is-stuck):not(.is-open) .nav-toggle,
  .page--about .header:not(.is-stuck):not(.is-open) .nav-toggle {
    background: rgba(0, 0, 0, 0.2);
  }

  .page--home .header:not(.is-stuck):not(.is-open) .nav-toggle span,
  .page--about .header:not(.is-stuck):not(.is-open) .nav-toggle span {
    background: #fff;
  }

  /* 关于页透明顶栏：用白色 Logo */
  .page--about .header:not(.is-stuck):not(.is-open) .logo__img--dark {
    display: none;
  }

  .page--about .header:not(.is-stuck):not(.is-open) .logo__img--light {
    display: block;
  }

  /* ---------- 首页首屏 ----------
     移动端改用「整图」：每屏一张 750×880 的背景图，
     图内已含立方体纹理、产品图与卡片，不再叠加独立图层。
     1 设计 px = 100/750 cqw。 */

  .hero {
    container-type: inline-size;
    height: auto;
    aspect-ratio: 750 / 880;
  }

  .hero__slide--2 {
    background: #c3c7d6;
  }

  .hero__slide::before {
    background: #f7f8fe;
    transform: none;
  }

  /* 第 1 屏：整图铺满
     注意：基础样式 .hero__bg img 带 opacity:.39（PC 纹理用），
     选择器权重更高，这里必须用 .hero__bg .hero__bg-m 覆盖，
     否则移动端整图会被压到 39% 透明度。 */
  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .hero__bg .hero__bg-m {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
  }

  /* 第 1 屏的产品图已并入整图，PC 端图层在移动端隐藏 */
  .hero__side {
    display: none;
  }

  /* 第 2 屏：整图铺满 */
  .hero__bg2 {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  .hero__bg2 .hero__bg2-m {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 文案 + 按钮：文案居中靠上，按钮贴底 */
  .hero .hero__content,
  .hero .hero__content--2 {
    position: absolute;
    top: 19.77cqw;
    right: 12.27cqw;
    bottom: 7.07cqw;
    left: 12.27cqw;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .hero .hero__text,
  .hero .hero__text--2 {
    width: 100%;
  }

  .hero .hero__eyebrow {
    font-size: max(12px, 2.4cqw);
    line-height: 1.4;
    white-space: normal;
  }

  .hero .hero__title,
  .hero .hero__title--2 {
    margin-top: 2px;
    font-size: max(22px, 5.6cqw);
    line-height: 8cqw;
    text-align: center;
    white-space: normal;
  }

  .hero .hero__desc,
  .hero .hero__desc--2 {
    margin-top: 10px;
    max-width: 100%;
    font-size: max(11px, 2.67cqw);
    line-height: 1.65;
    text-align: center;
    white-space: normal;
  }

  .hero .hero__actions,
  .hero .hero__actions--2 {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    margin-top: auto;
  }

  .hero .hero__actions .btn,
  .hero .hero__actions--2 .btn {
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
  }

  .hero .hero__bar {
    bottom: 8px;
  }

  .hero .hero__dot {
    width: 28px;
  }

  /* ---------- 关于我们首屏 ----------
     移动端改用整图：一张 750×1154 的背景图，
     图内已含深蓝底色与顶部光晕，直接铺满整屏。 */

  .a-hero {
    container-type: inline-size;
    padding-top: 28.17cqw;
    padding-bottom: 5.56cqw;
  }

  .a-hero__mask {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 750 / 1154;
    opacity: 1;
  }

  .a-hero__mask img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .a-hero__scrim {
    display: none;
  }

  .a-hero__copy {
    gap: 9.5cqw;
  }

  .a-hero__head {
    gap: 6px;
  }

  .a-hero__title {
    font-size: max(24px, 5.6cqw);
    line-height: 1.4;
  }

  .a-hero__subtitle {
    font-size: max(12px, 2.4cqw);
    font-weight: 700;
    line-height: 1.5;
  }

  .a-hero__desc-p {
    font-size: max(12px, 2.4cqw);
    line-height: 1.75;
  }

  .a-hero__desc-p + .a-hero__desc-p {
    margin-top: 1.75em;
  }

  /* 设计稿只有 4 张卡：10+ / 500+ / 20+ / 60+，隐藏 30W+ 与 150W+ */
  .a-stats {
    margin-top: 5.33cqw;
    gap: 5.33cqw;
  }

  .a-stat:nth-child(3),
  .a-stat:nth-child(5) {
    display: none;
  }

  .a-stat {
    min-height: 21.6cqw;
    padding: 3cqw 8px;
  }

  .a-stat__num strong {
    font-size: max(26px, 6.4cqw);
    line-height: 1.2;
  }

  .a-stat__num i {
    font-size: max(20px, 4.8cqw);
    line-height: 1.2;
  }

  .a-stat__label {
    font-size: max(11px, 1.87cqw);
  }
}

/* ============================================================
   四、无障碍：尊重系统「减少动画」设置
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .clients__track {
    animation: none;
  }

  .clients {
    overflow-x: auto;
  }

  .hero__slide,
  .hero__dot,
  .strength__card,
  .n-item,
  .a-value,
  .faq__icon {
    transition: none !important;
  }
}
