/* ============================================================
   index.css - 首页独有样式
   设计还原：Figma 6IQbrSkl6E8PGe3uxyY1gH (node 625-1771 首页)
   主体结构：全屏视频横幅（1920×1080 物流中心4K航拍视频）
   ============================================================ */

/* ========== 首页主视觉 ========== */
.home-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  min-height: 640px;
  background: #1a1d20 url('../../assets/images/index/hero-poster.jpg') center center / cover no-repeat;
  overflow: hidden;
}

/* 背景视频：铺满容器，等比裁切不拉伸 */
.home-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 100%;
  background: #1a1d20;
  z-index: 0;
  /* 禁止长按/拖拽保存视频（Safari、移动端 WebKit） */
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

/* 深色遮罩：视频上方覆盖一层半透明黑色遮罩（Figma rgba(0,0,0,0.6)） */
/* .home-hero-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.164);
  z-index: 1;
} */

/* 首页系统登录框：定位于主视觉右下角（Figma 625-1771 登录框，630×77） */
.home-xinxi {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 630px;
  height: 77px;
  background: linear-gradient(44deg, rgba(87, 87, 92, 0.42) 0%, rgba(183, 183, 194, 0.42) 100%);
  border-radius: 4px 0 0 0;
  box-sizing: border-box;
}

/* 登录框标题（浅色标签） */
.home-xinxi .hx-title {
  position: absolute;
  left: 12px;
  top: 2px;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #F5F7FA;
  white-space: nowrap;
}

/* 标题下划线：灰色长线，红色段落位于标题下方 */
.home-xinxi .hx-line {
  position: absolute;
  left: 13px;
  top: 30px;
  width: 615px;
  height: 1px;
  background: #93959D;
}

.home-xinxi .hx-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 95px;
  height: 1px;
  background: #DA0029;
}

/* 登录表单行 */
.home-xinxi .hx-form {
  position: absolute;
  left: 12px;
  top: 35px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-xinxi .hx-field {
  display: flex;
  align-items: center;
  gap: 4px;
}

.home-xinxi .hx-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
  /* 图标统一变白（用户名/密码图标，避免修改 SVG 资产） */
  filter: brightness(0) invert(1);
}

.home-xinxi .hx-text {
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  color: #F5F7FA;
  white-space: nowrap;
}

.home-xinxi .hx-input {
  width: 80px;
  height: 25px;
  background: #E9EEF3;
  border: none;
  outline: none;
  border-radius: 2px;
  box-sizing: border-box;
  padding: 0 8px;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 14px;
  color: #57575C;
}

.home-xinxi .hx-field-password .hx-input {
  width: 89px;
  height: 23px;
}

/* 验证码输入框（Figma 89×23，浅灰底） */
.home-xinxi .hx-captcha-input {
  width: 89px;
  height: 23px;
}

.home-xinxi .hx-captcha-input::placeholder {
  color: #57575C;
}

.home-xinxi .hx-captcha {
  width: 82px;
  height: 31px;
  display: block;
  flex-shrink: 0;
  cursor: pointer;
}

.home-xinxi .hx-btn {
  width: 80px;
  height: 31px;
  background: #DA0029;
  border: none;
  border-radius: 2px;
  color: #FFFFFF;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 31px;
  text-align: center;
  padding: 0;
  cursor: pointer;
}

.home-xinxi .hx-btn:hover {
  background: #ac0d2a;
}

.home-xinxi .hx-btn:active {
  background: #8f0a22;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding-bottom: 20px;
  /* 文字层不拦截鼠标事件，保证右下角登录框（用户名/密码/验证码）可正常输入 */
  pointer-events: none;
}

/* Banner 文字面板（Figma 1879:7634：429×330.82，rgba(0,0,0,.37)，圆角 4px） */
.home-hero-panel {
  box-sizing: border-box;
  width: 510px;
  max-width: 100%;
  padding: 40px 26px 40px 34px;
  background: rgba(0, 0, 0, 0.37);
  border-radius: 4px;
}

