:root {
  --ink: #111315;
  --panel: #191c1f;
  --steel: #4f5a64;
  --line: #d9dde2;
  --muted: #69737d;
  --paper: #f5f6f7;
  --white: #ffffff;
  --yellow: #f4b000;
  --red: #b91f2c;
  --shadow: 0 18px 45px rgba(17, 19, 21, 0.14);
  --radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

a:hover,
a:focus-visible {
  color: var(--red);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 30;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #000000;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  flex-shrink: 0;
}

.brand-logo {
  width: 285px;
  max-width: 44vw;
  height: auto;
  display: block;
  border-radius: 4px;
  -webkit-filter: drop-shadow(1px 1px 0 white) drop-shadow(-1px -1px 0 white);
  filter: drop-shadow(1px 1px 0 white) drop-shadow(-1px -1px 0 white);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
  border-radius: 4px;
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand-tagline {
  color: #c7cbd0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.main-nav a {
  color: #e6e8eb;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 10px;
  border-radius: 4px;
}

.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
  background: var(--yellow);
}

.nav-cta {
  margin-left: 6px;
  background: var(--red) !important;
  color: var(--white) !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--yellow) !important;
  color: var(--ink) !important;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(17, 19, 21, 0.94) 0%, rgba(17, 19, 21, 0.78) 42%, rgba(17, 19, 21, 0.18) 100%),
    url("../images/hero-logistics.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--yellow), var(--red), var(--steel));
}

.hero-inner,
.section-inner,
.page-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  width: min(760px, 100%);
  padding: 76px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.55rem, 7vw, 5.7rem);
  max-width: 920px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

p {
  margin: 0;
}

.hero-copy,
.page-lede,
.section-lede {
  color: #e7eaed;
  max-width: 720px;
  margin-top: 22px;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.section-lede {
  color: var(--steel);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.button-primary {
  background: var(--yellow);
  color: var(--ink);
}

.button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

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

.metric-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.metric-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.metric {
  min-height: 128px;
  padding: 26px;
  background: var(--white);
}

.metric strong {
  display: block;
  font-size: 1.85rem;
  line-height: 1;
}

.metric span {
  display: block;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-paper {
  background: var(--paper);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-head > div {
  max-width: 760px;
}

.grid-3,
.grid-2,
.partner-grid,
.product-grid {
  display: grid;
  gap: 20px;
}

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

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

.product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.partner-grid {
  grid-template-columns: repeat(4, 1fr);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card,
.service-card,
.partner-card,
.contact-card,
.process-step,
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(17, 19, 21, 0.03);
}

.card,
.service-card,
.product-card {
  padding: 28px;
}

.service-card.dark,
.card.dark {
  background: var(--panel);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.service-card p,
.card p,
.product-card p,
.partner-card p {
  margin-top: 12px;
  color: var(--muted);
}

.dark p,
.section-dark .section-lede {
  color: #c4c9cf;
}

.icon-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--ink);
}

.icon-badge svg {
  width: 25px;
  height: 25px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 48px;
  align-items: center;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

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

.list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--steel);
  font-weight: 700;
}

.list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  background: var(--yellow);
  border-radius: 2px;
  flex: 0 0 auto;
}

.section-dark .list li {
  color: #d5d9dd;
}

.band {
  padding: 64px 0;
  background: var(--yellow);
  color: var(--ink);
}

.band-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.page-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  color: var(--white);
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(17, 19, 21, 0.95), rgba(17, 19, 21, 0.55)),
    var(--page-image);
  background-size: cover;
  background-position: center;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #d7dce1;
  font-weight: 800;
  font-size: 0.86rem;
}

.breadcrumb span {
  color: var(--yellow);
}

.timeline {
  display: grid;
  gap: 1px;
  margin-top: 36px;
  background: var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 28px;
  box-shadow: none;
}

.process-step strong {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 1.1rem;
}

.product-card {
  min-height: 252px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.product-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-content {
  padding: 24px;
}

.product-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--steel);
}

.product-card li + li {
  margin-top: 6px;
}

.label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 9px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.catalog-filter {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 13px;
  font-weight: 900;
  cursor: pointer;
}

.catalog-filter.active,
.catalog-filter:hover,
.catalog-filter:focus-visible {
  background: var(--yellow);
  border-color: var(--yellow);
}

.partner-card {
  min-height: 230px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
}

