/* SMS Global Group website. One stylesheet for all pages. */

/* Fonts: self-hosted, Latin subset. Open Sans is one variable font for the
   weights 400-800 (900 renders as 800, as before); built by scripts/fonts.py. */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/open-sans.woff2?v=9770809b30) format("woff2"); }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/noto-sans-900.woff2?v=a8cb7b954b) format("woff2"); }

:root {
  --navy: #123b6e;
  --navy-dark: #0a2e59;
  --blue: #4da5d6;
  --text: #363936;
  --heading: #222;
  --link-strong: #303030;
  --muted-icon: #91a0ad;
  --light-bg: #f2f6f9;
  --card-bg: #d0d9e4;
  --accent: var(--blue);
  --accent-soft: rgba(77, 165, 214, .8);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
  /* Content width. Section spacing is expressed as a share of it. */
  --cw: min(1200px, 90vw);
}

/* SPL Logistics has its own yellow palette. */
.theme-spl {
  --accent: #fbac02;
  --accent-soft: rgba(251, 172, 2, .8);
  --light-bg: #fef7ea;
  --card-bg: rgba(251, 172, 2, .34);
  --muted-icon: #d39e2a;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 16px/1.65 "Open Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

[id] { scroll-margin-top: 80px; }

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--navy); text-decoration: none; }
p { margin: 0 0 20px; }
p:last-child, ul:last-child { margin-bottom: 0; }
ul { margin: 0 0 20px 30px; padding: 0; }
strong { font-weight: 700; }

h1, h2, h3 { margin: 0 0 15px; }
h2 { color: var(--heading); font-size: 21px; font-weight: 900; line-height: 1.2; text-transform: uppercase; }
h3 { font-size: 20px; font-weight: 500; line-height: 1.4; }

.icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; flex: none; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link { position: absolute; top: 0; left: 0; z-index: 2000; padding: 10px 20px; background: #fff; color: var(--navy); transform: translateY(-100%); }
.skip-link:focus { transform: none; }

/* Buttons and text links */
.button {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  transition: background-color .2s;
}
.button:hover { background: var(--navy-dark); color: #fff; }
.button--light { background: #fff; color: #303030; }
.button--light:hover { background: #fff; color: #303030; }
.button--arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 10px 10px 0;
  padding-left: 30px;
  color: #fff;
  font-weight: 500;
}
.text-link--dark { color: var(--navy); }
/* Only real buttons slide their arrow on hover, as in the original. */
.button--arrow .icon { transition: transform .2s; }
.button--arrow:hover .icon, .button--arrow:focus-visible .icon { transform: translateX(5px); }

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  color: #fff;
  --nav-link: #fff;
  --nav-active: #fff;
  transition: background-color .3s, box-shadow .3s;
}
.site-header--dark { color: rgba(0, 0, 0, .7); --nav-link: rgba(0, 0, 0, .7); --nav-active: rgba(0, 0, 0, .7); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 30px 0; transition: padding .3s ease-in-out; }
.logo { display: block; flex: none; }
/* The logo scales by max-height so the shrink on scroll can animate. */
.logo img { display: block; width: auto; height: auto; max-height: 80px; transition: max-height .3s ease-in-out; }

.main-nav ul { display: flex; align-items: center; gap: 32px; margin: 0; list-style: none; }
.main-nav a { position: relative; display: inline-block; padding: 7.5px 0; color: var(--nav-link); font-size: 15px; font-weight: 600; line-height: normal; transition: color .2s, background-color .2s; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--nav-active);
  opacity: 0;
  transform: scaleX(.33);
  transition: transform .3s, opacity .3s, background-color .2s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--nav-active); }
