﻿:root {
  --ink: #062a56;
  --ink-2: #113f72;
  --muted: #5b6c80;
  --soft: #f4f7fa;
  --line: #dbe4ef;
  --white: #ffffff;
  --blue: #075fb7;
  --blue-2: #0b74d1;
  --red: #de1f2b;
  --shadow: 0 18px 48px rgba(3, 29, 61, 0.16);
  --radius: 8px;
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
article[id],
#contact {
  scroll-margin-top: 132px;
}

body {
  margin: 0;
  background: var(--white);
  color: #172b3f;
  font-family: "Inter", "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(var(--container), calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.utility-bar {
  border-bottom: 1px solid rgba(219, 228, 239, 0.78);
  background: #fbfdff;
}

.utility-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  min-height: 40px;
}

.utility-link,
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #274968;
  font-size: 14px;
  white-space: nowrap;
}

.utility-link svg,
.lang-toggle svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.utility-link.strong {
  color: var(--ink);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

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

.brand img {
  width: 82px;
  height: auto;
}

.brand-wordmark {
  display: grid;
  gap: 2px;
  line-height: 1.08;
}

.brand-wordmark strong {
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-wordmark small {
  color: #41617d;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 46px;
  color: #1d3147;
  font-size: 16px;
}

.nav-links a {
  position: relative;
  padding: 30px 0;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transition: width 0.18s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 800;
}

.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--white);
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 29, 61, 0.86) 0%, rgba(3, 38, 76, 0.66) 42%, rgba(3, 38, 76, 0.12) 73%),
    linear-gradient(0deg, rgba(0, 15, 34, 0.2), rgba(0, 15, 34, 0.04));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  min-height: 690px;
  align-items: stretch;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: #9cc7ee;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.1vw, 76px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 680px;
  margin: 24px 0 42px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(7, 95, 183, 0.32);
}

.btn.primary:hover {
  background: #034f9b;
}

.btn:disabled,
.btn[aria-busy="true"] {
  cursor: progress;
  opacity: 0.68;
  transform: none;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.76);
  color: var(--white);
  background: rgba(1, 22, 50, 0.1);
}

.btn.outline {
  color: var(--ink);
  border-color: #b8c8dc;
  background: var(--white);
}

.btn.compact {
  min-height: 48px;
  padding: 0 24px;
}

.quick-rail {
  display: grid;
  background: rgba(4, 47, 91, 0.94);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.quick-action {
  display: flex;
  min-height: 154px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--white);
  text-align: center;
}

a.quick-action {
  text-decoration: none;
}

.quick-action:last-child {
  border-bottom: 0;
}

.quick-action:hover,
.quick-action:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.quick-action svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.6;
}

.quick-action strong {
  display: block;
  font-size: 18px;
}

.quick-action span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.tool-strip {
  background: #f8fbff;
  border-bottom: 1px solid var(--line);
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.6fr);
  gap: 48px;
  align-items: center;
  padding: 42px 0;
}

.tool-copy h2,
.network-copy h2,
.section-heading h2,
.about-copy h2,
.partners-inner h2,
.quote-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.22;
  font-weight: 800;
}

.tool-copy p,
.network-copy p,
.section-heading p,
.about-copy p,
.partners-inner p,
.quote-copy p {
  margin: 16px 0 0;
  color: var(--muted);
}

.section-mark {
  display: block;
  width: 104px;
  height: 4px;
  margin-bottom: 18px;
  background: var(--red);
}

.track-form {
  display: grid;
  grid-template-columns: 1fr 0.8fr auto;
  gap: 16px;
  align-items: end;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 56, 96, 0.08);
}

label {
  display: grid;
  gap: 7px;
  color: #31485f;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfdbe8;
  border-radius: var(--radius);
  background: var(--white);
  color: #18314a;
  outline: 0;
}

input,
select {
  height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 12px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 95, 183, 0.12);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #68798b;
  font-size: 13px;
}

.network-section {
  padding: 86px 0 70px;
  background: var(--white);
}

.network-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.map-wrap {
  position: relative;
  min-height: 410px;
}

.map-wrap img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 430px;
  object-fit: contain;
  object-position: center;
}

.route-animation {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1896 / 830;
  transform: translateY(-50%);
  pointer-events: none;
}

.map-label-layer {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1896 / 830;
  transform: translateY(-50%);
  pointer-events: none;
}

.route-path {
  fill: none;
  stroke: transparent;
  stroke-width: 1;
}

.route-dot {
  fill: var(--red);
  filter: drop-shadow(0 0 8px rgba(222, 31, 43, 0.55));
}

.origin-pulse {
  fill: none;
  stroke: var(--red);
  stroke-width: 4;
  opacity: 0.72;
}

.map-label,
.origin-pin {
  position: absolute;
  z-index: 3;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.18;
  box-shadow: var(--shadow);
}

.label-europe {
  top: 18%;
  left: 48%;
}

.label-me {
  top: 42%;
  left: 54%;
}

.label-americas {
  top: 52%;
  left: 24%;
}

.label-africa {
  top: 63%;
  left: 43%;
}

.label-sea {
  top: 62%;
  left: 67%;
  right: auto;
}

