/* The header overlaps the hero; only the scrolled state adds a glass surface. */
:root {
  --header-height: 116px;
}
.header {
  margin-bottom: calc(-1 * var(--header-height));
  background: transparent;
  color: white;
  border-bottom: 1px solid #ffffff26;
  transition:
    background 0.2s,
    backdrop-filter 0.2s;
}
.header.is-scrolled {
  background: rgba(12, 29, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header .logo-crop {
  background: transparent;
}
.header .logo-crop img {
  opacity: 0;
}
.header .logo-crop::after {
  content: "";
  position: absolute;
  width: 302px;
  height: 189.18px;
  left: -48px;
  top: -45px;
  background: white;
  mask-image: linear-gradient(#fff, #fff), url("assets/jinquan-logo.jpeg");
  mask-mode: alpha, luminance;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-composite: exclude;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 88% 65%, 88% 100%, 0 100%);
}
.header nav a:hover,
.header nav a.active {
  color: #a8ceff;
}
.header nav a.active::after {
  background: #a8ceff;
}
.hero {
  padding-top: var(--header-height);
}
.hero-image {
  inset: 0;
}
.hero-video {
  transform: translateY(var(--header-height));
}
.header .menu-toggle {
  color: white;
  border-color: #ffffff65;
}
@media (max-width: 700px) {
  :root {
    --header-height: 100px;
  }
  .header .logo-crop::after {
    width: 272px;
    height: 170.38px;
    left: -43px;
    top: -41px;
  }
  .header .nav nav {
    background: rgba(12, 29, 42, 0.98);
  }
}
.spare-parts {
  background: #eaf0f7;
  border-top: 1px solid var(--line);
}
.spare-parts .section-heading > p {
  max-width: 490px;
}
.parts-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.part-category.product-enquire {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: white;
  border: 1px solid #d2deeb;
  padding: 25px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.part-category.product-enquire:hover {
  border-color: #1958bb;
  transform: translateY(-3px);
}
.part-category.product-enquire .part-number {
  font: 700 12px/1.5 var(--font);
  color: #1958bb;
  letter-spacing: 1px;
}
.part-category strong {
  font: 600 28px/1.05 var(--display);
  color: #112638;
}
.part-category.product-enquire .part-description {
  font: 400 16px/1.7 var(--font);
  color: #536778;
}
.part-category.product-enquire .part-action {
  font: 700 14px/1.5 var(--font);
  color: #1958bb;
  margin-top: auto;
}
.parts-help {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-top: 1px solid #c3d2e2;
  margin-top: 30px;
  padding-top: 30px;
}
.parts-help > div {
  max-width: 690px;
}
.parts-help h3 {
  font-size: 29px;
  margin-bottom: 12px;
}
.parts-help p {
  font-size: 16px;
  color: #536778;
  margin: 0 0 10px;
}
.parts-help small {
  font-size: 12px;
  color: #536778;
}
.parts-help .button {
  flex-shrink: 0;
}
@media (max-width: 1200px) {
  .nav-quote {
    display: none;
  }
}
@media (max-width: 800px) {
  .parts-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .parts-help {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .parts-categories {
    grid-template-columns: 1fr;
  }
  .part-category.product-enquire {
    padding: 25px;
  }
  .part-category strong {
    font-size: 29px;
  }
}
/* Brand values taken from the supplied Jinquan logo. The original logo file is
   preserved; the visible frame excludes the screenshot's unused margins and
   capture control. No replacement lettering is drawn. */
:root {
  --orange: #1958bb;
  --ink: #112638;
  --paper: #f3f6f9;
  --line: #dbe3e9;
  --muted: #536778;
}
.brand {
  overflow: hidden;
}
.logo-crop {
  position: relative;
  display: block;
  width: 230px;
  height: 106px;
  overflow: hidden;
  background: #fff;
}
.logo-crop img {
  position: absolute;
  max-width: none;
  width: 302px;
  height: auto;
  left: -48px;
  top: -45px;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 88% 65%, 88% 100%, 0 100%);
}
.nav {
  min-height: 116px;
}
.button:hover {
  background: #104393;
  border-color: #104393;
}
.hero h1 em,
.contact h2 span {
  color: #82b6ff;
}
.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(11, 27, 43, 0.96),
      rgba(11, 27, 43, 0.82) 30%,
      rgba(11, 27, 43, 0.1) 75%
    ),
    linear-gradient(0deg, rgba(11, 27, 43, 0.75), transparent 40%);
}
.mini-label {
  color: #1958bb !important;
}
.contact label > span,
.empty-state button {
  color: #1958bb;
}
.closing-banner h2 em {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #9bc1ff;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
}
.footer-top .brand {
  background: transparent;
  padding: 5px 13px;
}
.footer-top .logo-crop {
  background: transparent;
}
.footer-top .logo-crop img {
  /* Reverse the original artwork for the dark footer. Screen blending removes
     its now-black background without redrawing or replacing the supplied logo. */
  filter: grayscale(1) invert(1) contrast(8);
  mix-blend-mode: screen;
}
.section-heading > p,
.product-body > p,
.about-copy > p:not(.eyebrow),
.steps p,
.faq-list details p {
  font-size: 1rem;
}
.search input,
.filters button,
.product-enquire,
.underlined-link,
.contact label,
.contact form > p,
.email-button,
.form-actions .button,
.footer-top > div,
.text-button {
  font-size: 0.875rem;
}
.contact form > .form-note,
.catalog-note,
.product-meta span,
.footer-bottom,
.footer-top > p,
.product-tag,
.mini-label,
.contact-details a > span,
.eyebrow,
.brand-strip p,
.hero-video > a {
  font-size: 0.75rem;
}
.about-points p {
  font-size: 0.875rem;
}
.about-points strong {
  font-size: 1rem;
}
.contact input,
.contact textarea,
.contact select {
  font-size: 1rem;
}
.hero-actions > .button {
  flex-shrink: 0;
}
.slide-controls button {
  min-width: 36px;
  min-height: 40px;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 65px;
}
.partner-logo img {
  max-width: 100%;
  max-height: 62px;
  object-fit: contain;
}
.partner-logo.bpw-logo {
  width: 115px;
}
.partner-logo.fuwa-logo {
  width: 145px;
}
.partner-logo.sinotruk-logo img {
  filter: brightness(0);
}
.partner-logo.bpw-logo {
  position: relative;
  overflow: hidden;
  width: 73px;
  height: 73px;
  flex-shrink: 0;
}
.partner-logo.bpw-logo img {
  position: absolute;
  max-width: none;
  max-height: none;
  width: 260px;
  height: auto;
  left: -187px;
  top: 0;
}
.partner-logo.fuwa-logo {
  position: relative;
  overflow: hidden;
  width: 150px;
  height: 65px;
  flex-shrink: 0;
}
.partner-logo.fuwa-logo img {
  position: absolute;
  max-width: none;
  max-height: none;
  width: 457px;
  height: auto;
  left: -19px;
  top: -50px;
}
@media (max-width: 1000px) {
  .hero.video-active .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .nav {
    min-height: 100px;
  }
  .logo-crop {
    width: 205px;
    height: 94px;
  }
  .logo-crop img {
    width: 272px;
    left: -43px;
    top: -41px;
  }
  .nav nav {
    top: 100px;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(11, 27, 43, 0.94), rgba(11, 27, 43, 0.62)),
      linear-gradient(0deg, #0b1b2bbb, transparent);
  }
  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.6px;
  }
  .hero-inner {
    min-height: 560px;
  }
  .hero h1 {
    font-size: clamp(43px, 10.8vw, 70px);
  }
  .hero-bottom {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 18px;
  }
  .slide-tabs {
    width: 100%;
    flex: none;
    justify-content: space-between;
    gap: 8px;
  }
  .slide-tab {
    font-size: 12px;
    padding-bottom: 13px;
  }
  .slide-controls {
    margin-left: auto;
  }
  .hero {
    min-height: 700px;
  }
  .partner-logo {
    width: 105px;
    height: 50px;
  }
  .partner-logo.bpw-logo {
    width: 60px;
    height: 60px;
  }
  .partner-logo.fuwa-logo {
    width: 100px;
    height: 44px;
  }
  .partner-logo.bpw-logo img {
    width: 214px;
    left: -154px;
  }
  .partner-logo.fuwa-logo img {
    width: 305px;
    left: -13px;
    top: -33px;
  }
  .partner-logo img {
    max-height: 45px;
  }
  .hero.video-active .hero-inner {
    min-height: 510px;
  }
  .hero.video-active .hero-bottom {
    margin-top: 285px;
  }
  .hero-video {
    top: 510px;
  }
  .contact-details .email-address {
    font-size: 0.875rem;
  }
  .footer-top .brand {
    padding: 8px;
  }
  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .catalog-tools .filters button {
    font-size: 0.875rem;
  }
  .filters {
    gap: 8px;
  }
}
@media (max-width: 360px) {
  .hero-video {
    top: 555px;
  }
  .hero.video-active .hero-inner {
    min-height: 560px;
  }
  .hero.video-active h1 {
    font-size: 49px;
  }
  .hero-actions .button {
    padding-inline: 18px;
  }
  .partner-logo {
    width: 90px;
  }
  .partner-logo.bpw-logo {
    width: 60px;
  }
  .partner-logo.fuwa-logo {
    width: 100px;
  }
}
