/* ============================================================
   首页专属样式（hanjoe.com 风格改造版）
   作用域：仅 index.html 引入；选择器以 .page-home / .hm- 前缀隔离，
   不影响其它 10 个内页（style.css 为全站底座，footer/header 不动）。
   视觉基因（取自汉界首页）：
   - 区块标题 38px/700 #1a1a1a 居中 + 16px #999 副题
   - 解决方案马赛克：4 列 × 2 行（首卡通栏两行、次卡横向两列）
   - 产品中心马赛克：3 列 × 2 行（首卡通栏两行），渐变卡底
   - 图片卡 10px 圆角 + 暗色蒙层 hover 淡出 + 图片 hover 放大
   - 蓝色胶囊按钮 #1079ca，hover 升起；白色描边胶囊 hover 变宽
   - 联系三通道：#f4f4f4 浅灰底 + 深色圆形图标
   ============================================================ */

/* ---------------- 轮播 Banner（80vh 大图 + 大字文案） ---------------- */
.page-home .banner {
  height: 82vh;
  min-height: 560px;
  max-height: 820px;
}

.page-home .banner-item {
  background-size: cover;
  background-position: center;
}

/* 左深右浅渐变蒙层，保证左侧白字可读 */
.page-home .banner-item::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(7, 19, 36, 0.58) 0%, rgba(7, 19, 36, 0.30) 46%, rgba(7, 19, 36, 0.05) 78%);
}

.page-home .banner-item > .container {
  position: relative;
  z-index: 1;
  height: 100%;
}

.hm-txt {
  position: absolute;
  left: 15px; right: 15px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transform: translateY(calc(-50% + 36px));
  transition: opacity 0.9s ease 0.25s, transform 0.9s ease 0.25s;
}

.banner-item--active .hm-txt {
  opacity: 1;
  transform: translateY(-50%);
}

.hm-t1 {
  font-size: 54px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.hm-t2 {
  width: 54px;
  height: 5px;
  background: #FFFFFF;
  margin: 26px 0 40px;
}

.hm-t3 {
  font-size: 22px;
  line-height: 1.8;
  color: #FEFAF9;
  max-width: 640px;
}

.hm-t4 {
  position: relative;
  display: inline-block;
  margin-top: 46px;
  padding: 0 52px 0 26px;
  min-width: 150px;
  color: #FFFFFF;
  font-size: 15px;
  line-height: 44px;
  border: 1px solid #FFFFFF;
  border-radius: 50px;
  transition: padding 0.3s, background 0.3s;
}

.hm-t4::after {
  content: '';
  position: absolute;
  right: 26px;
  top: 50%;
  margin-top: -5px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #FFFFFF;
  border-right: 2px solid #FFFFFF;
  transform: rotate(45deg);
  transition: right 0.3s;
}

.hm-t4:hover {
  padding-right: 64px;
  background: rgba(255, 255, 255, 0.14);
}

.hm-t4:hover::after {
  right: 20px;
}

/* ---------------- 区块标题（汉界式） ---------------- */
.hm-sec { padding: 75px 0 25px; }
.hm-sec--case { padding-bottom: 75px; }

.hm-head { text-align: center; }

.hm-head h2 {
  font-size: 38px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 55px;
}

.hm-head .hm-sub {
  margin-top: 10px;
  font-size: 16px;
  color: #999999;
  line-height: 30px;
}

/* 标题行 + 右侧"更多"胶囊（案例 / 新闻）；v47：与下方列表行距 20px 一致 */
.hm-head--row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* v47：首页精选产品 grid-3 行距对齐全站 20px（pages-b 通用 grid-3 为 24） */
.hm-sec .grid-3 { gap: 20px; }
/* v47：精选产品卡圆角与案例图一致（10px） */
.hm-sec .grid-3 .product-card { border-radius: 10px; }
/* v48：精选产品卡对齐 yt128——白底完整产品图(contain) + 品牌角标 + 居中品名 */
.hm-sec .grid-3 .product-card-img { aspect-ratio: 1 / 1; position: relative; }
.hm-sec .grid-3 .product-card-img img { object-fit: contain; padding: 10px; }
.hm-sec .grid-3 .product-card-img .brand-tag {
  position: absolute; top: 10px; right: 10px;
  background: #06605a; color: #fff; font-size: 12px; line-height: 1;
  padding: 5px 10px; border-radius: 999px;
}
.hm-sec .grid-3 .product-card-body { align-items: center; text-align: center; padding: 14px 16px 18px; }
.hm-sec .grid-3 .product-card-name { font-size: 15px; line-height: 1.55; }

.hm-more {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid #333333;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.hm-more:hover {
  background: #1A1A1A;
  border-color: #1A1A1A;
  color: #FFFFFF;
}

/* ---------------- 解决方案（马赛克 4×2） ---------------- */
.hm-sol-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 275px 275px;
  gap: 20px;
}