.origin-pin {
  top: 42%;
  right: auto;
  left: 79%;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.map-label .label-zh,
.map-label .label-en,
.origin-pin .label-zh,
.origin-pin .label-en {
  display: block;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

html[lang="zh-CN"] .label-en,
html[lang="en"] .label-zh {
  display: none;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 20px;
  align-items: center;
  min-height: 136px;
  padding: 24px 30px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item svg {
  grid-row: span 3;
  width: 50px;
  height: 50px;
  color: var(--ink);
  stroke-width: 1.5;
}

.proof-item strong {
  color: var(--ink);
  font-size: 36px;
  line-height: 1;
}

.proof-item span {
  color: #263d55;
  font-weight: 700;
}

.proof-item small {
  color: var(--muted);
}

body[data-page="network"] .network-section {
  padding-top: 50px;
}

body[data-page="network"] .network-grid {
  align-items: start;
}

body[data-page="network"] .network-copy p {
  line-height: 1.74;
}

body[data-page="network"] .proof-grid {
  margin-top: 30px;
}

body[data-page="network"] .proof-item {
  grid-template-columns: 46px 1fr;
  column-gap: 18px;
  min-height: 104px;
  padding: 16px 28px;
}

body[data-page="network"] .proof-item svg {
  width: 40px;
  height: 40px;
}

body[data-page="network"] .proof-item strong {
  font-size: 30px;
}

body[data-page="network"] .proof-item span {
  line-height: 1.3;
}

html[lang="en"] body[data-page="network"] .proof-item small {
  display: none;
}

.services-section {
  padding: 72px 0;
  background: #fbfcfe;
}

.section-heading {
  display: flex;
  gap: 48px;
  align-items: flex-end;
  margin-bottom: 34px;
}

.service-list {
  border: 1px solid var(--line);
  background: var(--white);
}

.service-row {
  display: grid;
  grid-template-columns: 80px 240px minmax(0, 1fr) 120px;
  gap: 32px;
  align-items: center;
  min-height: 132px;
  padding: 26px 42px;
  border-bottom: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row:hover {
  background: #f7fbff;
}

.service-row > svg {
  width: 62px;
  height: 62px;
  color: var(--ink);
  stroke-width: 1.45;
}

.service-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.24;
}

.service-row span {
  color: var(--ink-2);
  font-size: 14px;
}

.service-row p {
  margin: 0;
  color: #52677c;
}

.service-row a {
  display: inline-flex;
  justify-content: flex-end;
  color: var(--ink-2);
  font-weight: 800;
}

.about-section {
  padding: 78px 0;
  background: var(--ink);
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 60px;
  align-items: center;
}

.about-copy h2,
.about-copy p {
  color: var(--white);
}

.about-copy p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 760px;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.credential-grid div {
  min-height: 126px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.credential-grid div:nth-child(2n) {
  border-right: 0;
}

.credential-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.credential-grid strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
}

.credential-grid span {
  color: #b9d2ec;
}

.partners-section {
  padding: 60px 0;
  background: var(--white);
}

.partners-inner {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
}

.support-list {
  grid-template-columns: repeat(5, 1fr);
}

.partner-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 98px;
  padding: 10px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.partner-list span:last-child {
  border-right: 0;
}

.quote-section {
  padding: 50px 0 64px;
  background: #f4f7fa;
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

body[data-page="contact"] .quote-grid {
  align-items: stretch;
}

body[data-page="contact"] .quote-copy {
  display: flex;
  flex-direction: column;
}

body[data-page="contact"] .quote-copy > p {
  max-width: 420px;
  margin-bottom: 22px;
  line-height: 1.62;
}

html[lang="zh-CN"] body[data-page="contact"] .quote-copy h2 {
  max-width: 420px;
  line-height: 1.18;
}

html[lang="en"] body[data-page="contact"] .quote-copy h2,
html[lang="en"] body[data-page="contact"] .quote-copy > p {
  max-width: 440px;
}

.contact-card {
  display: grid;
  gap: 8px;
  max-width: 420px;
  margin-top: 22px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(15, 56, 96, 0.08);
}

body[data-page="contact"] .contact-card {
  margin-top: auto;
}

.contact-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-card a {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.32;
}

.contact-actions-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
}

.contact-panel-head {
  max-width: none;
}

.contact-panel-head .section-mark {
  display: none;
}

.contact-panel-head .eyebrow {
  display: none;
}

.contact-panel-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.18;
  white-space: nowrap;
}

.contact-panel-head p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  white-space: nowrap;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.method-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 9px;
  justify-items: center;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(21, 108, 198, 0.16);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}

.method-card span,
.method-copy span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.method-card strong,
.method-copy strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
}

.method-card p,
.method-copy p {
  margin: 6px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.contact-qr {
  width: 100%;
  max-width: 198px;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: var(--white);
}

.method-whatsapp {
  background: #f3f9ff;
}

.method-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

body[data-page="support"] .partners-section {
  padding: 50px 0 28px;
}

body[data-page="support"] .partners-inner {
  align-items: end;
  column-gap: 72px;
}

body[data-page="support"] .support-list {
  align-self: end;
  margin-bottom: 2px;
}

body[data-page="support"] .services-section {
  padding: 30px 0 66px;
}

body[data-page="support"] .partner-list span {
  min-height: 84px;
}

body[data-page="support"] .section-heading {
  display: block;
  margin-bottom: 22px;
}

body[data-page="support"] .services-section .section-mark {
  display: none;
}

body[data-page="support"] .section-heading h2 {
  font-size: clamp(22px, 2.15vw, 31px);
}

body[data-page="support"] .section-heading p {
  max-width: 760px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
}

body[data-page="support"] .value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="support"] .value-grid article {
  min-height: 210px;
}

body[data-page="services"] .services-section .section-heading {
  display: block;
}

body[data-page="services"] .services-section {
  padding-top: 50px;
}

