/* ==========================================================================
   NOTED LOGISTICS PLC - main stylesheet
   Brand palette: navy #073B78 | bright blue #0879C9 | white #FFFFFF
                  light blue #EAF4FC | gold #F5B82E | dark text #263445
   Fully responsive: desktop, laptop, tablet, phone.
   ========================================================================== */

:root {
  --navy: #073B78;
  --navy-dark: #052c59;
  --blue: #0879C9;
  --blue-dark: #0668ad;
  --light-blue: #EAF4FC;
  --gold: #F5B82E;
  --gold-dark: #dd9f11;
  --white: #FFFFFF;
  --text: #263445;
  --text-soft: #5b6b7d;
  --line: #dbe6f1;
  --success: #1f8a5b;
  --warning: #b7791f;
  --shadow-sm: 0 2px 8px rgba(7, 59, 120, 0.08);
  --shadow-md: 0 8px 24px rgba(7, 59, 120, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 74px;
  --font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
code { background: var(--light-blue); padding: .1em .4em; border-radius: 4px; font-size: .92em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.center { text-align: center; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--navy); }

.icon { flex: none; vertical-align: middle; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); color: var(--white); }

.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 4px 14px rgba(245, 184, 46, .35); }
.btn-gold:hover { background: var(--gold-dark); color: var(--navy); }

.btn-outline-light { border-color: rgba(255, 255, 255, .85); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

.btn-outline-primary { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline-primary:hover { background: var(--blue); color: var(--white); }

.btn-lg { padding: 15px 32px; font-size: 1.05rem; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.brand:hover { color: var(--navy); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--gold);
  flex: none;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1rem; letter-spacing: .02em; }
.brand-text small { font-size: .72rem; color: var(--text-soft); letter-spacing: .18em; font-weight: 600; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  display: inline-block;
  padding: 10px 12px;
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-link:hover { color: var(--blue); background: var(--light-blue); }
.nav-link.is-active { color: var(--blue); }
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}

.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 20px; }
.nav-cta .btn.is-active { outline: 3px solid rgba(8, 121, 201, .35); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   Messages / alerts
   ========================================================================== */
.messages-wrap { padding-top: 16px; }

.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid transparent;
  font-size: .97rem;
}
.alert-success { background: #e9f7f0; border-color: #b7e4cd; color: #14603f; }
.alert-error, .alert-danger { background: #fdecec; border-color: #f5c2c2; color: #8f2020; }
.alert-info, .alert-warning { background: #fff6e0; border-color: #f3ddb0; color: #7a5410; }
.alert-icon { display: inline-flex; padding-top: 2px; }
.alert-close {
  margin-left: auto;
  background: none;
  border: 0;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  opacity: .6;
}
.alert-close:hover { opacity: 1; }

/* ==========================================================================
   Hero carousel (homepage)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 27, 56, .72) 0%, rgba(7, 59, 120, .62) 55%, rgba(4, 27, 56, .78) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  text-align: center;
  padding-top: 48px;
  padding-bottom: 96px;
  max-width: 900px;
}

.hero-kicker {
  display: inline-block;
  letter-spacing: .22em;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  letter-spacing: .02em;
  margin-bottom: 6px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.hero-tagline {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero-quote {
  font-size: clamp(1.02rem, 2.2vw, 1.25rem);
  font-style: italic;
  opacity: .95;
  margin-bottom: 14px;
}

.hero-support {
  max-width: 760px;
  margin: 0 auto 26px;
  font-size: .99rem;
  color: rgba(255, 255, 255, .88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(7, 59, 120, .35);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hero-dot.is-active { background: var(--gold); border-color: var(--gold); transform: scale(1.15); }

/* ==========================================================================
   Value strip
   ========================================================================== */
.value-strip {
  background: var(--navy);
  color: var(--white);
  padding: 26px 0;
}
.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.value-icon { color: var(--gold); flex: none; }
.value-item strong { display: block; font-size: .98rem; }
.value-item span { font-size: .84rem; color: rgba(255, 255, 255, .75); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 76px 0; }
.section-alt { background: var(--light-blue); }

.section-head {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}
.section-kicker {
  display: inline-block;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
.section-title.left { text-align: left; }
.section-subtitle { color: var(--text-soft); font-size: 1.02rem; }

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 44px;
}
.section-cta.left { justify-content: flex-start; }

/* ==========================================================================
   Cards: services, routes, info
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-grid.cards-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.card-icon {
  position: absolute;
  left: 18px;
  bottom: -18px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.card-body { padding: 30px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.18rem; margin-bottom: .5em; }
.card-body p { color: var(--text-soft); font-size: .95rem; flex: 1; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .93rem;
  color: var(--blue);
  margin-top: 6px;
}
.card-link:hover { color: var(--navy); gap: 10px; }
.card-link .icon { transition: transform .2s ease; }
.card-link:hover .icon { transform: translateX(2px); }

/* Route cards */
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.route-grid-wide .route-card { grid-column: auto; }

.route-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.route-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.route-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

.route-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.route-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--light-blue);
  color: var(--blue);
  margin-bottom: 12px;
}
.route-body h3 { font-size: 1.1rem; }
.route-body p { color: var(--text-soft); font-size: .93rem; flex: 1; }
.route-desc { font-size: .87rem; }

/* Info cards (about) */
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--gold);
  margin-bottom: 16px;
}
.info-card h3 { font-size: 1.2rem; }
.info-card p, .info-card li { color: var(--text-soft); font-size: .96rem; }
.value-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.value-list li { position: relative; padding-left: 18px; }
.value-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.why-icon { color: var(--blue); margin-bottom: 10px; }
.why-item h4 { font-size: 1.05rem; margin-bottom: .4em; }
.why-item p { color: var(--text-soft); font-size: .92rem; margin: 0; }

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.split-body p { color: var(--text-soft); }

