/* ==========================================================================
   首页样式（Hero / 运单查询 / 物流服务 / 行业解决方案 / 物流网络 / 新闻）
   ========================================================================== */

/* --------------------------------------------------------------------------
   首屏
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(300px, 33vw, 470px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #e9edf2;
}
.hero__bg,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero__mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(246, 248, 251, .92) 0%, rgba(246, 248, 251, .55) 28%, rgba(246, 248, 251, .06) 58%, rgba(246, 248, 251, 0) 78%),
    linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 40%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 8px;
}
.hero__title {
  font-size: clamp(26px, 2.92vw, 42px);
  font-weight: 800;
  line-height: 1.46;
  letter-spacing: .5px;
  color: #17181b;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}

/* --------------------------------------------------------------------------
   运单查询 + 快捷入口（压首屏边界）
   -------------------------------------------------------------------------- */
.section--services {
  position: relative;
  padding-top: 0;
  padding-bottom: 96px;
  background: linear-gradient(180deg, #f6f7f9 0%, #f7f8fa 22%, #ffffff 100%);
}
.waybill {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 18px;
  margin-top: -92px;
}
.waybill__search {
  flex: 0 0 334px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border-radius: 16px;
  background: linear-gradient(120deg, #ff6c5e 0%, #f04338 46%, #e1251b 100%);
  box-shadow: 0 20px 38px rgba(225, 37, 27, .24);
}
.waybill__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  background: #fff;
  border-radius: 9px;
}
.waybill__icon { flex: 0 0 auto; width: 15px; height: 15px; fill: #a0a4ab; }
.waybill__field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  font-size: 14px;
  color: var(--text);
  background: transparent;
}
.waybill__field input::placeholder { color: #a8adb4; }
.waybill__btn {
  height: 48px;
  padding: 0 18px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, #ff7162, #e1251b);
  transition: filter .2s var(--ease);
}
.waybill__btn:hover { filter: brightness(1.06); }

.quick {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 10px;
  background: linear-gradient(115deg, #fff 0%, #fff 58%, #ffeceb 100%);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, .08);
}
.quick__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 4px;
  border-radius: 12px;
  transition: background .2s var(--ease);
}
.quick__item:hover { background: #fff5f4; }
.quick__item img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  transition: transform .25s var(--ease);
}
.quick__item:hover img { transform: translateY(-2px); }
.quick__label { font-size: 14px; color: var(--text); }
.quick__tag {
  position: absolute;
  top: -4px;
  right: 13%;
  z-index: 2;
  padding: 1px 7px;
  font-size: 10px;
  line-height: 1.6;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(100deg, #ff8b7f, #e1251b);
  border-radius: 8px 8px 8px 0;
}

/* --------------------------------------------------------------------------
   面向丰富场景的物流服务
   -------------------------------------------------------------------------- */
.svc__title { margin-top: 78px; }

.svc {
  position: relative;
  margin-top: 30px;
  padding: 0 60px;
}
.svc__tabs {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw, 30px);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.svc__tabs::-webkit-scrollbar { display: none; }
.svc__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px 12px;
  font-size: 15px;
  color: #333;
  white-space: nowrap;
  border-radius: 14px;
  transition: color .2s var(--ease);
}
.svc__tab img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform .3s var(--ease);
}
.svc__tab:hover img { transform: translateY(-3px); }
.svc__tab.is-active { color: #111; font-weight: 600; }
.svc__tab.is-active img { transform: translateY(-5px) scale(1.08); }
.svc__tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 74%;
  height: 12px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(225, 37, 27, .26), rgba(225, 37, 27, 0) 72%);
  border-radius: 50%;
  pointer-events: none;
}

