/* Cargo Express — public site stylesheet
   Palette derived from the company logo: green wordmark, blue globe, maroon tagline.
   Uses logical properties (inline/block) so the layout mirrors correctly in Arabic (RTL). */

@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --navy-950: #071827;
  --navy-900: #0B2235;
  --navy-800: #12314B;
  --navy-700: #1D4867;
  --green-700: #1B6421;
  --green-600: #237A2C;
  --green-500: #2E9A3A;
  --green-300: #7CCB84;
  --green-50: #EDF6EE;
  --blue-700: #1F6690;
  --blue-500: #2D86B9;
  --blue-50: #EAF4FA;
  --sky: #8FC8DD;
  --maroon: #9E3439;
  --amber-700: #8A5300;
  --amber-50: #FFF4E0;
  --red-700: #A4262C;
  --red-50: #FDECEC;
  --ink: #0F1E2B;
  --muted: #4A5B6A;
  --line: #D6DEE5;
  --paper: #FFFFFF;
  --mist: #F4F7F8;

  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgb(11 34 53 / .06), 0 8px 24px rgb(11 34 53 / .08);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

html[lang='ar'] {
  --font-display: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
}
html[lang='zh-Hans'] {
  --font-display: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
  --font-body: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
html[lang='zh-Hans'] body { line-height: 1.8; letter-spacing: .02em; }
html[lang='ar'] body { line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-700); text-underline-offset: .18em; }
a:hover { color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
bdi.tn, .tn { font-family: var(--font-mono); letter-spacing: .04em; unicode-bidi: isolate; direction: ltr; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; color: var(--navy-900); letter-spacing: .005em; }
html[lang='zh-Hans'] :is(h1, h2, h3, h4), html[lang='ar'] :is(h1, h2, h3, h4) { line-height: 1.35; letter-spacing: 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.45rem; }
html[lang='zh-Hans'] h1, html[lang='ar'] h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
html[lang='zh-Hans'] h2, html[lang='ar'] h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
html[lang='zh-Hans'] h3, html[lang='ar'] h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-900); color: #DCE7EF; }
.section--navy :is(h2, h3) { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: .9rem;
}
html[lang='zh-Hans'] .eyebrow, html[lang='ar'] .eyebrow { letter-spacing: .02em; text-transform: none; }
.eyebrow::before { content: ''; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  --bg: var(--green-600); --fg: #fff; --bd: var(--green-600);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em; border-radius: 8px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { --bg: var(--green-700); --bd: var(--green-700); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
html[dir='rtl'] .btn svg.dir { transform: scaleX(-1); }
.btn--ghost { --bg: transparent; --fg: var(--navy-900); --bd: var(--line); }
.btn--ghost:hover { --bg: var(--mist); --bd: var(--navy-700); color: var(--navy-900); }
.btn--light { --bg: transparent; --fg: #fff; --bd: rgb(255 255 255 / .45); }
.btn--light:hover { --bg: rgb(255 255 255 / .08); --bd: #fff; color: #fff; }
.btn--block { width: 100%; }
.btn[aria-busy='true'] { opacity: .75; cursor: progress; }

/* Header ------------------------------------------------------------------- */
.topbar { background: var(--navy-950); color: #B9C9D6; font-size: .875rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #E6EEF4; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__contact { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.topbar__contact span { display: inline-flex; align-items: center; gap: 6px; }
.topbar__contact svg { width: 16px; height: 16px; color: var(--sky); }

.site-header { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 220px; height: auto; }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link { display: block; padding: .6em .85em; border-radius: 6px; color: var(--navy-900); font-weight: 500; text-decoration: none; }
.nav__link:hover { background: var(--mist); color: var(--navy-900); }
.nav__link[aria-current='page'] { color: var(--green-600); box-shadow: inset 0 -3px 0 var(--green-600); border-radius: 6px 6px 0 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }

.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-weight: 500; color: var(--navy-900); background: #fff;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 18px; height: 18px; }
.lang-switch[open] summary { border-color: var(--navy-700); }
.lang-switch ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 180px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); z-index: 60;
}
.lang-switch li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.lang-switch li a:hover { background: var(--mist); }
.lang-switch li a[aria-current='true'] { font-weight: 600; color: var(--green-600); }
.lang-switch li a span:last-child { color: var(--muted); font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; }
.topbar .lang-switch summary { background: transparent; color: #E6EEF4; border-color: rgb(255 255 255 / .2); min-height: 32px; }

/* Hero ----------------------------------------------------------------------- */
.hero { position: relative; background: var(--navy-900); color: #D7E3EC; overflow: hidden; isolation: isolate; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 620px; }
.hero__content { padding-block: clamp(48px, 7vw, 96px); padding-inline-end: clamp(16px, 4vw, 56px); position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 15ch; }
html[lang='zh-Hans'] .hero h1, html[lang='ar'] .hero h1 { max-width: 18ch; }
.hero .eyebrow { color: var(--green-300); }
.hero .lead { color: #C3D3DF; }
.hero__media { position: relative; margin-inline-end: calc(-1 * var(--gutter)); }
.hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::before {
  content: ''; position: absolute; inset-block: 0; inset-inline-start: -1px; width: 120px; z-index: 1;
  background: var(--navy-900); clip-path: polygon(0 0, 100% 0, 0 100%);
}
html[dir='rtl'] .hero__media::before { clip-path: polygon(0 0, 100% 0, 100% 100%); }
.hero__globe { position: absolute; inset-inline-start: -180px; bottom: -220px; width: 560px; height: 560px; color: var(--navy-800); z-index: -1; }

.track-card {
  margin-top: 32px; max-width: 560px; background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgb(0 0 0 / .28); position: relative; overflow: hidden;
}
.track-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px;
  background: var(--green-600); color: #fff; font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 1.05rem;
}
html[lang='zh-Hans'] .track-card__head, html[lang='ar'] .track-card__head { letter-spacing: 0; text-transform: none; }
.track-card__head svg { width: 22px; height: 22px; }
.track-card__body { padding: 20px; border-top: 2px dashed rgb(255 255 255 / .0); position: relative; }
.track-card__body::before {
  content: ''; position: absolute; inset-inline: 14px; top: -1px; height: 2px;
  background-image: linear-gradient(90deg, var(--line) 50%, transparent 0); background-size: 12px 2px;
}
.track-card .help { font-size: .875rem; color: var(--muted); margin: 10px 0 0; }

.track-form { display: flex; gap: 10px; }
.track-form input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 2px solid var(--line); border-radius: 8px;
  font: 500 1.1rem/1 var(--font-mono); letter-spacing: .06em; color: var(--navy-900); text-transform: uppercase; direction: ltr; text-align: start;
}
html[dir='rtl'] .track-form input { text-align: right; }
.track-form input::placeholder { color: #7D8C98; letter-spacing: .02em; text-transform: none; font-family: var(--font-body); font-weight: 400; font-size: 1rem; }
.track-form input:focus { border-color: var(--blue-500); outline: none; box-shadow: 0 0 0 3px rgb(45 134 185 / .25); }

.facts { position: relative; z-index: 3; margin-top: -48px; }
.facts__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.facts__item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; }
.facts__item + .facts__item { border-inline-start: 1px solid var(--line); }
.facts__item svg { width: 28px; height: 28px; color: var(--green-600); flex: none; margin-top: 2px; }
.facts__item strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--navy-900); line-height: 1.2; }
.facts__item span { color: var(--muted); font-size: .95rem; }

/* Services ----------------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; height: 100%; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card__media { aspect-ratio: 16 / 10; background: var(--blue-50); overflow: hidden; position: relative; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__media--icon { display: grid; place-items: center; color: var(--blue-700); }
.service-card__media--icon svg { width: 64px; height: 64px; }
.service-card__badge {
  position: absolute; inset-block-end: -22px; inset-inline-start: 20px; width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-600); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgb(11 34 53 / .18);
}
.service-card__badge svg { width: 26px; height: 26px; }
.service-card__body { padding: 32px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { margin-bottom: .35em; }
.service-card__body p { color: var(--muted); margin-bottom: 1.2em; }
.service-card__link { margin-top: auto; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--green-600); text-decoration: none; }
.service-card__link:hover { color: var(--green-700); text-decoration: underline; }
.service-card__link svg { width: 18px; height: 18px; }
html[dir='rtl'] .service-card__link svg { transform: scaleX(-1); }

/* Steps ---------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 27px; inset-inline-start: 28px; inset-inline-end: calc(25% - 10px); height: 2px;
  background-image: linear-gradient(90deg, var(--green-500) 55%, transparent 0); background-size: 14px 2px;
}
.step { position: relative; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--green-600); color: var(--green-600);
  display: grid; place-items: center; font: 500 1.05rem/1 var(--font-mono); margin-bottom: 18px; position: relative;
}
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); margin: 0; }

/* Tracking band ---------------------------------------------------------------------- */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.checklist { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--green-300); flex: none; margin-top: 3px; }
.status-demo { background: var(--navy-800); border: 1px solid var(--navy-700); border-radius: var(--radius-lg); padding: 28px; }
.status-demo__label { font-family: var(--font-mono); font-size: .8rem; color: var(--sky); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.status-demo ol { list-style: none; margin: 0; padding: 0; }
.status-demo li { display: flex; gap: 16px; align-items: center; padding-block: 12px; position: relative; color: #fff; font-weight: 500; }
.status-demo li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--sky); background: var(--navy-800); flex: none; position: relative; z-index: 1; }
.status-demo li.done::before { background: var(--green-500); border-color: var(--green-500); }
.status-demo li + li::after { content: ''; position: absolute; inset-inline-start: 6px; top: -12px; height: 24px; width: 2px; background: var(--navy-700); }

