/* ============================================================
   Pickup & Delivery App Development - /service/pickup-delivery-app-development
   Prefix: pd-   Palette sampled from the owner's art: scooter green
   #008A3A, parcel kraft #E49C54, with a deep forest ink for the
   features switchboard and industries shelves.
   Display: Bricolage Grotesque. Text: Manrope. Mono (JetBrains Mono)
   only for tracking codes and step labels.
   ============================================================ */

.pd-page {
  --pd-ink: #0b2b1f;
  --pd-ink-2: #12402e;
  --pd-green: #008a3a;
  --pd-green-2: #1db45e;
  --pd-lime: #c6f06a;
  --pd-kraft: #e49c54;
  --pd-kraft-2: #f6dcc0;
  --pd-cream: #fbf8f1;
  --pd-mint: #eaf6ee;
  --pd-text: #47574f;
  --pd-muted: #67786f;
  --pd-line: #e0e9e3;
  --pd-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pd-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --pd-display: "Bricolage Grotesque", system-ui, sans-serif;
  --pd-font: "Manrope", system-ui, sans-serif;
  --pd-mono: "JetBrains Mono", ui-monospace, monospace;
  --pd-gap: clamp(72px, 9vw, 120px);
  --pd-hdr: 76px;

  font-family: var(--pd-font);
  color: var(--pd-text);
  background: #fff;
  overflow-x: clip;
  interpolate-size: allow-keywords;
}

/* style.css:2845 forces Gabarito !important on headings and p */
.pd-page :is(p, li, button, summary, a, span, b, em) {
  font-family: var(--pd-font) !important;
}

.pd-page :is(h1, h2, h3) {
  margin: 0;
  font-family: var(--pd-display) !important;
  color: var(--pd-ink);
  letter-spacing: -0.02em;
}

.pd-page h2 {
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
}

.pd-page h3 {
  font-weight: 700;
}

.pd-page p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.pd-page :is(ul, ol) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pd-page button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.pd-wrap {
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
}

.pd-sec {
  padding-block: var(--pd-gap);
}

.pd-head {
  display: grid;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.pd-head p {
  color: var(--pd-muted);
}

.pd-head--light h2 {
  color: #fff;
}

.pd-head--light p {
  color: #b5cbbf;
}

/* icon SVGs from the owner's folder, recoloured by currentColor */
.pd-mask {
  display: block;
  width: 26px;
  height: 26px;
  background: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat;
  mask: var(--src) center / contain no-repeat;
}

/* ---------- button: arrow disc travels to the left on hover ---------- */
.pd-btn {
  --w: 44px;
  --in: 7px;

  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: calc(var(--w) + 2 * var(--in));
  max-width: 100%;
  padding: 0 calc(var(--w) + var(--in) + 14px) 0 26px;
  border-radius: 999px;
  background: var(--pd-green);
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 138, 58, 0.28);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    padding 0.5s var(--pd-ease-io);
}

.pd-btn__label {
  min-width: 0;
  padding-block: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.pd-btn__icon {
  position: absolute;
  top: 50%;
  right: var(--in);
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: var(--w);
  height: var(--w);
  border-radius: 50%;
  background: #fff;
  color: var(--pd-green);
  transition:
    right 0.5s var(--pd-ease-io),
    rotate 0.5s var(--pd-ease-io);
}

.pd-btn__icon svg {
  width: 20px;
  height: 20px;
}

.pd-btn:hover {
  padding: 0 26px 0 calc(var(--w) + var(--in) + 14px);
  box-shadow: 0 18px 36px rgba(0, 138, 58, 0.36);
}

.pd-btn:hover .pd-btn__icon {
  right: calc(100% - var(--w) - var(--in));
  rotate: -360deg;
}

.pd-btn:focus-visible {
  outline: 3px solid var(--pd-lime);
  outline-offset: 3px;
}

/* ---------- entrance: hero load sequence + scroll reveals ----------
   Animations (not transitions) so hover transitions never inherit a delay. */
@keyframes pd-rise {
  from {
    opacity: 0;
    translate: 0 28px;
  }
}

.pd-anim .pd-in {
  animation: pd-rise 0.9s var(--pd-ease) calc(var(--d, 0) * 0.12s + 0.1s) both;
}

.pd-anim .pd-reveal {
  opacity: 0;
}

.pd-anim .pd-reveal.is-in {
  opacity: 1;
  animation: pd-rise 0.85s var(--pd-ease) calc(var(--i, 0) * 0.09s) both;
}

/* ============================================================
   HERO
   ============================================================ */
.pd-hero {
  position: relative;
  padding: clamp(36px, 4vw, 64px) 0 clamp(56px, 6vw, 88px);
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.92) 30%, rgba(255, 255, 255, 0) 62%),
    url("../images/pickup-delivery/hero-bg.webp") right bottom / cover no-repeat,
    #f3f8f6;
  isolation: isolate;
}

.pd-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, #fff);
  z-index: -1;
  pointer-events: none;
}

.pd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.pd-hero__copy {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.pd-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--pd-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(11, 43, 31, 0.06);
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 600;
  color: var(--pd-ink);
}

.pd-live__dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pd-green-2);
}

.pd-live__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--pd-green-2);
  animation: pd-ping 1.8s ease-out infinite;
}

@keyframes pd-ping {
  from {
    opacity: 0.9;
    scale: 0.4;
  }

  to {
    opacity: 0;
    scale: 1.4;
  }
}

.pd-live__track {
  font-family: var(--pd-mono) !important;
  font-size: 12.5px;
  color: var(--pd-muted);
}

.pd-live__status {
  display: inline-block;
  min-width: 9.5em;
}

.pd-live__status.is-swap {
  animation: pd-swap 0.5s var(--pd-ease);
}

@keyframes pd-swap {
  from {
    opacity: 0;
    translate: 0 8px;
    filter: blur(3px);
  }
}

.pd-hero h1 {
  font-size: clamp(36px, 3.9vw, 56px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.pd-mark {
  position: relative;
  white-space: nowrap;
  color: var(--pd-green);
  font-family: inherit !important;
}

/* hand-drawn underline that draws in after the headline lands */
.pd-mark::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.08em;
  height: 0.22em;
  background: var(--pd-kraft);
  border-radius: 999px;
  opacity: 0.55;
  z-index: -1;
  transform-origin: left;
  animation: pd-ink 1s var(--pd-ease) 0.9s both;
}

@keyframes pd-ink {
  from {
    scale: 0 1;
  }
}

.pd-hero__copy > p:not(.pd-live) {
  max-width: 580px;
  font-size: 18px;
  color: var(--pd-text);
}

.pd-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-roles li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--pd-line);
  font-size: 14px;
  font-weight: 600;
  color: var(--pd-ink);
  transition:
    transform 0.3s var(--pd-ease),
    border-color 0.3s;
}