.home-hero-content h1 {
  font-size: 38px;
  font-weight: 300;
  line-height: 58px;
  color: #ffffff;
  margin: 0;
}

.home-hero-content h1 span {
  display: block;
}

.home-hero-content h1 .home-hero-title-dim {
  color: rgb(255, 255, 255);
}

/* 第三行副标题（Figma 1044:3193 ts7：26px / Semilight / 行高 67px） */
.home-hero-content h1 .home-hero-slogan {
  position: relative;
  font-size: 32px;
  font-weight: 500;
  line-height: 67px;
}

/* 第二行与第三行之间的短横线（Figma 1877:7630：63.58×1.71，#D9D9D9） */
.home-hero-content h1 .home-hero-slogan::before {
  content: '';
  position: absolute;
  left: 1.65px;
  top: 0;
  width: 63.58px;
  height: 1.71px;
  background: #D9D9D9;
}

/* 标题与描述之间的斜线装饰（Figma 1044:3196：184×14） */
.home-hero-deco {
  display: block;
  width: 184px;
  height: 14px;
  margin-top: 22px;
}

.home-hero-desc {
  max-width: 329px;
  font-size: 18px;
  line-height: 24px;
  color: #DBDFE8;
  margin: 23px 0 0;
}

/* 预约演示按钮（弹窗交互复用公共组件，主色 #DA0029，圆角 6px） */
.banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 128px;
  height: 42px;
  margin-top: 31px;
  background: #DA0029;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
  /* 预约演示按钮在文字层内恢复可点击 */
  pointer-events: auto;
}

.banner-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.banner-btn:hover {
  background: #ac0d2a;
  color: #fff;
}

/* 面板内文案与按钮间距（Figma 1879:7633 column gap 16px） */
.home-hero-panel .banner-btn {
  margin-top: 16px;
}

/* ========== 底部红粉双条（站内统一视觉元素） ========== */
.banner-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  z-index: 2;
}

.strip-red {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: #DA0029;
}

.strip-pink {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 5px;
  background: #EF93A4;
}

/* ========== 响应式适配 ========== */

/* 平板/中屏 */
@media (max-width: 992px) {
  .home-hero {
    min-height: 520px;
  }

  .home-hero-panel {
    width: 380px;
    padding: 32px 22px 32px 28px;
  }

  .home-hero-content h1 {
    font-size: 32px;
    line-height: 48px;
  }

  .home-hero-content h1 .home-hero-slogan {
    font-size: 22px;
    line-height: 56px;
  }

  .home-hero-content h1 .home-hero-slogan::before {
    top: 10px;
    width: 54px;
    height: 1.5px;
  }

  .home-hero-deco {
    width: 150px;
    height: 11px;
    margin-top: 18px;
  }

  .home-hero-desc {
    max-width: 320px;
    font-size: 15px;
    line-height: 24px;
    margin-top: 18px;
  }
}

/* 手机端视频加载提示（黑底白字，绝对定位覆盖，不占布局；桌面端不显示） */
.home-hero-loading {
  display: none;
}

/* 手机端视频画布（替代原生 video 画面，规避浏览器视频控件；桌面端不显示） */
.home-hero-canvas {
  display: none;
}