.check-list { list-style: none; margin: 18px 0 26px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
}
.check-list .icon { color: var(--success); margin-top: 3px; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 52px 0;
}
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 92px 0;
  background-color: var(--navy);
}
.page-hero-short { padding: 72px 0; }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(4, 27, 56, .82), rgba(7, 59, 120, .55));
}
.page-hero-content { position: relative; z-index: 2; color: var(--white); max-width: 780px; }
.page-hero-content h1 { color: var(--white); font-size: clamp(1.8rem, 4.2vw, 2.7rem); margin-bottom: .4em; }
.page-hero-content p { color: rgba(255, 255, 255, .88); font-size: 1.05rem; margin: 0; }

/* ==========================================================================
   Content helpers
   ========================================================================== */
.content-narrow { max-width: 900px; }
.content-narrow.center { text-align: center; }

.detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--gold);
  margin-bottom: 22px;
}

.prose p { font-size: 1.03rem; color: var(--text-soft); margin-bottom: 1.1em; }

.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--light-blue);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 24px 0;
  color: var(--navy);
}
.info-banner .icon { color: var(--blue); flex: none; margin-top: 3px; }
.info-banner p { margin: 0; font-size: .96rem; }
.info-banner-top { margin-top: 0; }

/* ==========================================================================
   Forms
   ========================================================================== */
.site-form { background: var(--white); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
}
.form-group-full { grid-column: 1 / -1; }

.form-label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.req { color: #c62828; }

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 121, 201, .15);
}
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23073B78' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.has-error .form-control { border-color: #d64545; background: #fffafa; }