.pd-roles i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pd-mint);
  color: var(--pd-green);
  font-size: 15px;
}

.pd-roles li:hover {
  transform: translateY(-3px);
  border-color: var(--pd-green-2);
}

/* stage: route + rider + toasts */
.pd-hero__stage {
  position: relative;
  aspect-ratio: 1;
  max-width: 600px;
  width: 100%;
  justify-self: center;
}

.pd-hero__route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pd-hero__road {
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 16;
  stroke-linecap: round;
  filter: drop-shadow(0 6px 10px rgba(11, 43, 31, 0.12));
}

.pd-hero__dash {
  fill: none;
  stroke: var(--pd-green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0.015 0.012;
  animation: pd-march 14s linear infinite;
}

@keyframes pd-march {
  to {
    stroke-dashoffset: -1;
  }
}

.pd-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 50% 4px;
  rotate: -45deg;
  background: var(--pd-green);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 138, 58, 0.35);
  translate: -50% -100%;
}

.pd-pin i {
  rotate: 45deg;
  font-size: 19px;
}

.pd-pin--a {
  left: 6.7%;
  top: 78.3%;
  background: var(--pd-kraft);
  box-shadow: 0 10px 20px rgba(228, 156, 84, 0.4);
}

.pd-pin--b {
  left: 93.3%;
  top: 20%;
  animation: pd-bob 3s ease-in-out infinite;
}

@keyframes pd-bob {
  50% {
    translate: -50% -115%;
  }
}

/* positioned along the route by JS (getPointAtLength), see rideAlong() */
.pd-parcel {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 10px;
  background: #fff;
  color: var(--pd-kraft);
  font-size: 19px;
  box-shadow: 0 8px 18px rgba(11, 43, 31, 0.2);
  opacity: 0;
}

.pd-hero__art {
  position: absolute;
  inset: 6% 4% 2% 6%;
  z-index: 2;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--pd-ease);
}

.pd-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(11, 43, 31, 0.18));
  animation: pd-float 6s ease-in-out infinite;
}

@keyframes pd-float {
  50% {
    translate: 0 -12px;
  }
}

.pd-toast {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 36px rgba(11, 43, 31, 0.16);
  animation: pd-toast 8s var(--pd-ease) infinite;
}

.pd-toast > i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--pd-mint);
  color: var(--pd-green);
  font-size: 20px;
}

.pd-toast div {
  display: grid;
  line-height: 1.25;
}

.pd-toast b {
  font-size: 14px;
  color: var(--pd-ink);
}

.pd-toast span {
  font-size: 12.5px;
  color: var(--pd-muted);
}

.pd-toast--a {
  left: -4%;
  top: 30%;
}

.pd-toast--b {
  right: -2%;
  bottom: 10%;
  animation-delay: -4s;
}

.pd-toast--b > i {
  background: #fdf0e2;
  color: var(--pd-kraft);
}

@keyframes pd-toast {
  0%,
  6% {
    opacity: 0;
    translate: 0 14px;
    scale: 0.94;
  }

  12%,
  52% {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }

  60%,
  100% {
    opacity: 0;
    translate: 0 -10px;
    scale: 0.97;
  }
}

/* ============================================================
   SOLUTIONS - shipping labels
   ============================================================ */
.pd-sol {
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 138, 58, 0.12) 1px, transparent 0) 0 0 / 22px 22px,
    var(--pd-cream);
}

.pd-sol__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pd-label {
  --mx: 50%;
  --my: 50%;

  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 0 28px 30px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--pd-line);
  box-shadow: 0 2px 0 rgba(11, 43, 31, 0.03);
  overflow: hidden;
  transition:
    transform 0.45s var(--pd-ease),
    box-shadow 0.45s var(--pd-ease),
    border-color 0.3s;
}

.pd-label::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(29, 180, 94, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.pd-label:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  border-color: rgba(0, 138, 58, 0.35);
  box-shadow: 0 26px 50px rgba(11, 43, 31, 0.12);
}

.pd-label:hover::before {
  opacity: 1;
}

/* perforated top strip with tracking code + barcode */
.pd-label__strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -28px 10px;
  padding: 14px 28px;
  border-bottom: 2px dashed var(--pd-line);
  background: linear-gradient(180deg, #fbfdfc, #f4f9f6);
}

.pd-label__strip::before,
.pd-label__strip::after {
  content: "";
  position: absolute;
  bottom: -9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pd-cream);
  border: 1px solid var(--pd-line);
}

.pd-label__strip::before {
  left: -9px;
}

.pd-label__strip::after {
  right: -9px;
}

.pd-label__strip > span:first-child {
  font-family: var(--pd-mono) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--pd-muted);
}

.pd-label__bars {
  position: relative;
  width: 108px;
  height: 22px;
  background: repeating-linear-gradient(90deg,
      var(--pd-ink) 0 2px, transparent 2px 4px,
      var(--pd-ink) 4px 5px, transparent 5px 8px,
      var(--pd-ink) 8px 11px, transparent 11px 13px);
  opacity: 0.75;
  overflow: hidden;
}

/* scanner sweep */
.pd-label__bars::after {
  content: "";
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: -10%;
  width: 3px;
  background: #ff4d4d;
  box-shadow: 0 0 8px 2px rgba(255, 77, 77, 0.6);
  opacity: 0;
}

.pd-label:hover .pd-label__bars::after {
  animation: pd-scan 0.9s var(--pd-ease-io);
}

@keyframes pd-scan {
  0% {
    left: -5%;
    opacity: 1;
  }

  100% {
    left: 105%;
    opacity: 1;
  }
}

.pd-label__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--pd-green-2), var(--pd-green));
  color: #fff;
  box-shadow: 0 12px 22px rgba(0, 138, 58, 0.25);
  transition: transform 0.5s var(--pd-ease);
}

.pd-label:hover .pd-label__icon {
  transform: rotate(-8deg) scale(1.06);
}