/* 移动端 */
@media (max-width: 768px) {
  .home-hero {
    height: auto;
    min-height: 480px;
    padding: 0 0 80px;
  }

  /* 去掉视频顶部浅色区域（天空），避免 header 与 banner 之间出现白带 */
  .home-hero-video {
    top: -25%;
    height: 150%;
    object-position: center;
    /* 手机端禁止点击/长按视频呼出下载、画中画等菜单 */
    pointer-events: none;
  }

  /* 启用画布渲染后，原生 video 缩为 1px 隐藏，浏览器不再注入下载/小窗/全屏/投屏等控件 */
  .home-hero-video.is-canvas-render {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  /* 画布按原视频位置等比铺满主视觉（object-fit: cover，居中裁切） */
  .home-hero-canvas {
    position: absolute;
    left: 0;
    top: -25%;
    z-index: 0;
    display: block;
    width: 100%;
    height: 150%;
    pointer-events: none;
  }

  /* 网络较慢时展示的加载提示 */
  .home-hero-loading.is-visible {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    pointer-events: none;
  }

  /* 手机端隐藏系统管理平台信息图 */
  .home-xinxi {
    display: none;
  }

  .home-hero-content {
    padding-bottom: 0;
  }

  .home-hero-panel {
    width: 100%;
    max-width: 420px;
    padding: 28px 24px 28px 28px;
  }

  .home-hero-content h1 {
    font-size: 24px;
    line-height: 36px;
  }

  .home-hero-content h1 .home-hero-slogan {
    font-size: 17px;
    line-height: 44px;
  }

  .home-hero-content h1 .home-hero-slogan::before {
    top: 8px;
    width: 44px;
    height: 1.2px;
  }

  .home-hero-deco {
    width: 120px;
    height: 9px;
    margin-top: 12px;
  }

  .home-hero-desc {
    max-width: 100%;
    font-size: 14px;
    line-height: 22px;
    margin-top: 16px;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .home-hero {
    min-height: 440px;
    padding: 50px 0 70px;
  }

  .home-hero-content h1 {
    font-size: 20px;
    line-height: 30px;
  }

  .home-hero-content h1 .home-hero-slogan {
    font-size: 15px;
    line-height: 38px;
  }

  .home-hero-content h1 .home-hero-slogan::before {
    top: 7px;
    width: 40px;
    height: 1px;
  }

  .home-hero-panel {
    padding: 24px 20px 24px 24px;
  }
}

/* ============================================================
   Footer 产品中心嵌套展开样式（仅作用于本页，不影响全局 footer.css）
   - 一级：数字化物流 / 数字化供应链
   - 二级：多式联运 / 公路物流
   ============================================================ */



/* 外层 sub 的 l3 容器（内含内层 sub）：给内层 sub 之间加点间距 */
.footer-col-col-product>.footer-col-sub>.footer-col-l3>.footer-col-sub {
  margin-bottom: 8px;
}

.footer-col-col-product>.footer-col-sub>.footer-col-l3>.footer-col-sub:last-child {
  margin-bottom: 0;
}

/* 二级分组的 l3 内链：缩进一点，视觉上区分层级 */
.footer-col-col-product .footer-col-l3>.footer-col-sub>.footer-col-l3 a {
  padding-left: 12px;
  position: relative;
}

.footer-col-col-product .footer-col-l3>.footer-col-sub>.footer-col-l3 a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 1px;
  background: #999;
}

/* ==================== 首页：公司介绍 / 产品介绍 / 新闻资讯 / 客户案例（Figma 625-1771） ==================== */

/* 标题行：标题左对齐 + 右侧「更多」（Figma：row / space-between / align center） */
.home-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-title-text {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #57575C;
}

/* 「更多」：16px/400，#57575C + 9.9×9.9 箭头，间距 4px */
.home-title-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  color: #57575C;
  text-decoration: none;
  transition: color 0.25s ease;
}

.home-title-more svg {
  display: block;
  width: 10px;
  height: 10px;
}

.home-title-more:hover {
  color: #DA0029;
}

/* 产品介绍：深色背景，标题与「更多」均为白色 */
.home-title--light .home-title-text,
.home-title--light .home-title-more {
  color: #FFFFFF;
}

.home-title--light .home-title-more:hover {
  color: #EF93A4;
}

/* 通用左右翻页 */
.home-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 32px;
}

.home-nav--center {
  justify-content: center;
  margin-top: 40px;
}

/* 荣誉资质：翻页控件居中（仅调整水平对齐，间距等不变） */
.home-honor .home-nav {
  justify-content: center;
}

.home-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #FFFFFF;
  border: 1px solid #DBDFE8;
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.home-nav-btn img {
  display: block;
  width: 8px;
  height: 12px;
}

