/* ==========================================================================
   Movnn rack system: warehouse racks, boxes and bins used across the homepage
   Modelled on the real hubs: steel uprights, Movnn-blue beams, kraft boxes,
   blue picking bins.
   ========================================================================== */

:root {
  --rk-steel: #4b5563;
  --rk-steel-2: #6b7280;
  --rk-beam: #005dd2;
  --rk-beam-2: #0049a6;
  --rk-kraft: #d4ab7f;
  --rk-kraft-2: #bf9265;
  --rk-tape: #e9d2ad;
  --rk-bin: #1f63d6;
  --rk-bin-2: #164db0;
  --rk-ink: #0b1220;
  --rk-muted: #6b7280;
  --rk-line: #e6e8ec;
}

/* ---------- Primitives ---------- */
.rk {
  position: relative;
  padding: 0 14px;
}
.rk::before,
.rk::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: -10px;
  width: 12px;
  border-radius: 2px;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.35) 1.4px, transparent 1.6px) center top / 12px 12px repeat-y,
    var(--rk-steel);
  z-index: 2;
}
.rk::before {
  left: 0;
}
.rk::after {
  right: 0;
}
.rk-shelf {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-height: 96px;
  padding: 12px 8px 0;
  border-bottom: 9px solid var(--rk-beam);
  box-shadow: 0 6px 0 -3px var(--rk-beam-2);
  margin-bottom: 6px;
}
.rk-tag {
  position: absolute;
  bottom: -9px;
  left: 10px;
  z-index: 3;
  padding: 0 5px;
  background: #fff;
  color: var(--rk-ink);
  font-family: var(--fonts--badge, monospace);
  font-size: 8px;
  line-height: 9px;
  letter-spacing: 0.06em;
  border-radius: 1px;
}

.rk-box,
.rk-bin {
  position: relative;
  flex: 0 0 var(--w, 22%);
  height: var(--h, 56px);
  border-radius: 3px;
}
.rk-box {
  background: var(--rk-kraft);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.rk-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 18%;
  height: 40%;
  transform: translateX(-50%);
  background: var(--rk-tape);
  opacity: 0.85;
}
.rk-bin {
  background: var(--rk-bin);
  border-top: 4px solid #3b7ae6;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}
.rk-lbl {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  padding: 2px 4px;
  border-radius: 2px;
  background: #fff;
  color: var(--rk-ink);
  font-family: var(--fonts--badge, monospace);
  font-size: 7px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}
.rk-lbl::before {
  content: "";
  display: block;
  height: 3px;
  margin-bottom: 1px;
  background: repeating-linear-gradient(90deg, #111 0 1px, transparent 1px 2px, #111 2px 4px, transparent 4px 5px);
}

/* ---------- Hero: live picking rack ---------- */
.rk-hero.home3_hero_media {
  display: block;
}
/* Template hero is 900px tall; keep the CTA and the rack inside the first screen */
.home3_hero_grid {
  min-height: max(640px, min(56.25rem, calc(100vh - 10rem)));
}
.rk-hero-scene {
  position: relative;
  height: 100%;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius--default, 12px);
  background:
    #eef3fb;
  padding: 22px 22px 0;
  display: flex;
  flex-direction: column;
}
.rk-hero-sign {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--rk-ink);
  color: #fff;
  font-family: var(--fonts--badge, monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.rk-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #86efac;
}
.rk-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: rkBeacon 1.6s ease-out infinite;
}
.rk--hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.rk--hero .rk-shelf {
  min-height: 110px;
}
.rk--hero .rk-item {
  height: calc(var(--h) * 1.35);
}
.rk--hero .rk-lbl {
  font-size: 8.5px;
}
.rk--hero .rk-box,
.rk--hero .rk-bin {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.rk-item.is-scanning {
  z-index: 4;
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--rk-beam), 0 10px 18px rgba(0, 93, 210, 0.3);
}
.rk-item.is-scanning::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  top: 0;
  height: 2px;
  background: #ef4444;
  box-shadow: 0 0 8px 2px rgba(239, 68, 68, 0.7);
  animation: rkScan 0.8s ease-in-out infinite alternate;
}
.rk-item.is-picked {
  animation: rkPick 0.9s cubic-bezier(0.5, 0, 0.75, 0) forwards;
}
.rk-item.is-restock {
  animation: rkRestock 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rk-hero-floor {
  position: relative;
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 22px;
}
.rk-order {
  flex: 1;
  max-width: 300px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.12);
  font-size: 13px;
}
.rk-order-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.rk-order-head b {
  font-weight: 600;
}
.rk-order-head small {
  font-family: var(--fonts--badge, monospace);
  color: var(--rk-muted);
  font-size: 10px;
}
.rk-order-item {
  margin: 2px 0 10px;
  color: var(--rk-muted);
  font-size: 12px;
}
.rk-order-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rk-order-steps li {
  font-size: 10.5px;
  color: var(--rk-muted);
}
.rk-order-steps li::before {
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 6px;
  border-radius: 4px;
  background: var(--rk-line);
  transition: background 0.3s ease;
}
.rk-order-steps li.is-on {
  color: var(--rk-ink);
}
.rk-order-steps li.is-on::before {
  background: var(--rk-beam);
}
.rk-photo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(11, 18, 32, 0.1);
  font-size: 11px;
  line-height: 1.3;
  color: var(--rk-muted);
}
.rk-photo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.rk-photo b {
  display: block;
  color: var(--rk-ink);
  font-weight: 600;
}