body[data-page="services"] .services-section .section-heading h2 {
  margin-top: 0;
}

body[data-page="services"] .services-section .section-heading p {
  max-width: 820px;
}

.method-link:hover {
  color: var(--red);
}

.method-link svg {
  width: 17px;
  height: 17px;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  gap: 8px;
  width: 52px;
}

.floating-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-height: 52px;
  padding: 0;
  border: 1px solid rgba(21, 108, 198, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(8, 36, 69, 0.16);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.floating-contact-btn span {
  display: none;
}

.floating-contact-btn:hover {
  border-color: rgba(21, 108, 198, 0.42);
  color: var(--blue);
}

.floating-contact-btn svg {
  width: 25px;
  height: 25px;
  color: #092b4e;
  stroke-width: 2;
}

.floating-contact-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.floating-wechat {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: none;
  width: 236px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(8, 36, 69, 0.18);
}

.floating-contact.is-open .floating-wechat {
  display: grid;
  gap: 8px;
}

.floating-wechat img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: var(--white);
}

.floating-wechat strong {
  color: var(--ink);
  font-size: 16px;
}

.floating-wechat span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.site-footer {
  background: #071f3c;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(142px, 0.34fr) minmax(540px, 1.32fr);
  gap: 34px;
  padding: 42px 0 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 88px;
  height: auto;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--white);
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--white);
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.25;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--white);
}

.footer-grid > div:last-child {
  margin-left: 76px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  color: var(--white);
  background: var(--ink);
}

.page-hero .hero-bg {
  filter: saturate(0.92) contrast(0.95);
}

.page-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 31, 64, 0.9) 0%, rgba(5, 47, 91, 0.66) 54%, rgba(5, 47, 91, 0.22) 100%),
    linear-gradient(0deg, rgba(0, 15, 34, 0.2), rgba(0, 15, 34, 0.04));
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 360px;
  max-width: 860px;
  padding: 64px 0;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 800;
}

.page-hero p:last-child {
  max-width: 740px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
}

.section-cta {
  margin-top: 28px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 248px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(15, 56, 96, 0.06);
}

.value-grid svg {
  width: 44px;
  height: 44px;
  color: var(--blue);
  stroke-width: 1.7;
}

.value-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.value-grid p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .container {
    width: min(100% - 44px, var(--container));
  }

  .nav-links {
    gap: 24px;
  }

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

  .quick-rail {
    grid-template-columns: repeat(4, 1fr);
    align-self: end;
  }

  .quick-action {
    min-height: 118px;
  }

  .network-grid,
  .about-grid,
  .partners-inner,
  .quote-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

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

  .proof-item:nth-child(2n) {
    border-right: 0;
  }

  .service-row {
    grid-template-columns: 68px 210px minmax(0, 1fr);
  }

  .service-row a {
    grid-column: 2 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .utility-inner {
    justify-content: flex-end;
    gap: 16px;
  }

  .utility-link:not(.strong) {
    display: none;
  }

  .main-nav {
    min-height: 74px;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 72px;
  }

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

  .brand-wordmark small {
    font-size: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 114px;
    left: 22px;
    right: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-links a::after {
    bottom: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: 650px;
  }

  .hero-copy {
    padding: 54px 0 24px;
  }

  .hero-actions,
  .quick-rail,
  .track-form,
  .section-heading,
  .form-row,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .quick-rail {
    margin-bottom: 24px;
  }

  .quick-action {
    min-height: 94px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .network-section,
  .services-section,
  .quote-section {
    padding: 58px 0;
  }

  .map-wrap {
    min-height: 330px;
  }

  .map-wrap img {
    height: 330px;
  }

  .route-animation {
    height: auto;
  }

  .map-label-layer {
    position: static;
    width: auto;
    aspect-ratio: auto;
    transform: none;
  }

  .map-label,
  .origin-pin {
    position: static;
    display: inline-block;
    margin: 8px 8px 0 0;
  }

  .proof-grid,
  .partner-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .partner-list span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-row {
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 24px;
  }

  .service-row > p,
  .service-row > a {
    grid-column: 1 / -1;
  }

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

  .credential-grid div,
  .credential-grid div:nth-child(2n),
  .credential-grid div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .credential-grid div:last-child {
    border-bottom: 0;
  }

  .page-hero,
  .page-hero-inner {
    min-height: 300px;
  }

  .page-hero-inner {
    padding: 48px 0;
  }

  .value-grid article {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 30px);
  }

  .utility-inner {
    min-height: 38px;
  }

  .utility-link,
  .lang-toggle {
    font-size: 13px;
  }

  .lang-toggle span {
    display: none;
  }

  .brand-wordmark small {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .btn {
    width: 100%;
    min-height: 54px;
  }

  .contact-actions-panel {
    padding: 22px;
  }
}

/* Aesthetic refresh: calmer carrier-style homepage rhythm */
.site-header {
  box-shadow: 0 8px 28px rgba(6, 42, 86, 0.05);
}

.utility-inner {
  min-height: 34px;
  gap: 24px;
}

.utility-link,
.lang-toggle {
  font-size: 13px;
}

.main-nav {
  min-height: 76px;
}

.brand {
  min-width: 245px;
}

.brand img {
  width: 78px;
}

.nav-links {
  gap: 38px;
  font-size: 15px;
}

.nav-links a {
  padding: 27px 0;
}

.nav-links a::after {
  bottom: 20px;
}

.hero {
  min-height: 600px;
}

.hero-bg {
  object-position: center 48%;
  filter: saturate(0.94) contrast(0.96);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 31, 64, 0.82) 0%, rgba(5, 47, 91, 0.62) 44%, rgba(5, 47, 91, 0.12) 76%),
    linear-gradient(0deg, rgba(0, 15, 34, 0.26), rgba(0, 15, 34, 0.02));
}