.home-nav-btn:hover:not(:disabled) {
  border-color: #DA0029;
}

.home-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.home-nav-pager {
  min-width: 56px;
  font-size: 14px;
  line-height: 26px;
  color: #57575C;
  text-align: center;
}

/* 列表三态提示 */
.home-state {
  display: none;
  padding: 40px 0;
  font-size: 16px;
  line-height: 26px;
  color: #57575C;
  text-align: center;
}

.home-state.is-active {
  display: block;
}

.home-products .home-state {
  color: #FFFFFF;
}

/* ---------- 公司介绍 ---------- */
.home-about {
  padding: 78px 0;
  background: #F5F7FA;
}

.home-about .home-title-text {
  color: #57575C;
  font-weight: 600;
}

.home-about-body {
  display: flex;
  align-items: center;
  gap: 40px;
}

.home-about-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* 标题 + 底部装饰条（Figma 1680:7414：24px/Semibold + 43.72×6 #D9D9D9） */
.home-about-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 56px;
}

.home-about-line {
  width: 43.72px;
  height: 6px;
  background: #D9D9D9;
}

.home-about-text p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

/* 查看更多（Figma 1883:7640：文字 16px/Light + 9.9×9.9 箭头，间距 8px） */
.home-about-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 80px;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-decoration: none;
  transition: color 0.25s ease;
}

.home-about-more svg {
  display: block;
  width: 9.9px;
  height: 9.9px;
  flex-shrink: 0;
}

.home-about-more:hover {
  color: #DA0029;
}

.home-about-img {
  flex: 0 0 48.8%;
  width: 48.8%;
  aspect-ratio: 733.8 / 464.7;
  object-fit: cover;
  border-radius: 8px;
}

/* 荣誉证书 */
.home-honor {
  margin-top: 74px;
}

.home-honor-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-honor-viewport,
.home-news-viewport {
  cursor: grab;
}

.home-news-viewport {
  cursor: default;
}

.home-honor-viewport img,
.home-news-viewport img {
  -webkit-user-drag: none;
  user-select: none;
}

.home-honor-viewport::-webkit-scrollbar {
  display: none;
}