/* ---------- Stats on a shelf ---------- */
.st-head {
  max-width: 54rem;
}
.st-rack {
  margin-top: 40px;
}
.st-rack .rk-shelf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px 14px 0;
}
.st-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: 34px 14px 14px;
  border-radius: 6px 6px 3px 3px;
  background: var(--rk-kraft);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
.st-box:hover {
  transform: translateY(-6px);
}
.st-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 22%;
  height: 34%;
  transform: translateX(-50%);
  background: var(--rk-tape);
}
.st-label {
  position: relative;
  padding: 14px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.st-label::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 18px;
  background: repeating-linear-gradient(90deg, #111 0 1px, transparent 1px 3px, #111 3px 5px, transparent 5px 6px);
  opacity: 0.8;
}
.st-num {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.st-name {
  margin-top: 10px;
  font-weight: 500;
}
.st-desc {
  margin-top: 4px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--rk-muted);
}

/* ---------- Fulfillment explained: pile vs rack ---------- */
.fx-section {
  background: #fff;
}
.fx-head {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}
.fx-head .badge {
  margin: 0 auto;
}
.fx-toggle {
  display: inline-flex;
  gap: 4px;
  margin: 28px auto 0;
  padding: 4px;
  border-radius: 999px;
  background: var(--accent-background, #f3f6f5);
}
.fx-toggle button {
  all: unset;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--rk-muted);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.fx-toggle button[aria-selected="true"] {
  background: #fff;
  color: var(--rk-ink);
  box-shadow: 0 2px 8px rgba(11, 18, 32, 0.08);
}
.fx-toggle button[data-fx="movnn"][aria-selected="true"] {
  background: var(--rk-beam);
  color: #fff;
}
.fx-toggle button:focus-visible {
  outline: 2px solid var(--rk-beam);
  outline-offset: 2px;
}
.fx-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-top: 40px;
}
.fx-stage {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbf7f1 0 82%, #efe6d8 82%);
  transition: background 0.6s ease;
}
.fx-stage.is-movnn {
  background: linear-gradient(180deg, #f4f8fe 0 82%, #e3eaf4 82%);
}
.fx-place {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: var(--fonts--badge, monospace);
  font-size: 11px;
  letter-spacing: 0.06em;
  background: #fff;
  color: var(--rk-muted);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.fx-place--movnn {
  background: var(--rk-ink);
  color: #fff;
  opacity: 0;
}
.fx-stage.is-movnn .fx-place--diy {
  opacity: 0;
}
.fx-stage.is-movnn .fx-place--movnn {
  opacity: 1;
}
.fx-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.fx-stage.is-movnn .fx-frame {
  opacity: 1;
}
.fx-upright {
  position: absolute;
  top: 6%;
  bottom: 4%;
  width: 3%;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.35) 1.4px, transparent 1.6px) center top / 100% 12px repeat-y,
    var(--rk-steel);
  border-radius: 2px;
}
.fx-upright:first-child {
  left: 6%;
}
.fx-upright:nth-child(2) {
  right: 6%;
}
.fx-beam {
  position: absolute;
  left: 6%;
  right: 6%;
  height: 3%;
  background: var(--rk-beam);
  box-shadow: 0 3px 0 var(--rk-beam-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.fx-stage.is-movnn .fx-beam {
  transform: none;
}
.fx-stage.is-movnn .fx-beam:nth-of-type(4) {
  transition-delay: 0.08s;
}
.fx-stage.is-movnn .fx-beam:nth-of-type(5) {
  transition-delay: 0.16s;
}
.fx-box {
  position: absolute;
  z-index: 3;
  left: var(--px);
  top: var(--py);
  width: 20%;
  height: var(--h);
  transform: rotate(var(--pr));
  border-radius: 4px;
  background: var(--rk-kraft);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.08);
  transition:
    left 0.8s cubic-bezier(0.6, -0.2, 0.3, 1.25) calc(var(--i) * 70ms),
    top 0.8s cubic-bezier(0.6, -0.2, 0.3, 1.25) calc(var(--i) * 70ms),
    transform 0.8s ease calc(var(--i) * 70ms);
}
.fx-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 18%;
  height: 40%;
  transform: translateX(-50%);
  background: var(--rk-tape);
}
.fx-box .rk-lbl {
  opacity: 0;
  transition: opacity 0.3s ease calc(0.8s + var(--i) * 70ms);
}
.fx-stage.is-movnn .fx-box {
  left: var(--rx);
  top: var(--ry);
  transform: none;
}
.fx-stage.is-movnn .fx-box .rk-lbl {
  opacity: 1;
}
.fx-bubble {
  position: absolute;
  z-index: 6;
  max-width: 46%;
  padding: 8px 12px;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(11, 18, 32, 0.12);
  font-size: 12px;
  line-height: 1.35;
  color: var(--rk-ink);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.fx-bubble small {
  display: block;
  color: var(--rk-muted);
  font-size: 10px;
}
.fx-bubble--a {
  top: 14%;
  right: 6%;
}
.fx-bubble--b {
  top: 34%;
  left: 52%;
  animation: rkFloat 5s ease-in-out infinite -2s;
}
.fx-bubble--a {
  animation: rkFloat 5s ease-in-out infinite;
}
.fx-stage.is-movnn .fx-bubble {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}
.fx-chip {
  position: absolute;
  z-index: 6;
  right: 8%;
  bottom: 6%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(11, 18, 32, 0.12);
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 1.3s, transform 0.4s ease 1.3s;
}
.fx-chip::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
}
.fx-stage.is-movnn .fx-chip {
  opacity: 1;
  transform: none;
}
.fx-panel[hidden] {
  display: none;
}
.fx-panel h3 {
  margin: 0 0 16px;
}
.fx-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fx-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--rk-line);
  animation: rkUp 0.4s ease both;
}
.fx-list li:nth-child(2) { animation-delay: 0.05s; }
.fx-list li:nth-child(3) { animation-delay: 0.1s; }
.fx-list li:nth-child(4) { animation-delay: 0.15s; }
.fx-list li:nth-child(5) { animation-delay: 0.2s; }
.fx-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}
.fx-panel--diy .fx-ico {
  background: #fde8e8;
  color: #dc2626;
}
.fx-panel--movnn .fx-ico {
  background: #e8f1fd;
  color: var(--rk-beam);
}
.fx-result {
  margin: 20px 0 22px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 500;
}
.fx-panel--diy .fx-result {
  background: #fff4f4;
  color: #991b1b;
}
.fx-panel--movnn .fx-result {
  background: #e8f1fd;
  color: #0b3b85;
}

