/* Cargo Express — multi-page brand system */

:root {
  --red: #e10600;
  --red-deep: #b50000;
  --red-soft: #ffe8e6;
  --black: #0b0b0c;
  --ink: #151518;
  --muted: #5c5f66;
  --line: #e4e6ea;
  --paper: #f4f5f7;
  --white: #ffffff;
  --graphite: #2a2d34;
  --shadow: 0 18px 40px rgba(11, 11, 12, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Delivery-like corporate grotesque (DHL uses proprietary Delivery) */
  --font-display: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 1;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

/* Soft page enter — no transform (avoids blank gaps / cut layouts) */
body.ce-enter {
  animation: pageFadeIn 0.4s var(--ease) both;
}

@keyframes pageFadeIn {
  from { opacity: 0.72; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body.ce-enter { animation: none; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--red); color: var(--white);
  padding: 0.75rem 1rem; z-index: 100;
}
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 1px solid transparent;
  padding: 0.7rem 1.25rem;
  font-weight: 700; letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-deep); box-shadow: 0 12px 28px rgba(225, 6, 0, 0.28); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--paper); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--black); }
.btn-lg { padding: 0.95rem 1.5rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.25rem; font-weight: 700; color: var(--red);
}
.text-link::after {
  content: ""; width: 1.1rem; height: 2px; background: currentColor;
  transition: width 0.25s var(--ease);
}
.text-link:hover::after { width: 1.75rem; }

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--red);
}
.eyebrow.light { color: #ffb4b0; }

.section-head { max-width: 40rem; margin: 0 auto 3rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.section-head h1,
.section-head h2,
.page-hero h1,
.panel-copy h1,
.panel-copy h2,
.track-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.subhead {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.section-head p,
.panel-copy p,
.lead { margin: 0; color: var(--muted); font-size: 1.05rem; }

/* Header — DHL-like: brand bar + white nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(228, 230, 234, 0.9);
}

.brand-bar {
  background: #111111;
  color: var(--white);
}

.brand-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.25rem;
  padding-block: 0.55rem;
}

.utility-desktop {
  display: none;
  align-items: center;
  gap: 1.15rem;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  margin-left: auto;
}

.brand-bar .menu-toggle {
  margin-left: auto;
  flex-shrink: 0;
}

@media (min-width: 700px) {
  .locale-menu { display: block; }
  .brand-bar-inner { min-height: 5.75rem; }
}

.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand-logo {
  width: auto;
  height: 5rem;
  object-fit: contain;
  background: none;
  padding: 0;
  border: 0;
  box-shadow: none;
  image-rendering: auto;
}
@media (min-width: 800px) {
  .brand-logo { height: 6rem; }
}

.brand-bar .utility-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
}

.brand-bar .utility-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--white);
  transition: opacity 0.2s var(--ease);
}

.brand-bar .utility-nav a:hover { opacity: 0.85; }

.locale-menu { position: relative; display: none; }
.locale-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
}
.locale-chip:hover { opacity: 0.85; }
.locale-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  min-width: 13rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.35rem;
  z-index: 30;
  animation: drawerIn 0.22s var(--ease);
}
.locale-panel[hidden] { display: none; }
.locale-panel button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.locale-panel button:hover { background: var(--red-soft); color: var(--red-deep); }

.dhl-header .nav-bar { background: var(--white); }
.dhl-header .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3.35rem;
}

.primary-nav { display: none; align-items: center; gap: 0.15rem; }
.primary-nav > a,
.nav-link {
  padding: 0.75rem 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
  transition: transform 0.2s var(--ease);
}
.nav-link[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
}
.primary-nav > a.is-active,
.nav-item.is-active > .nav-link { color: var(--red); }
.primary-nav > a::after,
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.4rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.primary-nav > a:hover::after,
.primary-nav > a.is-active::after,
.nav-item:hover .nav-link::after,
.nav-link[aria-expanded="true"]::after,
.nav-item.is-active .nav-link::after { transform: scaleX(1); }

.nav-item { position: relative; }
.nav-menu {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  min-width: 15rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.4rem;
  display: grid;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  z-index: 20;
}
.nav-menu-right { left: auto; right: 0; }
.nav-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-menu[hidden] { display: none; }
.nav-menu a {
  padding: 0.75rem 0.85rem;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-menu a:hover,
.nav-menu a.is-active { background: var(--red-soft); color: var(--red-deep); }

.nav-actions { display: none; align-items: center; gap: 0.65rem; }

.brand-bar .menu-toggle {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255,255,255,0.45);
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}
.brand-bar .menu-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 1rem 1.25rem 1.5rem;
  animation: drawerIn 0.3s var(--ease);
}
.mobile-drawer[hidden] { display: none; }
.mobile-drawer nav { display: grid; gap: 0.2rem; }
.mobile-drawer a {
  padding: 0.85rem 0.4rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mobile-drawer .sub { padding-left: 1rem; font-weight: 600; color: var(--muted); font-size: 0.95rem; }
.mobile-drawer a.is-active { color: var(--red); }

@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 980px) {
  .primary-nav { display: flex; }
  .nav-actions { display: flex; }
  .utility-desktop { display: flex; }
  .brand-bar .menu-toggle,
  .mobile-drawer { display: none !important; }
}

/* Photo hero — DHL inset banner proportions */
.dhl-hero {
  position: relative;
  isolation: isolate;
  padding: 1.25rem 0 2.75rem;
  background: #ffffff;
}

.dhl-hero-frame {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 2.35 / 1;
  min-height: 260px;
  max-height: 420px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.dhl-hero-media {
  position: absolute;
  inset: 0;
}

.dhl-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.04);
  animation: heroZoom 16s var(--ease) forwards;
}

.dhl-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.22) 50%, rgba(0,0,0,0.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, transparent 40%, rgba(0,0,0,0.2) 100%);
}