.pd-label h3 {
  font-size: 21px;
  line-height: 1.25;
}

.pd-label p {
  font-size: 16px;
  color: var(--pd-muted);
}

.pd-label__stamp {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 4px 10px;
  border: 2px solid var(--pd-green);
  border-radius: 6px;
  color: var(--pd-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  rotate: -14deg;
  scale: 1.8;
  transition:
    opacity 0.2s,
    scale 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
  pointer-events: none;
}

.pd-label:hover .pd-label__stamp {
  opacity: 0.85;
  scale: 1;
}

/* ============================================================
   TECH SUITE
   ============================================================ */
.pd-suite__body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.pd-suite__art {
  position: relative;
  max-width: 460px;
  width: 100%;
  justify-self: center;
}

.pd-suite__halo {
  position: absolute;
  inset: 8% -6% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(29, 180, 94, 0.22), transparent);
  animation: pd-breathe 5s ease-in-out infinite;
}

@keyframes pd-breathe {
  50% {
    scale: 1.08;
    opacity: 0.7;
  }
}

.pd-suite__art img {
  position: relative;
}

/* frames the active label card on the art; box = the card's bounds (Blade $suite) */
.pd-hot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  margin: -5px;
  box-sizing: content-box;
  padding: 3px;
  border-radius: 18px;
  border: 2.5px solid var(--pd-kraft);
  box-shadow:
    0 0 0 4px rgba(228, 156, 84, 0.22),
    0 12px 28px rgba(228, 156, 84, 0.35);
  opacity: 0;
  scale: 0.92;
  transition:
    opacity 0.35s,
    scale 0.5s var(--pd-ease);
  pointer-events: none;
}

.pd-hot::after {
  content: "";
  position: absolute;
  inset: -2.5px;
  border-radius: inherit;
  border: 2px solid var(--pd-kraft);
  animation: pd-halo 1.8s ease-out infinite;
}

@keyframes pd-halo {
  to {
    inset: -16px;
    border-radius: 30px;
    opacity: 0;
  }
}

.pd-hot.is-on {
  opacity: 1;
  scale: 1;
}

.pd-suite__panel {
  position: relative;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 28px;
  background: var(--pd-cream);
  border: 1px solid var(--pd-line);
  overflow: hidden;
}

.pd-seg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 6px;
  margin-bottom: 30px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--pd-line);
}

.pd-seg__pill {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc((100% - 12px) / 3);
  border-radius: 999px;
  background: var(--pd-ink);
  translate: calc(var(--at, 0) * 100%) 0;
  transition: translate 0.55s var(--pd-ease);
}

.pd-seg button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pd-ink);
  transition: color 0.35s;
}

.pd-seg button i {
  font-size: 18px;
}

.pd-seg button[aria-selected="true"] {
  color: #fff;
}

.pd-seg button[aria-selected="true"] i {
  color: var(--pd-lime);
}

.pd-seg button:focus-visible {
  outline: 2px solid var(--pd-green);
  outline-offset: 2px;
}

.pd-suite__list h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.pd-suite__list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pd-suite__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--pd-line);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--pd-ink);
  animation: pd-rise 0.6s var(--pd-ease) calc(var(--j) * 0.07s) both;
  transition:
    border-color 0.3s,
    transform 0.3s var(--pd-ease);
}

.pd-suite__list li:hover {
  border-color: var(--pd-green-2);
  transform: translateX(4px);
}

.pd-suite__list svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.pd-suite__list circle {
  fill: var(--pd-mint);
}

.pd-suite__list svg path {
  fill: none;
  stroke: var(--pd-green);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
  animation: pd-tick 0.5s var(--pd-ease) calc(var(--j) * 0.07s + 0.3s) both;
}

@keyframes pd-tick {
  from {
    stroke-dashoffset: 1;
  }
}

.pd-suite__timer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--pd-line);
}

.pd-suite__timer i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--pd-green);
  transform-origin: left;
  scale: var(--p, 0) 1;
}

/* ============================================================
   CTA panels (shared)
   ============================================================ */
.pd-cta {
  padding-block: clamp(8px, 2vw, 24px);
}

.pd-cta__panel {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 300px;
  padding: clamp(32px, 4vw, 56px);
  border-radius: 28px;
  background: var(--bg) right center / cover no-repeat, var(--pd-mint);
  overflow: hidden;
  isolation: isolate;
}

.pd-cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(240, 249, 244, 0.97) 0%, rgba(240, 249, 244, 0.9) 38%, rgba(240, 249, 244, 0) 66%);
}

.pd-cta--2 .pd-cta__panel::before,
.pd-cta--3 .pd-cta__panel::before {
  background: linear-gradient(90deg, rgba(251, 248, 241, 0.98) 0%, rgba(251, 248, 241, 0.92) 40%, rgba(251, 248, 241, 0) 68%);
}

/* light sweep across the photo */
.pd-cta__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%) no-repeat;
  background-size: 250% 100%;
  background-position: 120% 0;
  animation: pd-sheen 7s ease-in-out infinite;
}

@keyframes pd-sheen {
  0%,
  55% {
    background-position: 120% 0;
  }

  100% {
    background-position: -30% 0;
  }
}

.pd-cta__copy {
  display: grid;
  justify-items: start;
  gap: 16px;
  max-width: 540px;
}

.pd-cta__copy h2 {
  font-size: clamp(26px, 2.6vw, 36px);
}

.pd-cta__copy p {
  color: var(--pd-text);
}

.pd-cta__copy .pd-btn {
  margin-top: 6px;
}

/* ============================================================
   FEATURES - switchboard + phone
   ============================================================ */
.pd-feat {
  position: relative;
  margin-top: clamp(40px, 5vw, 72px);
  background:
    radial-gradient(800px 500px at 85% 20%, rgba(29, 180, 94, 0.18), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(228, 156, 84, 0.12), transparent 60%),
    var(--pd-ink);
  overflow: clip;
}

.pd-feat::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}

.pd-feat__body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.pd-feat__list {
  display: grid;
  gap: 8px;
}

.pd-switch {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition:
    background 0.4s,
    border-color 0.4s;
}

.pd-switch.is-on {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(198, 240, 106, 0.35);
}

.pd-switch > button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  text-align: left;
}

.pd-switch > button:focus-visible {
  outline: 2px solid var(--pd-lime);
  outline-offset: -2px;
  border-radius: 16px;
}

