:root {
  --navy: #062a63;
  --navy-deep: #031a43;
  --gold: #f6bd2f;
  --gold-deep: #d99a12;
  --gold-soft: #fff2ce;
  --green: #187354;
  --blue: #2f6da8;
  --ink: #172033;
  --muted: #5b6677;
  --line: #dce3ee;
  --paper: #f5f7fb;
  --surface: #ffffff;
  --shadow: 0 18px 44px rgba(10, 32, 64, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.65;
  animation: pageEnter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.page-leaving {
  pointer-events: none;
  animation: pageLeave 240ms cubic-bezier(0.4, 0, 1, 1) both;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: pageLeave 220ms cubic-bezier(0.4, 0, 1, 1) both;
}

::view-transition-new(root) {
  animation: pageEnter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageLeave {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

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

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

figure {
  margin: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container,
.hero-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 36px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--gold);
  box-shadow: inset 0 -9px 0 rgba(6, 42, 99, 0.14);
}

.brand-name {
  display: block;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-subtitle {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links a {
  position: relative;
  overflow: hidden;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 8px;
  color: #263348;
  font-size: 14px;
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: var(--gold-soft);
}

.nav-links a:hover {
  background: var(--gold);
}

.nav-links .nav-email {
  color: var(--navy);
  background: var(--gold-soft);
  font-weight: 900;
}

.nav-links .nav-email:hover {
  background: var(--gold-deep);
  color: #1f1600;
}

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  background-position: center;
  background-size: cover;
  border-bottom: 10px solid var(--gold);
}

.hero-home {
  background-image:
    linear-gradient(90deg, rgba(3, 26, 67, 0.92), rgba(3, 26, 67, 0.74) 52%, rgba(3, 26, 67, 0.2)),
    url("assets/yard.jpg");
}

.hero-trunk {
  background-image: linear-gradient(120deg, var(--navy), var(--navy-deep));
}

.hero-warehouse {
  background-image: linear-gradient(120deg, var(--navy), var(--navy-deep));
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 880px;
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-title-stack {
  max-width: 1040px;
  margin-bottom: 0;
}

.hero-title-stack span {
  display: block;
}

.hero-title-stack .title-offset {
  padding-left: clamp(56px, 10vw, 150px);
}

.hero-title-stack::after {
  content: "";
  display: block;
  width: min(220px, 42vw);
  height: 6px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--gold);
}

.hero-title-single {
  max-width: none;
  margin-bottom: 0;
  white-space: nowrap;
  font-size: clamp(42px, 5.2vw, 64px);
}

.hero-title-single::after {
  content: "";
  display: block;
  width: min(220px, 42vw);
  height: 6px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--gold);
}

.mobile-break {
  display: none;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2.3vw, 22px);
  overflow-wrap: anywhere;
}

.hero-copy span {
  display: inline;
}

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

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 900;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms ease, box-shadow 180ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

.btn-primary {
  background: var(--gold);
  color: #1f1600;
}

.btn-primary:hover {
  background: var(--gold-deep);
  box-shadow: 0 14px 28px rgba(217, 154, 18, 0.28);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--gold-deep);
  background: var(--gold-deep);
  color: #1f1600;
}

.band {
  padding: 76px 0;
}

.band-white {
  background: var(--surface);
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
}

.section-title {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 46px;
}

.photo-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #d8e0ea;
}

.photo-frame img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.advantage-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.advantage-list li {
  display: grid;
  grid-template-columns: 5px 1fr;
  gap: 14px;
}

.advantage-list li::before {
  content: "";
  width: 5px;
  min-height: 100%;
  border-radius: 999px;
  background: var(--gold);
}

.advantage-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 17px;
}