.main-nav a:hover::after, .main-nav a.is-active::after { opacity: 1; transform: none; }
.main-nav .icon { width: 14px; height: 14px; margin: 0 10px 0 15px; vertical-align: -1px; }
.main-nav .nav-button { padding: 8px 11px; border-radius: 4px; background: var(--navy); color: #fff; font-size: 16px; font-weight: 500; line-height: 1.65; }
.main-nav .nav-button::after { display: none; }
.main-nav .nav-button:hover { background: var(--navy-dark); color: #fff; }

.menu-toggle, .menu-close, .nav-backdrop { display: none; }

/* Sticky header: once the page scrolls past the hero top it turns white. */
.is-scrolled .site-header {
  position: fixed;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
  color: #7a7a7a;
  --nav-link: #7a7a7a;
  --nav-active: var(--navy);
  animation: header-in .3s ease-in-out;
  /* Turns white at once; fades back to transparent on the way up. */
  transition: none;
}
.is-scrolled .header-inner { padding: 10px 0; }
.is-scrolled .logo img { max-height: 60px; }
@keyframes header-in { from { transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .is-scrolled .site-header { animation: none; }
  .site-header, .header-inner, .logo img, .main-nav a::after, .to-top { transition: none; }
}

.to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f7f7f7;
  color: #9e9e9e;
  opacity: 0;
  visibility: hidden;
  transition: all .2s;
}
.to-top .icon { width: 16px; height: 16px; }
.to-top:hover { background: var(--navy); color: #fff; }
.show-to-top .to-top { opacity: 1; visibility: visible; }

/* Mobile menu: the same navigation slides in from the right. */
@media (max-width: 1100px) {
  .menu-toggle {
    position: relative;
    display: block;
    width: 22px;
    height: 17px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }
  .site-header .menu-toggle { color: #fff; }
  .site-header--dark .menu-toggle { color: rgba(0, 0, 0, .7); }
  .is-scrolled .site-header .menu-toggle { color: #7a7a7a; }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    position: absolute;
    left: 0;
    width: 22px;
    height: 3px;
    background: currentColor;
  }
  .menu-toggle__bars { top: 7px; transition: background-color 10ms .15s ease; }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; transition: top .15s .2s ease, transform .15s .05s ease; }
  .menu-toggle__bars::before { top: -7px; }
  .menu-toggle__bars::after { top: 7px; }
  /* Open: the bars fold into a cross. */
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background-color: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before,
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 0; transition: top .15s .05s ease, transform .15s .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: rotate(-45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: rotate(45deg); }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1400;
    width: 320px;
    max-width: 100%;
    padding-bottom: 30px;
    overflow-y: auto;
    background: #262626;
    color: #e8e8e8;
    font-size: 14px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease-in-out, visibility .3s;
  }
  .menu-open .main-nav { transform: none; visibility: visible; }
  .menu-close {
    display: flex;
    margin: 20px;
    padding: 0;
    border: 0;
    background: none;
    color: #e8e8e8;
    cursor: pointer;
  }
  .menu-close .icon { width: 21px; height: 21px; }
  .main-nav ul { display: block; border-top: 1px solid rgba(255, 255, 255, .06); }
  .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .main-nav a, .main-nav .nav-button {
    display: block;
    padding: 15px 20px;
    border-radius: 0;
    background: none;
    color: #e8e8e8;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
  }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a.is-active, .main-nav .nav-button:hover { background: none; color: #a3a3a3; }
  .main-nav .icon { margin-left: 4px; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: block;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .menu-open .nav-backdrop { opacity: 1; visibility: visible; }
  .menu-open body { overflow: hidden; }
}

@media (max-width: 767px) {
  .logo img { max-width: 100px; }
}

/* Hero: photo with a navy tint and a translucent box. The photo sits in an
   oversized layer so the crop matches the original parallax start position. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 55vh;
  padding: 150px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
/* The photo is a <picture> (phone crop and full width, AVIF or WebP) in an
   oversized layer, so the crop matches the original parallax start. */
.hero__photo, .hero::after { position: absolute; left: 0; right: 0; z-index: -1; }
.hero__photo { top: -25.6%; height: 150%; }
.hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hero::after { content: ""; top: 0; bottom: 0; background: rgba(18, 59, 110, .4); }
.hero--plain::after { display: none; }
.hero > .container { position: relative; }
/* With script, the photo layer moves at the parallax speed (data-parallax,
   set as --parallax-speed) and the tint and content fade out on scroll. The
   static rules above are the no-script and reduced-motion fallback. */
.hero.is-parallax .hero__photo { top: 0; height: calc(var(--parallax-speed) * 100%); transform: translate3d(0, var(--parallax-y), 0); will-change: transform; }
.hero.is-parallax::after { opacity: var(--tint-opacity, 1); }
.hero.is-parallax > .container { will-change: opacity; }

.hero h1 {
  color: #fff;
  font-family: "Noto Sans", sans-serif;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
}
.hero__box {
  width: calc((100% + 40px) * 7 / 12);
  margin: 0 0 40px -20px;
  padding: 40px;
  border-radius: 5px;
  background: var(--accent-soft);
}
.hero__box p { margin: 0; padding: 15px 0 20px; color: #f4f4f4; font-size: 18px; font-weight: 600; }
.theme-spl .hero__box h1, .theme-spl .hero__box p { color: #303030; }
.hero__box .button { vertical-align: middle; }
.hero__box .text-link { vertical-align: middle; }

.page-hero { min-height: 0; padding: 200px 0 80px; }
.page-hero .hero__photo { top: -39.7%; height: 190%; }
.page-hero h1 { width: calc((100% + 40px) * 7 / 12 - 40px); margin-bottom: 40px; }

@media (max-width: 1199px) {
  .hero__box { width: calc((100% + 40px) * 7 / 12); }
}
@media (max-width: 1024px) { .hero h1 { font-size: 42px; } }
@media (max-width: 991px) { .hero__box { width: calc(100% + 40px); } }
@media (max-width: 959px) { .hero h1 { font-size: 40px; } }
@media (max-width: 767px) {
  .hero h1 { font-size: 36px; }
  .hero > .container { width: 100%; }
  .hero__box { width: 100%; margin-left: 0; }
  .page-hero > .container { width: 90%; }
  .page-hero h1 { width: auto; }
}
@media (max-width: 479px) { .hero h1 { font-size: 32px; } }
/* The company pages have longer headlines and step down further. */
@media (max-width: 959px) { .hero--long h1 { font-size: 38px; } }
@media (max-width: 767px) { .hero--long h1 { font-size: 34px; } }
@media (max-width: 479px) { .hero--long h1 { font-size: 28px; } }

/* Shared section spacing */
.section-title { padding-bottom: 20px; }
.center { text-align: center; }
.bg-light { background: var(--light-bg); }

/* Introduction with a faded brand mark on the left */
.intro {
  padding: calc(var(--cw) * .14) 0 calc(var(--cw) * .10 + 40px);
  background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/pattern-dots-400.png?v=0ca518cf30) 10% 50% / 200px auto no-repeat;
}
.intro--spl { background-image: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/mark-spl-400.png?v=599fb9b08b); }
.intro--srt {
  padding-bottom: calc(var(--cw) * .14 + 40px);
  background-image: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)), url(../img/mark-srt-400.png?v=3a680ef5f6);
}
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.columns--wide-right { grid-template-columns: calc(40% - 24px) 1fr; }
.columns--narrow > * { padding-right: 5%; }
.intro__actions { margin-top: 41px; }

@media (max-width: 767px) {
  .columns, .columns--wide-right { grid-template-columns: 1fr; }
}

/* Our companies (home) */
.companies { padding: calc(var(--cw) * .10 + 5px) 0 calc(var(--cw) * .10 + 10px); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 26px; }
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid #fff;
  border-radius: 5px;
  background: #fff;
  box-shadow: var(--shadow-xl);
  color: var(--text);
  text-align: center;
  overflow: hidden;
  transition: transform .3s ease-out;
}
/* Cards lift on hover and keyboard focus. */
.card:hover, .card:focus, .card:active { transform: translateY(-8px); }
.card picture, .vacancy picture, .job picture { display: block; }
.card img { display: block; width: 100%; }
.card__body { padding: 35px 20px 20px; }
.card h3 { margin: 0; color: var(--navy); font-size: 18px; font-weight: 700; line-height: 1.375; }
.card p { margin: 10px 0 30px; }
.pictos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 65px -5px 0; padding: 0; list-style: none; text-align: center; }
.pictos img { width: 100px; height: 100px; border-radius: 50%; }