.dhl-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 1.5rem 1.25rem 3.5rem;
  text-align: center;
}

.dhl-hero-speech {
  width: min(560px, 100%);
  margin: 0 auto;
}

.dhl-hero-title {
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s 0.1s var(--ease) forwards;
}

.track-pill {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,0.22);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s 0.2s var(--ease) forwards;
  text-align: left;
}

.track-pill input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0.95rem 1.15rem;
  font-size: 0.98rem;
  min-width: 0;
}

.track-pill button {
  border: 0;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0 1.5rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
  border-radius: 0 10px 10px 0;
}
.track-pill button:hover { background: var(--red-deep); }

.dhl-hero .track-feedback {
  margin-top: 0.85rem;
  max-width: 100%;
  border-radius: 8px;
  text-align: left;
}

.dhl-hero-cards {
  position: relative;
  z-index: 3;
  margin-top: -2.75rem;
  display: grid;
  gap: 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.hero-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: center;
  background: var(--white);
  padding: 1.15rem 1.25rem;
  transition: background 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.65s var(--ease) forwards;
  border-bottom: 1px solid var(--line);
}
.hero-card:last-child { border-bottom: 0; }
.hero-card:nth-child(1) { animation-delay: 0.28s; }
.hero-card:nth-child(2) { animation-delay: 0.36s; }
.hero-card:nth-child(3) { animation-delay: 0.44s; }

.hero-card:hover {
  background: #fafafa;
}

.hero-card-icon {
  width: 2.85rem;
  height: 2.85rem;
  color: var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-card-icon svg { width: 100%; height: 100%; }

.hero-card-copy {
  display: grid;
  gap: 0.2rem;
  text-align: left;
}
.hero-card-copy strong {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}
.hero-card-copy small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.hero-card-accent {
  background: #f7f7f8;
}
.hero-card-accent:hover { background: #f0f0f2; }
.hero-card-accent::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 26px 26px 0;
  border-color: transparent var(--red) transparent transparent;
}

@media (min-width: 860px) {
  .dhl-hero {
    padding: 1.5rem 0 3rem;
  }
  .dhl-hero-frame {
    aspect-ratio: 2.45 / 1;
    max-height: 400px;
  }
  .dhl-hero-cards {
    grid-template-columns: repeat(3, 1fr);
    margin-top: -3rem;
  }
  .hero-card {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 1.35rem 1.4rem;
  }
  .hero-card:last-child { border-right: 0; }
  .dhl-hero-content { padding-bottom: 4rem; }
}

@media (max-width: 640px) {
  .dhl-hero-frame {
    aspect-ratio: 16 / 11;
    max-height: none;
    min-height: 240px;
  }
}

.trust-strip {
  padding: 1.75rem 0 0.25rem;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  display: grid;
  gap: 0.15rem;
}
.trust-item strong {
  font-size: 0.95rem;
  font-weight: 700;
}
.trust-item span {
  color: var(--muted);
  font-size: 0.88rem;
}
@media (min-width: 800px) {
  .trust-strip-inner { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroZoom { to { transform: scale(1); } }

.learn-section .section-head { margin-bottom: 1.75rem; }

.learn-card {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.learn-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.learn-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--graphite);
}

.learn-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.learn-card:hover .learn-card-media img { transform: scale(1.04); }

.learn-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: grid;
  gap: 0.4rem;
}

.learn-card-body .tag {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

.learn-card-body h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.learn-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.learn-card-body .cta {
  margin-top: 0.45rem;
  font-weight: 700;
  color: var(--red);
}

/* Page hero (inner pages) — photo banners like home */
.page-hero {
  position: relative;
  padding: 1.25rem 0 0;
  color: var(--white);
  background: #ffffff;
  overflow: visible;
}

.page-hero-frame {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 260px;
  aspect-ratio: 2.55 / 1;
  max-height: 360px;
  display: grid;
  align-items: end;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.42) 48%, rgba(0,0,0,0.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 45%, rgba(0,0,0,0.35) 100%);
}

.page-hero-copy,
.page-hero .container {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: 2.25rem 1.5rem 2.5rem;
}

.page-hero-frame > .container,
.page-hero-frame > .page-hero-copy {
  padding: 2.25rem 1.75rem 2.5rem;
}

.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: #d0d2d6;
}