.hero-grid {
  grid-template-columns: 1fr;
  min-height: 600px;
  align-items: center;
}

.hero-copy {
  max-width: 710px;
  padding: 80px 0 146px;
}

.eyebrow {
  margin-bottom: 16px;
  color: #c8def3;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(40px, 4.25vw, 62px);
  line-height: 1.12;
}

.hero-subtitle {
  max-width: 620px;
  margin: 20px 0 34px;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.58;
}

.btn {
  min-height: 52px;
  padding: 0 26px;
}

.quick-rail {
  position: absolute;
  right: 0;
  bottom: 34px;
  z-index: 2;
  width: min(620px, 100%);
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(219, 228, 239, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(5, 31, 62, 0.2);
}

.quick-action {
  min-height: 104px;
  gap: 6px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  background: transparent;
  color: var(--ink);
}

.quick-action:last-child {
  border-right: 0;
}

.quick-action:hover,
.quick-action:focus-visible {
  background: #f4f9ff;
}

.quick-action svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
  stroke-width: 1.75;
}

.quick-action strong {
  font-size: 15px;
  line-height: 1.25;
}

.quick-action span {
  color: #60768a;
  font-size: 12px;
}

.tool-strip {
  background: #f5f8fb;
}

.tool-grid {
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.45fr);
  gap: 38px;
  padding: 34px 0;
}

.tool-copy h2,
.network-copy h2,
.section-heading h2,
.about-copy h2,
.partners-inner h2,
.quote-copy h2 {
  font-size: clamp(26px, 2.7vw, 38px);
}

.track-form {
  padding: 18px;
  box-shadow: 0 12px 32px rgba(15, 56, 96, 0.06);
}

.network-section {
  padding: 74px 0 62px;
}

.proof-grid {
  margin-top: 42px;
}

.proof-item {
  min-height: 118px;
  padding: 22px 28px;
}

.proof-item svg {
  width: 42px;
  height: 42px;
}

.proof-item strong {
  font-size: 32px;
}

.services-section {
  padding: 74px 0;
}

.service-row {
  grid-template-columns: 58px 220px minmax(0, 1fr) 112px;
  min-height: 112px;
  gap: 28px;
  padding: 22px 34px;
}

.service-row > svg {
  width: 46px;
  height: 46px;
}

.service-row h3 {
  font-size: 20px;
}

.service-row a {
  font-size: 15px;
}

@media (max-width: 1120px) {
  .quick-rail {
    right: 22px;
    bottom: 26px;
    left: 22px;
    width: auto;
  }

  .hero-copy {
    padding-bottom: 150px;
  }
}

@media (max-width: 820px) {
  section[id],
  article[id],
  #contact {
    scroll-margin-top: 112px;
  }

  .main-nav {
    min-height: 68px;
  }

  .nav-links {
    top: 102px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    display: block;
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
    padding: 42px 0 22px;
  }

  .hero-actions {
    gap: 12px;
  }

  .quick-rail {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 0 28px;
  }

  .quick-action {
    min-height: 88px;
  }

  .quick-action:nth-child(2n) {
    border-right: 0;
  }

  .quick-action:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .tool-grid {
    grid-template-columns: 1fr;
    padding: 34px 0;
  }

  .track-form,
  .form-row,
  .network-grid,
  .about-grid,
  .partners-inner,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 12px;
  }

  .service-row {
    grid-template-columns: 44px 1fr;
    min-height: auto;
    padding: 20px;
  }

  .service-row > svg {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 32px;
    line-height: 1.15;
  }

  .hero-subtitle {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .quick-action {
    min-height: 78px;
  }

  .quick-action svg {
    width: 25px;
    height: 25px;
  }

  .quick-action strong {
    font-size: 15px;
  }

  .quick-action span {
    font-size: 11px;
  }
}

/* Official HM mark lockup */
@media (max-width: 1120px) {
  .brand {
    min-width: 218px;
  }

  .brand img {
    width: 72px;
  }
}

@media (max-width: 820px) {
  .brand {
    min-width: auto;
  }

  .brand img {
    width: 68px;
  }

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

  .brand-wordmark small {
    font-size: 12px;
  }

  .nav-links {
    top: 102px;
    gap: 0;
    padding: 8px 18px;
  }

  .nav-links a {
    padding: 16px 0;
  }

  .nav-links a::after {
    bottom: 8px;
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 8px;
  }

  .brand img {
    width: 58px;
  }

  .brand-wordmark strong {
    font-size: 15px;
  }

  .brand-wordmark small {
    display: none;
  }
}

/* Header refinement: one clean navigation row */
.utility-bar {
  display: none;
}

.main-nav {
  min-height: 78px;
}

.brand {
  gap: 0;
  min-width: 258px;
}

.brand img {
  width: 248px;
}

.nav-links {
  gap: 34px;
}

.nav-language {
  padding: 0;
  color: #1d3147;
  font-size: 15px;
}

.nav-language::after {
  display: none;
}

.nav-language:hover,
.nav-language:focus-visible {
  color: var(--ink);
}

.footer-brand img {
  width: 230px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1121px) {
  .footer-grid > div:last-child {
    min-width: 520px;
  }

  html[lang="zh-CN"] .footer-grid > div:last-child p[data-i18n="footerAddress"] {
    white-space: nowrap;
  }
}