.pd-switch__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #cfe3d7;
  font-size: 20px;
  transition:
    background 0.4s,
    color 0.4s;
}

.pd-switch.is-on .pd-switch__ico {
  background: var(--pd-lime);
  color: var(--pd-ink);
}

.pd-switch h3 {
  flex: 1;
  font-size: 18px;
  color: #e6efe9;
  transition: color 0.3s;
}

.pd-switch.is-on h3 {
  color: #fff;
}

.pd-switch__toggle {
  position: relative;
  flex: none;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.4s;
}

.pd-switch__toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: translate 0.45s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.pd-switch.is-on .pd-switch__toggle {
  background: var(--pd-green-2);
}

.pd-switch.is-on .pd-switch__toggle::after {
  translate: 18px 0;
}

.pd-switch__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--pd-ease);
}

.pd-switch.is-on .pd-switch__body {
  grid-template-rows: 1fr;
}

.pd-switch__body > div {
  overflow: hidden;
}

.pd-switch__body p {
  padding: 0 18px 16px 72px;
  font-size: 15.5px;
  color: #b5cbbf;
}

.pd-switch__bar {
  display: block;
  height: 2px;
  margin: 0 18px 0 72px;
  background: rgba(255, 255, 255, 0.08);
}

.pd-switch__bar i {
  display: block;
  height: 100%;
  background: var(--pd-lime);
  transform-origin: left;
  scale: var(--p, 0) 1;
}

/* phone */
.pd-feat__device {
  position: relative;
  display: grid;
  place-items: center;
  padding: 30px 0;
}

.pd-feat__ring {
  position: absolute;
  width: 112%;
  max-width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(198, 240, 106, 0.25);
  animation: pd-turn 40s linear infinite;
}

.pd-feat__ring::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 12%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pd-lime);
  box-shadow: 0 0 16px var(--pd-lime);
}

.pd-feat__ring--2 {
  width: 84%;
  max-width: 390px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.06);
  animation-duration: 26s;
  animation-direction: reverse;
}

.pd-feat__ring--2::before {
  background: var(--pd-kraft);
  box-shadow: 0 0 16px var(--pd-kraft);
}

@keyframes pd-turn {
  to {
    rotate: 360deg;
  }
}

.pd-phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  height: 580px;
  padding: 12px;
  border-radius: 46px;
  background: #0d1512;
  box-shadow:
    0 0 0 2px #2a3a33,
    0 40px 80px rgba(0, 0, 0, 0.45);
}

.pd-phone > * {
  position: relative;
}

.pd-phone::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 36px;
  background: linear-gradient(180deg, #f6faf7, #fff);
}

.pd-phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--pd-ink);
}

.pd-phone__bar > i {
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: #0d1512;
}

.pd-phone__bar span {
  display: flex;
  gap: 4px;
}

.pd-phone__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px 12px;
}

.pd-phone__brand {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--pd-green);
  color: #fff;
  font-size: 18px;
}

.pd-phone__head b {
  font-size: 15px;
  color: var(--pd-ink);
}

.pd-phone__head b.is-swap {
  animation: pd-swap 0.45s var(--pd-ease);
}

.pd-screens {
  position: relative;
  height: 440px;
  margin: 0 14px;
}

.pd-scr {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  translate: 0 12px;
  transition:
    opacity 0.4s,
    translate 0.5s var(--pd-ease),
    visibility 0s 0.4s;
}

.pd-scr.is-on {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition:
    opacity 0.4s 0.1s,
    translate 0.5s var(--pd-ease) 0.1s;
}

.pd-scr > * {
  font-size: 13px;
}

/* every child of the live screen pops in by --k */
.pd-scr.is-on [style*="--k"] {
  animation: pd-pop 0.5s var(--pd-ease) calc(var(--k) * 0.35s + 0.2s) both;
}

@keyframes pd-pop {
  from {
    opacity: 0;
    translate: 0 10px;
    scale: 0.96;
  }
}

/* chat */
.pd-bub {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.pd-bub--in {
  align-self: flex-start;
  background: #eef3f0;
  color: var(--pd-ink);
  border-bottom-left-radius: 4px;
}

.pd-bub--out {
  align-self: flex-end;
  background: var(--pd-green);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.pd-typing {
  display: flex;
  gap: 4px;
  align-self: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background: #eef3f0;
}

.pd-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pd-muted);
  animation: pd-dot 1s ease-in-out infinite;
}

.pd-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.pd-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes pd-dot {
  50% {
    translate: 0 -4px;
    opacity: 0.4;
  }
}

.pd-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 10px 10px 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--pd-line);
  background: #fff;
  color: var(--pd-muted);
}

.pd-input i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pd-green);
  color: #fff;
}

/* alerts */
.pd-note,
.pd-order,
.pd-drv,
.pd-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--pd-line);
  box-shadow: 0 6px 14px rgba(11, 43, 31, 0.05);
}

.pd-note > i,
.pd-order > i {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--pd-mint);
  color: var(--pd-green);
  font-size: 17px;
}

.pd-note div,
.pd-order div,
.pd-drv div {
  display: grid;
  line-height: 1.3;
  min-width: 0;
}

.pd-note b,
.pd-order b,
.pd-drv b {
  font-size: 13px;
  color: var(--pd-ink);
}

.pd-note span,
.pd-order span,
.pd-drv span {
  font-size: 11.5px;
  color: var(--pd-muted);
}

.pd-note--alt > i {
  background: #fdf0e2;
  color: var(--pd-kraft);
}

/* payments */
.pd-card {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pd-ink-2), var(--pd-green));
  color: #fff;
  overflow: hidden;
}

.pd-card span {
  font-size: 11.5px;
  opacity: 0.75;
}

.pd-card b {
  font-family: var(--pd-display) !important;
  font-size: 22px;
}

.pd-card > i {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 22px;
  color: var(--pd-lime);
}

.pd-opt {
  font-weight: 600;
  color: var(--pd-ink);
}

.pd-opt > i {
  font-size: 18px;
  color: var(--pd-green);
}

.pd-radio {
  width: 18px;
  height: 18px;
  margin-left: auto;
  border-radius: 50%;
  border: 2px solid var(--pd-line);
}

.pd-opt.is-pick {
  border-color: var(--pd-green-2);
  background: #f3fbf6;
}