.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb span { color: #ffb4b0; }

.page-hero h1 {
  max-width: 18ch;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.7s 0.1s var(--ease) forwards;
}

.page-hero .lead {
  max-width: 36rem;
  color: rgba(255,255,255,.88);
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s 0.22s var(--ease) forwards;
}

@media (max-width: 700px) {
  .page-hero-frame {
    aspect-ratio: 16 / 11;
    max-height: none;
    min-height: 220px;
  }
}

/* Home track teaser */
.track-panel { position: relative; z-index: 2; padding: 2rem 0 1rem; }
.track-shell {
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.track-copy p { margin: 0 0 1.25rem; color: var(--muted); }
.track-form, .form-grid { display: grid; gap: 0.75rem; }
.track-form input,
.field input,
.field select,
.field textarea,
.search-page input[type="search"] {
  width: 100%; border: 1px solid var(--line); padding: 1rem 1.05rem;
  background: var(--paper); outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.track-form input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.search-page input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
  background: var(--white);
}
.track-feedback, .form-note {
  margin: 0.85rem 0 0; padding: 0.85rem 1rem;
  background: var(--red-soft); color: var(--red-deep); font-weight: 600;
}
.track-feedback[hidden] { display: none; }
.track-shortcuts {
  display: grid; gap: 0.75rem; margin-top: 1.35rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.track-shortcuts a {
  display: grid; gap: 0.15rem; padding: 0.85rem 0.2rem;
  border-bottom: 2px solid transparent; transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}
.track-shortcuts a:hover { border-bottom-color: var(--red); transform: translateX(4px); }
.track-shortcuts span { font-weight: 700; }
.track-shortcuts small { color: var(--muted); font-size: 0.88rem; }

@media (min-width: 760px) {
  .track-form { grid-template-columns: 1fr auto; }
  .track-shortcuts { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

/* Action cards / learn more */
.section { padding: 5rem 0; }
.section.alt { background: var(--paper); }
.card-grid {
  display: grid; gap: 1.25rem;
}
@media (min-width: 800px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}

.action-card {
  display: grid; gap: 0.75rem; align-content: start;
  padding: 1.6rem 1.4rem; background: var(--white); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.25s var(--ease), box-shadow 0.35s var(--ease);
}
.action-card:hover {
  transform: translateY(-6px); border-color: rgba(225, 6, 0, 0.35);
  box-shadow: var(--shadow);
}
.action-card .tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red);
}
.action-card h3 {
  margin: 0; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em;
}
.action-card p { margin: 0; color: var(--muted); }
.action-card .cta { margin-top: 0.5rem; font-weight: 700; color: var(--red); }

.feature-split {
  display: grid; gap: 1.5rem; align-items: center; margin-bottom: 3.5rem;
}
.feature-split:last-child { margin-bottom: 0; }
.feature-visual { overflow: hidden; background: var(--graphite); min-height: 280px; }
.feature-visual img {
  width: 100%; height: 100%; min-height: 280px; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.feature-split:hover .feature-visual img { transform: scale(1.04); }
.feature-body h2, .feature-body h3 {
  margin: 0 0 0.75rem; font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2rem); letter-spacing: -0.02em;
}
.feature-body > p { margin: 0 0 1rem; color: var(--muted); }
.feature-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.feature-body li { position: relative; padding-left: 1.15rem; font-weight: 600; }
.feature-body li::before {
  content: ""; position: absolute; left: 0; top: 0.55rem;
  width: 0.55rem; height: 2px; background: var(--red);
}
@media (min-width: 900px) {
  .feature-split { grid-template-columns: 1.15fr 1fr; gap: 2.5rem; }
  .feature-split.reverse { grid-template-columns: 1fr 1.15fr; }
  .feature-split.reverse .feature-visual { order: 2; }
}

/* Forms / panels */
.panel-layout {
  display: grid; gap: 2rem; padding: 3.5rem 0 5rem;
}
@media (min-width: 900px) {
  .panel-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; gap: 3rem; }
}
.form-shell {
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: clamp(1.35rem, 3vw, 2rem);
}
.field-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 700px) {
  .field-row.two { grid-template-columns: 1fr 1fr; }
}
.field label {
  display: block; margin-bottom: 0.4rem;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
}
.field textarea { min-height: 120px; resize: vertical; }

.result-box {
  margin-top: 1rem; padding: 1.1rem 1.2rem; background: var(--paper); border-left: 3px solid var(--red);
  display: none;
}
.result-box.show { display: block; animation: rise 0.45s var(--ease); }
.result-box strong { display: block; margin-bottom: 0.35rem; font-family: var(--font-display); font-size: 1.2rem; }

/* Timeline / track results */
.timeline { margin-top: 1.5rem; display: grid; gap: 0; }
.timeline-item {
  display: grid; grid-template-columns: 1rem 1fr; gap: 1rem;
  padding-bottom: 1.25rem; position: relative;
}
.timeline-item::before {
  content: ""; position: absolute; left: 0.35rem; top: 0.7rem; bottom: 0;
  width: 2px; background: var(--line);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--red);
  margin-top: 0.35rem; box-shadow: 0 0 0 4px var(--red-soft);
}
.timeline-item h4 { margin: 0 0 0.2rem; font-size: 1rem; }
.timeline-item p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Business / dark bands */
.dark-band {
  background: var(--black); color: var(--white); padding: clamp(2rem, 5vw, 3.5rem);
  position: relative; overflow: hidden;
}
.dark-band::after {
  content: ""; position: absolute; right: -8%; top: 28%; width: 40%; height: 4px;
  background: var(--red); transform: skewX(-18deg); opacity: 0.9;
}
.dark-band p { color: #b8bbc3; max-width: 34rem; }
.point-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.point-list li {
  padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.12);
  display: grid; gap: 0.25rem;
}
.point-list strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); }
.point-list span { color: #a7abb4; }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat {
  background: var(--paper); padding: 1.5rem 1.25rem; border-left: 3px solid var(--red);
}
.stat-value, .stat-suffix {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.04em; line-height: 1;
}
.stat-label { display: block; margin-top: 0.55rem; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
@media (min-width: 800px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }

.update-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.update-list li {
  display: grid; gap: 0.35rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.update-list time {
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.update-list a { font-weight: 700; font-size: 1.05rem; transition: color 0.2s var(--ease); }
.update-list a:hover { color: var(--red); }
@media (min-width: 860px) {
  .update-list li { grid-template-columns: 7.5rem 1fr; gap: 1.25rem; align-items: baseline; }
}

.support-cards { display: grid; gap: 0.85rem; }
.support-item {
  display: grid; gap: 0.25rem; padding: 1.2rem 1.25rem;
  border: 1px solid var(--line); background: var(--white);
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}
.support-item:hover { border-color: var(--red); transform: translateX(4px); }
.support-item span {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}

.portal-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .portal-grid { grid-template-columns: repeat(2, 1fr); } }
.portal-card {
  padding: 1.4rem; border: 1px solid var(--line); background: var(--white);
  transition: transform 0.3s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.portal-card:hover {
  transform: translateY(-4px); border-color: rgba(225,6,0,.4); box-shadow: var(--shadow);
}
.portal-card h3 { margin: 0 0 0.4rem; font-family: var(--font-display); }
.portal-card p { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }

.map-fake {
  min-height: 280px; background:
    linear-gradient(135deg, #1a1d24, #2d313a 40%, #3a2020),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(255,255,255,.03) 25px),
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(255,255,255,.03) 25px);
  position: relative; overflow: hidden;
}
.map-pin {
  position: absolute; width: 12px; height: 12px; background: var(--red); border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(225,6,0,.25);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(225,6,0,.22); }
  50% { box-shadow: 0 0 0 14px rgba(225,6,0,.08); }
}

/* Footer — DHL-style dark band, mono logo */
.site-footer {
  background: #1a1a1a;
  color: #c8c8c8;
  padding: 3rem 0 0;
  margin-top: auto;
  flex-shrink: 0;
  width: 100%;
}
.footer-top {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
.footer-brand {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.footer-brand img,
.footer-logo {
  height: 5.75rem;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  /* DHL-style mono white logo on dark footer */
  filter: grayscale(1) brightness(0) invert(1);
}
.footer-brand p {
  margin: 0;
  max-width: 18rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.site-footer h3 {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.site-footer a {
  transition: color 0.2s var(--ease);
  font-size: 0.92rem;
}
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 0 1.35rem;
  font-size: 0.85rem;
  color: #9a9a9a;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal a:hover { color: var(--white); }
.footer-mark { margin: 0; color: #ff8f88; font-weight: 600; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.35fr repeat(3, 1fr); gap: 2.5rem; }
}

/* Search modal */
.search-modal {
  position: fixed; inset: 0; background: rgba(11, 11, 12, 0.55);
  display: grid; place-items: start center; padding: 15vh 1rem 1rem; z-index: 80;
  animation: fadeOverlay 0.25s var(--ease);
}
.search-modal[hidden] { display: none; }
@keyframes fadeOverlay { from { opacity: 0; } to { opacity: 1; } }
.search-dialog {
  width: min(560px, 100%); background: var(--white); padding: 1rem;
  display: grid; gap: 0.75rem; box-shadow: var(--shadow);
  animation: rise 0.35s var(--ease);
}
.search-dialog input {
  width: 100%; border: 1px solid var(--line); padding: 0.95rem 1rem; outline: none;
}
.search-dialog input:focus { border-color: var(--red); }

/* Reveal animations */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-36px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(36px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(0.96);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

.stagger > *.reveal { transition-delay: 0s; }
.stagger > *.reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > *.reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger > *.reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger > *.reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger > *.reveal:nth-child(6) { transition-delay: 0.4s; }

/* Misc */
.two-col { display: grid; gap: 2rem; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.chip {
  padding: 0.4rem 0.75rem; background: var(--red-soft); color: var(--red-deep);
  font-size: 0.82rem; font-weight: 700;
}

/* Get Quote booking flow */
.quote-page {
  background: #f3f4f6;
  padding: 2rem 0 3.5rem;
}
.quote-wrap { max-width: 820px; }
.quote-form { display: grid; gap: 1rem; }
.quote-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}
.quote-step {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.quote-step span {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8eaee;
  color: #333;
  font-size: 0.75rem;
}
.quote-step.is-active {
  color: var(--ink);
  border-color: rgba(225,6,0,0.35);
}
.quote-step.is-active span,
.quote-step.is-done span {
  background: var(--red);
  color: #fff;
}
.quote-panel { display: grid; gap: 1rem; }
.quote-panel[hidden] { display: none !important; }
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.3rem 1.4rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}
.quote-card h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.quote-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.quote-card-head h2 { margin: 0; }
.quote-icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
}
.quote-grid {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 720px) {
  .quote-grid.two { grid-template-columns: 1fr 1fr; }
  .quote-grid.three { grid-template-columns: 1fr 1fr 1fr; }
}
.quote-card .field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.quote-card .field input,
.quote-card .field select,
.quote-card .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  background: #fff;
  outline: none;
}
.quote-card .field textarea { min-height: 96px; resize: vertical; }
.quote-card .field input:focus,
.quote-card .field select:focus,
.quote-card .field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225,6,0,0.1);
}
.quote-price-bar {
  margin-top: 1rem;
  background: #151518;
  color: #fff;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-weight: 600;
}
.quote-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.quote-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #151518;
  color: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}
.quote-summary-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aeb2bb;
  margin-bottom: 0.25rem;
}
.quote-summary-total {
  font-size: 1.45rem;
  font-weight: 700;
}
.quote-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.quote-back-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.quote-back-light:hover {
  background: rgba(255,255,255,0.08);
}
.quote-confirm {
  min-width: 180px;
}
.quote-success {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}
.quote-success h2 { margin-top: 0; }
.quote-alert {
  background: #ffe8e6;
  color: var(--red-deep);
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
@media (max-width: 640px) {
  .quote-steps { grid-template-columns: 1fr; }
}

/* ===== Live tracking results (Cargo Express adaptation) ===== */
.live-track-page {
  background: #f3f4f7;
  padding: 2rem 0 3.5rem;
}
.live-track-wrap {
  max-width: 920px;
  display: grid;
  gap: 1.15rem;
}
.live-track-search {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.25rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.04);
}

.lt-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.lt-hero-card {
  border-top: 4px solid var(--red);
}
.lt-hero-top {
  text-align: center;
  padding: 1.6rem 1.25rem 1.25rem;
}
.lt-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa1ad;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.lt-tracking-id {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  letter-spacing: 0.02em;
  color: #0f172a;
}
.lt-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 10px;
  background: #1e1b4b;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.lt-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.15rem;
}
.lt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.05rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
}
.lt-btn-ghost {
  background: #fff;
  border-color: #d7dbe3;
  color: #0f172a;
}
.lt-btn-ghost:hover { border-color: #111; }
.lt-btn-solid {
  background: var(--red);
  color: #fff;
}
.lt-btn-solid:hover { background: var(--red-deep); }

.lt-route-pair {
  display: grid;
  gap: 0.75rem;
  padding: 0 1.15rem 1.25rem;
}
@media (min-width: 700px) {
  .lt-route-pair { grid-template-columns: 1fr 1fr; }
}
.lt-route-box {
  background: #f6f7f9;
  border-radius: 14px;
  padding: 1rem 1.05rem;
  text-align: left;
}
.lt-route-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.lt-origin .lt-route-label { color: var(--red); }
.lt-dest .lt-route-label { color: #4338ca; }
.lt-route-box strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.lt-route-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.lt-progress-card { padding: 1.25rem 1.2rem 1.45rem; }
.lt-progress-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 1.35rem;
}
.lt-progress-head h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #0f172a;
}
.lt-eta {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
}