/* CTA ------------------------------------------------------------------------------------ */
.cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); background: var(--green-600); border-radius: var(--radius-lg); overflow: hidden; color: #E9F6EA; }
.cta__body { padding: clamp(32px, 5vw, 56px); }
.cta h2 { color: #fff; }
.cta .btn { --bg: #fff; --fg: var(--green-700); --bd: #fff; }
.cta .btn:hover { --bg: var(--green-50); --bd: var(--green-50); color: var(--green-700); }
.cta .btn--light { --bg: transparent; --fg: #fff; --bd: rgb(255 255 255 / .6); }
.cta .btn--light:hover { --bg: rgb(255 255 255 / .1); color: #fff; }
.cta__media { position: relative; min-height: 260px; }
.cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page header ------------------------------------------------------------------------------ */
.page-head { background: var(--navy-900); color: #C3D3DF; padding-block: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-head h1 { color: #fff; }
.page-head .lead { color: #C3D3DF; margin-bottom: 0; }
.page-head__globe { position: absolute; inset-inline-end: -120px; top: -140px; width: 440px; height: 440px; color: var(--navy-800); pointer-events: none; }
.breadcrumb ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; }
.breadcrumb li + li::before { content: '/'; margin-inline-end: 8px; color: #6F8798; }
.breadcrumb a { color: #C3D3DF; }
.breadcrumb [aria-current] { color: #fff; }

/* Content blocks ------------------------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose p, .prose li { color: #24323F; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid #C9E1EE; color: var(--navy-900); }
.notice svg { width: 22px; height: 22px; flex: none; color: var(--blue-700); margin-top: 2px; }
.notice--warning { background: var(--amber-50); border-color: #F2D49B; }
.notice--warning svg { color: var(--amber-700); }
.notice--error { background: var(--red-50); border-color: #F3C2C2; }
.notice--error svg { color: var(--red-700); }
.notice--success { background: var(--green-50); border-color: #BFE0C3; }
.notice--success svg { color: var(--green-600); }
.notice p { margin: 0; }
.notice strong { display: block; }

.service-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 40px; border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; }
.service-detail__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--blue-50); display: grid; place-items: center; color: var(--blue-700); }
.service-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail__media svg { width: 88px; height: 88px; }
.service-detail h2 { font-size: 2rem; display: flex; align-items: center; gap: 12px; }
.service-detail h2 svg { width: 32px; height: 32px; color: var(--green-600); flex: none; }
.service-detail p { color: var(--muted); font-size: 1.05rem; }

.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.values li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; border-top: 4px solid var(--green-600); }
.values h3 { font-size: 1.3rem; }
.values p { margin: 0; color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.facts-dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; margin: 0; }
.facts-dl dt { color: var(--muted); font-weight: 500; }
.facts-dl dd { margin: 0; font-weight: 500; }

/* Forms -------------------------------------------------------------------------------------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.card--mist { background: var(--mist); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--navy-900); }
.field label .opt { font-weight: 400; color: var(--muted); font-size: .875rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #B8C5CF; border-radius: 8px; background: #fff;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgb(45 134 185 / .25); }
.field [aria-invalid='true'] { border-color: var(--red-700); }
.field__error { color: var(--red-700); font-size: .9rem; font-weight: 500; }
.field__error:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: #24323F; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--green-600); }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-bottom: 20px; }
.form-status:empty { display: none; }
.side-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.side-steps li { display: flex; gap: 12px; align-items: flex-start; }
.side-steps li::before { counter-increment: s; content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green-600); color: #fff; display: grid; place-items: center; font: 500 .85rem/1 var(--font-mono); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 24px; height: 24px; color: var(--green-600); flex: none; margin-top: 2px; }
.contact-list strong { display: block; color: var(--navy-900); }
.contact-list address { font-style: normal; }

/* Tracking results ---------------------------------------------------------------------------- */
.track-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 920px; }
.track-result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.track-result__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: var(--mist); border-bottom: 1px solid var(--line); }
.track-result__number { font: 500 1.35rem/1.2 var(--font-mono); color: var(--navy-900); letter-spacing: .04em; }
.track-result__label { font-size: .85rem; color: var(--muted); display: block; margin-bottom: 2px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; background: var(--blue-50); color: var(--blue-700); border: 1px solid #C9E1EE; }
.status-pill::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status-pill--success { background: var(--green-50); color: var(--green-700); border-color: #BFE0C3; }
.status-pill--warning { background: var(--amber-50); color: var(--amber-700); border-color: #F2D49B; }
.status-pill--danger { background: var(--red-50); color: var(--red-700); border-color: #F3C2C2; }
.status-pill--neutral { background: #EEF1F4; color: #33424F; border-color: var(--line); }
.track-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; }
.track-summary > div { padding: 18px 24px; border-bottom: 1px solid var(--line); }
.track-summary > div:not(:nth-child(3n + 1)) { border-inline-start: 1px solid var(--line); }
.track-summary dt { font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.track-summary dd { margin: 0; font-weight: 600; color: var(--navy-900); }
.track-summary dd.unknown { font-weight: 400; color: var(--muted); font-style: italic; }
.track-route { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.track-route__place { font-weight: 600; color: var(--navy-900); }
.track-route__place small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.track-route__line { flex: 1; min-width: 60px; height: 2px; background-image: linear-gradient(90deg, var(--green-500) 55%, transparent 0); background-size: 12px 2px; position: relative; }
.track-route svg { width: 24px; height: 24px; color: var(--green-600); }
html[dir='rtl'] .track-route svg.dir { transform: scaleX(-1); }
.timeline { list-style: none; margin: 0; padding: 24px; }
.timeline__title { padding: 20px 24px 0; margin: 0; font-size: 1.4rem; }
.tl-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; position: relative; padding-bottom: 24px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; inset-inline-start: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #EEF1F4; color: #33424F; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.tl-dot svg { width: 16px; height: 16px; }
.tl-item--current .tl-dot { background: var(--green-600); color: #fff; box-shadow: 0 0 0 4px rgb(46 154 58 / .2); }
.tl-item--warning .tl-dot { background: var(--amber-50); color: var(--amber-700); }
.tl-item--danger .tl-dot { background: var(--red-50); color: var(--red-700); }
.tl-body strong { display: block; color: var(--navy-900); font-size: 1.05rem; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.tl-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tl-meta svg { width: 15px; height: 15px; }
.tl-meta .unknown { font-style: italic; }
.tl-desc { margin: 6px 0 0; color: #24323F; }
.tl-tag { display: inline-block; margin-inline-start: 8px; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); vertical-align: middle; }
.track-foot { padding: 16px 24px; background: var(--mist); color: var(--muted); font-size: .875rem; border-top: 1px solid var(--line); }

/* Footer --------------------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #A9BCCB; padding-top: 64px; font-size: .95rem; }
.site-footer a { color: #DCE7EF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { width: 240px; margin-bottom: 16px; }
.site-footer h2, html[lang] .site-footer h2 { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
html[lang='zh-Hans'] .site-footer h2, html[lang='ar'] .site-footer h2 { letter-spacing: 0; text-transform: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--sky); flex: none; margin-top: 3px; }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgb(255 255 255 / .1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .875rem; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 0; padding: 0; }

/* Responsive ------------------------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand img { width: 190px; }
  .nav__link { padding-inline: .6em; }
}
@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy-900); cursor: pointer; }
  .menu-toggle svg { width: 24px; height: 24px; }
  .menu-toggle .icon-close { display: none; }
  .site-header.nav-open .menu-toggle .icon-close { display: block; }
  .site-header.nav-open .menu-toggle .icon-open { display: none; }
  .nav { position: absolute; inset-inline: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px var(--gutter) 20px; display: none; flex-direction: column; align-items: stretch; }
  .site-header.nav-open .nav { display: flex; }
  .nav__list { flex-direction: column; }
  .nav__link { padding: 14px 12px; font-size: 1.05rem; }
  .nav__link[aria-current='page'] { box-shadow: inset 4px 0 0 var(--green-600); border-radius: 6px; }
  html[dir='rtl'] .nav__link[aria-current='page'] { box-shadow: inset -4px 0 0 var(--green-600); }
  .nav .btn { margin-top: 10px; }
  .header-actions { margin-inline-start: auto; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; height: 240px; margin-inline: calc(-1 * var(--gutter)); }
  .hero__media::before { display: none; }
  .hero__content { padding-inline-end: 0; padding-block: 36px 88px; }
  .facts__list { grid-template-columns: 1fr; }
  .facts__item + .facts__item { border-inline-start: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps::before { display: none; }
  .band, .cta, .two-col, .form-layout, .service-detail { grid-template-columns: 1fr; }
  .cta__media { min-height: 200px; }
  .track-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track-summary > div:not(:nth-child(3n + 1)) { border-inline-start: 0; }
  .track-summary > div:nth-child(2n) { border-inline-start: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .topbar__contact .hide-sm { display: none; }
  .brand img { width: 168px; }
  .site-header .container { min-height: 66px; gap: 12px; }
  .services-grid, .values, .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .track-form { flex-direction: column; }
  .track-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .track-summary { grid-template-columns: 1fr; }
  .track-route__line, .track-route svg { display: none; }
  .track-route { flex-direction: column; align-items: flex-start; gap: 10px; }
  .track-summary > div:nth-child(2n) { border-inline-start: 0; }
  .facts-dl { grid-template-columns: 1fr; gap: 2px; }
  .facts-dl dd { margin-bottom: 10px; }
  .lang-switch .lang-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .site-header, .site-footer, .track-form, .cta { display: none !important; }
}
.eyebrow--light { color: var(--green-300); }
.skip:focus { position: fixed; inset-inline-start: 12px; top: 12px; width: auto; height: auto; clip: auto; margin: 0; padding: 12px 18px; background: #fff; color: var(--navy-900); z-index: 100; border-radius: 8px; box-shadow: var(--shadow); white-space: normal; }
main:focus { outline: none; }
.inline-icon { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; color: var(--green-600); }
aside.card hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0 16px; }
.contact-list a { word-break: break-word; }
.lang-picker { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Service pages, FAQ, legal pages ---------- */
.footer-grid { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.service-card__media { display: block; }
.service-card__body { position: relative; }
.service-card__icon { position: absolute; top: -26px; inset-inline-start: 22px; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--green-600); color: #fff; box-shadow: 0 6px 16px rgb(11 34 53 / .18); }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a:hover { color: var(--green-700); }
.services-grid + .notice, .services-grid + .faq-more { margin-top: 32px; }
.page-head .eyebrow { margin-bottom: .4em; }
.page-head__actions { margin-top: 24px; }
.page-head__meta { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; color: #C3D3DF; font-size: .95rem; }
.page-head__meta svg { width: 18px; height: 18px; }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgb(255 255 255 / .5); }
.btn--outline-light:hover { --bg: rgb(255 255 255 / .1); --bd: #fff; color: #fff; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.svc-h { display: flex; align-items: center; gap: 12px; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.svc-h svg { width: 30px; height: 30px; color: var(--green-600); flex: none; }
.svc-h--sub { margin-top: 1.4em; }
.svc-intro p { font-size: 1.08rem; line-height: 1.7; }
.ticks { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 32px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23237A2C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; border: 1px solid #BFE0C3; }
.ticks--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.svc-aside { position: sticky; top: 96px; display: grid; gap: 20px; }
.svc-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--blue-50); box-shadow: var(--shadow); }
.svc-photo img, .service-card__media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-card { background: var(--navy-900); color: #C3D3DF; border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 12px; }
.svc-card p { margin: 0; }
.svc-card__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.15; }
.svc-card .btn--ghost { --fg: #fff; --bd: rgb(255 255 255 / .35); }
.svc-card .btn--ghost:hover { --bg: rgb(255 255 255 / .08); color: #fff; --bd: #fff; }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); height: 100%; }
.panel-card .svc-h { font-size: 1.5rem; margin-bottom: .8em; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.narrow { max-width: 920px; }
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s ease, border-color .2s ease; }
.faq__item[open] { border-color: #BFD3E1; box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 1.05rem; color: var(--navy-900); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--green-700); }
.faq__item summary:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: var(--radius); }
.faq__chev { width: 22px; height: 22px; flex: none; color: var(--green-600); transition: transform .2s ease; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__answer { padding: 0 22px 18px; color: #24323F; line-height: 1.65; }
.faq__answer p:last-child, .faq__answer ul:last-child { margin-bottom: 0; }
.faq-more { margin: 24px 0 0; }
.faq-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-600); }
.faq-more svg { width: 18px; height: 18px; }
html[dir='rtl'] .faq-more svg { transform: scaleX(-1); }
.faq-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.faq-topics { position: sticky; top: 96px; }
.faq-topics ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.faq-topics a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius); color: var(--navy-900); text-decoration: none; font-weight: 600; border: 1px solid transparent; }
.faq-topics a:hover { background: var(--mist); border-color: var(--line); }
.faq-topics .count { font-size: .8rem; min-width: 26px; text-align: center; padding: 2px 8px; border-radius: 999px; background: var(--green-50); color: var(--green-700); }
.faq-groups { display: grid; gap: 44px; }
.faq-group h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: .7em; scroll-margin-top: 100px; }
.faq-group { scroll-margin-top: 100px; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; color: #C3D3DF; max-width: 60ch; }
.legal-intro { max-width: 80ch; margin-bottom: 36px; }
.lead-prose p { font-size: 1.12rem; line-height: 1.7; }
.company-card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); margin-bottom: 40px; }
.company-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; }
.company-card h2 svg { width: 26px; height: 26px; color: var(--green-600); }
.company-card .facts-dl > div { display: contents; }
.legal-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.legal-toc { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; max-height: calc(100vh - 120px); overflow: auto; }
.legal-toc__title { font-weight: 700; color: var(--navy-900); margin-bottom: .6em; }
.legal-toc ol { margin: 0; padding-inline-start: 1.1em; display: grid; gap: 6px; font-size: .95rem; }
.legal-toc a { color: var(--navy-700); text-decoration: none; }
.legal-toc a:hover { color: var(--green-700); text-decoration: underline; }
.legal-body section { scroll-margin-top: 100px; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.legal-body section:last-child { border-bottom: 0; }
.legal-body h2 { font-size: 1.45rem; margin-top: 1.1em; }
.legal-body ul { padding-inline-start: 1.3em; }
.legal-body li { margin-bottom: .4em; }
.legal-others { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal-others h2 { font-size: 1.3rem; }
.legal-others ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.legal-others a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy-900); font-weight: 600; background: #fff; }
.legal-others a:hover { border-color: var(--green-600); color: var(--green-700); }
.legal-others svg { width: 18px; height: 18px; color: var(--green-600); }
@media (max-width: 1080px) {
  .steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .svc-layout, .faq-layout, .legal-layout, .legal-intro { grid-template-columns: 1fr; }
  .svc-aside, .faq-topics, .legal-toc { position: static; max-height: none; }
  .faq-topics ul { display: flex; flex-wrap: wrap; }
  .steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ticks--grid, .steps--5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band .actions { width: 100%; }
}
.steps--5::before { inset-inline-end: calc(20% - 10px); }