/* ---------- Services rack ---------- */
.svc-head {
  max-width: 48rem;
}
.svc-rack {
  margin-top: 40px;
  padding: 0 18px;
}
.svc-rack.rk::before,
.svc-rack.rk::after {
  width: 16px;
  background-size: 16px 14px, auto;
}
.svc-bay {
  position: relative;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: end;
  gap: clamp(16px, 3vw, 40px);
  padding: 28px clamp(12px, 2vw, 28px) 22px;
  border-bottom: 12px solid var(--rk-beam);
  box-shadow: 0 7px 0 -3px var(--rk-beam-2);
  margin-bottom: 8px;
  background: transparent;
  transition: background 0.3s ease;
}
.svc-bay:hover {
  background: #f3f7fd;
}
.svc-bay .rk-tag {
  bottom: -12px;
  left: 14px;
  font-size: 10px;
  line-height: 12px;
  padding: 0 7px;
}
.svc-goods {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100%;
  min-height: 110px;
}
.svc-goods .rk-box,
.svc-goods .rk-bin {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.svc-bay:hover .svc-goods > :nth-child(1) { transform: translateY(-6px); }
.svc-bay:hover .svc-goods > :nth-child(2) { transform: translateY(-10px); transition-delay: 0.04s; }
.svc-bay:hover .svc-goods > :nth-child(3) { transform: translateY(-6px); transition-delay: 0.08s; }
.svc-text h3 {
  margin: 0 0 6px;
}
.svc-text p {
  margin: 0 0 12px;
  max-width: 40rem;
  color: var(--rk-muted);
}
.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc-chips li {
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--rk-line);
  font-size: 0.8rem;
}
.svc-icon {
  position: absolute;
  top: 22px;
  right: clamp(12px, 2vw, 28px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--rk-line);
}
.svc-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.svc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