/* Subpage hero height reduced by roughly one third */
.page-hero {
  min-height: 220px;
}

.page-hero-inner {
  min-height: 220px;
  padding: 28px 0;
}

.page-hero h1 {
  font-size: clamp(28px, 3.25vw, 42px);
}

body[data-page="about"] .page-hero h1 {
  font-size: clamp(26px, 3vw, 40px);
}

body[data-page="about"] .about-section {
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

body[data-page="about"] .about-grid {
  align-items: start;
  gap: 50px;
}

body[data-page="about"] .about-copy h2 {
  color: var(--ink);
  font-size: clamp(27px, 2.6vw, 38px);
}

body[data-page="about"] .about-copy p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.55;
}

body[data-page="about"] .credential-grid {
  border-color: var(--line);
  justify-self: end;
  width: min(100%, 560px);
  margin-top: 28px;
}

body[data-page="about"] .credential-grid div {
  min-height: 80px;
  padding: 16px 22px;
  border-color: var(--line);
  background: #ffffff;
}

body[data-page="about"] .credential-grid strong {
  color: var(--ink);
  font-size: 23px;
}

body[data-page="about"] .credential-grid span {
  color: var(--muted);
  font-size: 15px;
}

body[data-page="about"] .credential-grid div:last-child span {
  white-space: nowrap;
}

body[data-page="about"] .services-section {
  padding: 52px 0 58px;
}

body[data-page="about"] .services-section .section-heading {
  display: block;
  margin-bottom: 24px;
}

body[data-page="about"] .services-section .section-mark {
  display: none;
}

body[data-page="about"] .services-section .section-heading h2 {
  font-size: clamp(24px, 2.35vw, 34px);
}

body[data-page="about"] .services-section .section-heading p {
  max-width: 840px;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
}

body[data-page="about"] .services-section .value-grid article {
  min-height: 166px;
  padding: 22px 26px;
  gap: 10px;
}

body[data-page="about"] .services-section .value-grid svg {
  width: 40px;
  height: 40px;
}

.page-hero p:last-child {
  margin-top: 14px;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .brand {
    min-width: 228px;
  }

  .brand img {
    width: 220px;
  }

  .nav-links {
    gap: 22px;
  }
}

@media (max-width: 820px) {
  .main-nav {
    min-height: 76px;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 210px;
  }

  .nav-links {
    top: 76px;
    gap: 0;
  }

  .nav-language {
    justify-content: flex-start;
    padding: 16px 0;
    font-size: 16px;
  }

  .nav-language span {
    display: inline;
  }

  .page-hero,
  .page-hero-inner {
    min-height: 220px;
  }

  .page-hero-inner {
    padding: 30px 0;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 178px;
  }

  .nav-language span {
    display: inline;
  }
}

/* Flexport-inspired content depth and motion */
.reveal-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.proof-band {
  position: relative;
  z-index: 4;
  margin-top: -1px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.proof-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
}

.proof-band-item {
  min-height: 148px;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.9), rgba(255, 255, 255, 0.94)),
    var(--white);
}

.proof-band-item span {
  color: #627487;
  font-size: 13px;
  font-weight: 800;
}

.proof-band-item strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.proof-band-item p {
  margin: 0;
  color: #324961;
  font-weight: 700;
}

.control-section {
  padding: 78px 0;
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
}

.control-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: 72px;
  align-items: start;
}

.control-copy h2 {
  margin: 0;
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
  font-weight: 850;
}

html[lang="zh-CN"] body[data-page="home"] .control-copy h2 {
  font-size: clamp(32px, 3.35vw, 46px);
  line-height: 1.16;
}

.control-copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow.light {
  color: var(--blue);
}

.control-bullets {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.control-bullets span {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 800;
}

.control-bullets span::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 16px;
  height: 2px;
  background: var(--red);
  content: "";
}

.control-map {
  display: block;
  width: min(100%, 640px);
  margin-top: 34px;
  aspect-ratio: 1900 / 832;
  object-fit: contain;
  object-position: left center;
}

.control-panel {
  position: relative;
  padding: 30px;
  border: 1px solid #dbe7f2;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.94));
  color: #17324c;
  box-shadow: 0 22px 54px rgba(15, 56, 96, 0.14);
  --order-cycle: 5.8s;
}

.control-panel::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(7, 95, 183, 0.1);
  border-radius: var(--radius);
  pointer-events: none;
  content: "";
}

.panel-topline,
.panel-track-form,
.panel-cards,
.panel-timeline {
  position: relative;
  z-index: 1;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.panel-topline span {
  color: #587089;
  font-weight: 800;
}

.panel-topline strong {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 95, 183, 0.1);
  color: var(--blue);
  font-size: 13px;
}

.panel-track-form {
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.72fr) auto;
  margin-bottom: 26px;
  padding: 16px;
  background: #f8fbff;
  box-shadow: none;
}

.panel-track-form .form-note {
  grid-column: 1 / -1;
}

.route-visual {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  grid-template-columns: 20px 1fr 20px 1fr 20px 1fr 20px;
  align-items: center;
  margin: 0 0 22px;
  --order-cycle: 5.8s;
}

.route-visual::before {
  position: absolute;
  z-index: 4;
  left: 10px;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 3px solid var(--white);
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(222, 31, 43, 0.13), 0 0 24px rgba(222, 31, 43, 0.36);
  content: "";
  transform: translate(-50%, -50%);
  animation: orderTraveler var(--order-cycle) cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.route-visual::after {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  content: "";
  opacity: 0.82;
  transform: translateY(-50%) scaleX(0.03);
  transform-origin: left center;
  animation: orderLineFill var(--order-cycle) ease-in-out infinite;
}

.route-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 4px solid #d8e6f4;
  background: var(--white);
}

