:root {
  --ink: #182233;
  --muted: #637084;
  --line: #d9e2ea;
  --panel: #ffffff;
  --page: #f5f7f8;
  --blue: #0a6ebd;
  --blue-dark: #064b84;
  --teal: #10948a;
  --coral: #d86f45;
  --shadow: 0 18px 44px rgba(24, 34, 51, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 86px;
  padding: 14px clamp(22px, 4.5vw, 58px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 234, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 21px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  color: #26354a;
  font-size: 20px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 128px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #142536;
  color: #fff;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: -18px;
  z-index: 0;
  background: url("assets/shipping/hero-ship-clean.jpg") center top / cover;
  filter: blur(3px);
  transform: scale(1.03);
}

.hero::after {
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(12, 25, 43, 0.8),
    rgba(12, 25, 43, 0.52) 48%,
    rgba(12, 25, 43, 0.16)
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3b38d;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-copy span,
.section-head p span {
  display: block;
  margin-top: 6px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.primary-link {
  background: var(--coral);
  color: #fff;
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 108px) 0;
}

.services,
.about,
.kahaya,
.partners {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
}

.services {
  background: #f8fbfd;
  border-top: 1px solid #e7eff6;
  border-bottom: 1px solid #dde8f0;
}

.section-head {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-head.compact {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-head p,
.about-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.about-copy p {
  font-size: 18px;
  line-height: 1.78;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 204px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(24, 34, 51, 0.05);
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  margin-bottom: 26px;
  color: var(--blue-dark);
  background: #e9f3fb;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0;
}

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

.service-card.wide {
  grid-column: span 3;
  min-height: 150px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 22px;
}

.service-card.wide span {
  margin: 0;
}

.service-card.wide h3,
.service-card.wide p {
  grid-column: 2;
}

.about {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  background: #edf6f3;
  border-top: 1px solid #d8e9e3;
  border-bottom: 1px solid #d8e9e3;
}

.about-copy h2 {
  margin: 0 0 20px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.stats-row div {
  padding: 18px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats-row strong,
.stats-row span {
  display: block;
}

.stats-row strong {
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1.1;
}

.stats-row span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.office-carousel {
  position: relative;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 420ms ease;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.carousel-button {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: rgba(24, 34, 51, 0.72);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-button.prev {
  left: 14px;
}

.carousel-button.next {
  right: 14px;
}

.carousel-dots {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.62);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 24px;
  background: #fff;
  border-radius: 99px;
}

.network {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  background: #f3f6fb;
  border-top: 1px solid #dfe7f0;
  border-bottom: 1px solid #dfe7f0;
}

.network .section-head {
  width: min(var(--max), calc(100% - 40px));
}

.route-map {
  width: min(1160px, calc(100% - 40px));
  margin: 36px auto 0;
  padding: clamp(10px, 2vw, 18px);
  background: #081d4b;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.route-map img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.kahaya {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
  background: #eef8f7;
  border-top: 1px solid #d3ebe8;
  border-bottom: 1px solid #d3ebe8;
}

.kahaya-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

.kahaya-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.kahaya-copy p span {
  display: block;
  margin-top: 6px;
}

.kahaya-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 28px;
  padding: 0 18px;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(16, 148, 138, 0.2);
}

.kahaya-link:hover,
.kahaya-link:focus-visible {
  background: #0b7f77;
}

.kahaya-media img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.partners {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.8fr);
  align-items: stretch;
  gap: clamp(26px, 5vw, 58px);
  background: #fff8f1;
  border-top: 1px solid #f0dfcc;
  border-bottom: 1px solid #f0dfcc;
}

.partner-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.partner-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-list {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.partner-card {
  display: grid;
  grid-template-columns: repeat(var(--partner-count, 4), minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  min-height: 62px;
  overflow: hidden;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid #ead8c3;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(130, 86, 48, 0.08);
}

.partner-chip {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 40px;
  padding: 0 6px;
  color: #344050;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 204, 181, 0.92);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.partner-chip img {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}

.partner-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: clip;
}

.contact {
  width: 100%;
  max-width: none;
  background: #16304a;
  color: #fff;
}

.contact .section-head,
.contact-layout {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.contact .section-kicker {
  color: #f3b38d;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.contact-block {
  min-height: 240px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.contact-block h3 {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.35;
}

.contact-block p,
.contact-block a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: anywhere;
}

.contact-block a:hover,
.contact-block a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.address-block {
  font-style: normal;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 48px);
  color: #5c6978;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--blue-dark);
  background: #eef5fb;
  border: 1px solid #d8e6f1;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #e4f0f8;
  border-color: #b9d3e8;
  transform: translateY(-1px);
}

@media (max-width: 940px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 86px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border: 0 solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: max-height 220ms ease, border-width 220ms ease;
  }

  .site-header.nav-open .site-nav {
    max-height: 320px;
    border-width: 1px;
  }

  .site-nav a {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .service-grid,
  .about,
  .kahaya,
  .partners,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-card.wide {
    grid-column: auto;
    display: block;
    min-height: 204px;
  }

  .service-card.wide span {
    margin-bottom: 26px;
  }

  .service-card.wide h3,
  .service-card.wide p {
    grid-column: auto;
  }

  .about {
    gap: 34px;
  }

  .office-carousel {
    justify-self: center;
  }

  .partner-media img {
    min-height: 300px;
  }

  .kahaya-media img {
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
    padding-inline: 16px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

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

  .brand small {
    font-size: 11px;
  }

  .site-nav {
    top: 72px;
  }

  .hero {
    min-height: calc(100vh - 106px);
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(12, 25, 43, 0.76), rgba(12, 25, 43, 0.56));
  }

  .hero-inner,
  .network .section-head,
  .route-map,
  .contact .section-head,
  .contact-layout {
    width: min(100% - 28px, var(--max));
  }

  .section {
    width: 100%;
  }

  .services,
  .about,
  .kahaya,
  .partners {
    padding-inline: 14px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .service-grid {
    gap: 12px;
  }

  .service-card {
    min-height: auto;
    padding: 20px;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .carousel-track img {
    aspect-ratio: 3 / 4;
  }

  .carousel-button {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .partner-media img {
    min-height: 240px;
  }

  .partner-card {
    gap: 4px;
    min-height: 52px;
    padding: 8px;
  }

  .partner-chip {
    gap: 3px;
    min-height: 34px;
    padding: 0 3px;
    font-size: 10px;
  }

  .partner-chip img {
    width: 15px;
    height: 15px;
  }

  .kahaya-copy p {
    font-size: 16px;
  }

  .kahaya-link {
    width: 100%;
  }

  .kahaya-media img {
    min-height: 240px;
  }

  .contact-block {
    min-height: auto;
    padding: 22px;
  }

  .site-footer {
    display: grid;
    padding-inline: 16px;
  }
}

@media (max-width: 360px) {
  .partner-chip {
    gap: 2px;
    padding: 0 1px;
    font-size: 8px;
  }

  .partner-chip img {
    width: 12px;
    height: 12px;
  }
}