.lt-stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  position: relative;
  --progress: 0;
}
.lt-stepper::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 1.35rem;
  height: 3px;
  background: #e5e7eb;
  z-index: 0;
  border-radius: 99px;
}
.lt-stepper::after {
  content: "";
  position: absolute;
  left: 10%;
  top: 1.35rem;
  height: 3px;
  width: calc(var(--progress) / 4 * 80%);
  max-width: 80%;
  background: var(--red);
  z-index: 0;
  border-radius: 99px;
  transition: width 0.35s var(--ease);
}
.lt-step {
  position: relative;
  z-index: 1;
  text-align: center;
  min-width: 0;
}
.lt-step-icon {
  width: 2.7rem;
  height: 2.7rem;
  margin: 0 auto 0.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid #e5e7eb;
  color: #cbd5e1;
}
.lt-step-icon svg { width: 1.15rem; height: 1.15rem; }
.lt-step-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #94a3b8;
  line-height: 1.25;
}
.lt-step-current {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: var(--red);
  font-weight: 600;
}
.lt-step.is-current .lt-step-icon,
.lt-step.is-done .lt-step-icon {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.lt-step.is-current .lt-step-label,
.lt-step.is-done .lt-step-label {
  color: var(--red);
}

.lt-timeline-card { padding: 1.35rem 1.25rem 1.5rem; }
.lt-timeline-head { margin-bottom: 1.15rem; }
.lt-timeline-title {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
}
.lt-timeline-title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: 0.45rem;
  background: var(--red);
}
.lt-timeline-sub {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.lt-empty {
  margin: 0;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
}
.lt-timeline { display: grid; gap: 0; }

/* Brand feed timeline — red / black / white */
.lt-feed-item {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.95rem;
  padding-bottom: 1.15rem;
}
.lt-feed-item:last-child { padding-bottom: 0; }
.lt-feed-rail {
  position: relative;
}
.lt-feed-rail::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 1.1rem;
  bottom: -0.15rem;
  width: 2px;
  background: linear-gradient(180deg, var(--red), rgba(225, 6, 0, 0.2));
}
.lt-feed-item:last-child .lt-feed-rail::before { display: none; }
.lt-feed-rail i {
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.lt-feed-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 0.95rem 1.05rem 1rem;
  box-shadow: 0 8px 22px rgba(11, 11, 12, 0.05);
}
.lt-feed-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.55rem;
}
.lt-feed-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.lt-feed-when {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}
.lt-feed-when span {
  color: var(--red);
  margin: 0 0.2rem;
}
.lt-feed-desc {
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 500;
}
.lt-feed-loc {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--red-deep);
  font-size: 0.86rem;
  font-weight: 700;
}
.lt-feed-loc svg { flex-shrink: 0; }