/* ---------- Hub network ---------- */
.hub-section {
  background: var(--accent-background, #f3f6f5);
}
.hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.hub-q {
  margin: 26px 0 10px;
  font-weight: 500;
}
.hub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hub-pill {
  all: unset;
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--rk-line);
  background: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.hub-pill:hover {
  border-color: var(--rk-beam);
}
.hub-pill[aria-pressed="true"] {
  border-color: var(--rk-beam);
  background: var(--rk-beam);
  color: #fff;
}
.hub-pill:focus-visible {
  outline: 2px solid var(--rk-beam);
  outline-offset: 2px;
}
.hub-compare {
  margin: 22px 0 24px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 8px 24px rgba(11, 18, 32, 0.06);
}
.hub-row + .hub-row {
  margin-top: 16px;
}
.hub-row-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}
.hub-row-top span {
  color: var(--rk-muted);
}
.hub-row-top b span {
  color: inherit;
}
.hub-row-top b {
  font-weight: 600;
  text-align: right;
}
.hub-bar {
  height: 10px;
  margin-top: 8px;
  border-radius: 10px;
  background: var(--rk-line);
  overflow: hidden;
}
.hub-bar i {
  display: block;
  height: 100%;
  border-radius: 10px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hub-row--slow .hub-bar i {
  width: 100%;
  background: repeating-linear-gradient(45deg, #f87171 0 8px, #fca5a5 8px 16px);
}
.hub-row--fast .hub-bar i {
  width: 18%;
  background: var(--rk-beam);
}
.hub-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--rk-muted);
}
.hub-media {
  position: relative;
}
.hub-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}
.hub-caption {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--rk-ink);
  color: #fff;
  font-family: var(--fonts--badge, monospace);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.hub-result {
  position: absolute;
  right: 14px;
  bottom: -26px;
  max-width: 250px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--rk-ink);
  color: #fff;
  box-shadow: 0 16px 40px rgba(11, 18, 32, 0.25);
}
.hub-result b {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 600;
}
.hub-result span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}
.hub-racks {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  margin-top: 64px;
}
.hub-rack {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.hub-rack:focus-visible {
  outline: 2px solid var(--rk-beam);
  outline-offset: 4px;
  border-radius: 8px;
}
.hub-sign {
  align-self: center;
  padding: 4px 10px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid var(--rk-line);
  font-family: var(--fonts--badge, monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}
.hub-rack .rk {
  padding: 0 8px;
  opacity: 0.6;
  filter: grayscale(0.6);
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}
.hub-rack .rk::before,
.hub-rack .rk::after {
  width: 7px;
  background-size: 7px 9px, auto;
}
.hub-rack .rk-shelf {
  min-height: 46px;
  gap: 3px;
  padding: 6px 3px 0;
  border-bottom-width: 5px;
  box-shadow: 0 3px 0 -1px var(--rk-beam-2);
  margin-bottom: 4px;
}
.hub-rack .rk-box,
.hub-rack .rk-bin {
  height: var(--h, 30px);
}
.hub-city {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rk-muted);
}
.hub-rack:hover .rk,
.hub-rack[aria-pressed="true"] .rk {
  opacity: 1;
  filter: none;
}
.hub-rack[aria-pressed="true"] .rk {
  transform: translateY(-6px);
}
.hub-rack[aria-pressed="true"] .hub-sign {
  background: var(--rk-beam);
  border-color: var(--rk-beam);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 93, 210, 0.15);
}
.hub-rack[aria-pressed="true"] .hub-city {
  color: var(--rk-ink);
}
.hub-rack[aria-pressed="true"] .rk-box:nth-child(2) {
  animation: rkBounce 0.6s ease;
}
.hub-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 2px dashed #cfd6df;
  border-radius: 12px;
  color: var(--rk-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 10px;
}
.hub-more b {
  font-size: 1.4rem;
  color: var(--rk-ink);
}

