:root {
  --red: #d71920;
  --red-dark: #9f0b16;
  --gold: #b8894f;
  --ink: #151922;
  --muted: #68707d;
  --line: #e4e8ee;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --charcoal: #161a21;
  --shadow: 0 24px 70px rgba(18, 27, 40, 0.12);
  --shadow-soft: 0 14px 40px rgba(18, 27, 40, 0.08);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8fa 52%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 78px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(222, 227, 234, 0.75);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px rgba(22, 26, 33, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 318px;
}

.brand img {
  width: 52px;
  height: 52px;
  padding: 6px;
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(22, 26, 33, 0.08);
}

.brand strong,
.brand em {
  display: block;
  font-style: normal;
  line-height: 1.25;
}

.brand strong {
  color: #11151c;
  font-size: 18px;
  font-weight: 850;
}

.brand em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.site-nav a {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  color: #303743;
  font-size: 15px;
  font-weight: 750;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 16px;
  bottom: 5px;
  left: 16px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 180ms ease;
  content: "";
}

.site-nav a.active,
.site-nav a:hover {
  background: rgba(215, 25, 32, 0.08);
  color: var(--red);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  transform: scaleX(1);
}

.language {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(210, 216, 224, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #111821;
  box-shadow: 0 10px 24px rgba(22, 26, 33, 0.06);
}

.language select {
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  width: 100%;
  height: calc(100dvh - 78px);
  min-height: 640px;
  overflow: hidden;
  background: var(--charcoal);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 160px;
  background: linear-gradient(180deg, rgba(22, 26, 33, 0), rgba(22, 26, 33, 0.54));
  pointer-events: none;
  content: "";
}

.slides,
.slide {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 420ms ease,
    visibility 420ms ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.video-slide {
  background:
    linear-gradient(90deg, rgba(12, 19, 28, 0.72), rgba(12, 19, 28, 0.25)),
    linear-gradient(150deg, #14202d 0%, #20384a 48%, #0e1822 100%);
}

.video-slide::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 16, 23, 0.86) 0%, rgba(12, 16, 23, 0.5) 42%, rgba(12, 16, 23, 0.16) 100%),
    linear-gradient(180deg, rgba(12, 16, 23, 0.22), rgba(12, 16, 23, 0.34));
  content: "";
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slide {
  background-size: cover;
  background-position: center;
}

.slide-fleet {
  background-image:
    linear-gradient(90deg, rgba(11, 16, 24, 0.78), rgba(11, 16, 24, 0.18)),
    url("public/images/hero-fleet.svg");
}

.slide-warehouse {
  background-image:
    linear-gradient(90deg, rgba(11, 16, 24, 0.78), rgba(11, 16, 24, 0.14)),
    url("public/images/hero-warehouse.svg");
}

.slide-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  color: #fff;
}

.slide-copy p {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.slide-copy h1,
.slide-copy h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.primary-action {
  display: inline-flex;
  align-items: center;
  margin-top: 34px;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e31d27, #b80d18);
  color: #fff;
  font-weight: 750;
  box-shadow: 0 18px 42px rgba(215, 25, 32, 0.34);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.primary-action::after {
  margin-left: 12px;
  content: "→";
}

.primary-action:hover {
  box-shadow: 0 22px 52px rgba(215, 25, 32, 0.42);
  transform: translateY(-2px);
}

.slide-arrow {
  position: absolute;
  z-index: 4;
  border: 0;
  color: #fff;
  cursor: pointer;
}

.slide-arrow {
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 42px;
  line-height: 0;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.slide-arrow:hover {
  background: rgba(210, 15, 31, 0.82);
}

.prev {
  left: 24px;
}

.next {
  right: 24px;
}

.slide-dots {
  position: absolute;
  right: calc((100vw - min(var(--max), calc(100vw - 48px))) / 2);
  bottom: 32px;
  z-index: 4;
  display: flex;
  gap: 13px;
}

.slide-dots button {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.slide-dots button.active {
  background: var(--red);
}

.section {
  padding: 96px max(24px, calc((100vw - var(--max)) / 2));
}

.section:nth-of-type(even) {
  background: var(--soft);
}

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

.section-head h2 {
  position: relative;
  margin: 0;
  color: #141922;
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 850;
  line-height: 1.15;
}

.section-head h2::after,
.company-showcase h2::after {
  display: block;
  width: 48px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  content: "";
}

.section-head p {
  max-width: 740px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.company {
  padding-top: 96px;
  padding-bottom: 96px;
  background: #fff;
}

.company-bases {
  padding-top: 24px;
  background: linear-gradient(180deg, #fff 0%, #f5f6f8 100%);
}

.company-showcase {
  max-width: var(--max);
  margin: 0 auto;
}

.company-showcase h2 {
  margin: 0 0 42px;
  color: #141922;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
}

.company-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 220, 226, 0.82);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.company-photos img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 420ms ease;
}

.company-photos:hover img {
  transform: scale(1.015);
}

.company-photos img + img {
  border-left: 0;
}

.categories {
  background:
    linear-gradient(180deg, #f7f8fa 0%, #eef1f5 100%);
}

.category-carousel {
  position: relative;
  max-width: min(1080px, 100%);
  margin: 48px auto 0;
}

.category-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(218, 224, 232, 0.85);
  background:
    linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: var(--shadow);
}

.category-track {
  display: flex;
  transition: transform 360ms ease;
}

.category-slide {
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(22px, 3.4vw, 42px);
}

.category-slide img {
  width: min(720px, 100%);
  max-height: clamp(560px, 74vh, 860px);
  object-fit: contain;
  background: transparent;
}

.category-caption {
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(16px, 2.6vw, 28px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(226, 231, 238, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1d232b;
  box-shadow: 0 12px 32px rgba(18, 27, 40, 0.14);
  backdrop-filter: blur(12px);
}

.category-caption strong {
  font-size: 15px;
}

.category-caption span {
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.category-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(22, 26, 33, 0.76);
  color: #fff;
  font-size: 38px;
  line-height: 0;
  cursor: pointer;
  transform: translateY(-50%);
}

.category-arrow:hover {
  background: var(--red);
}

.category-arrow.prev {
  left: -24px;
}

.category-arrow.next {
  right: -24px;
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  max-width: min(1080px, 100%);
  margin: 20px auto 0;
}

.category-thumbs button {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(222, 227, 234, 0.9);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  opacity: 0.72;
  transition:
    border-color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.category-thumbs button.active,
.category-thumbs button:hover {
  border-color: var(--red);
  opacity: 1;
  box-shadow: 0 12px 28px rgba(18, 27, 40, 0.12);
  transform: translateY(-3px);
}

.category-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
}

.brand-section {
  background:
    linear-gradient(180deg, #171b22 0%, #20252d 100%);
  color: #fff;
}

.brand-section .section-head h2 {
  color: #fff;
}

.brand-section .section-head p {
  color: rgba(255, 255, 255, 0.68);
}

.brand-tabs {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: var(--max);
  margin: 40px auto 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand-tabs button {
  position: relative;
  min-width: 140px;
  padding: 0 30px 25px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: color 180ms ease;
}

.brand-tabs button:last-child {
  border-right: 0;
}

.brand-tabs button::after {
  position: absolute;
  right: 30px;
  bottom: -1px;
  left: 30px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 180ms ease;
  content: "";
}

.brand-tabs button.active,
.brand-tabs button:hover {
  color: #fff;
}

.brand-tabs button.active::after,
.brand-tabs button:hover::after {
  transform: scaleX(1);
}

.brand-panel {
  display: grid;
  grid-template-columns: minmax(320px, 46%) minmax(0, 54%);
  max-width: var(--max);
  min-height: 440px;
  margin: 56px auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.brand-logo {
  width: min(236px, 84%);
  max-height: 84px;
  object-fit: contain;
  object-position: left center;
}

.brand-copy h3 {
  max-width: 430px;
  margin: 36px 0 0;
  color: #171c24;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 750;
  line-height: 1.35;
}

.brand-copy p {
  max-width: 430px;
  margin: 18px 0 0;
  color: #6a717c;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.9;
}

.brand-visual {
  position: relative;
  min-height: 440px;
}

.brand-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  pointer-events: none;
  content: "";
}

.brand-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.service-grid article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 32px 28px;
  border: 1px solid rgba(226, 231, 238, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-grid article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  opacity: 0;
  transition: opacity 180ms ease;
  content: "";
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(215, 25, 32, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(215, 25, 32, 0.12), rgba(215, 25, 32, 0.06));
  color: var(--red);
}

.service-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-grid article:hover {
  border-color: rgba(215, 25, 32, 0.22);
  box-shadow: 0 24px 54px rgba(18, 27, 40, 0.12);
  transform: translateY(-4px);
}

.service-grid article:hover::before {
  opacity: 1;
}

.service-number {
  position: absolute;
  top: 28px;
  right: 28px;
  color: rgba(21, 25, 34, 0.16);
  font-size: 14px;
  font-weight: 900;
}

.service-grid h3 {
  margin: 34px 0 12px;
  color: #161b23;
  font-size: 23px;
  line-height: 1.25;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.footer {
  padding: 70px max(24px, calc((100vw - var(--max)) / 2)) 28px;
  background:
    linear-gradient(180deg, #22262d 0%, #15181d 100%);
  color: rgba(255, 255, 255, 0.76);
}

.footer {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
}

.footer-brand img {
  width: 88px;
  height: 88px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.32));
}

.footer-brand strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 18px;
}

.footer-brand p {
  margin: 14px 0 6px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-brand a {
  color: #fff;
  font-size: 27px;
  font-weight: 850;
}

.qr {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-top: 18px;
  border: 8px solid rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  background:
    linear-gradient(90deg, #111 12px, transparent 12px 20px, #111 20px 30px, transparent 30px),
    linear-gradient(#111 10px, transparent 10px 18px, #111 18px 29px, transparent 29px),
    #fff;
  color: #111;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-content: start;
  padding-top: 8px;
}

.footer-links h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 17px;
}

.footer-links a {
  display: block;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(2px);
}

.copyright {
  grid-column: 1 / -1;
  margin: 34px 0 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand em {
    font-size: 12px;
  }

  .nav-toggle {
    display: grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 11px;
    border: 1px solid #dfe3e8;
    border-radius: 4px;
    background: #fff;
  }

  .nav-toggle span {
    height: 2px;
    background: #1d232b;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 36px rgba(18, 27, 40, 0.08);
    backdrop-filter: blur(16px);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
    border-radius: 8px;
  }

  .language {
    max-width: 138px;
  }

  .service-grid,
  .footer,
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    height: calc(100dvh - 66px);
    min-height: 560px;
  }

  .category-arrow.prev {
    left: 10px;
  }

  .category-arrow.next {
    right: 10px;
  }

  .category-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .brand-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1px;
  }

  .brand-tabs button {
    flex: 0 0 auto;
    min-width: 124px;
    padding-right: 22px;
    padding-left: 22px;
    font-size: 16px;
  }

  .brand-tabs button::after {
    right: 22px;
    left: 22px;
  }

  .brand-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .brand-visual {
    min-height: 320px;
    order: -1;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand em {
    display: none;
  }

  .language span {
    display: none;
  }

  .language select {
    width: 96px;
    font-size: 13px;
  }

  .slide-arrow {
    display: none;
  }

  .slide-dots {
    right: 24px;
    bottom: 24px;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .slide-copy h1,
  .slide-copy h2 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .slide-copy p {
    max-width: 100%;
  }

  .service-grid,
  .footer,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .company {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .company-photos {
    grid-template-columns: 1fr;
  }

  .company-photos img + img {
    border-top: 0;
    border-left: 0;
  }

  .category-carousel {
    margin-top: 28px;
  }

  .category-slide {
    padding: 14px;
  }

  .category-slide img {
    max-height: 68vh;
  }

  .category-arrow {
    width: 40px;
    height: 40px;
    font-size: 34px;
  }

  .category-caption {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
  }

  .category-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .brand-tabs {
    margin-top: 26px;
  }

  .brand-tabs button {
    min-width: 108px;
    padding: 0 16px 18px;
    font-size: 15px;
  }

  .brand-tabs button::after {
    right: 16px;
    left: 16px;
  }

  .brand-panel {
    min-height: 0;
    margin-top: 32px;
  }

  .brand-copy {
    padding: 28px 22px 32px;
  }

  .brand-logo {
    width: min(190px, 82%);
  }

  .brand-copy h3 {
    margin-top: 24px;
  }

  .brand-copy p {
    font-size: 15px;
  }

  .brand-visual {
    min-height: 240px;
  }

  .service-grid {
    gap: 14px;
  }

  .service-grid article {
    min-height: 0;
    padding: 26px 22px;
  }

  .service-number {
    top: 24px;
    right: 22px;
  }

  .footer {
    gap: 34px;
  }
}