.route-visual .route-dot {
  animation: routeNodeFlow var(--order-cycle) ease-in-out infinite;
}

.route-visual .route-dot:nth-child(1) {
  animation-delay: 0s;
}

.route-visual .route-dot:nth-child(3) {
  animation-delay: 1.75s;
}

.route-visual .route-dot:nth-child(5) {
  animation-delay: 3.55s;
}

.route-visual .route-dot:nth-child(7) {
  animation-delay: 5.35s;
}

.route-dot.active {
  border-color: var(--red);
  box-shadow: 0 0 0 8px rgba(222, 31, 43, 0.08);
}

.route-visual .route-dot.active {
  animation-name: routeStartFlow;
}

.route-line {
  position: relative;
  z-index: 1;
  height: 3px;
  overflow: hidden;
  background: #d8e6f4;
}

.route-line::after {
  position: absolute;
  inset: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: routePulse 2.6s ease-in-out infinite;
  content: "";
}

@keyframes routePulse {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(260%);
  }
}

@keyframes orderTraveler {
  0%,
  6% {
    left: 10px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  34% {
    left: 33.3%;
  }
  58% {
    left: 66.6%;
  }
  88% {
    left: calc(100% - 10px);
    opacity: 1;
  }
  94%,
  100% {
    left: calc(100% - 10px);
    opacity: 0;
  }
}

@keyframes orderLineFill {
  0%,
  6% {
    opacity: 0.28;
    transform: translateY(-50%) scaleX(0.03);
  }
  34% {
    opacity: 0.82;
    transform: translateY(-50%) scaleX(0.34);
  }
  58% {
    opacity: 0.82;
    transform: translateY(-50%) scaleX(0.67);
  }
  88% {
    opacity: 0.82;
    transform: translateY(-50%) scaleX(1);
  }
  94%,
  100% {
    opacity: 0;
    transform: translateY(-50%) scaleX(1);
  }
}

@keyframes routeNodeFlow {
  0%,
  23%,
  100% {
    transform: scale(1);
    border-color: #d8e6f4;
    box-shadow: none;
  }
  8%,
  15% {
    transform: scale(1.12);
    border-color: var(--red);
    box-shadow: 0 0 0 9px rgba(222, 31, 43, 0.1), 0 0 24px rgba(222, 31, 43, 0.22);
  }
}

@keyframes routeStartFlow {
  0%,
  23%,
  100% {
    transform: scale(1);
    border-color: var(--red);
    box-shadow: 0 0 0 8px rgba(222, 31, 43, 0.08);
  }
  8%,
  15% {
    transform: scale(1.12);
    border-color: var(--red);
    box-shadow: 0 0 0 11px rgba(222, 31, 43, 0.12), 0 0 26px rgba(222, 31, 43, 0.26);
  }
}

@keyframes route-dash {
  to {
    stroke-dashoffset: -42;
  }
}

.panel-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.panel-cards div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  min-height: 86px;
  padding: 13px 16px;
  border: 1px solid #dbe7f2;
  border-radius: var(--radius);
  background: var(--white);
  animation: orderCardFocus var(--order-cycle) ease-in-out infinite;
}

.panel-cards div::after {
  position: absolute;
  inset: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(7, 95, 183, 0.11), transparent);
  content: "";
  opacity: 0;
  transform: translateX(-130%);
  animation: orderCardSweep var(--order-cycle) ease-in-out infinite;
}

.panel-cards div:nth-child(1),
.panel-cards div:nth-child(1)::after {
  animation-delay: 0.35s;
}

.panel-cards div:nth-child(2),
.panel-cards div:nth-child(2)::after {
  animation-delay: 2.55s;
}

.panel-cards div:nth-child(3),
.panel-cards div:nth-child(3)::after {
  animation-delay: 4.75s;
}

.panel-cards span {
  color: #64788c;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.panel-cards strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
  white-space: nowrap;
}

.panel-timeline {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.panel-timeline li {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  padding: 12px 14px 12px 42px;
  border: 1px solid #dbe7f2;
  border-radius: var(--radius);
  background: #f8fbff;
  color: #385169;
  font-weight: 800;
}

.panel-timeline li::before {
  position: absolute;
  z-index: 1;
  left: 16px;
  top: 17px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #b9cde0;
  content: "";
  animation: timelineNodePulse 7.2s ease-in-out infinite;
}

.panel-timeline li::after {
  position: absolute;
  inset: 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(7, 95, 183, 0.09), transparent);
  content: "";
  opacity: 0;
  transform: translateX(-140%);
  animation: timelineSweep 7.2s ease-in-out infinite;
}

.panel-timeline li.is-active::after {
  background: linear-gradient(90deg, transparent, rgba(222, 31, 43, 0.11), transparent);
}

.panel-timeline li span {
  position: relative;
  z-index: 1;
}

.panel-timeline li:nth-child(1)::before,
.panel-timeline li:nth-child(1)::after {
  animation-delay: 0.25s;
}

.panel-timeline li:nth-child(2)::before,
.panel-timeline li:nth-child(2)::after {
  animation-delay: 1.95s;
}

.panel-timeline li:nth-child(3)::before,
.panel-timeline li:nth-child(3)::after {
  animation-delay: 3.65s;
}