.pd-scr.is-on .pd-opt.is-pick .pd-radio {
  border: 5px solid var(--pd-green);
  animation: pd-pop 0.4s var(--pd-ease) 1.2s both;
}

.pd-paybtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding: 13px;
  border-radius: 14px;
  background: var(--pd-ink);
  color: #fff;
  font-weight: 700;
}

.pd-paybtn i {
  color: var(--pd-lime);
}

/* proof of delivery */
.pd-photo {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  height: 120px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(228, 156, 84, 0.25), rgba(29, 180, 94, 0.18)),
    repeating-linear-gradient(45deg, #f2ece2 0 10px, #f7f2ea 10px 20px);
  color: var(--pd-ink);
  font-weight: 600;
}

.pd-photo i {
  font-size: 26px;
  color: var(--pd-kraft);
}

.pd-scr.is-on .pd-photo {
  animation: pd-flash 0.6s ease 0.2s both;
}

@keyframes pd-flash {
  0% {
    filter: brightness(2.2);
  }
}

.pd-sign {
  display: grid;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px dashed #c9d6ce;
  background: #fff;
}

.pd-sign svg {
  width: 100%;
  height: 64px;
}

.pd-sign path {
  fill: none;
  stroke: var(--pd-ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1;
}

.pd-scr.is-on .pd-sign path {
  animation: pd-draw 1.6s var(--pd-ease-io) 0.6s forwards;
}

@keyframes pd-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.pd-sign span {
  font-size: 11.5px;
  color: var(--pd-muted);
}

.pd-meta {
  display: grid;
  gap: 6px;
}

.pd-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pd-ink);
  font-weight: 600;
}

.pd-meta i {
  color: var(--pd-green);
}

/* assignment */
.pd-order {
  border-color: rgba(228, 156, 84, 0.5);
  background: #fffaf3;
}

.pd-order > i {
  background: #fdf0e2;
  color: var(--pd-kraft);
}

.pd-ava {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e7ece9;
  color: var(--pd-ink);
  font-weight: 800;
}

.pd-drv em {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef2f0;
  color: var(--pd-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.pd-drv:not(.is-match) {
  opacity: 0.6;
}

.pd-drv.is-match {
  border-color: var(--pd-green-2);
  box-shadow: 0 10px 22px rgba(0, 138, 58, 0.16);
}

.pd-drv.is-match .pd-ava {
  background: var(--pd-green);
  color: #fff;
}

.pd-drv.is-match em {
  background: var(--pd-lime);
  color: var(--pd-ink);
}

.pd-scr.is-on .pd-drv.is-match {
  animation: pd-pop 0.5s var(--pd-ease) 0.55s both, pd-glow 1.6s ease-in-out 1.2s 2;
}

@keyframes pd-glow {
  50% {
    box-shadow: 0 0 0 6px rgba(29, 180, 94, 0.18);
  }
}

/* maps (tracking + routes) */
.pd-map {
  position: relative;
  height: 260px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 47%, #fff 47% 53%, transparent 53%) 0 0 / 70px 70px,
    linear-gradient(0deg, transparent 47%, #fff 47% 53%, transparent 53%) 0 0 / 70px 70px,
    #e4efe8;
  overflow: hidden;
}

.pd-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* no vector-effect: it breaks pathLength-based dash progress in Chrome */
.pd-map path {
  fill: none;
  stroke-linecap: round;
}

.pd-map__road {
  stroke: #bfd3c6;
  stroke-width: 6;
}

.pd-map__done {
  stroke: var(--pd-green);
  stroke-width: 4;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1;
}

.pd-map__done {
  stroke-dashoffset: calc(1 - var(--t, 0));
}

.pd-map__car,
.pd-map__home {
  position: absolute;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--pd-green);
  box-shadow: 0 6px 14px rgba(11, 43, 31, 0.2);
  translate: -50% -50%;
}

.pd-map__home {
  left: 90%;
  top: 13%;
  background: var(--pd-kraft);
  color: #fff;
}

.pd-map__car {
  left: 0;
  top: 0;
  translate: none;
  margin: -16px 0 0 -16px;
  z-index: 1;
}

.pd-steps {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.pd-steps span {
  flex: 1;
  padding: 8px 4px;
  border-radius: 10px;
  background: #eef2f0;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pd-muted);
}

.pd-steps .is-done {
  background: var(--pd-mint);
  color: var(--pd-green);
}

.pd-steps .is-now {
  background: var(--pd-green);
  color: #fff;
}

.pd-map--grid {
  height: 300px;
}

.pd-map__alt {
  stroke: #9fb2a6;
  stroke-width: 2;
  stroke-dasharray: 5 6;
}

.pd-map__best {
  stroke: var(--pd-green);
  stroke-width: 4;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1;
}

.pd-scr.is-on .pd-map__best {
  animation: pd-draw 2.2s var(--pd-ease-io) 0.8s forwards;
}

.pd-scr.is-on .pd-map__alt {
  animation: pd-fade 0.6s ease 2.6s forwards;
}

@keyframes pd-fade {
  to {
    opacity: 0.25;
  }
}

.pd-stop {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--pd-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 0 0 4px #fff;
}

.pd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pd-chips span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--pd-mint);
  color: var(--pd-green);
  font-size: 12px;
  font-weight: 700;
}

/* performance */
.pd-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 230px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--pd-line);
}

.pd-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--pd-green-2), var(--pd-green));
  transform-origin: bottom;
}

.pd-bars span:nth-child(6) {
  background: linear-gradient(180deg, var(--pd-lime), var(--pd-green-2));
}

.pd-scr.is-on .pd-bars span {
  animation: pd-grow 0.8s var(--pd-ease) calc(var(--k) * 0.08s + 0.2s) both;
}

@keyframes pd-grow {
  from {
    scale: 1 0;
  }
}

.pd-kpis {
  display: grid;
  gap: 6px;
}

.pd-kpis span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--pd-line);
  font-weight: 600;
  color: var(--pd-ink);
}

.pd-kpis i {
  color: var(--pd-green);
  font-size: 16px;
}

/* ============================================================
   PROJECTS - coverflow
   ============================================================ */
.pd-work {
  overflow: clip;
}