@media (max-width: 1199px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .cards { grid-template-columns: 1fr; gap: 10px; }
  .card h3 { font-size: 17px; }
  .pictos { grid-template-columns: repeat(2, 1fr); }
}

/* Image + text blocks (forwarding services, SPL services) */
.services { padding: calc(var(--cw) * .10) 0; }
.split { display: grid; grid-template-columns: 1fr 390px; gap: 45px; margin: 0 -15px; padding: 15px 0; }
.split + .split { margin-top: calc(var(--cw) * .04); }
.split__text { padding: 20px 0 20px 15px; }
.split--image-left { grid-template-columns: 390px 1fr; }
.split--image-left .split__text { order: 2; padding: 20px 15px 20px 0; }
.split--image-left .photo { order: 1; }
.split__text > h2 { padding-bottom: 20px; }
.split--image-left .split__text > h2 { padding-left: 80px; }
/* A photo fills its column whatever the text height: the image sits in the
   box absolutely and is cropped like a cover background. */
.photo {
  position: relative;
  min-height: 225px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  box-shadow: var(--shadow-xl);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.photo--shanghai { min-height: 250px; }
.photo--shanghai img { object-position: 50% 0; }
.photo--warehouse img, .photo--crossdock img { object-position: 50% 65%; }

.feature { display: flex; gap: 20px; padding-bottom: 40px; }
.feature img { width: 60px; height: 60px; }
.feature h3 { margin-bottom: 10px; }
.feature__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.feature__icon .icon { width: 24px; height: 24px; }

@media (max-width: 767px) {
  .split, .split--image-left { grid-template-columns: 1fr; gap: 0; margin: 0; }
  .split__text, .split--image-left .split__text { order: 0; padding: 20px 0 55px; }
  .split--image-left .photo { order: 0; }
}

/* Markets (forwarding) */
.markets { padding: calc(var(--cw) * .07 + 14px) 0 calc(var(--cw) * .07 + 25px); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 45px; }
.tile {
  display: flex;
  gap: 20px;
  padding: 30px;
  border-radius: 5px;
  background: var(--blue);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.tile__icon { display: flex; flex: none; justify-content: center; width: 35px; color: rgba(18, 59, 110, .6); }
.tile__icon .icon { width: 28px; height: 28px; }
.tile h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.375; }

@media (max-width: 991px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .tiles { grid-template-columns: 1fr; grid-auto-rows: 1fr; } }

/* Three columns with a round icon (MTS) */
.pillars { padding: calc(var(--cw) * .10 + 4px) 0 calc(var(--cw) * .10); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillars .feature__icon { width: 60px; height: 60px; margin-bottom: 20px; background: var(--blue); box-shadow: var(--shadow-lg); }
.pillars h3 { margin: 0 0 10px; color: var(--heading); font-size: 21px; font-weight: 900; line-height: 1.2; text-transform: uppercase; }

@media (max-width: 767px) {
  .pillars { padding: calc(var(--cw) * .10 + 4px) 0 calc(var(--cw) * .10 + 36px); }
  .pillars__grid { grid-template-columns: 1fr; gap: 30px; }
}

/* How it works (MTS) */
.how { padding: calc(var(--cw) * .08 + 24px) 0 calc(var(--cw) * .08 + 55px); }
.how__grid { display: grid; grid-template-columns: 1fr 375px; gap: 45px; }
.steps { margin: 0 0 40px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 0 0 40px 70px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 17.232px;
  line-height: 1;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 40px; bottom: 0; left: 20px; width: 1px; background: rgba(18, 59, 110, .26); }
.steps h3 { margin: 0 0 10px; color: var(--heading); font-size: 17.232px; font-weight: 700; line-height: 1.375; }
.photo--laptop {
  margin-right: -15px;
  box-shadow: var(--shadow-lg);
}
.photo--laptop::after { content: ""; position: absolute; inset: 0; background: rgba(18, 59, 110, .2); }

@media (max-width: 767px) {
  .how { padding-bottom: calc(var(--cw) * .08 + 141px); }
  .how__grid { grid-template-columns: 1fr; }
  .photo--laptop { display: none; }
}

/* Our commitment (SRT) */
.commitment { padding: calc(var(--cw) * .10 + 35px) 0 calc(var(--cw) * .10 + 35px); }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 60px; margin: 0; padding: 0; list-style: none; }
.points li { display: flex; gap: 20px; }
.points li::before { content: "#"; flex: none; color: var(--blue); font-size: 28px; font-weight: 800; line-height: 1; }
.points h3 { margin: 0 0 10px; color: var(--heading); font-size: 17.232px; font-weight: 600; line-height: 1.375; }

@media (max-width: 991px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .points { grid-template-columns: 1fr; row-gap: 22px; } }

/* Most recent vacancies */
.vacancies { padding: calc(var(--cw) * .10 + 15px) 0 calc(var(--cw) * .10 + 40px); }
.vacancy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid #ededed;
}
.vacancy__image { display: block; margin: 0 auto; width: calc(100% - 30px); max-width: 570px; height: 150px; object-fit: cover; border-radius: 5px; }
.vacancy__text { padding: 40px; }
.vacancy h3 { margin: 0 0 10px; color: #07386f; font-size: 19.696px; font-weight: 700; line-height: 1.375; }
.more-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; color: #000; font-size: 18px; font-weight: 700; }
.more-link:hover { color: #545454; }
.more-link .icon { width: 18px; height: 18px; }

@media (max-width: 767px) {
  .vacancy { grid-template-columns: 1fr; }
  .vacancy__image { width: 100%; }
}

/* Contact */
.contact { padding: calc(var(--cw) * .08 + 30px) 0 calc(var(--cw) * .12 + 15px); }
.contact-grid { display: grid; grid-template-columns: 390fr 810fr; gap: 30px; margin: 0 -15px; }
.contact-grid--two { grid-template-columns: 1fr 1fr; row-gap: calc(var(--cw) * .12 + 60px); margin-top: 61px; margin-bottom: 40px; }
.contact-card { padding: 40px; border-radius: 5px; background: var(--card-bg); box-shadow: var(--shadow-xl); margin-bottom: 40px; }
.contact-grid--two .contact-card { padding: 60px; margin-bottom: 0; }
.contact-card > p:first-of-type { padding-top: 15px; }
.contact-card h2 + p { padding: 15px 0 30px; margin: 0; }
.contact-intro p { margin: 0; padding-top: 15px; }
.flag { display: block; width: 40px; height: 40px; border-radius: 50%; box-shadow: var(--shadow-md); }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { margin-bottom: 5px; }
.contact-list a { display: flex; width: fit-content; align-items: center; gap: 12px; color: var(--link-strong); font-weight: 600; }
.contact-list .icon { width: 16px; height: 16px; margin-left: 2px; color: var(--muted-icon); }
.contact-list .icon--linkedin { width: 18px; height: 21px; margin-left: 4px; }
.contact-card address { font-style: normal; }
.contact-card .contact-list { margin-top: 32px; }
.contact-card h2 + p + .contact-list { margin-top: 0; }
.contact-card--narrow { max-width: 390px; }

@media (max-width: 767px) {
  .contact-grid, .contact-grid--two { grid-template-columns: 1fr; margin: 0 -5px; }
  .contact-grid--two { row-gap: 70px; margin: 61px -5px 40px; }
  .contact-grid--two .contact-card { padding: 36px; }
}

/* Vacancies page */
.jobs { padding: calc(var(--cw) * .12 + 15px) 0 calc(var(--cw) * .07 + 40px); }
.job { display: grid; grid-template-columns: 360px 1fr; gap: 60px; margin-top: 45px; }
.job p { margin-bottom: 0; }
.job img { display: block; width: 100%; height: 250px; object-fit: cover; border-radius: 5px; }
.job h3 { margin: 0 0 10px; color: #07386f; font-size: 28px; font-weight: 700; line-height: 1.375; }
.job .button { margin-top: 40px; }
.job-details { margin-top: 34px; }
.job-details ul:last-of-type { margin-bottom: 0; }
.job-details .button { margin-top: 70px; }
.apply { padding: calc(var(--cw) * .08 + 30px) 0 calc(var(--cw) * .12 + 15px); }

@media (max-width: 767px) {
  .job { grid-template-columns: 1fr; gap: 30px; }
  .job-details { margin-top: 71px; }
}

/* On phones the content blocks below sit 10px further in, as in the original. */
@media (max-width: 767px) {
  .services .container, .vacancies .container, .how .container, .commitment .container, .jobs .container, .contact-intro { padding: 0 10px; }
  .services .photo { margin: 0 -15px; }
  .photo--warehouse, .photo--crossdock { min-height: 210px; }
  .pillars p, .theme-spl .feature p { font-size: 15px; }
  .theme-spl .feature h3, .tile h3 { font-size: 18px; }
  .job h3 { font-size: 24px; }
  .cards { grid-auto-rows: 1fr; }
}

/* Footer */
.site-footer { padding-top: 181px; }
.footer-bar { padding: 20px 0; background: #3f3f3f; color: #9e9e9e; }
#copyright { margin: 0; font-size: 12px; line-height: 1.5; }

@media (max-width: 767px) { .footer-bar { text-align: center; } }

/* Reduced motion: no lift, no sliding arrows, no hamburger fold animation.
   (Parallax and the hero fade are not started by site.js then.) */
@media (prefers-reduced-motion: reduce) {
  .card, .button--arrow .icon, .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after, .main-nav { transition: none !important; }
  .card:hover, .card:focus, .card:active { transform: none; }
}
