:root {
  color-scheme: light;
  --navy: #092b4c;
  --deep: #052442;
  --gold: #f6bd36;
  --ink: #102d49;
  --muted: #466078;
  --line: #dbe5ef;
  --pale: #edf4fb;
  --gutter: clamp(22px, 4.8vw, 82px);
  font: 16px/1.5 "Segoe UI", Arial, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2381ca; outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1450px); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }

.site-header {
  min-height: 96px;
  padding: 12px clamp(16px, 2.4vw, 42px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  background: #fff;
  font-size: 13px;
  font-weight: 750;
}
.brand { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.brand-logo {
  position: relative;
  flex: none;
  width: clamp(96px, 9vw, 146px);
  aspect-ratio: 172 / 99;
  overflow: hidden;
}
.brand-logo img {
  position: absolute;
  top: 53.5%;
  left: 50%;
  width: auto;
  max-width: none;
  height: 172%;
  transform: translate(-50%, -50%);
}
.brand strong { border-inline-start: 1px solid var(--line); padding: 10px 0 10px 20px; font-size: clamp(15px, 1.5vw, 24px); letter-spacing: .02em; white-space: nowrap; }
.main-nav, .languages { display: flex; align-items: center; gap: clamp(12px, 1.65vw, 28px); white-space: nowrap; }
.main-nav { justify-content: flex-end; flex: 1; }
.main-nav a, .main-nav > span { position: relative; padding: 12px 0; }
.main-nav [aria-current] { color: #8a5c00; }
.main-nav [aria-current]::after { content: ""; height: 3px; position: absolute; inset: auto 0 4px; background: var(--gold); }
.main-nav a:hover { color: #8a5c00; }
.languages { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(14px, 1.6vw, 26px); gap: clamp(9px, 1.15vw, 18px); font-size: 12px; }
.languages a { display: inline-flex; align-items: center; min-height: 34px; }
.languages a:hover, .languages [aria-current] { color: #8a5c00; }
.languages [aria-current] { text-decoration: underline; text-underline-offset: 5px; }
html[lang="ar"] :is(.hero-heading > [dir="auto"], .hero-location) { text-align: left; }

.contact-hero { position: relative; overflow: hidden; isolation: isolate; background: #082c51; color: white; }
.contact-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 44%;
  background: linear-gradient(90deg, #082c51, #082c5100 49%), url("assets/guangzhou.png") center 28% / cover no-repeat;
}
.contact-hero .wrap { padding-block: 38px 42px; }
.hero-heading { border-inline-start: 5px solid var(--gold); padding-inline-start: 22px; }
.hero-heading h1 { font-size: clamp(42px, 4.5vw, 70px); line-height: 1.02; letter-spacing: -.022em; }
.hero-heading p { margin-top: 9px; font-size: clamp(16px, 1.55vw, 21px); color: #f0f5fb; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; margin: 21px 0 0 27px; color: #eef5fc; font-size: 13px; }
.breadcrumbs a { display: inline-flex; gap: 7px; align-items: center; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .icon { width: 16px; height: 16px; color: var(--gold); }

.contact-main { padding-block: 36px 30px; }
.contact-grid { display: grid; grid-template-columns: 1.86fr 1fr; gap: 30px; align-items: start; }
.section-title { font-size: clamp(28px, 2.85vw, 43px); letter-spacing: -.028em; line-height: 1.12; }
.section-title::before { content: ""; display: block; width: 46px; height: 4px; margin-bottom: 12px; border-radius: 3px; background: var(--gold); }
.intro { margin-top: 9px; color: var(--muted); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 21px; }
.person, .office { border: 1px solid var(--line); border-radius: 12px; }
.person { padding: 19px 21px 17px; background: #f8fbff; }
.person-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.person-head h3 { font-size: 26px; line-height: 1.05; }
.person-head p { margin-top: 3px; font-size: 13px; color: var(--muted); }
.badge { width: 39px; height: 39px; border-radius: 9px; background: #fff1c9; color: #7b5406; display: grid; place-items: center; flex: 0 0 auto; }
.contact-links { display: grid; gap: 7px; }
.contact-links a { width: fit-content; display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.contact-links a:hover { text-decoration: underline; }
.contact-links .icon { width: 17px; height: 17px; color: #9b680a; }
.chat { display: flex; gap: 14px; align-items: center; margin-top: 19px; color: var(--muted); font-size: 13px; }
.button { display: inline-flex; gap: 9px; align-items: center; justify-content: center; min-height: 46px; padding: 10px 17px; border-radius: 6px; background: var(--gold); color: #102841; font-size: 14px; font-weight: 750; width: fit-content; }
.button:hover { background: #ffd270; }
.button .icon:last-child { width: 18px; height: 18px; }

.office { position: relative; min-height: 100%; padding: 28px 28px 25px; overflow: hidden; background: linear-gradient(145deg, #0c395e, #062543 78%); color: white; }
.office::before, .office::after { content: ""; position: absolute; width: 340px; height: 225px; border: 1px solid #77b3df30; border-radius: 50%; transform: rotate(-28deg); pointer-events: none; }
.office::before { right: -95px; bottom: -126px; }
.office::after { right: -100px; bottom: -105px; }
.office .badge { width: 43px; height: 43px; color: #ffce60; background: #ffffff17; }
.office h2 { margin-top: 12px; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.12; }
.office-company { margin-top: 9px; font-size: 14px; font-weight: 650; color: #ebf5ff; }
.office address { margin-top: 12px; color: #e0edf9; font-size: 15px; line-height: 1.65; font-style: normal; }
.office hr { margin: 16px 0 12px; border: 0; border-top: 1px solid #c6ddf942; }
.office .place { color: #ffd16a; font-size: 12px; font-weight: 750; letter-spacing: .14em; }

.social { display: grid; grid-template-columns: minmax(208px, .9fr) 3.1fr; align-items: center; column-gap: 22px; padding: 17px 24px; margin-top: 24px; background: var(--pale); border: 1px solid #e1ebf5; border-radius: 12px; }
.social h2 { font-size: clamp(22px, 2vw, 29px); line-height: 1.15; letter-spacing: -.02em; }
.social p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.social-links { display: grid; gap: 9px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.social-links a { display: flex; min-height: 46px; gap: 8px; align-items: center; padding: 8px 10px; background: #fff; border: 1px solid #dce8f4; border-radius: 7px; font-size: 13px; font-weight: 700; }
.social-links a:hover { border-color: #779dbf; }
.social-links .icon { width: 17px; height: 17px; }
.social-links [data-icon="external"] { margin-inline-start: auto; color: #426986; }
.social-links [data-icon="external"] .icon { width: 13px; height: 13px; }

.site-footer { border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 12px; }
.footer-content { min-height: 57px; padding-block: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 22px; }
.footer-content strong { color: var(--ink); }
.footer-content a:hover { text-decoration: underline; }

.home-hero { position: relative; min-height: clamp(415px, 30vw, 625px); isolation: isolate; overflow: hidden; background: #062b4f; color: #fff; }
.slide-visual { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.slide-visual.is-current { opacity: 1; }
.slide-visual.air, .slide-visual.port { background: #082b4c; }
.slide-visual.air::before, .slide-visual.port::before { position: absolute; inset: 0 0 0 30%; content: ""; background: linear-gradient(90deg, #082b4c, #082b4c00 68%), var(--side-image) center / cover no-repeat; }
.slide-visual.air { --side-image: url("assets/air-freight.png"); }
.slide-visual.port { --side-image: url("assets/port.png"); }
.ocean-motion { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #05264366, transparent 72%), linear-gradient(#04223b47, transparent 50%); mask-image: linear-gradient(#000, #000 26%, transparent 76%); }
.home-inner { position: relative; z-index: 2; padding-block: 33px 70px; pointer-events: none; }
.home-inner > * { pointer-events: auto; }
.slide-copy { display: grid; }
.slide-copy .hero-heading { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; pointer-events: none; }
.slide-copy .hero-heading.is-current { opacity: 1; visibility: visible; }
.home-hero h1, .home-hero .slide-title { max-width: 1000px; font: 700 clamp(33px, 3.65vw, 57px)/1.03 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.home-hero .button { margin: 18px 0 0 27px; }
.carousel-buttons { position: absolute; z-index: 3; inset: auto 0 17px; display: flex; gap: 9px; justify-content: center; align-items: center; }
.carousel-buttons button { cursor: pointer; width: 33px; height: 33px; padding: 0; border: 1px solid #ffffff80; border-radius: 50%; display: grid; place-items: center; background: #052b4ce0; color: white; }
.carousel-buttons button[aria-current="true"] { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.carousel-buttons .icon { width: 15px; height: 15px; }
.home-services { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 65px; align-items: center; font-size: 14px; font-weight: 750; }
.home-services > a { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; }
.home-services > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-services > a + a { border-inline-start: 1px solid var(--line); }
.home-services .icon { color: #ab750a; }
.home-about { min-height: 244px; display: grid; align-items: center; color: white; background: #082c51; position: relative; isolation: isolate; }
.home-about::before { position: absolute; z-index: -1; inset: 0 0 0 24%; content: ""; background: linear-gradient(90deg, #082c51, #082c5100 58%, #082c51 100%), url("assets/about-port.png") center / cover no-repeat; }
.home-about .wrap { padding-block: 28px; }
.home-about-content { display: flex; justify-content: space-between; gap: 24px; }
.home-about p { max-width: 475px; margin-top: 9px; color: #f0f5fb; }
.home-discover { display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; color: #ffd16a; font-size: 14px; font-weight: 750; }
.home-discover:hover { text-decoration: underline; }
.home-coverage { display: grid; align-self: center; gap: 3px; border-inline-start: 1px solid var(--gold); padding-inline-start: 15px; text-transform: uppercase; font-size: 13px; font-weight: 750; }
.home-coverage .icon { color: var(--gold); width: 15px; height: 15px; margin-inline-end: 4px; }
.home-coverage:hover { text-decoration: underline; }

@media (max-width: 1190px) {
  .site-header { gap: 16px; }
  .brand { gap: 14px; }
  .brand strong { padding-inline-start: 14px; }
  .main-nav { gap: 14px; }
  .languages { gap: 9px; }
}
@media (min-width: 1121px) and (max-width: 1360px) {
  html[lang="fr"] .main-nav { gap: 9px; }
}
@media (max-width: 1120px) {
  .site-header { flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 9px 5px; }
  .main-nav { order: 1; flex: 0 0 100%; width: 100%; min-width: 0; justify-content: space-between; overflow-x: auto; }
  .contact-grid { gap: 18px; grid-template-columns: 1.45fr 1fr; }
  .social { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact-hero::before { left: 10%; background-position: 61% center; }
  .contact-hero .hero-heading, .contact-hero .breadcrumbs { text-shadow: 0 1px 5px #062442; }
  .contact-hero .wrap { padding-block: 27px 31px; }
  .contact-main { padding-block: 27px 22px; }
  .office { min-height: auto; }
  .home-services { grid-template-columns: repeat(2, 1fr); gap: 13px 0; padding-block: 13px; }
  .home-services > a:nth-child(3) { border: 0; }
  .home-about-content { flex-wrap: wrap; }
  .home-hero::after { background: linear-gradient(#04223bb0, transparent 76%); mask-image: none; }
  .ocean-motion { inset: auto 0 44px; height: auto; object-fit: contain; mask-image: linear-gradient(transparent, #000 16%, #000 86%, transparent); }
}
@media (max-width: 480px) {
  .brand strong { white-space: normal; line-height: 1.1; max-width: 153px; }
  .languages { border: 0; padding: 0; gap: 8px; }
  .main-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 10px; justify-items: start; overflow: visible; font-size: 11px; }
  .main-nav a, .main-nav > span { padding-block: 5px 8px; white-space: normal; }
  .main-nav [aria-current]::after { bottom: 2px; }
  .people { grid-template-columns: 1fr; }
  .social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social { padding-inline: 15px; }
  .chat { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