.lt-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 800px) {
  .lt-summary-grid { grid-template-columns: repeat(4, 1fr); }
}
.lt-summary-card {
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.05rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(0,0,0,0.04);
}
.lt-summary-card span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.lt-summary-card strong {
  font-size: 1rem;
  color: #0f172a;
}

@media (max-width: 720px) {
  .lt-stepper {
    grid-template-columns: repeat(5, minmax(4.2rem, 1fr));
    overflow-x: auto;
    padding-bottom: 0.35rem;
  }
  .lt-step-label { font-size: 0.55rem; }
  .lt-step-icon { width: 2.3rem; height: 2.3rem; }
}

/* Auth pages */
.auth-page {
  background: #f3f4f6;
  padding: 2.5rem 0 3.5rem;
}
.auth-card {
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}
.auth-card h1 { margin: 0 0 0.4rem; font-size: 1.6rem; }
.auth-form { display: grid; gap: 0.85rem; margin-top: 1rem; }
.auth-switch { margin: 1rem 0 0; color: var(--muted); }
.auth-switch a { color: var(--red); font-weight: 700; }
.brand-bar .utility-nav .util-user {
  opacity: 0.9;
  font-weight: 600;
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.history-table th,
.history-table td {
  text-align: left;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.history-table th {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* About Us */
.about-story {
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(225,6,0,0.08), transparent 55%),
    linear-gradient(180deg, #fff, #f7f8fa);
}
.about-story-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .about-story-grid { grid-template-columns: 1.25fr 0.85fr; align-items: start; gap: 3rem; }
}
.about-story-copy h2 { margin: 0 0 1rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-story-copy p { color: var(--muted); line-height: 1.65; margin: 0 0 1rem; max-width: 38rem; }
.about-story-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: #111;
  color: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}
.about-stat {
  padding: 0.85rem 0.9rem;
  border-left: 3px solid var(--red);
  background: rgba(255,255,255,0.04);
  border-radius: 0 10px 10px 0;
}
.about-stat strong { display: block; font-size: 1.15rem; margin-bottom: 0.2rem; }
.about-stat span { color: #b8bbc3; font-size: 0.9rem; }

.about-pillars {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .about-pillars { grid-template-columns: repeat(3, 1fr); }
}
.about-pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.about-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}
.about-pillar-num {
  display: block;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.65rem;
}
.about-pillar h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.about-pillar p { margin: 0; color: var(--muted); line-height: 1.55; }

.about-promise {
  background: linear-gradient(135deg, #111 0%, #2a1212 55%, #111 100%);
  color: #fff;
  padding: 3.5rem 0;
}
.about-promise-inner {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 860px) {
  .about-promise-inner {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}
.about-promise h2 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.about-promise p { margin: 0; color: #c9ccd3; max-width: 36rem; line-height: 1.6; }
.about-promise-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.about-btn-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.about-btn-light:hover { background: rgba(255,255,255,0.08); }

.about-journey {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 3px solid var(--red-soft);
}
.about-journey li {
  position: relative;
  padding: 0 0 1.5rem 1.35rem;
}
.about-journey li::before {
  content: "";
  position: absolute;
  left: -0.55rem;
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.about-journey strong { display: block; margin-bottom: 0.35rem; font-size: 1.05rem; }
.about-journey p { margin: 0; color: var(--muted); max-width: 34rem; line-height: 1.55; }

/* Page loader (logo) when switching pages */
.ce-page-loader {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: grid;
  place-items: center;
  background: #0f0f10;
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  transition: opacity 0.28s var(--ease);
}
.ce-page-loader.is-done {
  opacity: 0 !important;
  pointer-events: none !important;
}
.ce-page-loader-inner {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 1.5rem;
}
.ce-page-loader-logo {
  width: min(180px, 55vw);
  height: auto;
  animation: ceLogoPulse 1.1s ease-in-out infinite;
}
.ce-page-loader-bar {
  width: min(160px, 48vw);
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.ce-page-loader-bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--red);
  border-radius: inherit;
  animation: ceLoaderSlide 0.9s ease-in-out infinite;
}
.ce-page-loader-text {
  margin: 0;
  color: #c9ccd3;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@keyframes ceLogoPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.88; }
}
@keyframes ceLoaderSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}
body.is-page-loading {
  overflow: hidden;
}

/* Jivo live chat — do not override widget layout (use Jivo's normal UI) */
jdiv,
#jivo-iframe-container {
  z-index: 2147483000 !important;
}

/* Legal / policy article pages */
.legal-page {
  background: #f3f4f6;
  padding: 2rem 0 3.5rem;
}
.legal-article {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}
.legal-article h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.legal-meta {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.legal-article h2 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.15rem;
}
.legal-article p,
.legal-article li {
  color: #30333a;
  line-height: 1.65;
}
.legal-article ul {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.2rem;
}
.legal-article a { color: var(--red); font-weight: 600; }
@media (max-width: 640px) {
  .legal-page { padding: 1.25rem 0 2.5rem; }
  .legal-article { padding: 1.15rem 1rem 1.35rem; border-radius: 12px; }
}


/* ===== Mobile / tablet responsiveness ===== */
@media (max-width: 979px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  /* Mobile brand bar: logo left, hamburger right only */
  .utility-desktop {
    display: none !important;
  }
  .brand-bar-inner {
    min-height: 3.9rem;
    padding-block: 0.4rem;
  }
  .brand-logo {
    height: 3.15rem;
    max-width: min(200px, 58vw);
  }
  .brand-bar .menu-toggle {
    display: grid;
  }

  /* Primary nav lives in the drawer on small screens */
  .dhl-header .nav-bar {
    display: none;
  }

  .mobile-drawer {
    max-height: min(70vh, 28rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 860px) {
  .dhl-hero {
    padding: 0.85rem 0 2rem;
  }
  .dhl-hero-frame {
    width: min(1120px, calc(100% - 1.5rem));
    border-radius: 12px;
  }
  .dhl-hero-cards {
    margin-top: -1.75rem;
    border-radius: 12px;
  }
  .dhl-hero-content {
    padding: 1.1rem 1rem 2.5rem;
  }
  .dhl-hero-title {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
    margin-bottom: 0.75rem;
  }

  .page-hero-frame {
    min-height: 220px;
  }
  .page-hero h1 {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
  }
  .page-hero .lead {
    font-size: 0.98rem;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .quote-page,
  .live-track-page,
  .auth-page {
    padding: 1.25rem 0 2.5rem;
  }

  .quote-card,
  .auth-card,
  .live-track-search,
  .lt-card {
    border-radius: 12px;
    padding: 1.05rem 1rem 1.15rem;
  }

  .quote-summary {
    flex-direction: column;
    align-items: stretch;
  }
  .quote-summary-actions,
  .quote-nav {
    width: 100%;
  }
  .quote-confirm,
  .quote-summary-actions .btn,
  .quote-nav .btn {
    width: 100%;
    min-width: 0;
  }

  .history-table-wrap,
  .table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .history-table {
    min-width: 560px;
  }

  .footer-logo,
  .footer-brand img {
    height: 3.75rem;
    max-width: 200px;
  }
  .footer-legal {
    gap: 0.75rem 1rem;
  }
  .footer-follow {
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 640px) {
  .trust-strip-inner {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .track-pill {
    flex-direction: column;
    border-radius: 12px;
  }
  .track-pill input {
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }
  .track-pill button {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 0 0 12px 12px;
  }

  .hero-card {
    padding: 1rem 1.05rem;
  }

  .lt-route-pair {
    grid-template-columns: 1fr;
  }
  .lt-summary-grid {
    grid-template-columns: 1fr;
  }
  .lt-actions {
    flex-direction: column;
  }
  .lt-actions .lt-btn {
    width: 100%;
    justify-content: center;
  }

  .form-shell,
  .two-col,
  .field-row.two {
    grid-template-columns: 1fr !important;
  }

  .chip-row {
    gap: 0.4rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 1.1rem);
  }
  .brand-logo {
    height: 2.75rem;
    max-width: 52vw;
  }
  .dhl-hero-frame {
    aspect-ratio: 4 / 3;
    min-height: 220px;
  }
}