.hm-sol-item {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.hm-sol-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
.hm-sol-item:nth-child(2) { grid-column: 2 / 4; grid-row: 1 / 2; }

.hm-sol-img {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
}

.hm-sol-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.hm-sol-img::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.5s;
}

.hm-sol-item:hover .hm-sol-img img { transform: scale(1.08); }
.hm-sol-item:hover .hm-sol-img::after { background: rgba(0, 0, 0, 0); }

.hm-sol-txt {
  position: absolute;
  left: 5%;
  width: 90%;
  bottom: 34px;
  text-align: center;
  color: #FFFFFF;
}

.hm-sol-txt h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.hm-sol-txt p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 28px;
  opacity: 0.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hm-sol-more {
  display: block;
  margin: 16px auto 0;
  width: 150px;
  height: 0;
  overflow: hidden;
  font-size: 15px;
  line-height: 50px;
  background: #1079CA;
  border-radius: 25px;
  color: #FFFFFF;
  transition: height 0.3s;
}

.hm-sol-item:hover .hm-sol-more { height: 50px; }

/* "查找更多行业"卡（第 6 格） */
.hm-sol-item--more .hm-sol-txt { bottom: 40px; }

.hm-sol-icon {
  display: block;
  margin: 18px auto 0;
  width: 36px;
  height: 36px;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}

.hm-sol-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -7px 0 0 -6px;
  border-top: 2px solid #FFFFFF;
  border-right: 2px solid #FFFFFF;
  transform: rotate(45deg);
}

.hm-sol-item--more:hover .hm-sol-icon {
  background: #1079CA;
  border-color: #1079CA;
}

/* ---------------- 产品中心（马赛克 3×2，渐变卡底） ---------------- */
.hm-biz-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 275px 275px;
  gap: 20px;
}

.hm-biz-item {
  position: relative;
  display: block;
  border-radius: 10px;
  padding: 30px;
  overflow: hidden;
  background: url(../images/p1bg.jpg) no-repeat center;
  background-size: 100% 100%;
}

.hm-biz-item:nth-child(2) { background-image: url(../images/p2bg.jpg); }
.hm-biz-item:nth-child(3) { background-image: url(../images/p3bg.jpg); }
.hm-biz-item:nth-child(4) { background-image: url(../images/p4bg.jpg); }
.hm-biz-item:nth-child(5) { background-image: url(../images/p5bg.jpg); }

/* hover 蓝色渐变自底部升起（汉界同款） */
.hm-biz-item::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(to top, #1079CA 15%, rgba(16, 121, 202, 0.5) 37%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}

.hm-biz-item:hover::before { opacity: 1; }

.hm-biz-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hm-biz-img img {
  max-width: 100%;
  max-height: 84%;
  object-fit: contain;
  /* 白底产品图与走廊背景融合（正片叠底，白底消失） */
  mix-blend-mode: multiply;
  transition: transform 0.5s;
}

.hm-biz-item:hover .hm-biz-img img { transform: scale(1.05); }

/* 首卡：通栏两行，图居上，文案居下 */
.hm-biz-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }

.hm-biz-item:nth-child(1) .hm-biz-img {
  width: 100%;
  height: 56%;
  top: 4%;
  padding: 20px;
}

.hm-biz-txt {
  position: absolute;
  left: 30px;
  bottom: 30px;
  width: calc(100% - 60px);
  color: #1A1A1A;
  z-index: 1;
  transition: color 0.4s;
}

.hm-biz-item:nth-child(1) .hm-biz-txt {
  left: 30px;
  bottom: 28px;
}

.hm-biz-txt h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.hm-biz-txt p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 26px;
  opacity: 0.72;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hm-biz-more {
  display: block;
  width: 150px;
  height: 0;
  overflow: hidden;
  margin-top: 18px;
  font-size: 15px;
  line-height: 48px;
  text-align: center;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
  border-radius: 25px;
  transition: height 0.3s;
}

.hm-biz-item:hover .hm-biz-txt { color: #FFFFFF; }
.hm-biz-item:hover .hm-biz-txt p { opacity: 0.9; }
.hm-biz-item:hover .hm-biz-more { height: 48px; }

/* ---------------- 典型案例（3 卡横排） ---------------- */
.hm-case-list {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.hm-case-item {
  flex: 1;
  min-width: 0;
  display: block;
}

.hm-case-img {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.hm-case-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.hm-case-item:hover .hm-case-img img { transform: scale(1.08); }

.hm-case-txt { padding: 20px 0 0; }

.hm-case-txt h3 {
  font-size: 18px;
  font-weight: 500;
  color: #121212;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-case-txt p {
  margin-top: 10px;
  font-size: 14px;
  color: #787878;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------------- 新闻资讯（3 卡横排 + 日期） ---------------- */
.hm-news-list {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.hm-news-item {
  flex: 1;
  min-width: 0;
  display: block;
}

.hm-news-img {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.hm-news-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.hm-news-item:hover .hm-news-img img { transform: scale(1.08); }

.hm-news-txt { padding: 20px 0 0; }

.hm-news-txt h3 {
  font-size: 17px;
  font-weight: 500;
  color: #121212;
  line-height: 1.55;
  height: 3.1em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hm-news-txt .hm-news-date {
  margin-top: 12px;
  font-size: 13px;
  color: #999999;
}

.hm-news-txt p {
  margin-top: 8px;
  font-size: 14px;
  color: #787878;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------------- 联系我们（三通道，浅灰底） ---------------- */
.hm-ctc {
  background: #F4F4F4;
  padding: 100px 0;
}

.hm-ctc-list {
  display: flex;
  justify-content: center;
  margin-top: 70px;
}

.hm-ctc-item {
  width: 30%;
  margin: 0 1.5%;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.hm-ctc-icon {
  width: 64px;
  height: 64px;
  background: #312D2A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s;
}

.hm-ctc-item:hover .hm-ctc-icon { transform: scale(1.1); }

.hm-ctc-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hm-ctc-txt { padding: 18px 0 0; color: #2C2C2C; }

.hm-ctc-txt h3 {
  font-size: 18px;
  font-weight: 700;
}

.hm-ctc-txt p {
  margin-top: 8px;
  font-size: 15px;
  color: #666666;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hm-sol-list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 190px);
  }
  .hm-sol-item:nth-child(1),
  .hm-sol-item:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }
  .hm-biz-list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 235px);
  }
  .hm-biz-item:nth-child(1) { grid-column: auto; grid-row: auto; }
  .hm-case-list, .hm-news-list { flex-wrap: wrap; }
  .hm-case-item, .hm-news-item { flex: 0 0 100%; }
  .hm-t1 { font-size: 42px; }
  .hm-t3 { font-size: 19px; }
}

@media (max-width: 768px) {
  .page-home .banner {
    height: 430px;
    min-height: 430px;
  }
  .hm-t1 { font-size: 30px; }
  .hm-t2 { margin: 16px 0 22px; }
  .hm-t3 { font-size: 15px; max-width: 100%; }
  .hm-t4 { margin-top: 26px; line-height: 40px; min-width: 130px; }

  .hm-sec { padding: 48px 0 16px; }
  .hm-sec--case { padding-bottom: 48px; }
  .hm-head h2 { font-size: 24px; line-height: 36px; }
  .hm-head .hm-sub { font-size: 14px; line-height: 24px; margin-top: 6px; }
  .hm-head--row { display: block; }
  .hm-more { padding: 7px 16px; font-size: 13px; margin-top: 12px; }

  .hm-sol-list {
    margin-top: 14px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 150px);
    gap: 12px;
  }
  .hm-sol-txt { left: 6%; width: 88%; bottom: 12px; }
  .hm-sol-txt h3 { font-size: 16px; }
  .hm-sol-txt p {
    font-size: 12px;
    line-height: 20px;
    margin-top: 4px;
    -webkit-line-clamp: 2;
  }
  .hm-sol-more, .hm-sol-icon { display: none; }

  .hm-biz-list {
    margin-top: 14px;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 230px;
    gap: 12px;
  }
  .hm-biz-item:nth-child(1) .hm-biz-img { height: 52%; top: 0; }
  .hm-biz-txt h3 { font-size: 19px; }
  .hm-biz-txt p { font-size: 13px; line-height: 22px; }
  .hm-biz-more { display: none; }

  .hm-case-list, .hm-news-list {
    display: block;
    margin-top: 14px;
  }
  .hm-case-item, .hm-news-item {
    display: flex;
    margin-bottom: 16px;
  }
  .hm-case-item:last-child, .hm-news-item:last-child { margin-bottom: 0; }
  .hm-case-img, .hm-news-img {
    width: 34%;
    flex: 0 0 34%;
    aspect-ratio: 4 / 3;
  }
  .hm-case-txt, .hm-news-txt {
    width: 66%;
    flex: 1;
    padding: 2px 0 0 14px;
  }
  .hm-case-txt h3 {
    white-space: normal;
    font-size: 15px;
    height: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .hm-news-txt h3 { font-size: 14px; height: auto; }
  .hm-case-txt p, .hm-news-txt .hm-news-date, .hm-news-txt p { display: none; }
  .hm-news-txt .hm-news-date { display: block; margin-top: 8px; font-size: 12px; }

  .hm-ctc { padding: 56px 0; }
  .hm-ctc-list {
    display: block;
    margin-top: 30px;
  }
  .hm-ctc-item {
    width: 100%;
    margin: 0 0 30px;
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
  }
  .hm-ctc-item:last-child { margin-bottom: 0; }
  .hm-ctc-icon { width: 52px; height: 52px; flex: 0 0 52px; }
  .hm-ctc-icon svg { width: 24px; height: 24px; }
  .hm-ctc-txt { padding: 0 0 0 16px; text-align: left; }
  .hm-ctc-txt p { margin-top: 4px; font-size: 14px; }
}

/* ---------------- 授权资质与品牌服务展示（轮播卡） ---------------- */
.hm-cert-sec { padding-bottom: 75px; }

.hm-cert-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.hm-cert-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  min-width: 0;
}

.hm-cert-card {
  width: 300px;
  margin: 0;
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s;
}

.hm-cert-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #F7F9FB;
  border-radius: 4px;
}

.hm-cert-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hm-cert-card figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  color: #555555;
}

/* 中间卡放大强调（智联同款布局） */
.hm-cert-card:nth-child(2) {
  width: 360px;
  padding: 24px 24px 18px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  transform: translateY(-10px);
}

.hm-cert-card:nth-child(2) .hm-cert-img { height: 260px; }

.hm-cert-card:nth-child(2) figcaption {
  font-weight: 700;
  color: #1A1A1A;
}

.hm-cert-arrow {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  background: #FFFFFF;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}

.hm-cert-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #333333;
  border-right: 2px solid #333333;
}

.hm-cert-prev::after { transform: translate(-30%, -50%) rotate(-135deg); }
.hm-cert-next::after { transform: translate(-70%, -50%) rotate(45deg); }

.hm-cert-arrow:hover { background: #1079CA; border-color: #1079CA; }
.hm-cert-arrow:hover::after { border-color: #FFFFFF; }

.hm-cert-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.hm-cert-dots i {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: #DDE3EA;
  transition: background 0.3s;
}

.hm-cert-dots i.on { background: #1079CA; }

@media (max-width: 768px) {
  .hm-cert-wrap { gap: 0; margin-top: 22px; }
  /* 手机端只显示中间主卡 */
  .hm-cert-card { display: none; }
  .hm-cert-card:nth-child(2) {
    display: block;
    width: 100%;
    padding: 16px 16px 12px;
    transform: none;
  }
  .hm-cert-card:nth-child(2) .hm-cert-img { height: 200px; }
  .hm-cert-arrow { display: none; }
  .hm-cert-dots { margin-top: 16px; }
}

/* ===== v2 offertoday hero ===== */
.home-hero {
  margin-top: 24px;
  margin-bottom: 40px; /* hero 与下一版块间距 40px */
}

.home-hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, #c0eb5e 0%, #a9dc46 100%);
  border-radius: 20px;
  padding: 56px 48px;
  color: #06332e;
}

.home-hero-copy {
  flex: 1.2;
  min-width: 0;
}

.home-hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0b4a3f;
  margin: 0 0 14px;
}

.home-hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  color: #06332e;
  margin: 0 0 14px;
}

.home-hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: #0b4a3f;
  margin: 0 0 26px;
  max-width: 560px;
}

.home-hero-stats {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.home-hero-stats li {
  border-left: 2px solid rgba(6, 51, 46, 0.25);
  padding-left: 14px;
}

.home-hero-stats strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #065f46;
  line-height: 1.1;
}

.home-hero-stats span {
  font-size: 13px;
  color: #0b4a3f;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.home-hero-btn {
  display: inline-block;
  background: #06605a;
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.home-hero-btn:hover { background: #054f4a; color: #FFFFFF; }

.home-hero-link {
  color: #06332e;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(6, 51, 46, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.3s;
}

.home-hero-link:hover { border-bottom-color: #06332e; }

.home-hero-card {
  flex: 1;
  min-width: 0;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(6, 51, 46, 0.18);
  transform: rotate(1deg);
}

.home-hero-card-media {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.home-hero-card-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.home-hero-chip {
  display: inline-block;
  background: #e8f7c6;
  color: #3e6b00;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.home-hero-card-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a2b2a;
  margin: 10px 0 6px;
}

.home-hero-card-desc {
  font-size: 13px;
  color: #5a6b6a;
  line-height: 1.6;
  margin: 0 0 12px;
}

.home-hero-points {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.home-hero-points li {
  font-size: 13px;
  color: #33474a;
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.home-hero-points li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #3e6b00;
  font-weight: 700;
}

.home-hero-card-btn {
  display: inline-block;
  background: #06605a;
  color: #FFFFFF;
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.home-hero-card-btn:hover { background: #054f4a; color: #FFFFFF; }

/* 移动端：单列（文字上、产品卡下），沿用 home.css 现有断点 1024px */
@media (max-width: 1024px) {
  .home-hero-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 40px 28px;
  }
  .home-hero-card { transform: none; }
  .home-hero-card-media { height: 220px; }
}

/* 小屏微调 */
@media (max-width: 640px) {
  .home-hero { margin-top: 16px; margin-bottom: 32px; }
  .home-hero-inner { padding: 32px 20px; border-radius: 14px; }
  .home-hero-title { font-size: 26px; }
  .home-hero-sub { font-size: 14px; }
  .home-hero-stats { flex-wrap: wrap; gap: 16px 24px; margin-bottom: 24px; }
  .home-hero-stats strong { font-size: 26px; }
  .home-hero-card { padding: 18px; }
  .home-hero-card-media { height: 180px; }
}

/* ===== v3 首屏贴顶：删除 hero 后轮播海报紧贴导航（零间距） ===== */
.page-home .banner {
  margin-top: 0;
  padding-top: 0;
}