.home-honor-track {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-honor-item {
  display: flex;
  flex: 0 0 calc((100% - 144px) / 7);
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.home-honor-name {
  /* Figma：证书图在下、名称在下方，图底到文字间距 15px */
  margin: 15px 0 0;
  height: 26px;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
  text-align: center;
  white-space: nowrap;
  
   
    background: #e7e7e7;
    width: 100%;
    border-radius: 4px;
}

.home-honor-img {
  display: block;
  width: 100%;
  height: auto;
  /* 统一高度：所有证书图按同一画面比例展示，object-fit 保证图片完整不变形 */
  aspect-ratio: 1.528 / 1;
  max-height: 155px;
  object-fit: contain;
  object-position: center bottom;
}

/* ---------- 产品介绍 ---------- */
.home-products {
  padding: 80px 0;
  background-color: #2F4152;
  background-image: url("../../assets/images/index/product-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.home-product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 37px 59px;
  background: rgba(12, 12, 12, 0.5);
  border-radius: 8px;
  color: #FFFFFF;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.home-product-card:hover {
  background: rgba(12, 12, 12, 0.68);
}

.home-product-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.home-product-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}

.home-product-name {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  color: #FFFFFF;
}

.home-product-desc {
  display: -webkit-box;
  min-height: 125px;
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 300;
  line-height: 25.1px;
  color: #FFFFFF;
  text-align: justify;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

/* 第 2 屏起的卡片：描述固定 4 行，超出部分在第 4 行末尾以省略号收尾 */
.home-product-desc.is-clamp4 {
  -webkit-line-clamp: 4;
}

/* 桌面端：4 行高度 + 底部留白 = 第 1 屏的 125px，卡片高度保持一致 */
@media (min-width: 769px) {
  .home-product-desc.is-clamp4 {
    height: 100.5px;
    min-height: 100.5px;
    margin-bottom: 24.5px;
  }
}

.home-product-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-size: 16px;
  line-height: 25.1px;
  color: #FFFFFF;
}

.home-product-detail img {
  display: block;
  width: 8px;
  height: 12px;
}

/* ---------- 资讯（Figma 1680-7016：2 列 × 3 行，gap 16） ---------- */
.home-news {
  padding: 40px 0;
  background: #F5F7FA;
}

.home-news-viewport {
  overflow: visible;
}

.home-news-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

/* 卡片：183 高，内边距 32，图片 205.56×113.06 + 右侧文字列 */
.home-news-card {
  display: flex;
  gap: 16px;
  min-width: 0;
  min-height: 183px;
  padding: 32px;
  background: #FFFFFF;
  border-radius: 8px;
  color: #57575C;
  text-decoration: none;
  transition: box-shadow 0.25s ease;
}

.home-news-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.home-news-img {
  display: block;
  flex: 0 0 205.56px;
  width: 205.56px;
  height: 113.06px;
  border-radius: 4px;
  object-fit: cover;
}

.home-news-info {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.home-news-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.home-news-desc {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 300;
  line-height: 25.1px;
  color: #57575C;
  text-align: justify;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  font-size: 14px;
  line-height: 26px;
  color: #93959D;
}

/* ---------- 客户案例 ---------- */
.home-cases {
  padding: 80px 0;
  background: #FFFFFF;
}

.home-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
  border-top: 1px solid #DBDFE8;
  border-left: 1px solid #DBDFE8;
  box-sizing: border-box;
}

.home-case-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 377 / 240;
  padding: 20px 16px 58px;
  background: #FFFFFF;
  border-right: 1px solid #DBDFE8;
  border-bottom: 1px solid #DBDFE8;
  box-sizing: border-box;
  text-decoration: none;
}

.home-case-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 74%;
  max-height: 92px;
  object-fit: contain;
}

/* 卡片四角装饰（Figma：四角圆角折线，内缩约 20px） */
.home-case-corners {
  position: absolute;
  left: 5.3%;
  top: 7.1%;
  width: 89.4%;
  height: 85.4%;
  object-fit: fill;
  pointer-events: none;
  z-index: 2;
}

.home-case-tags {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 18px;
  margin: 0;
  font-size: 18px;
  line-height: 20px;
  color: #366B81;
  text-align: center;
  text-wrap: balance;
}

.home-case-tags .is-accent {
  color: #DB7114;
  font-weight: 700;
}

.home-case-sep {
  margin: 0 4px;
  color: #366B81;
  font-weight: 400;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1440px) {
  .home-honor-item {
    flex: 0 0 calc((100% - 96px) / 5);
  }

  .home-product-card {
    padding: 28px 32px;
  }
}

@media (max-width: 1280px) {
  .home-honor-item {
    flex: 0 0 calc((100% - 72px) / 4);
  }

  .home-news-card {
    gap: 16px;
    padding: 24px;
  }

  .home-news-img {
    flex: 0 0 150px;
    width: 150px;
    height: 82.5px;
  }
}