.pd-flow__stage {
  --cw: clamp(240px, 30vw, 420px);

  position: relative;
  height: calc(var(--cw) + 40px);
  perspective: 1400px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.pd-flow__stage.is-drag {
  cursor: grabbing;
}

.pd-flow__card {
  --o: 0;
  --a: 0;

  position: absolute;
  left: 50%;
  top: 20px;
  width: var(--cw);
  aspect-ratio: 1;
  margin: 0 0 0 calc(var(--cw) / -2);
  border-radius: 24px;
  overflow: hidden;
  background: #eef3f0;
  box-shadow: 0 30px 60px rgba(11, 43, 31, 0.18);
  transform:
    translateX(calc(var(--o) * var(--cw) * 0.72))
    translateZ(calc(var(--a) * -220px))
    rotateY(calc(var(--o) * -28deg));
  filter: brightness(calc(1 - var(--a) * 0.12));
  transition:
    transform 0.8s var(--pd-ease),
    filter 0.8s var(--pd-ease);
  cursor: pointer;
}

.pd-flow__stage.is-drag .pd-flow__card {
  transition: none;
}

.pd-flow__card[data-far] {
  opacity: 0;
  pointer-events: none;
}

.pd-flow__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.pd-flow__card.is-on {
  cursor: default;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px rgba(0, 138, 58, 0.35),
    0 40px 70px rgba(11, 43, 31, 0.25);
}

.pd-flow__info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.pd-flow__copy {
  display: grid;
  max-width: 720px;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.pd-flow__item {
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.pd-flow__item.is-on {
  animation: pd-rise 0.6s var(--pd-ease) both;
}

.pd-flow__item h3 {
  font-size: clamp(24px, 2.4vw, 32px);
}

.pd-flow__item p {
  color: var(--pd-muted);
}

.pd-tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--pd-mint);
  color: var(--pd-green);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pd-tag--alt {
  background: #fdf0e2;
  color: #b8661d;
}

.pd-flow__nav {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--pd-line) !important;
  background: #fff !important;
  color: var(--pd-ink);
  font-size: 22px;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s var(--pd-ease);
}

.pd-flow__nav:hover {
  background: var(--pd-green) !important;
  color: #fff;
  transform: scale(1.06);
}

.pd-flow__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.pd-flow__dots button {
  display: grid;
  place-items: center;
  height: 24px;
  padding: 0 2px;
}

.pd-flow__dots i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c9d8cf;
  overflow: hidden;
  transition:
    width 0.45s var(--pd-ease),
    background 0.3s;
}

.pd-flow__dots button:hover i {
  background: var(--pd-green-2);
}

/* active = wide pill, tinted track + progress fill */
.pd-flow__dots .is-on i {
  width: 44px;
  background: rgba(0, 138, 58, 0.25);
}

.pd-flow__dots i::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--pd-green);
  transform-origin: left;
  scale: 0 1;
}

.pd-flow__dots .is-on i::after {
  scale: var(--p, 1) 1;
}

/* ============================================================
   INDUSTRIES - expanding shelves
   ============================================================ */
.pd-ind {
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(29, 180, 94, 0.16), transparent 60%),
    var(--pd-ink);
}

.pd-ind__rows {
  display: grid;
  gap: 16px;
}

.pd-shelf {
  display: flex;
  gap: 12px;
  height: 340px;
}

.pd-shelf__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  background: var(--pd-ink-2);
  transition: flex-grow 0.7s var(--pd-ease);
  outline: none;
}

.pd-shelf__item.is-on {
  flex-grow: 3.6;
}

.pd-shelf__item:focus-visible {
  box-shadow: 0 0 0 3px var(--pd-lime);
}

.pd-shelf__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.12;
  filter: saturate(0.6) brightness(0.75);
  transition:
    scale 1.2s var(--pd-ease),
    filter 0.7s;
}

.pd-shelf__item.is-on img {
  scale: 1;
  filter: none;
}

.pd-shelf__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 43, 31, 0) 40%, rgba(11, 43, 31, 0.88));
}

.pd-shelf__ico {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 20px;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 22px;
  transition:
    left 0.7s var(--pd-ease),
    translate 0.7s var(--pd-ease),
    background 0.4s,
    color 0.4s;
}

.pd-shelf__item.is-on .pd-shelf__ico {
  left: 22px;
  translate: 0 0;
  background: var(--pd-lime);
  color: var(--pd-ink);
}

.pd-shelf__name {
  position: absolute;
  z-index: 1;
  left: 80px;
  right: 20px;
  bottom: 22px;
  font-family: var(--pd-display) !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  opacity: 0;
  translate: 12px 0;
  white-space: nowrap;
  transition:
    opacity 0.3s,
    translate 0.5s var(--pd-ease);
}

.pd-shelf__item.is-on .pd-shelf__name {
  opacity: 1;
  translate: 0 0;
  white-space: normal;
  transition-delay: 0.25s;
}

/* ============================================================
   HOW IT WORKS - tracker + steps
   ============================================================ */
.pd-how__body {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.pd-how__aside {
  position: sticky;
  top: calc(var(--pd-hdr) + 40px);
}

.pd-tracker {
  padding: 22px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--pd-line);
  box-shadow: 0 30px 70px rgba(11, 43, 31, 0.12);
}

.pd-tracker__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--pd-muted);
}

.pd-tracker__top b {
  font-family: var(--pd-mono) !important;
  color: var(--pd-ink);
}

.pd-tracker__top em {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pd-mint);
  color: var(--pd-green);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.pd-tracker__top em.is-swap {
  animation: pd-swap 0.45s var(--pd-ease);
}

.pd-tracker[data-step="4"] .pd-tracker__top em {
  background: var(--pd-green);
  color: #fff;
}