.advantage-list span {
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.metric {
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric strong {
  display: block;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.1;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

.service-band {
  background: var(--navy);
  color: #fff;
}

.service-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 28px;
}

.service-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
}

.service-heading p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.service-grid,
.route-grid,
.process-grid {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.route-card,
.process-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.route-card,
.process-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.route-card:hover,
.process-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 52px rgba(6, 42, 99, 0.2);
}

.service-card {
  position: relative;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background: var(--gold-deep);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.service-card:hover .card-body {
  background: var(--gold-deep);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .arrow-line,
.service-card:hover .card-number {
  color: #1f1600;
}

.service-card:hover .card-number {
  background: rgba(255, 255, 255, 0.35);
}

.card-image img,
.route-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 220ms ease;
}

.route-card:hover img {
  transform: scale(1.045);
}

.process-card:hover .process-index {
  transform: scale(1.12);
  color: var(--gold-deep);
}

.card-body {
  flex: 1;
  min-height: 190px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: background-color 180ms ease;
}

.card-number,
.route-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: #8c5f00;
  background: var(--gold-soft);
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 13px;
  font-weight: 900;
}

.service-card h3,
.route-card h3,
.process-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.26;
}

.service-card p,
.route-card p,
.process-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.arrow-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-weight: 900;
}

.arrow-line svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

.route-card {
  min-height: 500px;
}

.route-card .card-body {
  min-height: 290px;
}

.route-card p + p {
  margin-top: 10px;
}

.warehouse-service-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.warehouse-service-layout .photo-frame {
  height: 100%;
}

.warehouse-service-layout .photo-frame img {
  height: 100%;
  min-height: 520px;
  aspect-ratio: auto;
  object-fit: cover;
}

.capability-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.capability {
  padding: 26px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.08);
}

.capability h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 22px;
}

.capability p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-card {
  min-height: 248px;
  padding: 24px;
  border-top: 5px solid var(--gold);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.08);
  display: flex;
  flex-direction: column;
}

.process-index {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  transform-origin: left center;
  transition: transform 180ms ease, color 180ms ease;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  margin-top: 32px;
}

.photo-strip img {
  height: 360px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.next-band {
  padding: 44px 0;
  background: var(--navy-deep);
  color: #fff;
}

.next-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.next-wrap h2 {
  margin-bottom: 4px;
}

.next-wrap p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.next-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--gold);
  color: #201500;
  font-weight: 900;
  white-space: nowrap;
  transition: background-color 180ms ease, transform 160ms ease, box-shadow 180ms ease;
}

.next-button:hover {
  background: var(--gold-deep);
  box-shadow: 0 14px 28px rgba(217, 154, 18, 0.24);
}

.next-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

.is-clicking {
  transform: scale(0.97);
}

.click-ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  animation: ripple 520ms ease-out forwards;
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.site-footer {
  padding: 26px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-email {
  color: var(--navy);
  font-weight: 800;
  transition: color 180ms ease;
}

.footer-email:hover {
  color: var(--gold-deep);
}

@media (max-width: 980px) {
  .nav-wrap {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .split,
  .service-grid,
  .route-grid,
  .capability-grid,
  .process-grid,
  .photo-strip,
  .warehouse-service-layout {
    grid-template-columns: 1fr;
  }

  .service-heading,
  .next-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-strip img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 620px) {
  .brand-name,
  .brand-subtitle {
    white-space: normal;
  }

  .hero {
    min-height: 470px;
    background-position: center;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 36px);
  }

  .hero-title-single {
    white-space: normal;
  }

  .hero-title-stack .title-offset {
    padding-left: 28px;
  }

  .hero-title-stack::after {
    margin-top: 20px;
  }

  .mobile-break {
    display: block;
  }

  .hero-copy,
  .lead,
  .section-title {
    word-break: break-all;
  }

  .hero-copy span {
    display: block;
  }

  .band {
    padding: 52px 0;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .card-body,
  .capability,
  .process-card {
    padding: 20px;
  }

  .warehouse-service-layout .photo-frame img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .nav-links a {
    padding-left: 10px;
    padding-right: 10px;
  }
}