.panel-timeline li:nth-child(4)::before,
.panel-timeline li:nth-child(4)::after {
  animation-delay: 5.35s;
}

.panel-timeline li.is-done::before {
  background: var(--blue);
}

.panel-timeline li.is-active {
  border-color: rgba(222, 31, 43, 0.32);
  background: #fff8f8;
  color: var(--ink);
}

.panel-timeline li.is-active::before {
  background: var(--red);
}

@keyframes orderCardFocus {
  0%,
  26%,
  100% {
    transform: translateY(0);
    border-color: #dbe7f2;
    background: var(--white);
    box-shadow: none;
  }
  9%,
  17% {
    transform: translateY(-3px);
    border-color: rgba(7, 95, 183, 0.52);
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
    box-shadow: 0 16px 34px rgba(7, 95, 183, 0.15);
  }
}

@keyframes orderCardSweep {
  0%,
  8%,
  100% {
    opacity: 0;
    transform: translateX(-130%);
  }
  12% {
    opacity: 1;
  }
  24% {
    opacity: 0;
    transform: translateX(260%);
  }
}

@keyframes timelineNodePulse {
  0%,
  26%,
  100% {
    box-shadow: none;
    transform: scale(1);
  }
  9%,
  17% {
    box-shadow: 0 0 0 8px rgba(7, 95, 183, 0.11);
    transform: scale(1.08);
  }
}

@keyframes timelineSweep {
  0%,
  8%,
  100% {
    opacity: 0;
    transform: translateX(-140%);
  }
  12% {
    opacity: 1;
  }
  24% {
    opacity: 0;
    transform: translateX(380%);
  }
}

.flow-section {
  padding: 88px 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
}

body[data-page="home"] .flow-section .section-heading {
  display: block;
  margin-bottom: 34px;
}

body[data-page="home"] .flow-section .section-heading .section-mark {
  margin-bottom: 20px;
}

