/* ==========================================================================
   SINOTRUK International — 复刻站样式
   依据原站 sinotrukinternational.css / template/page/index/skin.css 还原
   原站 html 根字号 = 4.5vw（1280px 视口下 1rem ≈ 57.6px）
   ========================================================================== */

:root {
  --brand: #18565d;
  --brand-dark: #0f3f45;
  --brand-mid: #1f6a73;
  --brand-soft: #eaf1f2;

  --ink: #3d3d3d;
  --muted: #768284;
  --line: #e6eaea;
  --soft: #f7f7f8;
  --white: #fff;

  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;

  --ease: cubic-bezier(.22, .61, .24, 1);
  --radius: .1428rem;
  --shadow: 0 .18rem .5rem rgba(12, 40, 44, .08);
  --shadow-lg: 0 .3rem .9rem rgba(12, 40, 44, .14);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 4.5vw;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 3.3rem; /* 固定页头高度 */
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: .28rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

::selection { background: var(--brand); color: #fff; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.wh {
  width: 85%;
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 999;
  padding: .12rem .3rem;
  background: var(--brand);
  color: #fff;
  font-size: .2rem;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: .2rem; }

/* ------------------------------------------------------------------ 按钮 */

.pub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8571rem;
  height: .8571rem;
  padding: 0 .2rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-family: var(--font);
  font-size: .2285rem;
  letter-spacing: .06em;
  line-height: 1;
  cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.pub-btn:hover { background: var(--brand-dark); transform: translateY(-2px); }

.pub-btn--light { background: #fff; color: #00262a; }
.pub-btn--light:hover { background: #eaf1f2; color: #00262a; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .1rem;
  font-size: .2285rem;
  color: var(--brand);
}
.link-arrow svg { width: .18rem; height: .18rem; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(.06rem); }

/* ------------------------------------------------------------------ 页头 */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.topbar {
  height: .7rem;
  background: #f4f6f6;
  border-bottom: 1px solid var(--line);
  color: #55595a;
  font-size: .19rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  height: 100%;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: .07rem;
  height: 100%;
  color: inherit;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.topbar__link:hover { color: var(--brand); }
.topbar__link img { width: .19rem; height: .19rem; object-fit: contain; }
.topbar__link svg { width: .19rem; height: .19rem; flex: 0 0 auto; }

.topbar__lang { position: relative; height: 100%; }
.topbar__lang > .topbar__link { background: none; border: 0; cursor: pointer; padding: 0; }
.lang-menu {
  position: absolute;
  top: 100%;
  right: -.1rem;
  min-width: 1.05rem;
  padding: .1rem 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(.06rem);
  transition: .22s var(--ease);
  z-index: 60;
}
.topbar__lang:hover .lang-menu,
.topbar__lang:focus-within .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: block; padding: .05rem .2rem; font-size: .19rem; color: #444; }
.lang-menu a:hover { background: var(--brand-soft); color: var(--brand); }

.header {
  height: 1.75rem;
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
}

.brand { display: block; flex: 0 0 auto; }
.brand img { height: 1.04rem; width: auto; }
.brand__logo {
  height: 1.08rem;
  width: auto;
  background: #fff;
  padding: .04rem;
  border-radius: .04rem;
}

.search {
  display: flex;
  align-items: center;
  width: 5.1rem;
  max-width: 42%;
  border-bottom: 1px solid #cfd5d6;
  transition: border-color .25s var(--ease);
}
.search:focus-within { border-bottom-color: var(--brand); }
.search input {
  flex: 1 1 auto;
  min-width: 0;
  padding: .1rem 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font);
  font-size: .24rem;
  color: var(--ink);
}
.search input::placeholder { color: #9aa2a4; }
.search button {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: .42rem;
  height: .42rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  cursor: pointer;
}
.search svg { width: .26rem; height: .26rem; }

/* 导航 */

.nav {
  position: relative;
  height: .85rem;
  background: #fff;
  border-top: 1px solid #eef1f1;
}

.nav__list {
  display: flex;
  align-items: stretch;
  height: .85rem;
}

.nav__item { position: relative; }

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 .75rem;
  font-size: .24rem;
  font-weight: 500;
  color: #23292b;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: 0;
  height: .035rem;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__item:hover > .nav__link,
.nav__item.is-active > .nav__link { color: var(--brand); }
.nav__item:hover > .nav__link::after,
.nav__item.is-active > .nav__link::after { transform: scaleX(1); }

.nav__panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 2.6rem;
  padding: .2rem .1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(.06rem);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel { opacity: 1; visibility: visible; transform: none; }

.nav__panel--mega {
  display: flex;
  gap: .55rem;
  padding: .35rem .45rem .4rem;
  min-width: 8rem;
}

.nav__group { min-width: 1.5rem; }
.nav__group-title {
  display: block;
  padding-bottom: .08rem;
  margin-bottom: .06rem;
  border-bottom: 1px solid var(--line);
  font-size: .22rem;
  font-weight: 700;
  color: var(--brand);
}
.nav__sub a {
  display: block;
  padding: .06rem 0;
  font-size: .2rem;
  color: #5b6365;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.nav__sub a:hover { color: var(--brand); padding-left: .06rem; }

.nav__toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: .8rem;
  height: .7rem;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  position: absolute;
  left: 50%;
  width: .34rem;
  height: 2px;
  background: var(--brand);
  transform: translateX(-50%);
  transition: .3s var(--ease);
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before { content: ""; top: -9px; }
.nav__toggle span::after { content: ""; top: 9px; }

/* ------------------------------------------------------------------ 轮播 */

.banner-box {
  position: relative;
  overflow: hidden;
  background: #0d2b2f;
}

.banner-box img { width: 100%; height: auto; object-fit: cover; }

.hero__track {
  display: flex;
  transition: transform .8s var(--ease);
  will-change: transform;
}
.hero__slide { flex: 0 0 100%; }
.hero__slide img { width: 100%; height: auto; }

.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: .5rem;
  display: flex;
  justify-content: center;
  gap: .114rem;
  z-index: 2;
}
.hero__dot {
  width: .15rem;
  height: .15rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  opacity: 1;
  cursor: pointer;
  transition: width .4s var(--ease), border-radius .4s var(--ease);
}
.hero__dot.is-active { width: .5rem; border-radius: .08rem; }

/* ------------------------------------------------------------------ 欢迎 */

.welcome { padding: 1.05rem 0 .7rem; }

.welcome__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.welcome__half { width: 50%; display: flex; align-items: center; }

.welcome__text {
  width: 75%;
  margin-right: 10%;
}

.welcome__media { width: 50%; }
.welcome__media img { width: 100%; height: auto; }

.welcome h1 {
  margin-bottom: .4285rem;
  font-size: .7142rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--brand);
}

.welcome p {
  font-size: .2857rem;
  line-height: 2;
  color: var(--ink);
}

/* -------------------------------------------------------------- 产品展示 */

.pro-cont { display: flex; align-items: stretch; }
.pro-lt,
.pro-rt { width: 50%; }
.pro-lt { position: relative; }
.pro-lt > img { width: 100%; height: 100%; object-fit: cover; }
.pro-rt > img { width: 100%; height: 100%; object-fit: cover; }

.pro-pn {
  position: absolute;
  top: 50%;
  right: 10%;
  width: 75%;
  transform: translate(0, -50%);
  color: #fff;
}
.pro-pn h1 { font-size: .5428rem; font-weight: 700; color: #fff; }
.pro-pn p { margin: .4285rem 0; font-size: .2857rem; line-height: 2; color: #fff; }
.pro-pn .pub-btn { width: 2.8571rem; }

/* ------------------------------------------------------------------ 视频 */

.vadio {
  margin: 1.5rem 0;
  padding: 1rem 0;
  background: var(--soft);
}
.vadio-box { width: 100%; }
.vadio-box video {
  width: 100%;
  height: 8rem;
  object-fit: cover;
  background: #000;
}

/* ---------------------------------------------------------------- 正在发生 */

.hap-conts h1 {
  margin-bottom: .4285rem;
  font-size: .7142rem;
  font-weight: 700;
  color: var(--brand);
  text-align: center;
}

.hap-list { display: flex; justify-content: space-between; }
.hap-list li { width: 32%; }

.hap-top-img { overflow: hidden; }
.hap-top-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 6.5 / 4.5;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.hap-list li:hover .hap-top-img img { transform: scale(1.04); }

.hap-bot-cont { margin-top: .2857rem; }
.hap-bot-cont h3 {
  height: 1rem;
  margin: .1428rem 0;
  font-size: .3428rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--brand);
  overflow: hidden;
}
.hap-bot-cont p {
  font-size: .2285rem;
  line-height: 2;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hap-lm { display: flex; justify-content: space-between; }
.hap-lm > span { font-size: .2285rem; color: var(--muted); }

.hap-conts .pub-btn { display: flex; margin: 1rem auto; }
.hap-conts .pub-btn:hover { transform: translateY(-2px); }

/* -------------------------------------------------------------- 全球版图 */

.qqxl-box { position: relative; margin-top: 1.4rem; }
.qqxl-box > img { width: 100%; height: auto; }

.qq-pn {
  position: absolute;
  top: 50%;
  right: 10%;
  width: 35%;
  transform: translate(0, -50%);
}
.qq-pn h1 {
  margin-bottom: .4285rem;
  font-size: .7142rem;
  font-weight: 700;
  color: var(--brand);
  text-align: center;
}
.qq-pn ul { display: flex; flex-wrap: wrap; justify-content: space-between; }
.qq-pn li {
  width: 49%;
  margin-bottom: 1.5%;
  padding: .4285rem 0;
  background: rgba(24, 86, 93, .8);
  color: #fff;
  text-align: center;
}
.qq-pn li h2 {
  position: relative;
  font-size: .8571rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.qq-pn li h2 sup {
  position: absolute;
  top: .1428rem;
  margin-left: .04rem;
  font-size: .2285rem;
  font-weight: 400;
}
.qq-pn li:nth-child(2) h2 sup { top: auto; bottom: .1428rem; }
.qq-pn li p { font-size: .2285rem; }

/* ---------------------------------------------------------------- 问题咨询 */

.problem-con { margin: 1.5rem 0; }
.pro-conts { position: relative; }
.pro-conts > img { width: 100%; height: auto; }

.prob-pn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 9;
  transform: translate(-50%, -50%);
  text-align: center;
}
.prob-pn h1 {
  margin-bottom: .4285rem;
  font-size: .7142rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}
.prob-pn .pub-btn { display: flex; }

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

.footer { background: var(--brand); color: #fff; }
.footer a { color: #fff; }

.footer__top { padding: .7142rem 0 .3rem; }

.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: .3rem;
  padding-bottom: .5rem;
  border-bottom: .0285rem solid #568188;
}

.footer__col { width: 23%; }
.footer__grid > div:last-child { width: 27%; }

.footer h2 {
  margin-bottom: .3rem;
  font-size: .3rem;
  font-weight: 700;
  color: #fff;
}

.footer__links a {
  display: block;
  margin: .0714rem 0;
  font-size: .2rem;
  line-height: 2;
  color: #fff;
  transition: opacity .2s var(--ease), padding-left .2s var(--ease);
}
.footer__links a:hover { opacity: .8; padding-left: .06rem; }

.social a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .1rem;
  margin: .0714rem 0;
  font-size: .2rem;
  line-height: 2;
  color: #fff;
}
.social a span:nth-child(2) { flex: 1 1 auto; }
.social a img { width: .2rem; height: .2rem; object-fit: fill; }
.social a svg { width: .2rem; height: .2rem; flex: 0 0 auto; }
.social a:hover { opacity: .8; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .3rem;
  padding: .2857rem 0;
  font-size: .2285rem;
  color: #fff;
}
.footer__bottom a { color: #fff; }
.footer__bottom a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ 移动端 */

@media (max-width: 768px) {
  html { font-size: 16px; }

  body { padding-top: 0; font-size: 14px; line-height: 1.7; }

  .wh { width: 90%; }

  /* 页头改为静态，移动端抽屉 */
  .site-header { position: sticky; box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
  .topbar { display: none; }
  .header { height: 60px; }
  .header__inner { justify-content: center; }
  .brand img { height: 36px; }
  .search { display: none; }

  .nav { height: 0; border: 0; }
  .nav__list {
    position: fixed;
    inset: 60px 0 0 0;
    display: block;
    height: auto;
    padding: 8px 20px 40px;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    z-index: 70;
  }
  body.menu-open .nav__list { transform: none; }
  body.menu-open { overflow: hidden; }

  .nav__link {
    height: 50px;
    padding: 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }

  .nav__panel,
  .nav__panel--mega {
    position: static;
    display: none;
    min-width: 0;
    padding: 4px 0 10px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--soft);
  }
  .nav__item.is-open .nav__panel { display: flex; flex-direction: column; gap: 0; }
  .nav__sub a { padding: 7px 10px; font-size: 14px; }
  .nav__group-title { border: 0; padding: 6px 10px 2px; font-size: 14px; }

  .nav__toggle {
    display: block;
    position: fixed;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    z-index: 90;
  }

  .hero__dots { bottom: 14px; gap: 6px; }
  .hero__dot { width: 10px; height: 10px; }
  .hero__dot.is-active { width: 30px; }

  .welcome { padding: 34px 0 26px; }
  .welcome__grid { flex-direction: column; }
  .welcome__half { width: 100%; }
  .welcome__media { width: 100%; order: -1; margin-bottom: 20px; }
  .welcome__text { width: 100%; margin-right: 0; }
  .welcome h1 { font-size: 25px; margin-bottom: 12px; }
  .welcome p { font-size: 14px; }

  .pro-cont { flex-direction: column; }
  .pro-lt,
  .pro-rt { width: 100%; }
  .pro-lt { min-height: 220px; }
  .pro-pn { width: 80%; right: 10%; }
  .pro-pn h1 { font-size: 24px; }
  .pro-pn p { font-size: 14px; margin: 14px 0; }
  .pub-btn { width: 120px; height: 40px; font-size: 13px; }

  .vadio { margin: 30px 0; padding: 22px 0; }
  .vadio-box video { height: 240px; }

  .hap-conts h1 { font-size: 25px; margin-bottom: 18px; }
  .hap-list { flex-direction: column; }
  .hap-list li { width: 100%; margin-bottom: 24px; }
  .hap-bot-cont h3 { height: auto; font-size: 17px; margin: 8px 0; }
  .hap-bot-cont p { font-size: 13px; }
  .hap-lm > span { font-size: 12px; }
  .hap-conts .pub-btn { margin: 10px auto 20px; }

  .qqxl-box > img { min-height: 420px; object-fit: cover; }
  .qq-pn { top: 50%; right: 5%; width: 55%; }
  .qq-pn h1 { font-size: 20px; margin-bottom: 12px; }
  .qq-pn li { padding: 14px 0; }
  .qq-pn li h2 { font-size: 24px; }
  .qq-pn li h2 sup { font-size: 11px; top: 4px; }
  .qq-pn li p { font-size: 11px; }

  .problem-con { margin: 30px 0; }
  .prob-pn h1 { font-size: 22px; margin-bottom: 14px; }
  .prob-pn .pub-btn { width: 130px; height: 40px; font-size: 13px; }

  .footer__top { padding: 30px 0 12px; }
  .footer__grid { flex-direction: column; gap: 0; }
  .footer__col,
  .footer__grid > div:last-child { width: 100%; }
  .footer h2 { font-size: 15px; margin: 14px 0 6px; }
  .footer__links a,
  .social a { font-size: 13px; line-height: 2; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 0 20px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* -------------------------------------------------- 绿色页头（品牌主色） */

@media (min-width: 769px) {
  .topbar {
    background: #0f3f45;
    border-bottom-color: rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .82);
  }
  .topbar__link:hover { color: #fff; }

  .header { background: var(--brand); }

  .search { border-bottom-color: rgba(255, 255, 255, .5); }
  .search:focus-within { border-bottom-color: #fff; }
  .search input { color: #fff; }
  .search input::placeholder { color: rgba(255, 255, 255, .72); }
  .search button { color: #fff; }

  .nav {
    background: var(--brand);
    border-top-color: rgba(255, 255, 255, .14);
  }
  .nav__link { color: #fff; }
  .nav__link::after { background: #fff; }
  .nav__item:hover > .nav__link,
  .nav__item.is-active > .nav__link { color: #fff; }
}

@media (max-width: 768px) {
  .header { background: var(--brand); }
  .nav__toggle span,
  .nav__toggle span::before,
  .nav__toggle span::after { background: #fff; }
  .nav__link { color: #23292b; }
}

/* -------------------------------------------- 品牌组合（图标 + 文字） */

.brand { display: flex; align-items: center; gap: .16rem; }

.brand__mark {
  flex: 0 0 auto;
  width: .62rem;
  height: .62rem;
  background: transparent url("../img/ST.png") no-repeat center / contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  line-height: 1.2;
}
.brand__text strong { font-size: .27rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.brand__text em {
  margin-top: .03rem;
  font-style: normal;
  font-size: .155rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .76);
}

@media (max-width: 768px) {
  .brand { gap: 8px; }
  .brand__mark { width: 38px; height: 38px; border-radius: 3px; }
  .brand__text strong { font-size: 13px; }
  .brand__text em { display: none; }
}