.pd-tracker__map {
  position: relative;
  height: 170px;
  margin-bottom: 18px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 48%, #fff 48% 52%, transparent 52%) 0 0 / 60px 60px,
    linear-gradient(0deg, transparent 48%, #fff 48% 52%, transparent 52%) 0 0 / 60px 60px,
    #e4efe8;
  overflow: hidden;
}

.pd-tracker__map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pd-tracker__map path {
  fill: none;
  stroke-linecap: round;
}

.pd-tracker__road {
  stroke: #bfd3c6;
  stroke-width: 7;
}

.pd-tracker__done {
  stroke: var(--pd-green);
  stroke-width: 4;
  stroke-dasharray: 1 2;
  stroke-dashoffset: calc(1 - var(--t, 0));
}

.pd-tracker__a,
.pd-tracker__b,
.pd-tracker__rider {
  position: absolute;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  translate: -50% -50%;
  box-shadow: 0 6px 14px rgba(11, 43, 31, 0.2);
}

.pd-tracker__a {
  left: 6.7%;
  top: 79%;
  background: var(--pd-kraft);
  color: #fff;
}

.pd-tracker__b {
  left: 93.3%;
  top: 25%;
  background: var(--pd-ink);
  color: #fff;
}

.pd-tracker__rider {
  left: 0;
  top: 0;
  translate: none;
  margin: -17px 0 0 -17px;
  z-index: 1;
  background: #fff;
  color: var(--pd-green);
  font-size: 18px;
  box-shadow:
    0 0 0 4px rgba(29, 180, 94, 0.25),
    0 8px 16px rgba(11, 43, 31, 0.25);
}

.pd-tracker__log {
  position: relative;
  display: grid;
  gap: 4px;
}

.pd-tracker__log li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #9aa9a1;
  transition:
    color 0.4s,
    background 0.4s;
}

.pd-tracker__log i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef2f0;
  font-size: 15px;
  transition:
    background 0.4s,
    color 0.4s,
    scale 0.4s var(--pd-ease);
}

.pd-tracker__log li.is-done {
  color: var(--pd-ink);
}

.pd-tracker__log li.is-done i {
  background: var(--pd-mint);
  color: var(--pd-green);
}

.pd-tracker__log li.is-now {
  background: var(--pd-mint);
  color: var(--pd-ink);
}

.pd-tracker__log li.is-now i {
  background: var(--pd-green);
  color: #fff;
  scale: 1.1;
  animation: pd-glow 1.6s ease-in-out infinite;
}

.pd-how__track {
  position: relative;
}

.pd-how__rail {
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--pd-line);
}

.pd-how__rail i {
  display: block;
  height: 100%;
  background: linear-gradient(var(--pd-green-2), var(--pd-green));
  transform-origin: top;
  scale: 1 var(--p, 0);
}

.pd-how__steps {
  position: relative;
  display: grid;
  gap: 22px;
}

.pd-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.pd-step__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--pd-line);
  color: #9aa9a1;
  font-size: 22px;
  transition:
    background 0.45s,
    border-color 0.45s,
    color 0.45s,
    scale 0.45s var(--pd-ease);
}

.pd-step.is-lit .pd-step__node {
  background: var(--pd-green);
  border-color: var(--pd-green);
  color: #fff;
}

.pd-step.is-now .pd-step__node {
  scale: 1.1;
  box-shadow: 0 0 0 8px rgba(29, 180, 94, 0.15);
}

.pd-step__card {
  display: grid;
  gap: 10px;
  padding: 26px 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--pd-line);
  transition:
    border-color 0.45s,
    box-shadow 0.45s,
    transform 0.45s var(--pd-ease);
}

.pd-step.is-now .pd-step__card {
  border-color: rgba(0, 138, 58, 0.35);
  box-shadow: 0 22px 44px rgba(11, 43, 31, 0.1);
  transform: translateX(6px);
}

.pd-step__no {
  font-family: var(--pd-mono) !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-green);
}

.pd-step__card h3 {
  font-size: 22px;
  line-height: 1.25;
}

.pd-step__card p {
  font-size: 16px;
  color: var(--pd-muted);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.pd-why {
  background: var(--pd-cream);
}

.pd-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.pd-why__head {
  position: sticky;
  top: calc(var(--pd-hdr) + 40px);
  display: grid;
  gap: 18px;
}

.pd-why__head p {
  color: var(--pd-muted);
}

.pd-why__seal {
  position: relative;
  width: 150px;
  height: 150px;
  margin-top: 12px;
}

.pd-why__seal svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: pd-turn 22s linear infinite;
}

.pd-why__seal text {
  font-family: var(--pd-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  fill: var(--pd-ink);
}

.pd-why__seal > i {
  position: absolute;
  inset: 32%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pd-green);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 12px 26px rgba(0, 138, 58, 0.35);
}

.pd-why__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pd-reason {
  --mx: 50%;
  --my: 50%;

  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--pd-line);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.45s var(--pd-ease),
    box-shadow 0.45s var(--pd-ease),
    border-color 0.3s;
}

.pd-why__cards .pd-reason:nth-child(even) {
  translate: 0 36px;
}

.pd-reason::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(228, 156, 84, 0.14), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.pd-reason:hover {
  transform: translateY(-6px);
  border-color: rgba(228, 156, 84, 0.5);
  box-shadow: 0 26px 50px rgba(11, 43, 31, 0.1);
}

.pd-reason:hover::before {
  opacity: 1;
}

.pd-reason__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.pd-reason__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--pd-mint);
  color: var(--pd-green);
  transition:
    background 0.4s,
    color 0.4s,
    rotate 0.5s var(--pd-ease);
}

.pd-reason:hover .pd-reason__icon {
  background: var(--pd-green);
  color: #fff;
  rotate: -8deg;
}

.pd-reason__no {
  font-family: var(--pd-display) !important;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #d6e2db;
  transition: -webkit-text-stroke-color 0.4s;
}

.pd-reason:hover .pd-reason__no {
  -webkit-text-stroke-color: var(--pd-kraft);
}

.pd-reason h3 {
  font-size: 21px;
  line-height: 1.25;
}

.pd-reason p {
  font-size: 16px;
  color: var(--pd-muted);
}

.pd-cta--3 {
  background: linear-gradient(var(--pd-cream) 50%, #fff 50%);
}

/* ============================================================
   FAQ
   ============================================================ */
.pd-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.pd-faq__head {
  position: sticky;
  top: calc(var(--pd-hdr) + 40px);
  display: grid;
  gap: 24px;
}

.pd-faq__box {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(300px 200px at 100% 0%, rgba(29, 180, 94, 0.3), transparent 70%),
    var(--pd-ink);
}

.pd-faq__box p {
  color: #cfe3d7;
}

.pd-faq__ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--pd-lime);
  color: var(--pd-ink);
  font-size: 24px;
}

.pd-faq__list {
  display: grid;
  gap: 12px;
}

.pd-q {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--pd-line);
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}

.pd-q[open] {
  border-color: rgba(0, 138, 58, 0.35);
  background: #fbfdfc;
  box-shadow: 0 16px 36px rgba(11, 43, 31, 0.07);
}

.pd-q summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.pd-q summary::-webkit-details-marker {
  display: none;
}