.svc__arrow {
  position: absolute;
  top: 34px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ececef;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.svc__arrow svg { width: 18px; height: 18px; fill: #6d7076; }
.svc__arrow:hover { background: #dedee2; transform: scale(1.05); }
.svc__arrow--prev { left: 0; }
.svc__arrow--next { right: 0; }

.svc__panel {
  position: relative;
  margin-top: 20px;
  padding-left: 8px;
}
.svc__panel-head { position: relative; }
.svc__panel-title {
  position: relative;
  z-index: 2;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: .5px;
}
.svc__brush {
  position: absolute;
  left: 2px;
  bottom: 2px;
  z-index: 1;
  width: 104px;
  height: 9px;
  border-radius: 5px;
  background: linear-gradient(90deg, #ff8b7f, rgba(225, 37, 27, .65));
  opacity: .55;
}
.svc__panel-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.9;
  color: #6b6e74;
  max-width: 520px;
}

.svc__panel-body {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 22px;
  min-height: 226px;
  padding: 34px 40px;
  border-radius: 18px;
  background: linear-gradient(112deg, #ffffff 42%, #fff4f2 78%, #ffe9e6 100%);
  box-shadow: 0 16px 44px rgba(17, 24, 39, .07);
}
.svc__prod { display: flex; align-items: center; gap: 26px; position: relative; z-index: 2; }
.svc__prod-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-right: 26px;
  border-right: 1px solid #eee;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}
.svc__prod-head img { width: 34px; height: 34px; object-fit: contain; }
.svc__prod-cols { display: flex; gap: clamp(30px, 4vw, 62px); }
.svc__col h4 { margin-bottom: 8px; font-size: 16px; font-weight: 700; color: #1a1a1a; }
.svc__col a {
  display: block;
  padding: 3px 0;
  font-size: 14px;
  color: #4c4c4c;
}
.svc__col a:hover { color: var(--red); }
.svc__col .svc__more { color: #1a1a1a; text-decoration: underline; text-underline-offset: 3px; }
.svc__col .svc__more:hover { color: var(--red); }

.svc__truck {
  position: absolute;
  right: 2%;
  bottom: -14px;
  z-index: 1;
  width: min(46%, 480px);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(180, 30, 22, .16));
  pointer-events: none;
}

.svc__cta { margin-top: 26px; }

/* --------------------------------------------------------------------------
   热门行业解决方案（深色通栏）
   -------------------------------------------------------------------------- */
.solutions {
  position: relative;
  overflow: hidden;
  background: #23262c;
  color: #fff;
  padding: 78px 0 0;
}
.solutions__backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: .96;
}
.solutions__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #23262c 0%, rgba(35, 38, 44, .96) 30%, rgba(35, 38, 44, .62) 52%, rgba(35, 38, 44, .12) 78%, rgba(35, 38, 44, .05) 100%),
    linear-gradient(180deg, rgba(35, 38, 44, .55), rgba(35, 38, 44, 0) 45%);
}
.solutions__inner { position: relative; z-index: 2; }

.sol { margin-top: 44px; }
.sol__content {
  width: min(520px, 100%);
  padding: 0 0 44px 6px;
}
.sol__name { font-size: clamp(22px, 2vw, 28px); font-weight: 700; margin-bottom: 12px; }
.sol__desc {
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, .84);
}
.sol__dots {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
}
.sol__dots li { position: relative; padding-left: 15px; }
.sol__dots li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

.sol__strip {
  display: flex;
  align-items: stretch;
  margin-top: 18px;
  padding-bottom: 0;
}
.sol__cta {
  position: relative;
  flex: 0 0 178px;
  display: grid;
  place-items: center;
  min-height: 112px;
  margin-top: -58px;
  padding: 18px 12px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #ff7264 0%, #e1251b 70%, #cf1b12 100%);
  box-shadow: 0 18px 34px rgba(225, 37, 27, .32);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  z-index: 3;
}
.sol__cta:hover { transform: translateY(-3px); box-shadow: 0 24px 40px rgba(225, 37, 27, .4); }
.sol__cta-label { font-size: 14px; letter-spacing: 1px; }
.sol__cta::before {
  content: "";
  position: absolute;
  left: 22px;
  top: -18px;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, .22);
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 10px 10px 10px 2px;
  transform: rotate(-8deg);
  backdrop-filter: blur(2px);
}

.sol__tab {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 100px;
  font-size: 17px;
  color: #1f2126;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-left: 1px solid rgba(255, 255, 255, .55);
  transition: background .22s var(--ease);
}
.sol__tab:last-child { border-radius: 0 12px 0 0; }
.sol__tab:hover { background: rgba(255, 255, 255, .9); }
.sol__tab.is-active { background: rgba(255, 255, 255, .92); font-weight: 600; }

/* --------------------------------------------------------------------------
   物流网络
   -------------------------------------------------------------------------- */
.network {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fdf8f7 46%, #ffffff 100%);
}
.network::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/bg-network.webp") center / cover no-repeat;
  opacity: .5;
  pointer-events: none;
}
.network > .container { position: relative; z-index: 1; }

.network__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 30px;
  align-items: center;
  margin-top: 46px;
}
.net-stats { display: flex; flex-direction: column; gap: 24px; }
.net-stat__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1;
  color: var(--red);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}