.partner-logo-frame {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.partner-logo {
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
}

.partner-logo.wide {
  max-height: 74px;
}

.partner-logo.tall {
  max-height: 96px;
}

.wordmark-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 13px;
  color: var(--ink);
  border: 2px solid currentColor;
  font-size: clamp(1.05rem, 3vw, 1.55rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.wordmark-logo.gold {
  color: #b17800;
  border-color: #f4b000;
}

.wordmark-logo.red {
  color: #b91f2c;
}

.partner-name {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.partner-type {
  margin-top: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.partner-card a {
  width: fit-content;
  margin-top: 20px;
  font-weight: 900;
  color: var(--ink);
  border-bottom: 2px solid var(--yellow);
}

.job-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.job-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.job-type,
.job-location {
  color: var(--muted);
  font-weight: 800;
}

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

.job-columns h4 {
  margin: 0 0 12px;
  font-size: 0.96rem;
  text-transform: uppercase;
  color: var(--ink);
}

.job-columns ul {
  margin: 0;
  padding-left: 18px;
  color: var(--steel);
}

.job-columns li + li {
  margin-top: 6px;
}

.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-card {
  padding: 26px;
  box-shadow: none;
}

.contact-card + .contact-card {
  margin-top: 18px;
}

.contact-card p,
.contact-card a {
  color: var(--steel);
}

.quote-form {
  padding: 28px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 900;
  font-size: 0.88rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #24282d;
  color: var(--white);
  border-radius: 4px;
  padding: 13px 12px;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  margin: 18px 0 22px;
  color: #c4c9cf;
  font-size: 0.92rem;
}

.site-footer {
  background: #0b0d0f;
  color: var(--white);
  padding: 58px 0 24px;
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr 0.8fr;
  gap: 36px;
}

.site-footer h2,
.site-footer h3 {
  font-size: 1.08rem;
}

.footer-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.footer-list a,
.footer-list span,
.footer-copy {
  color: #c7cbd0;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 38px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  font-family: Arial, Helvetica, sans-serif;
}

.chatbot-toggle {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.chatbot-toggle svg {
  width: 30px;
  height: 30px;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 120px));
  display: none;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.chatbot.open .chatbot-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  background: #000000;
  color: var(--white);
}

.chatbot-header strong {
  display: block;
  line-height: 1.1;
}

.chatbot-header span {
  display: block;
  margin-top: 4px;
  color: #c6cbd0;
  font-size: 0.82rem;
}

.chatbot-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: transparent;
  color: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
}

.chatbot-messages {
  min-height: 300px;
  max-height: 420px;
  overflow-y: auto;
  padding: 18px;
  background: var(--paper);
}

.chat-message {
  width: fit-content;
  max-width: 92%;
  margin-bottom: 12px;
  padding: 11px 13px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.chat-message.bot {
  border-left: 4px solid var(--yellow);
}

.chat-message.user {
  margin-left: auto;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.chat-message a {
  color: var(--red);
  font-weight: 900;
  text-decoration: underline;
}

.chat-message p + p,
.chat-message p + ul {
  margin-top: 8px;
}

.chat-message ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.chat-message li + li {
  margin-top: 4px;
}

.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px 0;
  background: var(--paper);
}

.chat-quick-actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 10px;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
}

.chat-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.chat-input-row input {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.chat-input-row button {
  min-width: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    padding: 14px 16px 20px;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    padding: 14px 12px;
  }

  .metric-grid,
  .grid-3,
  .product-grid,
  .jobs-grid,
  .partner-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head,
  .band-inner,
  .split,
  .contact-layout,
  .career-layout {
    grid-template-columns: 1fr;
  }

  .split {
    display: grid;
  }
}

@media (max-width: 680px) {
  .nav-shell {
    width: min(100% - 22px, 1180px);
  }

  .brand-tagline {
    display: none;
  }

  .brand-logo {
    width: 250px;
    max-width: 58vw;
  }

  .hero {
    min-height: auto;
    background-position: 60% center;
  }

  .hero-content {
    padding: 62px 0 82px;
  }

  .hero-actions,
  .band-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .metric-grid,
  .grid-2,
  .grid-3,
  .product-grid,
  .jobs-grid,
  .job-columns,
  .partner-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 360px;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .split-media img {
    height: 300px;
  }

  .footer-bottom {
    display: grid;
  }

  .chatbot {
    right: 14px;
    bottom: 14px;
  }

  .chatbot-toggle {
    width: 56px;
    height: 56px;
  }

  .chatbot-panel {
    right: -2px;
    bottom: 70px;
  }
}