/* ---------- Keyframes ---------- */
@keyframes rkBeacon {
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes rkScan {
  from { top: 4%; }
  to { top: 92%; }
}
@keyframes rkPick {
  0% { transform: translateY(-4px); opacity: 1; }
  35% { transform: translateY(-14px) scale(1.06); opacity: 1; }
  100% { transform: translateY(160px) scale(0.7); opacity: 0; }
}
@keyframes rkRestock {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes rkFloat {
  50% { transform: translateY(-6px); }
}
@keyframes rkUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes rkBounce {
  40% { transform: translateY(-8px); }
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 991px) {
  .rk-hero-scene {
    min-height: 520px;
  }
  .st-rack .rk-shelf {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }
  .fx-grid,
  .hub-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hub-racks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 24px;
  }
}
@media screen and (max-width: 767px) {
  .svc-bay {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 22px;
  }
  .svc-goods {
    min-height: 70px;
    order: 2;
  }
  .svc-icon {
    display: none;
  }
}
@media screen and (max-width: 479px) {
  .rk-hero-scene {
    min-height: 470px;
    padding: 14px 14px 0;
  }
  .rk--hero .rk-shelf {
    min-height: 84px;
  }
  .rk-photo {
    display: none;
  }
  .rk-order {
    max-width: none;
  }
  .st-rack .rk-shelf {
    align-items: stretch;
    gap: 10px;
    padding: 14px 8px 0;
  }
  .st-box {
    min-height: 0;
    padding: 24px 7px 7px;
  }
  .st-desc,
  .fx-chip {
    display: none;
  }
  .st-label {
    padding: 10px;
  }
  .st-label::after {
    display: none;
  }
  .hub-racks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hub-result {
    position: static;
    margin-top: 12px;
    max-width: none;
  }
  .fx-toggle button {
    padding: 9px 14px;
    font-size: 0.875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rk-live::before,
  .fx-bubble,
  .rk-item.is-scanning::after {
    animation: none;
  }
  .fx-box {
    transition-duration: 0.01s;
  }
}

/* ---------- Pick a hub (full-window, leads to signup) ---------- */
.pk-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 96px 0;
  overflow: hidden;
  color: #fff;
  background:
    #0b1220;
}
.pk-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.pk-head {
  max-width: 46rem;
  margin: 0 auto 48px;
  text-align: center;
}
.pk-head h2 {
  margin: 14px 0 12px;
  color: #fff;
}
.pk-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}
.pk-offer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--rk-beam);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
  animation: pkGlow 2.4s ease-in-out infinite;
}
.pk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.pk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pk-card:hover,
.pk-card:focus-visible,
.pk-card.is-chosen {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(0, 93, 210, 0.25);
  outline: none;
}
.pk-card .hub-sign {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.pk-card:hover .hub-sign,
.pk-card.is-chosen .hub-sign {
  background: var(--rk-beam);
  border-color: var(--rk-beam);
}
.pk-rack {
  width: 100%;
  margin: 6px 0 4px;
  padding: 0 10px;
  opacity: 0.55;
  filter: grayscale(0.7);
  transition: opacity 0.35s ease, filter 0.35s ease;
}
.pk-rack::before,
.pk-rack::after {
  width: 9px;
  background-size: 9px 10px, auto;
}
.pk-rack .rk-shelf {
  min-height: 52px;
  gap: 4px;
  padding: 8px 4px 0;
  border-bottom-width: 6px;
  margin-bottom: 4px;
}
.pk-card:hover .pk-rack,
.pk-card:focus-visible .pk-rack,
.pk-card.is-chosen .pk-rack {
  opacity: 1;
  filter: none;
}
.pk-slot {
  position: relative;
  flex: 0 0 30%;
  height: 38px;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  border-radius: 3px;
}
.pk-card:hover .pk-slot,
.pk-card:focus-visible .pk-slot {
  border-color: #fff;
  background: rgba(0, 93, 210, 0.25);
}
.pk-drop {
  position: absolute;
  inset: auto 0 0;
  opacity: 0;
  transform: translateY(-80px);
}
.pk-card.is-chosen .pk-drop {
  animation: pkDrop 0.55s cubic-bezier(0.5, 0, 0.6, 1.4) forwards;
}
.pk-drop .rk-lbl {
  font-size: 6px;
}
.pk-city {
  font-size: 1.15rem;
  font-weight: 600;
}
.pk-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.pk-go {
  margin-top: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--rk-beam);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
  transition: background 0.25s ease, opacity 0.25s ease;
}
.pk-card:hover .pk-go,
.pk-card.is-chosen .pk-go {
  background: #fff;
  color: var(--rk-beam);
  opacity: 1;
}
.pk-card--more {
  justify-content: center;
  border-style: dashed;
  background: transparent;
}
.pk-card--more b {
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 600;
  color: #fff;
}
.pk-status {
  min-height: 1.5em;
  margin-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

@keyframes pkDrop {
  0% { opacity: 0; transform: translateY(-80px); }
  20% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes pkGlow {
  50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.04); }
}