.field-error { color: #c0392b; font-size: .87rem; margin: 6px 0 0; }
.field-help { color: var(--text-soft); font-size: .85rem; margin: 6px 0 0; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* Track form */
.track-form { margin-bottom: 30px; }
.track-input-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.track-input-row .form-control { flex: 1; font-size: 1.05rem; padding: 14px 16px; }

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 42px;
  align-items: start;
}

.contact-aside {
  background: var(--light-blue);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.contact-aside h3 { font-size: 1.2rem; }
.contact-list { list-style: none; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(7, 59, 120, .12);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-icon { color: var(--blue); flex: none; margin-top: 3px; }
.contact-label {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-soft);
  font-weight: 700;
}
.placeholder { color: #8a97a6; font-style: italic; }

.map-wrap {
  margin-top: 22px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.map-wrap iframe { width: 100%; height: 240px; border: 0; display: block; }
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 20px;
  text-align: center;
  color: var(--text-soft);
}
.map-placeholder .icon { color: var(--blue); }
.map-placeholder p { margin: 0; font-size: .92rem; }

/* ==========================================================================
   Tracking results
   ========================================================================== */
.result-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  margin-top: 26px;
  flex-wrap: wrap;
}
.result-card.result-success, .result-card.result-warning, .result-card.result-info { display: block; }
.result-success { border-left: 5px solid var(--success); }
.result-warning { border-left: 5px solid var(--warning); background: #fffdf6; }
.result-info { border-left: 5px solid var(--blue); background: var(--light-blue); }
.result-icon { color: var(--blue); flex: none; }
.result-card h3 { margin-bottom: .35em; font-size: 1.15rem; }
.result-card p { color: var(--text-soft); }

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.result-head h2 { margin: 0; font-size: 1.6rem; }
.result-label {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-soft);
  font-weight: 700;
  margin: 0 0 2px;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.result-grid p { margin: 0; font-weight: 600; color: var(--text); }
.result-note {
  background: var(--light-blue);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .92rem;
}
.result-hint { font-size: .87rem; margin-bottom: 0; }

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  background: var(--light-blue);
  color: var(--navy);
}
.status-booked { background: #e3edf8; color: #1a4f86; }
.status-in_transit { background: #d9edfb; color: #0668ad; }
.status-customs { background: #fff1d1; color: #8a5b00; }
.status-out_for_delivery { background: #ede4fb; color: #5b34a8; }
.status-delivered { background: #dff5e9; color: #14603f; }
.status-on_hold { background: #fdecec; color: #9c2222; }

/* Timeline */
.timeline-title { margin-top: 26px; font-size: 1.15rem; }
.timeline { list-style: none; position: relative; padding-left: 26px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline-item { position: relative; padding: 0 0 22px 12px; }
.timeline-dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--blue);
}
.timeline-item:first-child .timeline-dot { border-color: var(--gold); }
.timeline-body h4 { font-size: 1rem; margin: 8px 0 2px; }
.timeline-meta { font-size: .87rem; color: var(--text-soft); margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #062f5f;
  color: rgba(255, 255, 255, .82);
  margin-top: 0;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 42px;
}

.brand-footer { color: var(--white); margin-bottom: 12px; }
.brand-footer:hover { color: var(--white); }
.brand-footer .brand-text small { color: rgba(255, 255, 255, .65); }

.footer-tagline {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.footer-desc { color: rgba(255, 255, 255, .72); font-size: .92rem; }

.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.site-footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255, 255, 255, .78); font-size: .93rem; }
.footer-links a:hover { color: var(--gold); padding-left: 3px; transition: padding .15s ease; }

.footer-contact { list-style: none; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .92rem;
}
.footer-contact .icon { color: var(--gold); flex: none; margin-top: 3px; }
.footer-contact a { color: rgba(255, 255, 255, .82); }
.footer-contact a:hover { color: var(--gold); }
.site-footer .placeholder { color: rgba(255, 255, 255, .5); }

.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  transition: background .2s ease, color .2s ease;
}
.social-links a:hover { background: var(--gold); color: var(--navy); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
  font-size: .88rem;
}
.footer-bottom-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }
.footer-note { color: var(--gold); font-weight: 600; letter-spacing: .05em; }

/* ==========================================================================
   Responsive: laptop / small desktop
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-link { padding: 10px 9px; font-size: .92rem; }
  .value-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Responsive: tablet
   ========================================================================== */
@media (max-width: 900px) {
  .card-grid, .route-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split-body .section-title { text-align: center; }
  .contact-layout { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mobile navigation switches to hamburger */
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .primary-nav.is-open { max-height: 520px; overflow-y: auto; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 18px;
    gap: 2px;
  }
  .nav-link { display: block; padding: 13px 10px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link.is-active::after { left: 10px; right: auto; width: 24px; bottom: 8px; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ==========================================================================
   Responsive: phone / small screens
   ========================================================================== */
@media (max-width: 640px) {
  body { font-size: 15.5px; }

  .hero { min-height: 540px; }
  .hero-content { padding-top: 36px; padding-bottom: 84px; }
  .hero-support { font-size: .93rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-arrow { width: 40px; height: 40px; font-size: .95rem; }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }

  .section { padding: 52px 0; }
  .card-grid, .card-grid.cards-2, .route-grid, .why-grid { grid-template-columns: 1fr; }

  .value-strip-grid { grid-template-columns: 1fr; gap: 14px; }

  .form-grid { grid-template-columns: 1fr; }
  .track-input-row { flex-direction: column; }
  .track-input-row .btn { width: 100%; }

  .result-grid { grid-template-columns: 1fr; gap: 12px; }
  .result-head h2 { font-size: 1.3rem; }

  .cta-band-inner { flex-direction: column; text-align: center; align-items: stretch; }
  .cta-band-inner .btn { width: 100%; }

  .section-cta { flex-direction: column; align-items: stretch; }
  .section-cta .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 42px; }
  .footer-bottom-wrap { justify-content: center; text-align: center; }

  .page-hero { padding: 62px 0; }
  .page-hero-short { padding: 52px 0; }

  .value-list { grid-template-columns: 1fr; }

  .brand-text strong { font-size: .92rem; }
}

/* Touch-friendly tap targets on coarse pointers */
@media (pointer: coarse) {
  .nav-link { padding: 12px 14px; }
  .btn { padding: 13px 26px; }
  .hero-arrow { width: 52px; height: 52px; }
  .hero-dot { width: 14px; height: 14px; }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: opacity .2s linear; }
  .btn, .service-card, .route-card { transition: none; }
}
/* Logo image styles */
.brand-logo {
  height: 48px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}

.brand-logo-footer {
  height: 44px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  margin-bottom: 0.6rem;
}

/* Make sure the brand link sizes correctly with an image */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;          /* remove gap when using only the logo image */
}

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

.brand-logo {
  height: 36px;
  width: auto;
  max-width: 150px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.brand-text small {
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.18em;
  font-weight: 600;
}

.brand-logo-footer {
  height: 44px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

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

.brand-footer .brand-text strong {
  color: var(--white);
}

.brand-footer .brand-text small {
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive logo */
@media (max-width: 768px) {
  .brand-logo {
    height: 32px;
    max-width: 120px;
  }
}