body[data-page="home"] .flow-section .section-heading h2,
body[data-page="home"] .flow-section .section-heading p {
  max-width: 860px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flow-steps article {
  position: relative;
  min-height: 286px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(15, 56, 96, 0.06);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.flow-steps article:hover {
  transform: translateY(-4px);
  border-color: rgba(7, 95, 183, 0.34);
  box-shadow: 0 22px 46px rgba(15, 56, 96, 0.12);
}

.flow-steps article > span {
  position: absolute;
  right: 18px;
  top: 12px;
  color: #e4edf7;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.flow-steps svg {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  color: var(--blue);
  stroke-width: 1.7;
}

.flow-steps h3 {
  position: relative;
  z-index: 1;
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 23px;
}

.flow-steps p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}

.transport-depth {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

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

.mode-matrix article {
  min-height: 236px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(15, 56, 96, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mode-matrix article:hover {
  transform: translateY(-3px);
  border-color: rgba(7, 95, 183, 0.34);
  box-shadow: 0 22px 46px rgba(15, 56, 96, 0.11);
}

.mode-matrix span {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf5fd;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.mode-matrix h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.mode-matrix p {
  margin: 0;
  color: var(--muted);
}

.journey-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 44px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(7, 95, 183, 0.12), rgba(222, 31, 43, 0.06)),
    #071f3c;
  color: var(--white);
  overflow: hidden;
}

.journey-card h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

.journey-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.journey-card ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: journey;
}

.journey-card li {
  position: relative;
  min-height: 76px;
  padding: 16px 16px 16px 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #edf6ff;
  font-weight: 800;
}

.journey-card li::before {
  counter-increment: journey;
  content: counter(journey, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 16px;
  color: #8dc7f4;
  font-weight: 900;
}

@media (max-width: 1120px) {
  .proof-band-grid,
  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .control-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .mode-matrix,
  .journey-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .proof-band-grid,
  .panel-cards,
  .flow-steps,
  .mode-matrix,
  .journey-card ol {
    grid-template-columns: 1fr;
  }

  .proof-band-item {
    min-height: auto;
  }

  .control-section,
  .flow-section {
    padding: 58px 0;
  }

  .control-panel {
    padding: 22px;
  }

  .flow-steps article {
    min-height: auto;
  }

  .mode-matrix article {
    min-height: auto;
  }

  .journey-card {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Homepage redesign pass: tighter first screen and denser planning entry */
body[data-page="home"] .hero {
  min-height: 410px;
}

body[data-page="home"] .hero-grid {
  position: relative;
  min-height: 410px;
  grid-template-columns: 1fr;
}

body[data-page="home"] .hero-copy {
  max-width: 690px;
  padding: 42px 0 106px;
}

body[data-page="home"] .hero h1 {
  max-width: 650px;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.12;
}

body[data-page="home"] .hero-subtitle {
  max-width: 650px;
  margin: 16px 0 28px;
  font-size: clamp(16px, 1.34vw, 19px);
  line-height: 1.58;
}

body[data-page="home"] .hero-actions {
  gap: 18px;
}

body[data-page="home"] .quick-rail {
  right: 0;
  bottom: 20px;
  width: min(620px, 100%);
  box-shadow: 0 16px 34px rgba(5, 31, 62, 0.18);
}

body[data-page="home"] .quick-action {
  min-height: 76px;
  gap: 3px;
}

body[data-page="home"] .quick-action svg {
  width: 24px;
  height: 24px;
}

body[data-page="home"] .quick-action strong {
  font-size: 14px;
}

body[data-page="home"] .quick-action span {
  font-size: 11px;
}

body[data-page="home"] .proof-band-grid {
  grid-template-columns: repeat(3, 1fr);
}

body[data-page="home"] .proof-band-item {
  min-height: 76px;
  padding: 14px 28px;
}

body[data-page="home"] .proof-band-item strong {
  display: inline-block;
  margin: 0 12px 0 0;
  min-width: 92px;
  font-size: clamp(28px, 2.8vw, 36px);
  vertical-align: middle;
}

body[data-page="home"] .proof-band-item span {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}

body[data-page="home"] .proof-band-item p {
  display: inline;
  font-size: 15px;
}

body[data-page="home"] .control-section {
  padding-bottom: 34px;
}

body[data-page="home"] .flow-section {
  padding-top: 42px;
}

body[data-page="home"] .tool-grid {
  grid-template-columns: minmax(430px, 0.92fr) minmax(0, 1.35fr);
  gap: 42px;
  align-items: start;
  padding: 30px 0;
}

body[data-page="home"] .tool-copy {
  padding-top: 4px;
}

body[data-page="home"] .tool-copy .section-mark {
  margin-bottom: 16px;
}

body[data-page="home"] .tool-copy h2 {
  white-space: nowrap;
  font-size: clamp(28px, 2.15vw, 32px);
  line-height: 1.22;
}

body[data-page="home"] .tool-copy p {
  margin-top: 12px;
  max-width: 420px;
}

body[data-page="home"] .track-form {
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.82fr) auto;
  align-items: end;
}

@media (max-width: 1120px) {
  body[data-page="home"] .hero {
    min-height: 430px;
  }

  body[data-page="home"] .hero-grid {
    min-height: 430px;
  }

  body[data-page="home"] .quick-rail {
    left: auto;
    right: 0;
    width: min(560px, 100%);
  }

  body[data-page="home"] .proof-band-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  body[data-page="home"] .tool-grid {
    grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  }

  body[data-page="home"] .tool-copy h2 {
    white-space: normal;
  }
}

@media (max-width: 820px) {
  body[data-page="home"] .hero,
  body[data-page="home"] .hero-grid {
    min-height: auto;
  }

  body[data-page="home"] .hero-copy {
    padding: 36px 0 22px;
  }

  body[data-page="home"] .quick-rail {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 0 0 24px;
  }

  body[data-page="home"] .quick-action {
    min-height: 78px;
  }

  body[data-page="home"] .proof-band-grid,
  body[data-page="home"] .tool-grid,
  body[data-page="home"] .track-form {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .proof-band-item {
    min-height: auto;
    padding: 16px 22px;
  }

  body[data-page="home"] .tool-copy h2 {
    white-space: normal;
  }
}

/* Header interaction polish from annotated feedback */
.site-header .nav-links {
  gap: 10px;
}

.site-header .nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

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

.site-header .nav-links a:hover,
.site-header .nav-links a:focus-visible {
  color: var(--blue);
  background: #eef6ff;
  box-shadow: 0 8px 20px rgba(7, 95, 183, 0.12);
  transform: translateY(-1px);
}

.site-header .nav-links a:active {
  color: var(--ink);
  background: #dceeff;
  box-shadow: none;
  transform: translateY(0);
}

.site-header .nav-links a[aria-current="page"] {
  color: var(--blue);
  background: #eaf4ff;
  box-shadow: inset 0 0 0 1px rgba(7, 95, 183, 0.18);
}

.site-header .nav-language {
  min-height: 32px;
  padding: 0 10px;
  gap: 6px;
  border: 1px solid #d6e5f2;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.site-header .nav-language svg {
  width: 15px;
  height: 15px;
}

.site-header .nav-language:hover,
.site-header .nav-language:focus-visible {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(7, 95, 183, 0.2);
  transform: translateY(-1px);
}

.site-header .nav-language:active {
  transform: translateY(0);
  box-shadow: none;
}

body[data-page="home"] .quick-action {
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

body[data-page="home"] .quick-action:hover,
body[data-page="home"] .quick-action:focus-visible {
  color: var(--blue);
  background: #f3f9ff;
  transform: translateY(-2px);
  box-shadow: inset 0 -2px 0 rgba(7, 95, 183, 0.18);
}

body[data-page="home"] .quick-action:active {
  transform: translateY(0);
  box-shadow: inset 0 0 0 2px rgba(7, 95, 183, 0.16);
}

@media (max-width: 820px) {
  .site-header .nav-links {
    gap: 2px;
  }

  .site-header .nav-links a {
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
  }

  .site-header .nav-language {
    width: fit-content;
    margin: 8px 0 4px;
    padding: 0 12px;
  }
}

@media (max-width: 820px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .support-list,
  body[data-page="support"] .value-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel-head h3 {
    font-size: 26px;
    white-space: normal;
  }

  .contact-panel-head p:last-child {
    white-space: normal;
  }

  .contact-qr {
    width: min(100%, 260px);
    height: auto;
    justify-self: center;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
    width: 50px;
  }

  .floating-contact-btn {
    width: 50px;
    min-height: 50px;
    padding: 0;
    font-size: 13px;
  }

  .floating-wechat {
    width: min(236px, calc(100vw - 28px));
  }
}

@media (max-width: 520px) {
  .contact-card a {
    font-size: 18px;
  }

  .floating-contact {
    grid-template-columns: 1fr;
    left: auto;
    right: 12px;
    bottom: 12px;
    width: 50px;
  }

  .floating-wechat {
    right: 0;
    bottom: calc(100% + 8px);
  }

  .site-footer {
    padding-bottom: 82px;
  }
}