@media (max-width: 992px) {
  .home-about {
    padding: 56px 0;
  }

  .home-about-body {
    gap: 32px;
  }

  .home-about-head {
    margin-bottom: 40px;
  }

  .home-about-more {
    margin-top: 48px;
  }

  .home-honor {
    margin-top: 48px;
  }

  .home-products {
    padding: 56px 0;
  }

  .home-news {
    padding: 32px 0;
  }

  .home-news-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .home-cases {
    padding: 56px 0;
  }

  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .home-title {
    gap: 8px;
  }

  .home-title-text {
    font-size: 20px;
    line-height: 28px;
  }

  .home-title-more {
    font-size: 14px;
    line-height: 28px;
  }

  .home-about {
    padding: 48px 0;
  }

  .home-about-body {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .home-about-head {
    margin-bottom: 32px;
  }

  .home-about-more {
    margin-top: 32px;
  }

  .home-about-img {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .home-about-text p {
    font-size: 14px;
    line-height: 26px;
  }

  .home-about-more {
    font-size: 14px;
    line-height: 26px;
  }

  .home-honor {
    margin-top: 40px;
  }

  .home-honor-track {
    gap: 16px;
  }

  .home-honor-item {
    flex: 0 0 calc((100% - 16px) / 2);
  }

  .home-honor-name {
    margin-top: 8px;
    height: 24px;
    font-size: 14px;
    line-height: 24px;
    white-space: normal;
  }

  .home-honor-img {
    height: 120px;
  }

  .home-products {
    padding: 48px 0;
  }

  .home-product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 24px;
  }

  .home-product-card {
    padding: 20px 20px;
  }

  .home-product-name {
    font-size: 18px;
  }

  .home-product-desc {
    min-height: 0;
    font-size: 14px;
    line-height: 24px;
    -webkit-line-clamp: 4;
  }

  .home-news {
    padding: 32px 0;
  }

  .home-news-track {
    gap: 16px;
    margin-top: 24px;
  }

  .home-news-card {
    min-height: 0;
    padding: 20px;
  }

  .home-news-img {
    flex: 0 0 120px;
    width: 120px;
    height: 66px;
  }

  .home-news-title {
    font-size: 14px;
    line-height: 22px;
    -webkit-line-clamp: 2;
  }

  .home-news-desc {
    font-size: 14px;
    line-height: 22px;
  }

  .home-news-meta {
    margin-top: 4px;
    font-size: 12px;
    line-height: 22px;
  }

  .home-cases {
    padding: 48px 0;
  }

  .home-case-grid {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .home-about {
    padding: 40px 0;
  }

  .home-about-head {
    margin-bottom: 24px;
  }

  .home-about-more {
    margin-top: 24px;
  }

  .home-honor-item {
    flex: 0 0 100%;
  }

  .home-honor-img {
    height: 160px;
  }

  .home-news-card {
    flex: 0 0 100%;
  }

  .home-case-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-nav {
    margin-top: 24px;
  }
}

/* ==================== 首页微动画：首屏文字上浮 ==================== */
@keyframes homeHeroRise {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.home-hero-content h1 span,
.home-hero-deco,
.home-hero-desc,
.banner-btn,
.home-xinxi {
  animation: homeHeroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero-content h1 span:nth-child(1) {
  animation-delay: 0.08s;
}

.home-hero-content h1 span:nth-child(2) {
  animation-delay: 0.16s;
}

.home-hero-content h1 span:nth-child(3) {
  animation-delay: 0.24s;
}

.home-hero-deco {
  animation-delay: 0.34s;
}

.home-hero-desc {
  animation-delay: 0.42s;
}

.banner-btn {
  animation-delay: 0.5s;
}

.home-xinxi {
  animation-delay: 0.6s;
}

/* ==================== 首页微动画：滚动内容上浮出现 ==================== */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--reveal-y, 28px), 0);
}

.js-reveal [data-reveal].is-inview {
  animation: homeRevealUp var(--reveal-dur, 0.8s) cubic-bezier(0.22, 1, 0.36, 1)
    var(--reveal-delay, 0ms) both;
}

@keyframes homeRevealUp {
  from {
    opacity: 0;
    transform: translate3d(0, var(--reveal-y, 28px), 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 移动端：保留轻量版，缩短位移与时长 */
@media (max-width: 768px) {
  .js-reveal [data-reveal] {
    --reveal-y: 16px;
    --reveal-dur: 0.55s;
  }
}

/* 用户偏好减少动态效果时，直接呈现内容 */
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .js-reveal [data-reveal].is-inview {
    animation: none;
  }

  .home-hero-content h1 span,
  .home-hero-deco,
  .home-hero-desc,
  .banner-btn,
  .home-xinxi {
    animation: none;
    opacity: 1;
    transform: none;
  }
}