.pd-q summary:focus-visible {
  outline: 2px solid var(--pd-green);
  outline-offset: -2px;
  border-radius: 18px;
}

.pd-q h3 {
  font-size: 18px;
  line-height: 1.35;
}

.pd-q__icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pd-mint);
  transition:
    background 0.3s,
    rotate 0.4s var(--pd-ease);
}

.pd-q__icon::before,
.pd-q__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--pd-green);
  transition: rotate 0.4s var(--pd-ease);
}

.pd-q__icon::after {
  rotate: 90deg;
}

.pd-q[open] .pd-q__icon {
  background: var(--pd-green);
  rotate: 180deg;
}

.pd-q[open] .pd-q__icon::before,
.pd-q[open] .pd-q__icon::after {
  background: #fff;
}

.pd-q[open] .pd-q__icon::after {
  rotate: 0deg;
}

.pd-q::details-content {
  block-size: 0;
  overflow: clip;
  transition:
    block-size 0.45s var(--pd-ease),
    content-visibility 0.45s allow-discrete;
}

.pd-q[open]::details-content {
  block-size: auto;
}

.pd-q__a p {
  padding: 0 24px 22px;
  font-size: 16px;
  color: var(--pd-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .pd-toast--a {
    left: 0;
  }

  .pd-toast--b {
    right: 0;
  }

  .pd-suite__list ul {
    grid-template-columns: 1fr;
  }

  .pd-seg button {
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
  }
}

@media (max-width: 991px) {
  .pd-hero {
    background:
      linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0.2) 100%),
      url("../images/pickup-delivery/hero-bg.webp") 70% bottom / cover no-repeat,
      #f3f8f6;
  }

  .pd-hero__grid,
  .pd-suite__body,
  .pd-feat__body,
  .pd-how__body,
  .pd-why__grid,
  .pd-faq__grid {
    grid-template-columns: 1fr;
  }

  .pd-hero__stage {
    max-width: 520px;
  }

  .pd-sol__grid {
    grid-template-columns: 1fr 1fr;
  }

  .pd-suite__art {
    max-width: 380px;
  }

  .pd-feat__device {
    order: -1;
  }

  .pd-phone {
    height: 540px;
  }

  .pd-screens {
    height: 400px;
  }

  .pd-map--grid {
    height: 260px;
  }

  .pd-bars {
    height: 200px;
  }

  .pd-flow__info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 16px;
  }

  .pd-flow__copy {
    order: -1;
    flex: 0 0 100%;
  }

  /* industries: swipe row */
  .pd-ind__rows {
    display: flex;
    gap: 12px;
    margin-inline: -20px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
  }

  .pd-shelf {
    display: contents;
  }

  .pd-shelf__item {
    flex: 0 0 min(72vw, 280px);
    height: 360px;
    scroll-snap-align: start;
  }

  .pd-shelf__item img {
    scale: 1;
    filter: none;
  }

  .pd-shelf__ico {
    left: 20px;
    translate: 0 0;
    background: var(--pd-lime);
    color: var(--pd-ink);
  }

  .pd-shelf__name {
    opacity: 1;
    translate: 0 0;
    white-space: normal;
  }

  /* how: tracker hidden; the rail carries the progress */
  .pd-how__aside {
    display: none;
  }

  .pd-why__head,
  .pd-faq__head {
    position: static;
  }

  .pd-why__cards .pd-reason:nth-child(even) {
    translate: none;
  }

  .pd-cta__panel {
    background-position: 75% center;
  }

  .pd-cta__panel::before,
  .pd-cta--2 .pd-cta__panel::before,
  .pd-cta--3 .pd-cta__panel::before {
    background: linear-gradient(90deg, rgba(246, 251, 248, 0.97) 0%, rgba(246, 251, 248, 0.88) 60%, rgba(246, 251, 248, 0.55) 100%);
  }
}

@media (max-width: 767px) {
  .pd-page p {
    font-size: 16px;
  }

  .pd-hero__copy > p:not(.pd-live) {
    font-size: 16.5px;
  }

  .pd-sol__grid,
  .pd-why__cards {
    grid-template-columns: 1fr;
  }

  .pd-seg button {
    flex-direction: column;
    gap: 2px;
    min-height: 58px;
    font-size: 13px;
  }

  .pd-switch__body p {
    padding-left: 18px;
  }

  .pd-switch__bar {
    margin-left: 18px;
  }

  .pd-toast {
    padding: 8px 12px 8px 8px;
  }

  .pd-toast > i {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }

  .pd-toast b {
    font-size: 12.5px;
  }

  .pd-toast span {
    font-size: 11px;
  }

  .pd-pin {
    width: 36px;
    height: 36px;
  }

  .pd-parcel {
    display: none;
  }

  .pd-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .pd-step__node {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .pd-how__rail {
    left: 21px;
  }

  .pd-step__card {
    padding: 20px;
  }

  .pd-step.is-now .pd-step__card {
    transform: none;
  }

  .pd-cta__panel {
    min-height: 0;
    padding: 28px 22px;
  }

  .pd-btn {
    padding-left: 20px;
  }

  .pd-btn__label {
    font-size: 15px;
  }

  .pd-q summary {
    padding: 18px;
  }

  .pd-q h3 {
    font-size: 16.5px;
  }

  .pd-q__a p {
    padding: 0 18px 18px;
  }
}

@media (max-width: 400px) {
  .pd-wrap {
    width: calc(100% - 32px);
  }

  .pd-hero h1 {
    font-size: 34px;
  }

  .pd-mark {
    white-space: normal;
  }

  .pd-label {
    padding: 0 20px 24px;
  }

  .pd-label__strip {
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .pd-phone {
    width: 280px;
  }

  .pd-suite__panel {
    padding: 18px;
  }

  /* three tabs share ~260px: icon over a wrapping label */
  .pd-seg {
    padding: 4px;
  }

  .pd-seg__pill {
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc((100% - 8px) / 3);
  }

  .pd-seg button {
    min-width: 0;
    min-height: 56px;
    padding: 4px 2px;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
  }

  .pd-ind__rows {
    margin-inline: -16px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }

  .pd-shelf__item {
    flex-basis: 240px;
    height: 320px;
  }

  .pd-shelf__name {
    left: 74px;
    right: 14px;
    font-size: 18px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .pd-flow__nav {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-page *,
  .pd-page *::before,
  .pd-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