.net-stat__value em { font-style: normal; font-size: 14px; font-weight: 400; }
.net-stat__desc { margin-top: 8px; max-width: 400px; font-size: 13px; line-height: 1.9; color: #8a8d93; }

.network__visual { position: relative; display: flex; align-items: center; min-height: 420px; }
.network__globe {
  width: 126%;
  max-width: none;
  margin-left: -6%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(225, 37, 27, .12));
}
.net-features {
  position: absolute;
  right: -14px;
  top: 24%;
  display: flex;
  gap: 14px;
}
.net-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 88px;
  height: 88px;
  padding: 8px;
  font-size: 12px;
  text-align: center;
  color: #fff;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 22%, #ff948a, #e1251b 68%, #cc1a12 100%);
  box-shadow: 0 12px 26px rgba(225, 37, 27, .3);
  transition: transform .25s var(--ease);
}
.net-features li:hover { transform: translateY(-4px); }
.net-features__ico svg { width: 22px; height: 22px; fill: #fff; }

/* --------------------------------------------------------------------------
   新闻动态
   -------------------------------------------------------------------------- */
.news {
  padding: 68px 0 78px;
  background: linear-gradient(180deg, #c7c8ca 0%, #cfd0d2 55%, #d6d7d9 100%);
}
.news__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 210px;
  gap: 16px;
  margin-top: 38px;
}
.news-card { display: block; }
.news-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background: #b9babc;
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55));
}
.news-card__tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 5px 12px;
  font-size: 12px;
  color: #fff;
  background: rgba(38, 39, 43, .82);
  border-radius: 10px 0 10px 0;
}
.news-card__date {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  font-size: 13px;
  color: rgba(255, 255, 255, .94);
}
.news-card__title {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover .news-card__title { color: var(--red); }

.news__more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 100%;
  border-radius: 10px;
  background: rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.news__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 26px;
  font-size: 14px;
  color: #1a1a1a;
  background: rgba(255, 255, 255, .55);
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.news__more-btn:hover { background: #fff; color: var(--red); }

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .svc__truck { width: min(44%, 400px); }
}

@media (max-width: 1024px) {
  .waybill { flex-direction: column; margin-top: -70px; }
  .waybill__search { flex: 0 0 auto; }
  .quick { padding: 6px; }
  .svc__panel-body { padding: 28px 26px; min-height: 0; }
  .svc__prod-cols { gap: 28px; }
  .svc__truck { position: static; width: min(46%, 300px); margin-left: auto; }
  .network__body { grid-template-columns: 1fr; }
  .network__visual { min-height: 0; margin-top: 8px; }
  .network__globe { width: 100%; margin-left: 0; }
  .net-features { position: static; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
  .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news__more { grid-column: 1 / -1; flex-direction: row; min-height: 88px; }
}

@media (max-width: 720px) {
  .hero { min-height: 260px; }
  .hero__mask {
    background:
      linear-gradient(180deg, rgba(246, 248, 251, .78), rgba(246, 248, 251, .28) 60%, rgba(246, 248, 251, .05)),
      linear-gradient(90deg, rgba(246, 248, 251, .8), rgba(246, 248, 251, 0) 80%);
  }
  .hero__title { font-size: 24px; line-height: 1.5; }

  .waybill { margin-top: -56px; gap: 12px; }
  .waybill__search { flex: 0 0 auto; padding: 7px; border-radius: 14px; }
  .waybill__field { height: 42px; }
  .waybill__btn { height: 42px; padding: 0 14px; font-size: 14px; }
  .quick { grid-template-columns: repeat(4, 1fr); padding: 4px; }
  .quick__item img { width: 44px; height: 44px; }
  .quick__label { font-size: 12px; }
  .quick__tag { right: 2%; font-size: 9px; }

  .svc__title { margin-top: 52px; }
  .svc { padding: 0 44px; }
  .svc__tabs { justify-content: flex-start; }
  .svc__tab img { width: 48px; height: 48px; }
  .svc__tab { font-size: 13px; }
  .svc__arrow { top: 22px; width: 32px; height: 32px; }
  .svc__panel { padding-left: 0; }
  .svc__panel-body { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 18px; }
  .svc__prod { gap: 14px; }
  .svc__prod-head { padding-right: 14px; font-size: 14px; }
  .svc__prod-head img { width: 26px; height: 26px; }
  .svc__prod-cols { gap: 22px; }
  .svc__truck { align-self: flex-end; width: 62%; }
  .svc__cta { margin-top: 18px; }

  .solutions { padding-top: 52px; }
  .solutions__scrim {
    background: linear-gradient(180deg, rgba(35, 38, 44, .94) 0%, rgba(35, 38, 44, .82) 46%, rgba(35, 38, 44, .55) 100%);
  }
  .sol { margin-top: 28px; }
  .sol__content { padding-bottom: 24px; }
  .sol__strip { overflow-x: auto; scrollbar-width: none; }
  .sol__strip::-webkit-scrollbar { display: none; }
  .sol__cta { flex: 0 0 132px; min-height: 88px; margin-top: -22px; }
  .sol__tab { flex: 0 0 96px; min-height: 88px; font-size: 15px; }

  .network__body { margin-top: 30px; }
  .net-stats { gap: 18px; }
  .net-stat__value { font-size: 34px; }
  .net-features li { width: 74px; height: 74px; font-size: 11px; }
  .net-features__ico svg { width: 18px; height: 18px; }

  .news { padding: 48px 0 56px; }
  .news__grid { gap: 12px; margin-top: 26px; }
  .news-card__title { font-size: 14px; }
}