@media screen and (max-width: 991px) {
  .pk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 479px) {
  .pk-section {
    padding: 72px 0;
  }
  .pk-grid {
    gap: 10px;
  }
  .pk-card {
    padding: 14px 10px;
  }
  .pk-meta {
    font-size: 0.75rem;
  }
  .pk-go {
    padding: 7px 10px;
    font-size: 0.78rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pk-offer {
    animation: none;
  }
}

/* ---------- Fulfillment explained v2: full process track + worry-free list ---------- */
.fx-stage {
  background: linear-gradient(180deg, #fbf7f1 0 74%, #efe6d8 74%);
}
.fx-stage.is-movnn {
  background: linear-gradient(180deg, #f4f8fe 0 72%, #e6edf7 72%);
}
.fx-upright {
  bottom: 29%;
}
.fx-box {
  width: 19%;
}
.fx-bubble--a { top: 13%; right: 5%; left: auto; }
.fx-bubble--b { top: 31%; left: 6%; right: auto; animation: rkFloat 5s ease-in-out infinite -1.5s; }
.fx-bubble--c { top: 45%; right: 7%; animation: rkFloat 5s ease-in-out infinite -3s; }
.fx-chip {
  top: 14px;
  right: 14px;
  bottom: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fx-stage.is-movnn .fx-chip {
  opacity: 0;
  transform: translateY(-6px);
}
.fx-stage.is-movnn.is-delivered .fx-chip {
  opacity: 1;
  transform: none;
}

.fx-flow {
  position: absolute;
  z-index: 4;
  left: 4%;
  right: 4%;
  bottom: 4%;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.fx-stage.is-movnn .fx-flow {
  opacity: 1;
  transform: none;
  transition-delay: 0.9s;
}
.fx-flow-label {
  height: 16px;
  margin-bottom: 8px;
  font-family: var(--fonts--badge, monospace);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--rk-muted);
}
.fx-track {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.fx-st {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.fx-st-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--rk-line);
  background: #fff;
  color: var(--rk-muted);
  transition: all 0.3s ease;
}
.fx-st-ico svg {
  width: 16px;
  height: 16px;
}
.fx-st-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--rk-muted);
  transition: color 0.3s ease;
}
.fx-st.is-done .fx-st-ico {
  border-color: var(--rk-beam);
  background: var(--rk-beam);
  color: #fff;
}
.fx-st.is-on .fx-st-ico {
  border-color: var(--rk-beam);
  background: var(--rk-beam);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(0, 93, 210, 0.18);
  transform: scale(1.08);
}
.fx-st.is-on .fx-st-name,
.fx-st.is-done .fx-st-name {
  color: var(--rk-ink);
}
.fx-st:last-child.is-on .fx-st-ico {
  border-color: #16a34a;
  background: #16a34a;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.2);
}
.fx-belt {
  position: absolute;
  z-index: 1;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 4px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #cbd5e1 0 10px, #e2e8f0 10px 20px);
  animation: fxBelt 0.8s linear infinite;
}
.fx-parcel {
  position: absolute;
  top: -27px;
  left: 0;
  width: 22px;
  height: 18px;
  margin-left: -11px;
  border-radius: 3px;
  background: var(--rk-kraft);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transition: left 0.9s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.fx-parcel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 5px;
  height: 7px;
  transform: translateX(-50%);
  background: var(--rk-tape);
}

/* Worries, crossed out */
.fx-worries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.fx-worries li {
  position: relative;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #9ca3af;
  font-weight: 500;
  font-size: 0.95rem;
}
.fx-worries li::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  background: #ef4444;
  transform: scaleX(0);
  transform-origin: left;
  animation: fxStrike 0.35s ease forwards;
  animation-delay: calc(0.3s + var(--i) * 0.18s);
}
.fx-sub {
  margin: 0 0 6px;
  font-weight: 500;
}
.fx-list--steps li {
  margin: 0 -12px;
  padding: 12px;
  border-radius: 10px;
  border-bottom-color: transparent;
  transition: background 0.3s ease;
}
.fx-list--steps .fx-ico {
  font-size: 11px;
  transition: all 0.3s ease;
}
.fx-list--steps li.is-on {
  background: #e8f1fd;
}
.fx-list--steps li.is-on .fx-ico,
.fx-list--steps li.is-done .fx-ico {
  background: var(--rk-beam);
  color: #fff;
}
.fx-list--steps li:last-child.is-on {
  background: #e8f7ee;
}
.fx-list--steps li:last-child.is-on .fx-ico {
  background: #16a34a;
}

@keyframes fxStrike {
  to { transform: scaleX(1); }
}
@keyframes fxBelt {
  to { background-position: 20px 0; }
}

@media screen and (max-width: 479px) {
  .fx-stage {
    aspect-ratio: 4 / 4.2;
  }
  .fx-st-ico {
    width: 28px;
    height: 28px;
  }
  .fx-st-ico svg {
    width: 13px;
    height: 13px;
  }
  .fx-st-name {
    font-size: 9.5px;
  }
  .fx-belt {
    top: 37px;
  }
  .fx-parcel {
    top: -24px;
  }
  .fx-flow-label {
    font-size: 8.5px;
  }
  .fx-bubble {
    font-size: 10.5px;
    max-width: 52%;
  }
  .fx-stage.is-movnn.is-delivered .fx-chip {
    display: flex;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fx-belt {
    animation: none;
  }
  .fx-worries li::after {
    animation-duration: 0.01s;
    animation-delay: 0s;
  }
}

/* Pick a hub: "Your products here" sign over the empty slot.
   Dim the rack parts individually so the sign and slot stay bright. */
.pk-rack {
  margin-top: 58px;
  opacity: 1;
  filter: none;
}
.pk-rack::before,
.pk-rack::after,
.pk-rack .rk-shelf > .rk-box,
.pk-rack .rk-shelf > .rk-bin {
  opacity: 0.55;
  filter: grayscale(0.7);
  transition: opacity 0.35s ease, filter 0.35s ease;
}
.pk-rack .rk-shelf {
  border-bottom-color: #2c3d5c;
  box-shadow: 0 3px 0 -1px #22304a;
  transition: border-color 0.35s ease;
}
.pk-card:hover .pk-rack::before,
.pk-card:hover .pk-rack::after,
.pk-card:hover .pk-rack .rk-shelf > .rk-box,
.pk-card:hover .pk-rack .rk-shelf > .rk-bin,
.pk-card:focus-visible .pk-rack .rk-shelf > *,
.pk-card.is-chosen .pk-rack::before,
.pk-card.is-chosen .pk-rack::after,
.pk-card.is-chosen .pk-rack .rk-shelf > .rk-box,
.pk-card.is-chosen .pk-rack .rk-shelf > .rk-bin {
  opacity: 1;
  filter: none;
}
.pk-card:hover .pk-rack .rk-shelf,
.pk-card.is-chosen .pk-rack .rk-shelf {
  border-bottom-color: var(--rk-beam);
  box-shadow: 0 3px 0 -1px var(--rk-beam-2);
}
.pk-slot {
  border: 2px dashed rgba(255, 255, 255, 0.3);
  background: transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.pk-sign {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  z-index: 5;
  padding: 9px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--rk-beam);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
/* Only show the sign while the visitor is considering this hub */
.pk-card:hover .pk-sign,
.pk-card:focus-visible .pk-sign,
.pk-card.is-chosen .pk-sign {
  opacity: 1;
  transform: translateX(-50%);
  animation: pkPoint 1.4s ease-in-out 0.25s infinite;
}
.pk-sign::after {
  /* arrow pointing down into the slot */
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -9px;
  border: 9px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
}
.pk-card.is-chosen .pk-sign {
  animation: none;
  background: var(--rk-beam);
  color: #fff;
}
.pk-card.is-chosen .pk-sign::after {
  border-top-color: var(--rk-beam);
}
@keyframes pkPoint {
  50% { transform: translate(-50%, -5px); }
}
@media screen and (max-width: 479px) {
  .pk-rack {
    margin-top: 40px;
  }
  .pk-sign {
    font-size: 10px;
    padding: 6px 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pk-sign {
    animation: none;
  }
}

/* ---------- Services rack: per-service illustrations ---------- */
.svc-goods {
  align-items: center;
  min-height: 130px;
}
.svc-art {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  overflow: visible;
}
.svc-art--map {
  max-height: 170px;
}
.svc-art * {
  transform-box: fill-box;
}
/* Warehousing: scanner sweeps a box */
.svc-scan {
  filter: drop-shadow(0 0 3px rgba(239, 68, 68, 0.9));
  animation: svcScan 1.6s ease-in-out infinite alternate;
}
/* Pick & pack: arm dips, item travels into the box */
.svc-arm {
  transform-box: view-box;
  transform-origin: 74px 64px;
  animation: svcArm 2.4s ease-in-out infinite;
}
.svc-item {
  transform-box: view-box;
  animation: svcItem 2.4s ease-in-out infinite;
}
/* Delivery: vehicles bob, wheels spin, road scrolls */
.svc-veh {
  animation: svcBob 0.9s ease-in-out infinite;
  animation-delay: var(--d);
}
.svc-wheel {
  transform-origin: center;
  animation: svcSpin 0.6s linear infinite;
}
.svc-road {
  animation: svcRoad 0.6s linear infinite;
}
.svc-livery {
  font-family: var(--fonts--body, sans-serif);
  font-size: 11px;
  font-weight: 700;
  fill: #fff;
}
.svc-livery--dark {
  font-size: 15px;
  fill: #005dd2;
}
/* Distribution: stock flows from Abuja to each hub */
.svc-route {
  fill: none;
  stroke: #005dd2;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2 6;
  animation: svcFlow 1s linear infinite;
  animation-delay: var(--d);
}
.svc-ping {
  fill: #005dd2;
  opacity: 0.35;
  transform-origin: center;
  animation: svcPing 2s ease-out infinite;
  animation-delay: var(--d);
}
.svc-maplbl {
  font-family: var(--fonts--badge, monospace);
  font-size: 10px;
  font-weight: 600;
  fill: #0b1220;
}

@keyframes svcScan {
  from { transform: translateY(0); }
  to { transform: translateY(38px); }
}
@keyframes svcArm {
  0%, 15% { transform: rotate(-8deg); }
  50%, 60% { transform: rotate(14deg); }
  100% { transform: rotate(-8deg); }
}
@keyframes svcItem {
  0%, 15% { transform: translate(104px, 38px); opacity: 1; }
  45% { transform: translate(150px, 38px); opacity: 1; }
  65% { transform: translate(167px, 74px); opacity: 1; }
  75% { transform: translate(167px, 80px); opacity: 0; }
  76%, 90% { transform: translate(104px, 38px); opacity: 0; }
  100% { transform: translate(104px, 38px); opacity: 1; }
}
@keyframes svcBob {
  50% { transform: translateY(-1.5px); }
}
@keyframes svcSpin {
  to { transform: rotate(360deg); }
}
@keyframes svcRoad {
  to { stroke-dashoffset: 22; }
}
@keyframes svcFlow {
  to { stroke-dashoffset: -16; }
}
@keyframes svcPing {
  0% { transform: scale(1); opacity: 0.45; }
  100% { transform: scale(3); opacity: 0; }
}
@media screen and (max-width: 767px) {
  .svc-goods {
    min-height: 0;
  }
  .svc-art {
    max-width: 220px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-scan,
  .svc-arm,
  .svc-item,
  .svc-veh,
  .svc-wheel,
  .svc-road,
  .svc-route,
  .svc-ping {
    animation: none;
  }
  .svc-item {
    transform: translate(167px, 74px);
  }
}

/* ---------- Services: clean line illustrations (v2) ---------- */
.svc-goods {
  justify-content: center;
  align-self: stretch;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--rk-line);
  background: #fff;
}
.svc-bay:hover .svc-goods {
  border-color: #c9dbf5;
}
.svc-art {
  max-width: 220px;
}
.svc-arm {
  transform-origin: 70px 64px;
  animation: svcArm2 2.6s ease-in-out infinite;
}
.svc-item {
  animation: svcItem2 2.6s ease-in-out infinite;
}
.svc-scan {
  animation: svcScan2 1.8s ease-in-out infinite alternate;
}
.svc-veh {
  animation: svcBob 1.2s ease-in-out infinite;
  animation-delay: var(--d);
}
.svc-road {
  animation: svcRoad2 0.9s linear infinite;
}
.svc-route {
  stroke-width: 1.8;
  stroke-dasharray: 3 5;
  opacity: 0.7;
}
.svc-maplbl {
  font-size: 9px;
  font-weight: 500;
  fill: #374151;
}
@keyframes svcArm2 {
  0%, 15% { transform: rotate(-6deg); }
  50%, 62% { transform: rotate(12deg); }
  100% { transform: rotate(-6deg); }
}
@keyframes svcItem2 {
  0%, 15% { transform: translate(98px, 40px); opacity: 1; }
  45% { transform: translate(148px, 44px); opacity: 1; }
  62% { transform: translate(153px, 78px); opacity: 1; }
  72% { transform: translate(153px, 84px); opacity: 0; }
  73%, 90% { transform: translate(98px, 40px); opacity: 0; }
  100% { transform: translate(98px, 40px); opacity: 1; }
}
@keyframes svcScan2 {
  from { transform: translateY(0); }
  to { transform: translateY(30px); }
}
@keyframes svcRoad2 {
  to { stroke-dashoffset: -18; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-item {
    transform: translate(153px, 78px);
  }
}

/* ---------- Pick a hub: 9 cities + "not sure" ---------- */
@media screen and (min-width: 1200px) {
  .pk-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }
  .pk-card {
    padding: 18px 12px 16px;
  }
  .pk-sign {
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* ---------- Eye-catching offer badge ---------- */
.pk-offer {
  position: relative;
  overflow: hidden;
  gap: 10px;
  padding: 12px 22px 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #005dd2;
  background-size: 200% 100%;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 0 rgba(61, 139, 255, 0.6), 0 12px 32px rgba(0, 93, 210, 0.45);
  animation: pkOfferBg 4s linear infinite, pkOfferPulse 2.2s ease-out infinite;
}
.pk-offer-gift {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  font-size: 16px;
  animation: pkGift 3s ease-in-out infinite;
}
.pk-offer strong {
  padding: 3px 10px;
  border-radius: 6px;
  background: #fff;
  color: var(--rk-beam);
  font-weight: 800;
  letter-spacing: 0.06em;
}
@keyframes pkOfferBg {
  to { background-position: -200% 0; }
}
@keyframes pkOfferPulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 139, 255, 0.55), 0 12px 32px rgba(0, 93, 210, 0.45); }
  100% { box-shadow: 0 0 0 16px rgba(61, 139, 255, 0), 0 12px 32px rgba(0, 93, 210, 0.45); }
}
@keyframes pkShine {
  0%, 55% { left: -40%; }
  100% { left: 130%; }
}
@keyframes pkGift {
  0%, 70%, 100% { transform: rotate(0); }
  76% { transform: rotate(-14deg) scale(1.1); }
  82% { transform: rotate(12deg) scale(1.1); }
  88% { transform: rotate(-6deg); }
}
@media screen and (max-width: 479px) {
  .pk-offer {
    font-size: 0.9rem;
    padding: 9px 14px 9px 10px;
    gap: 8px;
  }
  .pk-offer-gift {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pk-offer,
  .pk-offer::after,
  .pk-offer-gift {
    animation: none;
  }
}

/* Flat finish: no glows */
.pk-offer {
  animation: none;
  box-shadow: none;
  border-color: transparent;
}
.pk-card:hover,
.pk-card:focus-visible,
.pk-card.is-chosen {
  box-shadow: none;
}
