/* =========================================================
   MILO — SOLUTION HERO
   Scoped only to solution hero pages.
   ========================================================= */

.milo-solution-hero {
  --milo-solution-ink: #101324;
  --milo-solution-muted: #8b909d;
  --milo-solution-grid: rgba(83, 91, 133, 0.055);

  position: relative;
  min-height: calc(90vh - 104px);
  overflow: hidden;
  background:
    linear-gradient(to right, var(--milo-solution-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--milo-solution-grid) 1px, transparent 1px),
    #fff;
  background-size: 136px 136px;
}

.milo-solution-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 40%, rgba(91, 115, 255, 0.055), transparent 28%),
    radial-gradient(circle at 86% 52%, rgba(252, 72, 176, 0.04), transparent 22%);
}

.milo-solution-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(700px, 0.87fr) minmax(590px, 1.13fr);
  gap: 48px;
  align-items: flex-start;
  width: 1500px;
  min-height: calc(90vh - 104px);
  margin: 0 auto;
  padding: clamp(54px, 6vh, 84px) 0 clamp(76px, 8vh, 110px);
}

.milo-solution-hero__content {
  max-width: 750px;
}

.milo-solution-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 5px 10px;
  border: 1px solid rgba(238, 74, 173, 0.42);
  border-radius: 999px;
  color: #4f5361;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

.milo-solution-hero__eyebrow>span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5ec4;
}

.milo-solution-hero__title {
  margin: 0;
  color: #080b21;
  line-height: 1.05;
  letter-spacing: -.04em;
  text-wrap: auto;
  word-spacing: .06em;
  font-size: 64px;
  font-weight: 600;
}

.milo-solution-hero__lead {
  max-width: 610px;
  margin: 18px 0 0;
  color: #979aa3;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.48;
}

.milo-solution-hero__features-block {
  margin-top: 42px;
}

.milo-solution-hero__features-title {
  margin: 0;
  color: #4b4e5a;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin: 12px 0;
}

.milo-solution-hero__features-note {
  margin: 4px 0 14px;
  color: #a4a7b0;
  font-size: 11px;
  line-height: 1.4;
}

.milo-solution-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.milo-solution-hero__chip {
  --feature: #6d7cff;
  --feature-bg: #f3f5ff;

  position: relative;
  min-height: 39px;
  padding: 0 13px 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed color-mix(in srgb, var(--feature) 26%, #dce0e9);
  border-radius: 999px;
  background: #fff;
  color: #555a67;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.milo-solution-hero__chip img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.milo-solution-hero__chip-check {
  position: absolute;
  top: -6px;
  right: -5px;
  display: none;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--feature);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
}

.milo-solution-hero__chip:hover {
  border-color: color-mix(in srgb, var(--feature) 48%, #dce0e9);
  background: var(--feature-bg);
}

.milo-solution-hero__chip.is-active {
  border-color: var(--feature);
  border-style: solid;
  background: var(--feature-bg);
  color: color-mix(in srgb, var(--feature) 76%, #24283b);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--feature) 18%, transparent);
}

.milo-solution-hero__chip.is-active .milo-solution-hero__chip-check {
  display: inline-flex;
}

.milo-solution-hero__chip:focus-visible {
  outline: none;
}

.milo-solution-hero__chip--orders-view {
  --feature: #fc3cae;
  --feature-bg: #fff1f9;
}

.milo-solution-hero__chip--statuses {
  --feature: #328dff;
  --feature-bg: #eff6ff;
}

.milo-solution-hero__chip--client {
  --feature: #18bda4;
  --feature-bg: #effbf8;
}

.milo-solution-hero__chip--products {
  --feature: #ff8b22;
  --feature-bg: #fff7ee;
}

.milo-solution-hero__chip--documents {
  --feature: #8464ef;
  --feature-bg: #f5f1ff;
}

.milo-solution-hero__chip--transport {
  --feature: #20bfe5;
  --feature-bg: #effaff;
}

.milo-solution-hero__chip--history {
  --feature: #36b97e;
  --feature-bg: #effaf5;
}

.milo-solution-hero__chip--synchronization {
  --feature: #536dfe;
  --feature-bg: #f1f3ff;
}

.milo-solution-hero__chip--communication {
  --feature: #e94bb8;
  --feature-bg: #fff1fa;
}

.milo-solution-hero__chip--filters {
  --feature: #7c5ce5;
  --feature-bg: #f5f1ff;
}

.milo-solution-hero__chip--availability {
  --feature: #26a269;
  --feature-bg: #effaf4;
}

.milo-solution-hero__chip--self-transportation {
  --feature: #00a9c7;
  --feature-bg: #eefbfe;
}

.milo-solution-hero__chip--couriers {
  --feature: #f2a21b;
  --feature-bg: #fff8e9;
}

.milo-solution-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 38px;
}

.milo-solution-hero__actions a {
  font-size: 18px;
  padding: 20px 32px;
}

.milo-solution-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #393d49;
  font-size: 14px;
  white-space: nowrap;
  font-weight: 600;
}

.milo-solution-hero__meta>span {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #21b6f3;
}

.milo-solution-hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: #676c7b;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.milo-solution-hero__secondary:hover {
  color: #6c5ce7;
}

.milo-solution-hero__visual {
  position: relative;
  min-width: 0;
}

.milo-solution-hero__visual-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1.42;
  min-height: 520px;
}

.milo-solution-hero__main-image {
  position: absolute;
  inset: 8% 0 auto 4%;
  width: 130%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
}

.milo-solution-hero__overlays {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.milo-solution-hero__overlay {
  position: absolute;
  z-index: 3;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  /* transform: translateY(12px) scale(0.97); */
  transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease;
  filter: drop-shadow(0 24px 30px rgba(20, 24, 47, 0.16));
  border-radius: 12px;
}

.milo-solution-hero__overlay.is-visible {
  opacity: 1;
  visibility: visible;
  /* transform: translateY(0) scale(1); */
}

.milo-solution-hero__overlay img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.milo-solution-hero__overlay--orders-view {
  top: 3%;
  left: 1%;
  width: 34%;
  /* clip-path: inset(0 0 48% 0 round 16px); */
}

.milo-solution-hero__overlay--statuses {
  left: -8%;
  top: 36%;
  width: 44%;
}

.milo-solution-hero__overlay--client {
  right: -8%;
  top: -8%;
  width: 50%;
}

.milo-solution-hero__overlay--products {
  right: -8%;
  top: 100%;
  width: 88%;
}

.milo-solution-hero__overlay--documents {
  right: -8%;
  bottom: -5%;
  width: 39%;
}

.milo-solution-hero__overlay--transport {
  left: 18%;
  bottom: -8%;
  width: 34%;
}

.milo-solution-hero__overlay--history {
  right: -8%;
  top: 35%;
  width: 50%;
}

.milo-solution-hero__overlay--synchronization {
  left: 8%;
  top: 12%;
  width: 30%;
}

.milo-solution-hero__overlay--communication {
  right: -8%;
  top: 17%;
  width: 29%;
}

.milo-solution-hero__overlay--filters {
  left: 10%;
  top: -3%;
  width: 70%;
}

.milo-solution-hero__overlay--availability {
  right: -8%;
  bottom: -30%;
  width: 50%;
}

.milo-solution-hero__overlay--self-transportation {
  left: 28%;
  bottom: -3%;
  width: 34%;
}

.milo-solution-hero__overlay--couriers {
  right: -8%;
  top: 5%;
  width: 30%;
}

.milo-solution-hero__visual-hint {
  margin: 8px 0 0;
  color: #a4a8b2;
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  text-align: center;
}

@media (max-width: 1240px) {
  .milo-solution-hero__inner {
    grid-template-columns: minmax(380px, 0.92fr) minmax(520px, 1.08fr);
    width: min(1180px, calc(100% - 48px));
    gap: 42px;
  }

  .milo-solution-hero__title {
    font-size: clamp(42px, 4.3vw, 62px);
  }

  .milo-solution-hero__lead {
    font-size: 16px;
  }
}

@media (max-width: 1023px) {
  .milo-solution-hero {
    min-height: 0;
  }

  .milo-solution-hero__inner {
    grid-template-columns: 1fr;
    width: min(780px, calc(100% - 40px));
    min-height: 0;
    padding: 58px 0 72px;
  }

  .milo-solution-hero__content {
    max-width: none;
  }

  .milo-solution-hero__visual {
    margin-top: 4px;
  }

  .milo-solution-hero__visual-stage {
    min-height: 500px;
  }
}

@media (max-width: 700px) {
  .milo-solution-hero {
    background-size: 52px 52px;
  }

  .milo-solution-hero__inner {
    width: min(100% - 28px, 620px);
    padding: 42px 0 58px;
    gap: 36px;
  }

  .milo-solution-hero__title {
    font-size: clamp(38px, 11vw, 54px);
  }

  .milo-solution-hero__lead {
    font-size: 15px;
  }

  .milo-solution-hero__features-block {
    margin-top: 30px;
  }

  .milo-solution-hero__chips {
    gap: 8px;
  }

  .milo-solution-hero__chip {
    min-height: 40px;
    max-width: 100%;
  }

  .milo-solution-hero__actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 30px;
  }

  .milo-solution-hero__cta {
    width: 100%;
  }

  .milo-solution-hero__meta {
    align-self: center;
  }

  .milo-solution-hero__secondary {
    justify-content: center;
    width: 100%;
  }

  .milo-solution-hero__visual-stage {
    display: block;
    min-height: 0;
    aspect-ratio: auto;
  }

  .milo-solution-hero__main-image {
    position: relative;
    inset: auto;
    width: 100%;
    max-height: none;
    border-radius: 14px;
  }

  .milo-solution-hero__overlays {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .milo-solution-hero__overlay,
  .milo-solution-hero__overlay--orders-view,
  .milo-solution-hero__overlay--statuses,
  .milo-solution-hero__overlay--client,
  .milo-solution-hero__overlay--products,
  .milo-solution-hero__overlay--documents,
  .milo-solution-hero__overlay--transport,
  .milo-solution-hero__overlay--history,
  .milo-solution-hero__overlay--synchronization,
  .milo-solution-hero__overlay--communication,
  .milo-solution-hero__overlay--filters,
  .milo-solution-hero__overlay--availability,
  .milo-solution-hero__overlay--self-transportation,
  .milo-solution-hero__overlay--couriers {
    position: relative;
    inset: auto;
    width: min(100%, 430px);
    margin: 0 auto;
    display: none;
    clip-path: none;
  }

  .milo-solution-hero__overlay.is-visible {
    display: block;
  }

  .milo-solution-hero__visual-hint {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .milo-solution-hero__chip,
  .milo-solution-hero__overlay,
  .milo-solution-hero__cta {
    transition: none;
  }
}

/* =========================================================
   MILO — ORDER FLOW
   Scroll-driven process directly below the solution hero.
   ========================================================= */
.milo-order-flow {
  --flow-progress: 0;
  --flow-marker-x: 8%;
  --flow-marker-y: 8%;
  --flow-sticky-top: 24px;
  --flow-desktop-start: 8%;
  --flow-desktop-end: 92%;
  --flow-mobile-line-x: 78px;
  position: relative;
  height: 285vh;
  background: #fff;
}

.milo-order-flow__sticky {
  position: sticky;
  top: var(--flow-sticky-top);
  display: flex;
  min-height: calc(100vh - var(--flow-sticky-top));
  align-items: center;
  overflow: hidden;
  background: #fff;
}

.milo-order-flow__inner {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 52px;
}

.milo-order-flow__header {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.milo-order-flow__title {
  margin: 0;
  color: #050505;
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.milo-order-flow__title span {
  display: inline-block;
  margin-top: 4px;
  line-height: 1.25;
}

.milo-order-flow__lead {
  margin: 26px 0 0;
  color: #3f3f45;
  font-size: 17px;
  line-height: 1.5;
}

.milo-order-flow__stage {
  position: relative;
  height: 360px;
  margin-top: 28px;
}

.milo-order-flow__track {
  position: absolute;
  top: 252px;
  left: var(--flow-desktop-start);
  right: calc(100% - var(--flow-desktop-end));
  height: 4px;
}

.milo-order-flow__track-base,
.milo-order-flow__track-progress {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.milo-order-flow__track-base {
  background: #d7d7d7;
}

.milo-order-flow__track-progress {
  right: auto;
  width: calc(var(--flow-progress) * 100%);
  background: linear-gradient(90deg, #a9d2ff 0%, #5e9ff8 50%, #2b8efa 100%);
  transform-origin: left center;
}

.milo-order-flow__steps {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.milo-order-flow__step {
  position: absolute;
  top: 218px;
  left: var(--step-x);
  transform: translateX(-50%);
  text-align: center;
}

.milo-order-flow__node {
  position: relative;
  z-index: 3;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: #d8d8d8;
  transition: background-color 220ms ease, transform 220ms ease;
}

.milo-order-flow__node::before,
.milo-order-flow__node::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

.milo-order-flow__node img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: .8;
  filter: grayscale(1);
  transition: opacity 220ms ease, filter 220ms ease;
}

.milo-order-flow__step.is-active .milo-order-flow__node {
  background: var(--step-color);
}

.milo-order-flow__step.is-active .milo-order-flow__node::before,
.milo-order-flow__step.is-active .milo-order-flow__node::after {
  opacity: 1;
  animation: milo-order-flow-pulse 2s cubic-bezier(.2, .65, .3, 1) infinite;
}

.milo-order-flow__step.is-active .milo-order-flow__node::after {
  animation-delay: 1s;
}

.milo-order-flow__step.is-active .milo-order-flow__node img {
  opacity: 1;
  filter: none;
}

.milo-order-flow__step-label {
  display: none;
}

.milo-order-flow__marker {
  position: absolute;
  top: 0;
  left: var(--flow-marker-x);
  width: 295px;
  height: 258px;
  transform: translateX(-62.4%);
  will-change: left, top;
}

.milo-order-flow__order-card {
  display: block;
  width: 295px;
  height: 258px;
}

.milo-order-flow__order-card--mobile {
  display: none;
}

.milo-order-flow__summary {
  margin-top: 18px;
  text-align: center;
}

.milo-order-flow__summary p {
  margin: 0;
}

.milo-order-flow__summary p:first-child {
  color: #202126;
  font-size: 16px;
  font-weight: 650;
}

.milo-order-flow__summary p:last-child {
  margin-top: 12px;
  color: #55565c;
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  letter-spacing: .025em;
}

@keyframes milo-order-flow-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--step-color) 45%, transparent);
    opacity: 1;
  }

  70% {
    box-shadow: 0 0 0 42px color-mix(in srgb, var(--step-color) 0%, transparent);
    opacity: 1;
  }

  100% {
    box-shadow: 0 0 0 48px transparent;
    opacity: 1;
  }
}

@media (min-width: 901px) {
  .milo-order-flow__stage {
    margin: 28px 130px;
  }
}

@media (max-width: 900px) {
  .milo-order-flow {
    --flow-mobile-line-x: clamp(60px, 18vw, 80px);
  }

  .milo-order-flow__inner {
    width: min(100% - 32px, 720px);
    padding: 72px 0;
  }

  .milo-order-flow__title {
    font-size: clamp(36px, 8vw, 48px);
  }

  .milo-order-flow__lead {
    font-size: 16px;
  }

  .milo-order-flow__lead br {
    display: none;
  }

  .milo-order-flow__stage {
    width: min(100%, 420px);
    height: 620px;
    min-height: 620px;
    margin: 42px auto 0;
  }

  .milo-order-flow__track {
    top: 8%;
    bottom: 8%;
    left: calc(var(--flow-mobile-line-x) - 2px);
    right: auto;
    width: 4px;
    height: auto;
  }

  .milo-order-flow__track-progress {
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: calc(var(--flow-progress) * 100%);
    background: linear-gradient(180deg, #a9d2ff 0%, #5e9ff8 50%, #2b8efa 100%);
    transform-origin: center top;
  }

  .milo-order-flow__steps {
    position: absolute;
    inset: 0;
    min-height: 0;
  }

  .milo-order-flow__step {
    top: var(--step-x);
    left: var(--flow-mobile-line-x) !important;
    transform: translate(-50%, -50%);
  }

  .milo-order-flow__step .milo-order-flow__node img {
    opacity: .8;
    filter: grayscale(1);
  }

  .milo-order-flow__step.is-active .milo-order-flow__node img {
    opacity: 1;
    filter: none;
  }

  .milo-order-flow__marker {
    top: var(--flow-marker-y);
    left: var(--flow-mobile-line-x);
    width: clamp(220px, 58vw, 296px);
    height: auto;
    transform: translate(-2.45%, -24.3%);
  }

  .milo-order-flow__order-card--desktop {
    display: none;
  }

  .milo-order-flow__order-card--mobile {
    display: block;
    width: 100%;
    height: auto;
  }

  .milo-order-flow__summary {
    margin-top: 60px;
  }
}

@media (max-width: 600px) {
  .milo-order-flow__inner {
    width: min(100% - 28px, 560px);
    padding: 60px 0;
  }

  .milo-order-flow__title {
    font-size: clamp(32px, 9vw, 38px);
  }

  .milo-order-flow__lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .milo-order-flow__stage {
    height: 560px;
    min-height: 560px;
  }

  .milo-order-flow__summary p:first-child {
    font-size: 15px;
  }

  .milo-order-flow__summary p:last-child {
    font-size: 12px;
    line-height: 1.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .milo-order-flow {
    height: auto !important;
  }

  .milo-order-flow__sticky {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .milo-order-flow__marker {
    top: 0;
    left: var(--flow-marker-x);
  }

  .milo-order-flow__step.is-active .milo-order-flow__node::before,
  .milo-order-flow__step.is-active .milo-order-flow__node::after {
    animation: none;
  }
}

/* =========================================================
   MILO — ORDERS IMPACT
   Scoped only to the section below the orders hero.
   ========================================================= */

.milo-orders-impact {
  background: #fff;
  color: #0a0a0a;
}

.milo-orders-impact__inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 7vw, 112px) 0 clamp(68px, 6vw, 96px);
}

.milo-orders-impact__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.14);
}

.milo-orders-impact__title {
  margin: 0;
  font-size: clamp(38px, 3.75vw, 64px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.milo-orders-impact__title>span {
  display: block;
}

.milo-orders-impact__title-gradient {
  width: fit-content;
  margin-top: 4px;
  line-height: 1.2;
}

.milo-orders-impact__lead {
  margin: 34px 0 0;
  color: #7a7a7a;
  font-size: clamp(20px, 1.75vw, 28px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.milo-orders-impact__cta {
  align-self: end;
  margin-bottom: 8px;
  white-space: nowrap;
}

.milo-orders-impact__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #E4E4E4;
}

.milo-orders-impact__metric {
  display: flex;
  min-height: 355px;
  flex-direction: column;
  padding: 34px 28px 26px 28px;
  border-right: 1px solid rgba(10, 10, 10, 0.14);
  background: #fff;
}

.milo-orders-impact__metric:first-child {
  padding-left: 0;
}

.milo-orders-impact__metric:last-child {
  padding-right: 0;
  border-right: 0;
}

.milo-orders-impact__label {
  margin: 0 0 24px;
  color: #2b8efa;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.035em;
}

.milo-orders-impact__value {
  margin: 0;
  color: #050505;
  font-size: clamp(40px, 3.1vw, 54px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.milo-orders-impact__suffix {
  margin: 8px 0 0;
  color: #a2a2a2;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

.milo-orders-impact__description {
  margin: auto 0 0;
  color: #464646;
  font-size: 16px;
  line-height: 1.48;
}

.milo-orders-impact__footnote {
  margin: 40px 0 0;
  color: #242424;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.015em;
}

@media (min-width: 1101px) {
  .milo-orders-impact__metric {
    border-radius: 16px 16px 0 0;
  }

  .milo-orders-impact__metric:first-child {
    border-radius: 0 16px 0 0;
  }

  .milo-orders-impact__metric:last-child {
    border-radius: 16px 0 0 0;
  }
}

@media (max-width: 1100px) {
  .milo-orders-impact__top {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .milo-orders-impact__cta {
    justify-self: start;
    margin-bottom: 0;
  }

  .milo-orders-impact__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .milo-orders-impact__metric {
    min-height: 310px;
    padding: 30px 28px 24px;
  }

  .milo-orders-impact__metric:nth-child(2) {
    border-right: 0;
  }

  .milo-orders-impact__metric:nth-child(n + 3) {
    border-top: 1px solid rgba(10, 10, 10, 0.14);
  }

  .milo-orders-impact__metric:nth-child(3) {
    padding-left: 0;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .milo-orders-impact__metric {
    border-radius: 16px;
  }

  .milo-orders-impact__metric:first-child {
    border-radius: 0 16px 16px 0;
  }

  .milo-orders-impact__metric:nth-child(2) {
    border-radius: 16px 0 0 16px;
  }

  .milo-orders-impact__metric:nth-child(3) {
    border-radius: 0 16px 0 0;
  }

  .milo-orders-impact__metric:last-child {
    border-radius: 16px 0 0 0;
  }
}

@media (max-width: 700px) {
  .milo-orders-impact__inner {
    width: min(100% - 28px, 620px);
    padding: 58px 0 56px;
  }

  .milo-orders-impact__top {
    padding-bottom: 30px;
  }

  .milo-orders-impact__title {
    font-size: clamp(38px, 10vw, 52px);
  }

  .milo-orders-impact__lead {
    margin-top: 24px;
    font-size: 18px;
  }

  .milo-orders-impact__lead br,
  .milo-orders-impact__description br {
    display: none;
  }

  .milo-orders-impact__cta {
    width: 100%;
    justify-content: center;
  }

  .milo-orders-impact__metrics {
    grid-template-columns: 1fr;
  }

  .milo-orders-impact__metric,
  .milo-orders-impact__metric:first-child,
  .milo-orders-impact__metric:nth-child(3),
  .milo-orders-impact__metric:last-child {
    min-height: 0;
    padding: 26px 0 28px;
    border-top: 1px solid rgba(10, 10, 10, 0.14);
    border-right: 0;
  }

  .milo-orders-impact__metric:first-child {
    border-top: 0;
  }

  .milo-orders-impact__description {
    margin-top: 48px;
  }

  .milo-orders-impact__footnote {
    margin-top: 28px;
    font-size: 10px;
  }
}

/* =========================================================
   MILO — BUSINESS GRID
   Scoped only to the "Jedno Milo. Cały meblowy biznes." section.
   ========================================================= */
.milo-business-grid {
  --milo-business-grid-line: rgba(37, 43, 67, 0.11);
  --milo-business-grid-muted: #8b8f99;
  --milo-business-grid-mobile-width: 1120px;
  --milo-business-grid-mobile-row: 104px;
  --milo-business-grid-scale: 1;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.milo-business-grid__inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 0;
}

.milo-business-grid__header {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.milo-business-grid__header.is-visible,
.milo-business-grid__viewport.is-visible {
  opacity: 1;
  transform: none;
}

.milo-business-grid__title {
  margin: 0;
  color: #090b16;
  font-size: clamp(32px, 3.2vw, 54px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.milo-business-grid__title>span {
  display: block;
}

.milo-business-grid__title-gradient {
  margin-top: 8px;
  line-height: 1.2;
}

.milo-business-grid__lead {
  margin: 20px 0 0;
  color: #8c8f97;
  font-size: 20px;
  line-height: 1.45;
}

.milo-business-grid__viewport {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 620ms ease 110ms, transform 620ms ease 110ms;
  -webkit-mask-image: linear-gradient(90deg, transparent 2%, rgb(217, 217, 217) 10%, rgb(217, 217, 217) 90%, transparent 98%), linear-gradient(180deg, transparent 5%, rgb(217, 217, 217) 15%, rgb(217, 217, 217) 85%, transparent 95%);
  mask-image: linear-gradient(90deg, transparent 2%, rgb(217, 217, 217) 10%, rgb(217, 217, 217) 90%, transparent 98%), linear-gradient(180deg, transparent 5%, rgb(217, 217, 217) 15%, rgb(217, 217, 217) 85%, transparent 95%);
  mask-composite: intersect;
  margin-top: -30px;
}

.milo-business-grid__grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(112px, 1fr));
  grid-auto-flow: row;
  width: 100%;
  border-top: 1px solid var(--milo-business-grid-line);
  border-left: 1px solid var(--milo-business-grid-line);
  background: #ebebeb;
}

.milo-business-grid__item,
.milo-business-grid__card {
  border-right: 1px solid var(--milo-business-grid-line);
  border-bottom: 1px solid var(--milo-business-grid-line);
}

.milo-business-grid__item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 14px 8px;
  color: #a0a3aa;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  transition: color 200ms ease, background-color 200ms ease;
}

.milo-business-grid__item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 200ms ease, filter 200ms ease, transform 200ms ease;
}

.milo-business-grid__item span {
  max-width: 120px;
  font-size: 14px;
  line-height: 1.25;
}

.milo-business-grid__item:not(.milo-business-grid__item--empty):hover {
  color: #363946;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0px 10px 13px 0 #0000001a, inset 1px 1px 0 #00000066;
  z-index: 1;
  border-color: #00000066;
}

.milo-business-grid__item:not(.milo-business-grid__item--empty):hover img {
  opacity: 0.8;
  filter: grayscale(0.25);
  transform: translateY(-2px);
}

/* Puste rzędy pozostają częścią tej samej siatki, ale ich linie łagodnie zanikają. */
.milo-business-grid__item--empty {
  pointer-events: none;
  background: #fff;
}

.milo-business-grid__item--empty-top {
  opacity: 0.32;
  background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0.82) 100%);
}

.milo-business-grid__item--empty-bottom {
  opacity: 0.32;
  background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, 0.82) 100%);
}

.milo-business-grid__card {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  box-shadow: 0 8px 22px rgba(32, 37, 61, 0.035);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.milo-business-grid__card::after {
  content: "";
  width: 100%;
  height: 48%;
  background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, 0) 100%);
  position: absolute;
  bottom: 0;
}

.milo-business-grid__card:hover {
  z-index: 4;
  box-shadow: 0 14px 32px rgba(32, 37, 61, 0.08);
}

.milo-business-grid__card-copy {
  padding: 24px 24px 0;
  max-height: 92px;
  overflow: visible;
}

.milo-business-grid__card h3 {
  margin: 0;
  color: #181923;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.milo-business-grid__card p {
  margin: 14px 0 0;
  color: #5f6169;
  font-size: 14px;
  line-height: 1.45;
}

.milo-business-grid__card img {
  position: relative;
  display: block;
  width: calc(100% + 8px);
  /* max-height: 48%; */
  margin: auto -4px 0;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 240ms ease, filter 240ms ease;
}

.milo-business-grid__card:hover img {
  transform: translateY(-2px);
  filter: saturate(1.04) contrast(1.015);
}

/* Środkowy układ 2 × 2 pozostaje zawsze w tych samych logicznych komórkach. */
.milo-business-grid__card--orders {
  grid-column: 4 / span 2;
  grid-row: 3 / span 2;
  background: linear-gradient(330deg, #fff 30%, #fccde8 100%);
  border-radius: 0 0 16px 0;
}

.milo-business-grid__card--orders img {
  bottom: -10%;
}

.milo-business-grid__card--production {
  grid-column: 6 / span 2;
  grid-row: 3 / span 2;
  background: linear-gradient(45deg, #fff8f5 30%, #ffd0aa 100%);
  border-radius: 0 0 0 16px;
}

.milo-business-grid__card--production img {
  bottom: -10%;
  right: -8%;
}

.milo-business-grid__card--warehouse {
  grid-column: 4 / span 2;
  grid-row: 5 / span 2;
  background: linear-gradient(315deg, #fffdf6 30%, #ffe796 100%);
  border-radius: 0 16px 0 0;
}

.milo-business-grid__card--transport {
  grid-column: 6 / span 2;
  grid-row: 5 / span 2;
  background: linear-gradient(45deg, #fbf9ff 30%, #d2beff 100%);
  border-radius: 16px 0 0 0;
}

/*
 * Tablet i mobile zachowują dokładnie ten sam 10-kolumnowy układ.
 * Zamiast przebudowy grid jest skalowany i centrowany, a viewport pokazuje
 * coraz mniej bocznych kolumn — analogicznie do zachowania referencji ClickUp.
 */
@media (max-width: 1120px) {
  .milo-business-grid {
    --milo-business-grid-scale: 0.9;
  }

  .milo-business-grid__inner {
    width: calc(100% - 32px);
    padding: 74px 0 0px;
  }

  .milo-business-grid__viewport {
    width: 100%;
    height: calc(8 * var(--milo-business-grid-mobile-row) * var(--milo-business-grid-scale));
    -webkit-mask-image: linear-gradient(90deg, transparent 2%, rgb(217, 217, 217) 10%, rgb(217, 217, 217) 90%, transparent 98%), linear-gradient(180deg, transparent 5%, rgb(217, 217, 217) 15%, rgb(217, 217, 217) 85%, transparent 95%);
    mask-image: linear-gradient(90deg, transparent 2%, rgb(217, 217, 217) 10%, rgb(217, 217, 217) 90%, transparent 98%), linear-gradient(180deg, transparent 5%, rgb(217, 217, 217) 15%, rgb(217, 217, 217) 85%, transparent 95%);
  }

  .milo-business-grid__grid {
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--milo-business-grid-mobile-width);
    grid-template-columns: repeat(10, calc(var(--milo-business-grid-mobile-width) / 10));
    grid-template-rows: repeat(8, var(--milo-business-grid-mobile-row));
    transform: translateX(-50%) scale(var(--milo-business-grid-scale));
    transform-origin: top center;
  }

  .milo-business-grid__card-copy {
    padding: 12px 12px 0;
  }

  .milo-business-grid__card h3 {
    font-size: 24px;
  }

  .milo-business-grid__card p {
    font-size: 12px;
  }
}

@media (max-width: 820px) {
  .milo-business-grid {
    --milo-business-grid-scale: 0.78;
  }

  .milo-business-grid__inner {
    width: 100%;
    padding: 64px 0 0px;
  }

  .milo-business-grid__header {
    padding: 0 24px;
    margin-bottom: 30px;
  }

  .milo-business-grid__title {
    font-size: clamp(36px, 8vw, 48px);
  }

  .milo-business-grid__lead {
    font-size: 16px;
  }

  .milo-business-grid__lead br {
    display: none;
  }
}

@media (max-width: 600px) {
  .milo-business-grid {
    --milo-business-grid-scale: 0.68;
  }

  .milo-business-grid__inner {
    padding: 58px 0 0;
  }

  .milo-business-grid__header {
    padding: 0 20px;
    margin-bottom: 26px;
  }

  .milo-business-grid__title {
    font-size: clamp(34px, 10vw, 44px);
  }

  .milo-business-grid__lead {
    margin-top: 16px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .milo-business-grid {
    --milo-business-grid-scale: 0.62;
  }
}

@media (prefers-reduced-motion: reduce) {

  .milo-business-grid__header,
  .milo-business-grid__viewport,
  .milo-business-grid__card,
  .milo-business-grid__card img,
  .milo-business-grid__item,
  .milo-business-grid__item img {
    transition: none !important;
  }

  .milo-business-grid__header,
  .milo-business-grid__viewport {
    opacity: 1;
    transform: none;
  }

  .milo-business-grid__card:hover,
  .milo-business-grid__card:hover img,
  .milo-business-grid__item:hover img {
    transform: none;
  }
}


/* =========================================================
   MILO — PRODUCT IDENTITY
   ========================================================= */

.milo-product-identity {
  width: 100%;
  background: #fff;
}

.milo-product-identity__inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0 124px;
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  align-items: center;
  gap: clamp(72px, 7vw, 112px);
}

.milo-product-identity__content {
  min-width: 0;
}

.milo-product-identity__title {
  margin: 0;
  color: #080a12;
  font-size: clamp(48px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.milo-product-identity__lead {
  margin: 34px 0 0;
  color: #858585;
  font-size: clamp(23px, 1.75vw, 28px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.milo-product-identity__body {
  max-width: 650px;
  margin-top: 70px;
  color: #404040;
  font-size: clamp(17px, 1.18vw, 19px);
  line-height: 1.48;
}

.milo-product-identity__body p {
  margin: 0;
}

.milo-product-identity__body strong {
  color: #303030;
  font-weight: 700;
}

.milo-product-identity__visual {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.milo-product-identity__visual img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1120px) {
  .milo-product-identity__inner {
    gap: 54px;
    padding: 94px 0 104px;
  }

  .milo-product-identity__title {
    font-size: clamp(42px, 4.6vw, 50px);
  }

  .milo-product-identity__lead {
    font-size: 22px;
  }

  .milo-product-identity__body {
    margin-top: 54px;
    font-size: 17px;
  }

  .milo-product-identity__desktop-break {
    display: none;
  }
}

@media (max-width: 860px) {
  .milo-product-identity__inner {
    width: min(100% - 40px, 720px);
    padding: 78px 0 88px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .milo-product-identity__title {
    font-size: clamp(38px, 7vw, 46px);
  }

  .milo-product-identity__lead {
    margin-top: 26px;
    font-size: 21px;
  }

  .milo-product-identity__body {
    max-width: 100%;
    margin-top: 44px;
  }

  .milo-product-identity__visual img {
    max-width: 680px;
  }
}

@media (max-width: 600px) {
  .milo-product-identity__inner {
    width: calc(100% - 32px);
    padding: 62px 0 70px;
    gap: 40px;
  }

  .milo-product-identity__title {
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.08;
  }

  .milo-product-identity__lead {
    margin-top: 22px;
    font-size: 19px;
    line-height: 1.34;
  }

  .milo-product-identity__lead br {
    display: none;
  }

  .milo-product-identity__body {
    margin-top: 36px;
    font-size: 16px;
    line-height: 1.5;
  }
}

/* =========================================================
   MILO — ORDER FILTERS
   Scoped only to the filters/statuses section.
   ========================================================= */
.milo-order-filters {
  background: #fff;
  overflow: hidden;
}

.milo-order-filters__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(56px, 7vw, 108px);
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0;
}

.milo-order-filters__content {
  min-width: 0;
}

.milo-order-filters__title {
  margin: 0;
  color: #050505;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.045em;
}

.milo-order-filters__title>span {
  display: block;
}

.milo-order-filters__title-gradient {
  margin-top: 5px;
  line-height: 1.2;
}

.milo-order-filters__lead {
  margin: 30px 0 0;
  color: #8b8c92;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.34;
}

.milo-order-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 9px;
  margin-top: 48px;
  max-width: 800px;
}

.milo-order-filters__chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid #2b8efa;
  border-radius: 7px;
  color: #2b8efa;
  background: #fff;
  font-family: "Roboto Mono", monospace;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .055em;
  white-space: nowrap;
}

.milo-order-filters__chip img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(53%) sepia(94%) saturate(2274%) hue-rotate(193deg) brightness(98%) contrast(100%);
}

.milo-order-filters__body {
  margin-top: 20px;
  color: #4d4e53;
  font-size: 20px;
  line-height: 1.5;
}

.milo-order-filters__body p {
  margin: 0;
}

.milo-order-filters__visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.62 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(160deg, #5f7cff 0%, #2d59e8 58%, #0f46d1 100%);
  min-height: 600px;
  width: 100%;
}

.milo-order-filters__visual::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 22%;
  width: 100%;
  background: linear-gradient(to bottom, #5f7cff00 0%, #5f7cff54 100%);
}

.milo-order-filters__image {
  position: absolute;
  right: -1px;
  top: 20%;
  display: block;
  width: 86%;
  max-width: none;
  height: auto;
}

@media (min-width: 1241px) and (max-width: 1500px) {
  .milo-order-filters__visual {
    height: 500px;
    min-height: inherit;
  }
}

@media (max-width: 1240px) {
  .milo-order-filters__inner {
    gap: 42px;
    grid-template-columns: 1fr;
    padding: 60px 0 80px;
  }

  .milo-order-filters__visual {
    min-height: initial;
    height: 400px;
    min-height: inherit;
  }
}

@media (max-width: 980px) {
  .milo-order-filters__inner {
    padding: 40px 0 80px;
  }

  .milo-order-filters__title {
    font-size: clamp(36px, 4.8vw, 48px);
  }

  .milo-order-filters__lead {
    font-size: 20px;
  }

  .milo-order-filters__chips {
    margin-top: 36px;
  }
}

@media (max-width: 820px) {
  .milo-order-filters__inner {
    width: min(100% - 32px, 680px);
    padding: 0 0 60px;
  }

  .milo-order-filters__lead br {
    display: none;
  }

  .milo-order-filters__visual {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .milo-order-filters__inner {
    width: min(100% - 28px, 560px);
    padding: 60px 0;
  }

  .milo-order-filters__title {
    font-size: clamp(32px, 9vw, 38px);
  }

  .milo-order-filters__lead {
    margin-top: 22px;
    font-size: 18px;
  }

  .milo-order-filters__chips {
    gap: 7px;
    margin-top: 30px;
  }

  .milo-order-filters__chip {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .milo-order-filters__body {
    font-size: 15px;
    line-height: 1.5;
  }

  .milo-order-filters__visual {
    aspect-ratio: 1.18 / 1;
    border-radius: 14px;
  }

  .milo-order-filters__image {
    width: 112%;
    right: -18%;
  }
}



/* =========================================================
   MILO — ORDER RESERVATION
   Reservation / availability section on solution orders page.
   ========================================================= */
.milo-order-reservation {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.milo-order-reservation__inner {
  position: relative;
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 140px;
}

.milo-order-reservation__title {
  margin: 0;
  color: #050505;
  font-size: clamp(48px, 3.25vw, 60px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.milo-order-reservation__title>span {
  display: block;
}

.milo-order-reservation__title span+span {
  font-size: clamp(38px, 2.8vw, 49px);
  line-height: 1.2;
  margin-top: 6px;
  color: #8f8f8f;
}

.milo-order-reservation__title-gradient {
  line-height: 1.25;
}

.milo-order-reservation__description {
  max-width: 980px;
  margin-top: 44px;
  color: #85868b;
  font-size: 20px;
  line-height: 1.5;
}

.milo-order-reservation__description p {
  margin: 0;
}

.milo-order-reservation__views {
  position: relative;
  width: 100%;
  min-height: clamp(220px, 24vw, 330px);
  margin-top: 48px;
  overflow: hidden;
}

.milo-order-reservation__image {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.milo-order-reservation__card {
  display: block;
  position: absolute;
  right: 0;
  bottom: 2%;
  z-index: 1;
  width: 70vw;
  max-width: 700px;
}

@media (min-width: 901px) and (max-width: 1360px) {
  .milo-order-reservation__card {
    width: 60vw;
    max-width: 600px;
  }
}

@media (max-width: 900px) {
  .milo-order-reservation__inner {
    padding: 88px 0;
  }

  .milo-order-reservation__title {
    font-size: clamp(36px, 6.5vw, 48px);
  }

  .milo-order-reservation__description {
    margin-top: 32px;
    font-size: 16px;
  }

  .milo-order-reservation__views {
    min-height: 0;
    aspect-ratio: 16 / 6.5;
    margin-top: 40px;
    border-radius: 16px;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .milo-order-reservation__card {
    width: 54vw;
    max-width: 500px;
  }
}

@media (max-width: 700px) {
  .milo-order-reservation__card {
    width: 60vw;
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .milo-order-reservation__inner {
    width: min(100% - 28px, 560px);
    padding: 72px 0 76px;
  }

  .milo-order-reservation__title {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.08;
  }

  .milo-order-reservation__title-gradient {
    margin-bottom: 8px;
  }

  .milo-order-reservation__description {
    margin-top: 28px;
    font-size: 15px;
    line-height: 1.55;
  }

  .milo-order-reservation__views {
    aspect-ratio: 16 / 8.5;
    margin-top: 34px;
    border-radius: 14px;
  }
}



/* =========================================================
   MILO — CUSTOMER UPDATES
   ========================================================= */
.milo-customer-updates {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.milo-customer-updates__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0;
}

.milo-customer-updates__content {
  min-width: 0;
}

.milo-customer-updates__title {
  margin: 0;
  color: #050505;
  font-size: clamp(42px, 3.7vw, 58px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.milo-customer-updates__lead {
  margin: 38px 0 0;
  color: #85868b;
  font-size: clamp(21px, 1.65vw, 27px);
  line-height: 1.28;
}

.milo-customer-updates__body {
  margin-top: 48px;
  color: #3d3e43;
  font-size: 20px;
  line-height: 1.5;
}

.milo-customer-updates__body p {
  margin: 0;
}

.milo-customer-updates__views {
  width: 100%;
  min-height: clamp(320px, 29vw, 430px);
  border-radius: 18px;
  overflow: hidden;
}

.milo-customer-update__image {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   MILO — ORDER DISPATCH
   ========================================================= */
.milo-order-dispatch {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.milo-order-dispatch__inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 112px;
}

.milo-order-dispatch__header {
  max-width: 900px;
  margin: 0 auto 54px;
  text-align: center;
}

.milo-order-dispatch__title {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0;
  color: #050505;
  font-size: clamp(42px, 3.5vw, 54px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.milo-order-dispatch__lead {
  margin: 18px 0 0;
  color: #85868b;
  font-size: clamp(20px, 1.55vw, 25px);
  line-height: 1.35;
}

.milo-order-dispatch__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(52px, 6vw, 90px);
  padding: clamp(34px, 3.4vw, 48px);
  border-radius: 20px;
  background: #f2f2f2;
}

.milo-order-dispatch__image {
  position: relative;
  width: 100%;
  min-height: 510px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(5, 5, 5, 0.12);
  background: #fbfbfb url(../images/illustrations/solutions/map.png) no-repeat center left;
  background-size: cover;
}

.milo-order-dispatch__floating-card {
  position: absolute;
  max-width: 350px;
  left: -55px;
}

.floating-card-route {
  top: 20px;

}

.floating-card-courier {
  bottom: -62px;
}

.milo-order-dispatch__content {
  min-width: 0;
}

.milo-order-dispatch__card-title {
  margin: 0;
  color: #050505;
  font-size: clamp(28px, 2.25vw, 36px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.milo-order-dispatch__body {
  margin-top: 36px;
  color: #3d3e43;
  font-size: 20px;
  line-height: 1.5;
}

.milo-order-dispatch__body p {
  margin: 0;
}

.milo-order-dispatch__body p+p {
  margin-top: 24px;
}

@media (max-width: 1240px) {

  .milo-order-dispatch__card,
  .milo-customer-updates__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .milo-order-dispatch__card {
    gap: 90px;
  }

  .milo-order-dispatch__floating-card {
    left: initial;
  }

  .floating-card-route {
    top: initial;
    bottom: -78px;
  }

  .floating-card-courier {
    bottom: -84px;
    left: 280px;
  }
}

@media (min-width: 901px) and (max-width: 1240px) {
  .milo-order-dispatch__image {
    min-height: 510px;
  }

  .milo-order-dispatch__floating-card {
    max-width: 400px;
  }

  .floating-card-route {
    top: initial;
    bottom: -78px;
  }

  .floating-card-courier {
    bottom: -84px;
    left: 380px;
  }
}

@media (max-width: 900px) {
  .milo-customer-updates__inner {
    width: min(100% - 32px, 800px);
    padding: 88px 0 80px;
  }

  .milo-customer-updates__title {
    font-size: clamp(36px, 5.5vw, 46px);
  }

  .milo-customer-updates__lead {
    margin-top: 28px;
    font-size: 20px;
  }

  .milo-customer-updates__body {
    margin-top: 24px;
    font-size: 16px;
  }

  .milo-customer-updates__views {
    min-height: 320px;
  }

  .milo-order-dispatch__inner {
    width: min(100% - 32px, 800px);
    padding: 82px 0 92px;
  }

  .milo-order-dispatch__header {
    margin-bottom: 42px;
  }

  .milo-order-dispatch__card {
    grid-template-columns: minmax(0, 1fr);
    gap: 90px;
    padding: 30px;
  }

  .milo-order-dispatch__media-placeholder {
    min-height: 350px;
  }

  .milo-order-dispatch__floating-card {
    max-width: 300px;
  }

  .floating-card-route {
    top: initial;
    bottom: -78px;
  }

  .floating-card-courier {
    bottom: -84px;
    left: 280px;
  }

}

@media (max-width: 720px) {

  .milo-customer-updates__lead br,
  .milo-customer-updates__body br,
  .milo-order-dispatch__card-title br,
  .milo-order-dispatch__body br {
    display: none;
  }

  .milo-customer-updates__views {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .milo-order-dispatch__title {
    flex-wrap: wrap;
    gap: 8px;
  }

  .milo-order-dispatch__media-placeholder {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 600px) {

  .milo-customer-updates__inner,
  .milo-order-dispatch__inner {
    width: min(100% - 28px, 560px);
  }

  .milo-customer-updates__inner {
    padding: 72px 0 68px;
  }

  .milo-customer-updates__title,
  .milo-order-dispatch__title {
    font-size: clamp(32px, 9vw, 40px);
  }

  .milo-customer-updates__lead,
  .milo-order-dispatch__lead {
    font-size: 18px;
  }

  .milo-order-dispatch__inner {
    padding: 70px 0 76px;
  }

  .milo-order-dispatch__card {
    padding: 20px;
    border-radius: 16px;
  }

  .milo-order-dispatch__card-title {
    font-size: clamp(26px, 7.5vw, 32px);
  }

  .milo-order-dispatch__body,
  .milo-customer-updates__body {
    font-size: 15px;
  }
}


/* =========================================================
   MILO — ORDERS COUNTER
   ========================================================= */

.milo-orders-counter {
  width: 100%;
  padding: 104px 0 124px;
  background: #fff;
}

.milo-orders-counter__inner {
  position: relative;
  width: min(1500px, calc(100% - 48px));
  min-height: 430px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  background: #f5f5f6;
  isolation: isolate;
}

.milo-orders-counter__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 430px;
  padding: 70px 28%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.milo-orders-counter__title {
  margin: 0;
  color: #080a12;
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.milo-orders-counter__value {
  display: block;
  margin-top: 44px;
  color: #05070d;
  font-size: clamp(64px, 6vw, 104px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.milo-orders-counter__label {
  margin: 34px 0 0;
  color: #777a82;
  font-family: "Roboto Mono", monospace;
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.milo-orders-counter__person {
  position: absolute;
  z-index: 1;
  bottom: 0;
  display: block;
  width: auto;
  height: 150%;
  max-height: 630px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  bottom: -35%;
}

.milo-orders-counter__person--left {
  left: -22%;
  object-position: left bottom;
}

.milo-orders-counter__person--right {
  right: -20%;
  object-position: right bottom;
}

@media (max-width: 1120px) {
  .milo-orders-counter {
    padding: 88px 0 104px;
  }

  .milo-orders-counter__inner,
  .milo-orders-counter__content {
    min-height: 380px;
  }

  .milo-orders-counter__content {
    padding: 58px 25%;
  }

  .milo-orders-counter__person {
    max-height: 380px;
  }

  .milo-orders-counter__value {
    margin-top: 38px;
  }
}

@media (max-width: 820px) {
  .milo-orders-counter {
    padding: 72px 0 88px;
  }

  .milo-orders-counter__inner {
    width: calc(100% - 40px);
    min-height: 360px;
    border-radius: 24px;
  }

  .milo-orders-counter__content {
    min-height: 360px;
    padding: 54px 17%;
  }

  .milo-orders-counter__value {
    margin-top: 34px;
    font-size: clamp(52px, 10vw, 78px);
  }

  .milo-orders-counter__label {
    margin-top: 26px;
  }
}

@media (min-width: 821px) and (max-width: 1120px) {
  .milo-orders-counter__person {
    max-height: initial;
    width: 60vw;
  }

  .milo-orders-counter__person--left {
    left: -27vw;
    bottom: -6vw;
  }

  .milo-orders-counter__person--right {
    right: -27vw;
    bottom: -11vw;
  }
}

@media (min-width: 601px) and (max-width: 820px) {
  .milo-orders-counter__person {
    max-height: initial;
    width: 60vw;
    bottom: -8vw;
  }

  .milo-orders-counter__person--left {
    left: -28vw;
  }

  .milo-orders-counter__person--right {
    right: -28vw;
  }
}

@media (max-width: 600px) {
  .milo-orders-counter {
    padding: 60px 0 72px;
  }

  .milo-orders-counter__inner {
    width: calc(100% - 32px);
    min-height: 330px;
    border-radius: 20px;
  }

  .milo-orders-counter__content {
    min-height: 330px;
    padding: 48px 18px;
  }

  .milo-orders-counter__title {
    font-size: 19px;
  }

  .milo-orders-counter__value {
    margin-top: 30px;
    font-size: clamp(44px, 12vw, 60px);
  }

  .milo-orders-counter__label {
    max-width: 260px;
    margin-top: 22px;
    font-size: 10px;
  }

  .milo-orders-counter__person {
    max-height: 380px;
    bottom: -20%;
  }

  .milo-orders-counter__person--left {
    left: -40%;
  }

  .milo-orders-counter__person--right {
    right: -40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .milo-orders-counter__value {
    transition: none;
  }
}

/* =========================================================
   MILO — AUTOMATION RULES
   Scoped only to the automation section on solution orders.
   ========================================================= */
.milo-automation-rules {
  --automation-blue: #2b8efa;
  --automation-pink: #ff2aa7;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.milo-automation-rules__inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 80px;
}

.milo-automation-rules__content {
  max-width: 1120px;
}

.milo-automation-rules__title {
  margin: 0;
  color: #08090d;
  font-size: clamp(42px, 4.2vw, 66px);
  font-weight: 650;
  line-height: .7;
  letter-spacing: -0.045em;
}

.milo-automation-rules__title>span {
  display: block;
}

.milo-automation-rules__title-gradient {
  width: fit-content;
  margin-bottom: 5px;
  line-height: 1.4;
}

.milo-automation-rules__description {
  max-width: 1120px;
  margin-top: 30px;
  color: #7a7b80;
  font-size: 19px;
  line-height: 1.45;
}

.milo-automation-rules__description p {
  margin: 0;
}

.milo-automation-rules__flows {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 46px;
}

.milo-automation-rules__flow {
  display: flex;
  align-items: center;
  min-width: 0;
}

.milo-automation-rules__segment--question,
.milo-automation-rules__arrow,
.milo-automation-rules__reaction-wrap {
  opacity: 0;
  will-change: opacity, transform;
}

.milo-automation-rules__segment--reaction {
  opacity: 1;
}

.milo-automation-rules__segment {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  border: 2px solid currentColor;
  background: #fff;
  font-family: "Roboto Mono", monospace;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .055em;
  white-space: nowrap;
}

.milo-automation-rules__segment--question {
  padding: 0 12px 0 0;
  border-radius: 8px;
  color: var(--automation-blue);
  transform: translateX(-8px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.milo-automation-rules__segment--reaction {
  min-height: 38px;
  padding: 0 12px 0 9px;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  color: var(--automation-pink);
}

.milo-automation-rules__segment-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 7px 0 0 7px;
}

.milo-automation-rules__segment-icon--bolt {
  background: var(--automation-blue);
}

.milo-automation-rules__segment-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.milo-automation-rules__segment-symbol {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  object-fit: contain;
}

.milo-automation-rules__segment--question .milo-automation-rules__segment-symbol {
  filter: invert(48%) sepia(100%) saturate(2700%) hue-rotate(194deg) brightness(99%) contrast(101%);
}

.milo-automation-rules__segment--reaction .milo-automation-rules__segment-symbol {
  filter: invert(29%) sepia(97%) saturate(4945%) hue-rotate(312deg) brightness(102%) contrast(105%);
}

.milo-automation-rules__arrow {
  display: block;
  flex: 0 0 62px;
  width: 62px;
  height: 28px;
  margin: 0 -5px;
  transform: translateX(-6px);
  transition: opacity 280ms ease, transform 280ms ease;
}

.milo-automation-rules__arrow img {
  display: block;
  width: 62px;
  height: 28px;
}

.milo-automation-rules__reaction-wrap {
  display: inline-flex;
  align-items: stretch;
  transform: translateX(8px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.milo-automation-rules__automation-box {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 2px solid var(--automation-pink);
  border-radius: 8px 0 0 8px;
  background: var(--automation-pink);
}

.milo-automation-rules__automation-box img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.milo-automation-rules.is-visible .milo-automation-rules__segment--question {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc(var(--flow-index) * 460ms);
}

.milo-automation-rules.is-visible .milo-automation-rules__arrow {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc((var(--flow-index) * 460ms) + 130ms);
}

.milo-automation-rules.is-visible .milo-automation-rules__reaction-wrap {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc((var(--flow-index) * 460ms) + 260ms);
}

.milo-automation-rules__closing {
  margin: 30px 0 0;
  color: #34363d;
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .045em;
}

.milo-automation-rules__visual {
  position: relative;
  margin-top: 56px;
  border-radius: 16px;
}

.milo-automation-rules__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 2px rgba(23, 38, 112, 0.17));
}

@media (max-width: 900px) {
  .milo-automation-rules__inner {
    width: min(100% - 32px, 720px);
    padding: 80px 0 0;
  }

  .milo-automation-rules__title {
    font-size: clamp(38px, 7vw, 52px);
  }

  .milo-automation-rules__description {
    font-size: 17px;
  }

  .milo-automation-rules__flows {
    width: 100%;
    gap: 34px;
    margin-top: 38px;
  }

  .milo-automation-rules__flow {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    width: 100%;
    max-width: 100%;
  }

  .milo-automation-rules__segment {
    min-height: 36px;
    max-width: 100%;
    font-size: clamp(11px, 2.15vw, 14px);
    letter-spacing: .04em;
  }

  .milo-automation-rules__segment--question {
    width: fit-content;
  }

  .milo-automation-rules__segment-icon,
  .milo-automation-rules__automation-box {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .milo-automation-rules__segment-icon img,
  .milo-automation-rules__automation-box img {
    width: 21px;
    height: 21px;
  }

  .milo-automation-rules__segment-symbol {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .milo-automation-rules__arrow {
    width: 28px;
    height: 62px;
    margin: -6px 0 -1px 5px;
    transform: translateY(-6px);
  }

  .milo-automation-rules__arrow img {
    display: block;
    width: 28px;
    height: 62px;
  }

  .milo-automation-rules.is-visible .milo-automation-rules__arrow {
    transform: translateY(0);
  }

  .milo-automation-rules__reaction-wrap {
    max-width: 100%;
    margin-left: 0;
  }

  .milo-automation-rules__segment--reaction {
    max-width: calc(100vw - 64px);
    white-space: normal;
    line-height: 1.25;
  }

  .milo-automation-rules__visual {
    height: clamp(280px, 48vw, 420px);
  }
}

@media (max-width: 600px) {
  .milo-automation-rules__inner {
    width: min(100% - 28px, 560px);
    padding: 72px 0 80px;
  }

  .milo-automation-rules__title {
    font-size: clamp(34px, 10vw, 42px);
  }

  .milo-automation-rules__description {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.5;
  }

  .milo-automation-rules__flows {
    gap: 30px;
  }

  .milo-automation-rules__segment {
    min-height: 34px;
    font-size: clamp(10px, 3.2vw, 13px);
    letter-spacing: .035em;
  }

  .milo-automation-rules__segment-icon,
  .milo-automation-rules__automation-box {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .milo-automation-rules__segment-icon img,
  .milo-automation-rules__automation-box img {
    width: 20px;
    height: 20px;
  }

  .milo-automation-rules__segment-symbol {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .milo-automation-rules__arrow {
    margin-left: 18%;
  }

  .milo-automation-rules__reaction-wrap {
    margin-left: 10%;
  }

  .milo-automation-rules__closing {
    margin-top: 32px;
    font-size: 12px;
    line-height: 1.55;
  }

  .milo-automation-rules__visual {
    height: clamp(230px, 70vw, 340px);
    margin-top: 42px;
    border-radius: 12px;
  }

  .milo-automation-rules__image {
    left: 2%;
    bottom: -3%;
    width: 125%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .milo-automation-rules__segment--question,
  .milo-automation-rules__arrow,
  .milo-automation-rules__reaction-wrap {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   MILO — ROUTE PLANNING HERO
   Local additions for /rozwiazania/planowanie-tras/ only.
   Reuses the base .milo-solution-hero component above.
   ========================================================= */
.milo-solution-hero--routes .milo-solution-hero__inner {
  grid-template-columns: minmax(650px, 0.88fr) minmax(650px, 1.12fr);
  width: min(1500px, calc(100% - 48px));
}

.milo-solution-hero--routes .milo-solution-hero__content {
  max-width: 760px;
}

.milo-solution-hero--routes .milo-solution-hero__title {
  font-size: clamp(52px, 4.1vw, 68px);
}

.milo-solution-hero--routes .milo-solution-hero__route-copy {
  max-width: 660px;
  margin-top: 18px;
  color: #81858f;
  font-size: 17px;
  line-height: 1.52;
}

.milo-solution-hero--routes .milo-solution-hero__route-copy .milo-solution-hero__lead {
  max-width: none;
  margin: 0 0 24px;
  color: inherit;
  font-size: inherit;
}

.milo-solution-hero--routes .milo-solution-hero__route-copy>p:not(.milo-solution-hero__lead) {
  margin: 0;
}

.milo-solution-hero--routes .milo-solution-hero__route-emphasis {
  margin-top: 24px !important;
  color: #252832;
  font-weight: 750;
}

.milo-solution-hero--routes .milo-solution-hero__features-block {
  margin-top: 34px;
}

.milo-solution-hero--routes .milo-solution-hero__actions {
  margin-top: 40px;
}

.milo-solution-hero__chip--route-map {
  --feature: #ff2f98;
  --feature-bg: #fff0f8;
}

.milo-solution-hero__chip--route-optimization {
  --feature: #2f8cff;
  --feature-bg: #eef6ff;
}

.milo-solution-hero__chip--route-driver {
  --feature: #ff9d2f;
  --feature-bg: #fff7ed;
}

.milo-solution-hero__chip--route-addresses {
  --feature: #7c6df2;
  --feature-bg: #f4f2ff;
}

.milo-solution-hero__chip--route-time {
  --feature: #11bda9;
  --feature-bg: #edfbf8;
}

.milo-solution-hero__chip--route-load {
  --feature: #6f7b8f;
  --feature-bg: #f4f6f9;
}

.milo-solution-hero__chip--route-details {
  --feature: #8b5cf6;
  --feature-bg: #f6f1ff;
}

.milo-solution-hero__chip--route-proof {
  --feature: #17aa74;
  --feature-bg: #eefaf5;
}

.milo-solution-hero__chip--route-messages {
  --feature: #e94bb8;
  --feature-bg: #fff1fa;
}

.milo-solution-hero__chip--route-cars {
  --feature: #f0a21f;
  --feature-bg: #fff8e9;
}

.milo-solution-hero--routes .milo-solution-hero__visual {
  align-self: flex-start;
}

.milo-solution-hero--routes .milo-solution-hero__visual-stage {
  aspect-ratio: 16 / 10;
  min-height: 560px;
}

.milo-solution-hero--routes .milo-solution-hero__main-image,
.milo-solution-hero--routes .milo-solution-hero__overlay--route-replace {
  position: absolute;
  inset: 3% auto auto -2%;
  width: 138%;
  max-width: none;
  border-radius: 16px;
}

.milo-solution-hero--routes .milo-solution-hero__main-image {
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(20, 24, 47, 0.08));
}

.milo-solution-hero--routes .milo-solution-hero__overlay--route-replace {
  z-index: 3;
  filter: drop-shadow(0 22px 34px rgba(20, 24, 47, 0.08));
  transform: translateY(7px) scale(0.992);
  width: 50%;
}

.milo-solution-hero--routes .milo-solution-hero__overlay--route-replace.is-visible {
  transform: translateY(0) scale(1);
}

.milo-solution-hero--routes .milo-solution-hero__overlay--route-replace img {
  width: 100%;
  border-radius: 16px;
}

@media (max-width: 1240px) {
  .milo-solution-hero--routes .milo-solution-hero__inner {
    grid-template-columns: minmax(430px, 0.92fr) minmax(520px, 1.08fr);
  }

  .milo-solution-hero--routes .milo-solution-hero__title {
    font-size: clamp(46px, 4.45vw, 62px);
  }

  .milo-solution-hero--routes .milo-solution-hero__route-copy {
    font-size: 16px;
  }

  .milo-solution-hero--routes .milo-solution-hero__main-image,
  .milo-solution-hero--routes .milo-solution-hero__overlay--route-replace {
    width: 128%;
  }
}

@media (max-width: 1023px) {
  .milo-solution-hero--routes .milo-solution-hero__inner {
    grid-template-columns: 1fr;
  }

  .milo-solution-hero--routes .milo-solution-hero__visual-stage {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .milo-solution-hero--routes .milo-solution-hero__main-image,
  .milo-solution-hero--routes .milo-solution-hero__overlay--route-replace {
    inset: 0;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .milo-solution-hero--routes .milo-solution-hero__title {
    font-size: clamp(38px, 10.5vw, 52px);
  }

  .milo-solution-hero--routes .milo-solution-hero__route-copy {
    font-size: 15px;
  }

  .milo-solution-hero--routes .milo-solution-hero__features-block {
    margin-top: 28px;
  }

  .milo-solution-hero--routes .milo-solution-hero__visual-stage {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
  }

  .milo-solution-hero--routes .milo-solution-hero__main-image {
    position: absolute;
    inset: 0;
    width: 100%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlays {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay,
  .milo-solution-hero--routes .milo-solution-hero__overlay--route-replace {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    margin: 0;
  }
}

/* Route planning hero overlays — individual positioning
   Każdy asset ma własną klasę, więc możesz ręcznie zmieniać:
   top / right / bottom / left / width bez ruszania JS ani pozostałych overlayów.
   ========================================================= */

/* Główna mapa / widok bazowy */
.milo-solution-hero--routes .milo-solution-hero__overlay--route-main {
  inset: 3% auto auto -2%;
  width: 138%;
}

/* Optymalizacja tras */
.milo-solution-hero--routes .milo-solution-hero__overlay--route-optimization {
  top: 4%;
  left: 2%;
  right: auto;
  bottom: auto;
  width: 58%;
}

/* Aplikacja kierowcy */
.milo-solution-hero--routes .milo-solution-hero__overlay--driver-app {
  top: 8%;
  right: 5%;
  left: auto;
  bottom: auto;
  width: 25%;
}

/* Punkty i kolejność dostaw */
.milo-solution-hero--routes .milo-solution-hero__overlay--route-addresses {
  top: 12%;
  left: 4%;
  right: auto;
  bottom: auto;
  width: 43%;
}

/* Czas dojazdu i okna czasowe */
.milo-solution-hero--routes .milo-solution-hero__overlay--time-window {
  top: 7%;
  right: 3%;
  left: auto;
  bottom: auto;
  width: 47%;
}

/* Waga, kubatura i ładunek */
.milo-solution-hero--routes .milo-solution-hero__overlay--route-load {
  bottom: 6%;
  left: 5%;
  top: auto;
  right: auto;
  width: 52%;
}

/* Szczegóły zamówienia na trasie */
.milo-solution-hero--routes .milo-solution-hero__overlay--route-order-detail {
  top: 10%;
  right: 5%;
  left: auto;
  bottom: auto;
  width: 31%;
}

/* Dowód dostawy */
.milo-solution-hero--routes .milo-solution-hero__overlay--delivery-proof {
  bottom: 5%;
  right: 4%;
  top: auto;
  left: auto;
  width: 35%;
}

/* SMS / potwierdzenie terminu przez klienta */
.milo-solution-hero--routes .milo-solution-hero__overlay--customer-sms {
  top: 8%;
  left: 5%;
  right: auto;
  bottom: auto;
  width: 54%;
}

/* Różne typy samochodów */
.milo-solution-hero--routes .milo-solution-hero__overlay--car-types {
  bottom: 7%;
  right: 4%;
  top: auto;
  left: auto;
  width: 49%;
}

/* Tablet — nadal osobne pozycjonowanie każdego assetu */
@media (max-width: 1023px) {
  .milo-solution-hero--routes .milo-solution-hero__overlay--route-main {
    inset: 0;
    width: 100%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--route-optimization {
    top: 4%;
    left: 3%;
    width: 64%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--driver-app {
    top: 7%;
    right: 5%;
    width: 30%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--route-addresses {
    top: 8%;
    left: 4%;
    width: 50%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--time-window {
    top: 6%;
    right: 4%;
    width: 52%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--route-load {
    bottom: 5%;
    left: 4%;
    width: 58%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--route-order-detail {
    top: 8%;
    right: 5%;
    width: 36%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--delivery-proof {
    bottom: 5%;
    right: 4%;
    width: 40%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--customer-sms {
    top: 7%;
    left: 4%;
    width: 60%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--car-types {
    bottom: 6%;
    right: 4%;
    width: 54%;
  }
}

/* Mobile — osobne reguły zostają dostępne do ręcznej edycji.
   Pozycje są bezpieczne: aktywny overlay mieści się wewnątrz visual-stage. */
@media (max-width: 700px) {
  .milo-solution-hero--routes .milo-solution-hero__overlay--route-main {
    inset: 0;
    width: 100%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--route-optimization {
    top: 4%;
    left: 4%;
    width: 76%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--driver-app {
    top: 5%;
    right: 6%;
    width: 38%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--route-addresses {
    top: 6%;
    left: 4%;
    width: 64%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--time-window {
    top: 5%;
    right: 4%;
    width: 68%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--route-load {
    bottom: 5%;
    left: 4%;
    width: 72%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--route-order-detail {
    top: 6%;
    right: 5%;
    width: 48%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--delivery-proof {
    bottom: 5%;
    right: 4%;
    width: 52%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--customer-sms {
    top: 5%;
    left: 4%;
    width: 76%;
  }

  .milo-solution-hero--routes .milo-solution-hero__overlay--car-types {
    bottom: 5%;
    right: 4%;
    width: 70%;
  }
}

/* =========================================================
   ROUTE PLANNING — CONTENT SECTIONS BELOW HERO
   Scoped to .route-content so other solution pages remain unchanged.
   ========================================================= */
.route-content {
  --route-ink: #080a12;
  --route-muted: #7d8089;
  --route-line: rgba(14, 18, 37, 0.11);
  --route-grid: rgba(83, 91, 133, 0.045);
  background:
    linear-gradient(to right, var(--route-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--route-grid) 1px, transparent 1px),
    #fff;
  background-size: 136px 136px;
  color: var(--route-ink);
}

.route-section,
.route-proof,
.route-metrics {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
}

.route-section__inner,
.route-proof__inner,
.route-metrics__inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(84px, 7vw, 124px) 0;
  position: relative;
}

.route-section__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(64px, 7vw, 112px);
  align-items: center;
}

.route-section--reverse .route-section__inner--split {
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
}

.route-section__copy,
.route-section__wide-copy,
.route-section__closing-copy {
  min-width: 0;
}

.route-section__wide-copy {
  max-width: 980px;
}

.route-section__closing-copy {
  max-width: 1040px;
}

.route-section__title,
.route-proof__title,
.route-metrics__title {
  margin: 0;
  color: var(--route-ink);
  font-size: clamp(40px, 3.25vw, 54px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.042em;
  text-wrap: auto;
  max-width: 800px;
}

.route-section__lead,
.route-proof__lead,
.route-metrics__lead {
  max-width: 840px;
  margin: 30px 0 0;
  color: var(--route-muted);
  font-size: clamp(21px, 1.55vw, 27px);
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.route-section__body {
  max-width: 700px;
  margin-top: 54px;
  margin-bottom: 54px;
  color: #42444c;
  font-size: 16px;
  line-height: 1.58;
}

.route-section__body--wide {
  max-width: 900px;
}

.route-section__body p {
  margin: 0 0 18px;
}

.route-section__body p:last-child {
  margin-bottom: 0;
}

.route-section__body strong {
  color: #181a22;
  font-weight: 700;
}

.route-placeholder {
  position: relative;
  min-width: 0;
  min-height: clamp(360px, 34vw, 560px);
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(86, 95, 137, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(circle at 28% 28%, rgba(65, 146, 255, 0.13), transparent 28%),
    radial-gradient(circle at 76% 70%, rgba(233, 75, 190, 0.1), transparent 25%),
    #f6f7fa;
  color: #8b8f99;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.route-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(89, 99, 145, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(89, 99, 145, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

.route-placeholder>* {
  position: relative;
  z-index: 1;
}

.route-placeholder--optimization,
.route-placeholder--conditions,
.route-placeholder--comparison {
  background:
    radial-gradient(circle at 72% 28%, rgba(119, 93, 255, 0.14), transparent 30%),
    #f4f5f8;
}

.route-placeholder--live img,
.route-placeholder--map img,
.route-placeholder--optimization img,
.route-placeholder--conditions img,
.route-placeholder--comparison img {
  display: block;
  max-height: 700px;
  width: 100%;
}

.route-placeholder--wide {
  min-height: clamp(420px, 42vw, 650px);
  margin-top: 54px;
}

.route-placeholder--phone {
  width: min(78%, 520px);
  min-height: clamp(520px, 48vw, 720px);
  justify-self: center;
  border-radius: 44px;
  background: linear-gradient(145deg, #f8f8fa 0%, #eef1f8 100%);
}

.route-placeholder--live {
  background:
    radial-gradient(circle at 58% 50%, rgba(41, 142, 255, 0.16), transparent 30%),
    #f5f7fb;
  min-height: clamp(360px, 24vw, 400px);
}

.route-placeholder--planner__visual {
  position: relative;
  overflow: visible;
}

.route-placeholder--planner-planner {
  max-height: 650px;
  display: flex;
  align-items: center;
}

.route-placeholder--planner__visual .route-placeholder--wide {
  margin-top: 0;
}

.route-placeholder--planner-planner img {
  display: block;
  width: 100%;
  height: auto;
}

.route-placeholder--planner-planner+img {
  display: block;
  height: 680px;
  position: absolute;
  top: calc(50% + 5px);
  transform: translateY(-50%);
  right: -20px;
  z-index: 1;
}

.route-section__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.route-section__chips li {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 3px;
  border: 1px solid #2b8efa;
  border-radius: 7px;
  color: #2b8efa;
  background: #fff;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .055em;
  white-space: nowrap;
  text-transform: uppercase;
}

.route-proof {
  overflow: hidden;
  background: #f7f8fb;
}

.route-proof__header {
  max-width: 980px;
}

.route-proof__daily {
  max-width: 1320px;
  margin: 64px 0 0;
  color: #0b0e1c;
  font-size: clamp(34px, 3.2vw, 54px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.route-proof__distance {
  max-width: 1040px;
  margin: 36px 0 0;
  color: #606470;
  font-size: clamp(24px, 2.1vw, 36px);
  line-height: 1.3;
  font-weight: 500;
}

.route-proof__distance span {
  font-weight: 700;
  letter-spacing: -0.04em;
}

.route-proof__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid var(--route-line);
  border-bottom: 1px solid var(--route-line);
}

.route-proof__card {
  min-height: 270px;
  padding: 34px 34px 30px;
  border-right: 1px solid var(--route-line);
}

.route-proof__card:first-child {
  padding-left: 0;
}

.route-proof__card:last-child {
  border-right: 0;
  padding-right: 0;
}

.route-proof__value {
  margin: 0;
  color: #2b8efa;
  font-size: clamp(42px, 3.3vw, 58px);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.route-proof__card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.route-proof__card>p:last-child {
  margin: auto 0 0;
  padding-top: 52px;
  color: #646872;
  font-size: 15px;
  line-height: 1.5;
}

.route-metrics__header {
  max-width: 1100px;
  padding-bottom: 44px;
}

.route-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--route-line);
  border-top: 1px solid var(--route-line);
}

.route-metrics__item {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 28px;
  border-right: 1px solid var(--route-line);
}

.route-metrics__item:first-child {
  padding-left: 0;
}

.route-metrics__item:last-child {
  padding-right: 0;
  border-right: 0;
}

.route-metrics__value {
  margin: 0;
  color: #050505;
  font-size: clamp(44px, 3vw, 54px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.05em;
}

.route-metrics__item h3 {
  margin: 20px 0 0;
  color: #2b8efa;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  text-transform: uppercase;
}

.route-metrics__item>p:last-child {
  margin: auto 0 0;
  color: #555963;
  font-size: 15px;
  line-height: 1.5;
}

.route-proof-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.route-proof-feature {
  padding: 24px;
  border: 1px solid var(--route-line);
  border-radius: 20px;
  background: #fff;
}

.route-proof-feature__icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #f2f4ff;
  color: #6d63f5;
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
}

.route-proof-feature h3 {
  margin: 16px 0 0;
  font-size: 20px;
}

.route-proof-feature__placeholder {
  margin-top: 20px;
  border-radius: 14px;
  background: #f2f3f5;
  overflow: hidden;
}

.route-proof-feature__placeholder img {
  display: block;
  width: 100%;
}

.route-message__visuals {
  position: relative;
  overflow: visible;
}

.route-message-placeholder {
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--route-line);
  border-radius: 26px;
  background: linear-gradient(145deg, #f7f7fb, #eef5ff);
}

.route-message-placeholder img {
  display: block;
  height: 600px;
  width: auto;
  position: absolute;
  right: -15%;
}

.route-message-placeholder+img {
  display: block;
  height: 560px;
  position: absolute;
  top: calc(50% + 5px);
  transform: translateY(-50%);
  right: -100px;
  z-index: 1;
}

.route-section__questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0;
}

.route-section__questions span {
  padding: 9px 12px;
  border-radius: 999px;
  background: #f4f5f7;
  color: #666a75;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
}


.route-section--closing {
  background: #fafafe;
}

.route-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 58px;
  padding: 22px;
  border: 1px solid var(--route-line);
  border-radius: 20px;
  background: #fff;
}

.route-pipeline span {
  min-width: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f6f7fa;
  color: #30333c;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  text-align: center;
}

.route-pipeline i {
  color: #8f94a0;
  font-style: normal;
}

/* Reveal behavior follows the same subtle fade/slide language as other solution sections. */
.route-content [data-route-reveal],
.route-content [data-route-reveal-item] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.route-content [data-route-reveal].is-visible,
.route-content [data-route-reveal-item].is-visible {
  opacity: 1;
  transform: none;
}

.route-content [data-route-reveal-item]:nth-child(2) {
  transition-delay: 80ms;
}

.route-content [data-route-reveal-item]:nth-child(3) {
  transition-delay: 160ms;
}

.route-content [data-route-reveal-item]:nth-child(4) {
  transition-delay: 240ms;
}

@media (min-width: 1101px) and (max-width: 1360px) {
  .route-message-placeholder img {
    right: -35%;
  }
}

@media (max-width: 1100px) {

  .route-section,
  .route-proof,
  .route-metrics {
    overflow: hidden;
  }

  .route-section__inner--split,
  .route-section--reverse .route-section__inner--split {
    gap: 48px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .route-section--confirmation .route-section__inner--split {
    grid-template-columns: 1fr;
  }

  .route-section--confirmation .route-section__inner--split .route-message__visuals {
    order: 2;
  }

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

  .route-proof__card:nth-child(2) {
    border-right: 0;
  }

  .route-proof__card:nth-child(3) {
    border-top: 1px solid var(--route-line);
    border-right: 0;
    padding-left: 0;
  }

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

  .route-metrics__item:nth-child(2) {
    border-right: 0;
  }

  .route-metrics__item:nth-child(n+3) {
    border-top: 1px solid var(--route-line);
  }

  .route-metrics__item:nth-child(3) {
    padding-left: 0;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {

  .route-placeholder--live,
  .route-placeholder--map,
  .route-placeholder--optimization,
  .route-placeholder--conditions,
  .route-placeholder--comparison {
    overflow: visible;
  }

  .route-placeholder--live img,
  .route-placeholder--map img,
  .route-placeholder--optimization img,
  .route-placeholder--conditions img,
  .route-placeholder--comparison img {
    position: absolute;
    max-height: initial;
    width: 180%;
    border: 1px solid rgba(86, 95, 137, 0.12);
    border-radius: 26px;
  }

  .route-placeholder--live img,
  .route-placeholder--conditions img,
  .route-placeholder--map img {
    left: 0;
  }

  .route-placeholder--optimization img {
    right: 0;
  }

}

@media (max-width: 860px) {

  .route-section__inner,
  .route-proof__inner,
  .route-metrics__inner {
    width: min(100% - 40px, 720px);
    padding: 78px 0 88px;
  }

  .route-section__inner--split,
  .route-section--reverse .route-section__inner--split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .route-section--reverse .route-placeholder,
  .route-section--reverse .route-message-placeholder {
    order: 2;
  }

  .route-placeholder--planner-planner+img {
    height: 460px;
  }

  .route-section--reverse .route-section__copy {
    order: 1;
  }

  .route-section__title,
  .route-proof__title,
  .route-metrics__title {
    font-size: clamp(38px, 7vw, 48px);
  }

  .route-section__lead,
  .route-proof__lead,
  .route-metrics__lead {
    font-size: 21px;
  }

  .route-section__body {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .route-placeholder {
    min-height: 400px;
  }

  .route-placeholder--phone {
    width: min(70%, 430px);
    min-height: 600px;
  }

  .route-proof-features {
    grid-template-columns: 1fr;
  }

  .route-pipeline {
    flex-wrap: wrap;
    justify-content: center;
  }

  .route-pipeline i {
    display: none;
  }
}

@media (max-width: 700px) {

  .route-section__inner,
  .route-proof__inner,
  .route-metrics__inner {
    width: calc(100% - 28px);
    padding: 62px 0 70px;
  }

  .route-section__title,
  .route-proof__title,
  .route-metrics__title {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.07;
  }

  .route-section__lead,
  .route-proof__lead,
  .route-metrics__lead {
    margin-top: 22px;
    font-size: 19px;
  }

  .route-section__body {
    margin-top: 34px;
    margin-bottom: 34px;
    font-size: 16px;
  }

  .route-placeholder,
  .route-placeholder--wide,
  .route-placeholder--phone,
  .route-message-placeholder {
    width: 100%;
    min-height: 330px;
    border-radius: 20px;
  }

  .route-message-placeholder img {
    height: 450px;
  }

  .route-message-placeholder+img {
    display: block;
    height: 349px;
    right: -16px;
  }

  .route-placeholder--phone {
    min-height: 520px;
  }

  .route-proof__daily {
    margin-top: 42px;
    font-size: 32px;
  }

  .route-proof__distance {
    margin-top: 28px;
    font-size: 22px;
  }

  .route-proof__cards,
  .route-metrics__grid {
    grid-template-columns: 1fr;
  }

  .route-proof__card,
  .route-proof__card:first-child,
  .route-proof__card:last-child,
  .route-proof__card:nth-child(3),
  .route-metrics__item,
  .route-metrics__item:first-child,
  .route-metrics__item:last-child,
  .route-metrics__item:nth-child(3) {
    min-height: 0;
    padding: 28px 0 30px;
    border-top: 1px solid var(--route-line);
    border-right: 0;
  }

  .route-proof__card:first-child,
  .route-metrics__item:first-child {
    border-top: 0;
  }

  .route-proof__card>p:last-child,
  .route-metrics__item>p:last-child {
    margin-top: 36px;
    padding-top: 0;
  }

  .route-proof-features {
    gap: 12px;
  }

  .route-section__chips {
    gap: 7px;
  }

  .route-pipeline {
    align-items: stretch;
    padding: 14px;
  }

  .route-pipeline span {
    flex: 1 1 44%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .route-content [data-route-reveal],
  .route-content [data-route-reveal-item] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =========================================================
   ROUTE PLANNING — PLAN VS ACTUAL ROUTE
   Controls and legend are scoped to the comparison visual only.
   ========================================================= */
.route-compare {
  position: relative;
}

.route-compare__image {
  display: block;
  width: 100%;
  height: auto;
}

.route-compare__controls {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 4;
  display: grid;
  gap: 12px;
  max-width: min(440px, calc(100% - 40px));
  padding: 13px 14px;
  border: 1px solid rgba(21, 27, 48, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #313540;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.route-compare__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.route-compare__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.route-compare__legend-line {
  display: inline-block;
  flex: 0 0 34px;
  width: 34px;
  height: 0;
  border-top-width: 3px;
  border-top-color: #765cf5;
  border-top-style: solid;
  border-radius: 999px;
}

.route-compare__legend-line--real {
  border-top-color: #ee8153;
  border-top-style: dashed;
}

.route-compare__toggle {
  appearance: none;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #313540;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.route-compare__toggle-input {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 19px;
  border: 1px solid rgba(30, 35, 54, 0.16);
  border-radius: 999px;
  background: #d9dce3;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.route-compare__toggle-input i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.16);
  transition: transform 180ms ease;
}

.route-compare__toggle[aria-checked="true"] .route-compare__toggle-input {
  border-color: #765cf5;
  background: #765cf5;
}

.route-compare__toggle[aria-checked="true"] .route-compare__toggle-input i {
  transform: translateX(15px);
}

.route-compare__toggle:hover .route-compare__toggle-label {
  color: #171a24;
}

.route-compare__toggle:focus-visible {
  outline: 2px solid #2b8efa;
  outline-offset: 5px;
  border-radius: 6px;
}

.route-compare.is-showing-real-route .route-compare__controls {
  border-color: rgba(118, 92, 245, 0.2);
}

@media (max-width: 700px) {
  .route-compare__controls {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    gap: 9px;
    padding: 10px 11px;
    border-radius: 11px;
    font-size: 9px;
  }

  .route-compare__legend {
    gap: 6px 10px;
  }

  .route-compare__legend-item {
    white-space: normal;
  }

  .route-compare__legend-line {
    flex-basis: 28px;
    width: 28px;
  }

  .route-compare__toggle {
    align-items: flex-start;
  }

  .route-compare__toggle-label {
    max-width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .route-compare__toggle-input,
  .route-compare__toggle-input i {
    transition: none;
  }
}

/* =========================================================
   ROUTE PLANNING — DRIVER MOBILE APP
   Four real mobile screens on the route-planning grid.
   Scoped to this section only.
   ========================================================= */
.route-section--driver-app {
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(94, 101, 133, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(94, 101, 133, 0.12) 1px, transparent 1px),
    #fff;
  background-size: 132px 132px;
  background-position: center top;
}

.route-section--driver-app .route-section__inner--driver-app {
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(54px, 5vw, 92px);
  min-height: clamp(650px, 47vw, 790px);
}

.route-section--driver-app .route-section__copy--driver-app {
  position: relative;
  z-index: 2;
}

.route-section--driver-app .route-section__body {
  max-width: 800px;
}

.route-driver-phones {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 3%;
  width: 145%;
}

.route-driver-phones__item {
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.route-driver-phones__image {
  display: block;
  width: 150%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(21, 24, 39, 0.13));
}

/* Individual hooks for later manual fine-tuning. */
.route-driver-phones__item--route {
  transform: translateY(0);
}

.route-driver-phones__item--stops {
  transform: translateY(0);
}

.route-driver-phones__item--photos {
  transform: translateY(0);
}

.route-driver-phones__item--signature {
  transform: translateY(0);
}

@media (max-width: 1100px) {


  .route-driver-phones {
    gap: 4px;
  }

  .route-driver-phones__image {
    max-height: 540px;
  }
}

@media (min-width: 861px) and (max-width: 1480px) {
  .route-section--driver-app .route-section__inner--driver-app {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
  }

  .route-driver-phones {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    justify-self: center;
    gap: 48px
  }
}

@media (max-width: 860px) {
  .route-section--driver-app {
    background-size: 96px 96px;
  }

  .route-section--driver-app .route-section__inner--driver-app {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
  }

  .route-driver-phones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: min(100%, 760px);
    justify-self: center;
  }

  .route-driver-phones__image {
    max-height: 620px;
  }
}

@media (max-width: 620px) {
  .route-section--driver-app {
    background-size: 72px 72px;
  }

  .route-driver-phones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 2px;
    width: min(100%, 470px);
  }

  .route-driver-phones__image {
    max-height: 470px;
  }

  .route-driver-phones__item--stops,
  .route-driver-phones__item--signature {
    transform: translateY(18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-section--driver-app .route-driver-phones__item {
    transform: none;
  }
}

/* =========================================================
   MILO — PRODUCTION SOLUTION PAGE
   Scoped to production hero and .production-solution.
   ========================================================= */
.milo-solution-hero--production .milo-solution-hero__inner {
  align-items: flex-start;
}

.milo-solution-hero__production-copy {
  max-width: 650px;
  color: #6f7480;
  font-size: 16px;
  line-height: 1.55;
}

.milo-solution-hero__production-copy p {
  margin: 16px 0 0;
}

.milo-solution-hero__production-emphasis {
  color: #181b27;
  font-weight: 700;
}

/* Production chip colors */
.milo-solution-hero__chip--production-stages {
  --feature: #fc3cae;
  --feature-bg: #fff1f9;
}

.milo-solution-hero__chip--production-auto-plan {
  --feature: #536dfe;
  --feature-bg: #f1f3ff;
}

.milo-solution-hero__chip--production-daily-plan {
  --feature: #328dff;
  --feature-bg: #eff6ff;
}

.milo-solution-hero__chip--production-priorities {
  --feature: #ff8b22;
  --feature-bg: #fff7ee;
}

.milo-solution-hero__chip--production-workers-load {
  --feature: #18bda4;
  --feature-bg: #effbf8;
}

.milo-solution-hero__chip--production-deadlines {
  --feature: #8464ef;
  --feature-bg: #f5f1ff;
}

.milo-solution-hero__chip--production-materials {
  --feature: #f2a21b;
  --feature-bg: #fff8e9;
}

.milo-solution-hero__chip--production-suppliers {
  --feature: #20bfe5;
  --feature-bg: #effaff;
}

.milo-solution-hero__chip--production-subcontractors {
  --feature: #7c5ce5;
  --feature-bg: #f5f1ff;
}

.milo-production-hero__stage {
  min-height: 560px;
}

.milo-production-hero__base {
  position: absolute;
  inset: 9% 1% auto 2%;
  min-height: 440px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #e2e5ef;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff 0%, #f8f8fd 48%, #f5f0ff 100%);
  box-shadow: 0 24px 60px rgba(22, 27, 61, .09);
}

.milo-production-hero__toolbar {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #e7e8ef;
  color: #626775;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.milo-production-hero__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.milo-production-hero__columns span {
  padding: 13px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e8e9f1;
  color: #565b68;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.milo-production-hero__jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.milo-production-hero__jobs i {
  display: block;
  height: 66px;
  border: 1px solid #e5e7ef;
  border-radius: 12px;
  background: linear-gradient(90deg, #fff 0 18%, #eef3ff 18% 52%, #fff3da 52% 72%, #f8ecff 72%);
}

.milo-production-hero__summary {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.milo-production-hero__summary strong,
.milo-production-hero__summary span {
  padding: 9px 12px;
  border: 1px solid #e7e8ef;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  color: #606573;
}

.milo-production-hero__overlay-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px solid #e2e4ee;
  border-radius: 20px;
  background: rgba(255, 255, 255, .98);
}

.milo-production-hero__overlay-card strong {
  font-size: 22px;
  color: #111424;
}

.milo-production-hero__overlay-card>span:last-child {
  color: #969aa5;
  font-size: 13px;
}

.is-ready+.milo-production-hero__overlay-card {
  display: none;
}

.milo-production-hero__overlay-kicker {
  color: #6d7cff;
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Production hero overlays — individual positioning */
.milo-solution-hero--production .milo-solution-hero__overlay--production {
  width: 62%;
}

.milo-solution-hero--production .milo-solution-hero__overlay--production-auto-plan {
  bottom: -12%;
  left: -6%;
  width: 112%;
}

.milo-solution-hero--production .milo-solution-hero__overlay--production-stages {
  top: 34%;
  left: 0%;
  width: 104%;
}

.milo-solution-hero--production .milo-solution-hero__overlay--production-daily-plan {
  top: 18%;
  right: 2%;
}

.milo-solution-hero--production .milo-solution-hero__overlay--production-priorities {
  top: 8%;
  left: 18%;
}

.milo-solution-hero--production .milo-solution-hero__overlay--production-workers-load {
  bottom: 8%;
  right: 4%;
}

.milo-solution-hero--production .milo-solution-hero__overlay--production-deadlines {
  bottom: -12%;
  left: 10%;
  width: 120%;
}

.milo-solution-hero--production .milo-solution-hero__overlay--production-materials {
  top: 20%;
  left: 8%;
  width: 90%;
}

.milo-solution-hero--production .milo-solution-hero__overlay--production-suppliers {
  top: 12%;
  right: 4%;
  width: 70%;
}

.milo-solution-hero--production .milo-solution-hero__overlay--production-subcontractors {
  bottom: 10%;
  right: 8%;
}

.production-solution {
  --production-grid: rgba(83, 91, 133, .055);
  background: #fff;
  color: #171a27;
}

.production-solution__section {
  position: relative;
  padding: clamp(92px, 9vw, 150px) 0;
  overflow: hidden;
}

.production-solution__section:nth-child(odd) {
  background: linear-gradient(to right, var(--production-grid) 1px, transparent 1px), linear-gradient(to bottom, var(--production-grid) 1px, transparent 1px), #fff;
  background-size: 136px 136px;
  overflow: hidden;
}

.production-solution__inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
}

.production-solution__inner--split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(62px, 7vw, 110px);
  align-items: center;
}

.production-solution__section--reverse .production-solution__inner--split> :first-child {
  order: 1;
}

.production-solution__copy {
  max-width: 620px;
}

.production-solution__title {
  margin: 0;
  font-size: clamp(40px, 4.15vw, 54px);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 600;
  color: #090c1d;
}

.production-solution__lead {
  margin: 22px 0 0;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.25;
  font-weight: 600;
}

.production-solution__body {
  margin-top: 30px;
  color: #555b67;
  font-size: 20px;
  line-height: 1.62;
}

.production-solution__body p {
  margin: 0 0 16px;
}

.production-solution__body strong {
  color: #171a27;
  font-weight: 700;
}

.production-solution__placeholder {
  position: relative;
  min-height: clamp(360px, 36vw, 520px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e2e5ed;
  border-radius: 28px;
  background: linear-gradient(145deg, #fbfcff, #f4f5f9 62%, #f4eeff);
  color: #888d99;
  box-shadow: 0 18px 48px rgba(28, 33, 64, .055);
}

.production-solution__placeholder span {
  position: relative;
  z-index: 1;
  padding: 9px 13px;
  border: 1px solid #dfe2eb;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
}

.production-solution__placeholder--pipeline {
  min-height: auto;
  background: none;
}

.production-solution__placeholder--pipeline img {
  display: block;
    width: auto;
    height: 100%;
    max-width: 1200px;
}

.production__visuals {
  position: relative;
  overflow: visible;
}

.production-stage-settings,
.production-flexible {
  position: absolute;
  width: 380px;
}

.production-stage-settings {
  right: -25px;
  top: 42%;
}

.production-flexible {
  top: 77%;
  left: -77px;
}

.production-solution__placeholder--materials,
.production-solution__placeholder--calendar,
.production-solution__placeholder--day {
  min-height: auto;
  place-items: baseline;
  background: none;
}
.production-solution__placeholder--materials {
  overflow: visible;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.production-solution__placeholder--calendar img,
.production-solution__placeholder--day img {
  display: block;
  width: 140%;
}

.materials-main {
  display: block;
  width: 120%;
  border-radius: 26px;
}

.materials-blocker {
  display: block;
  position: absolute;
    left: 70%;
    bottom: -100px;
    width: 440px;
}

.production-solution__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.production-solution__specs li {
  padding: 8px 11px;
  border: 1px solid #dfe2eb;
  border-radius: 999px;
  background: #fff;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
}

.production-solution__wide-header {
  max-width: 920px;
  margin: 0 auto 58px;
  text-align: center;
}

.production-solution__planning-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 70px;
  align-items: center;
}

.production-solution__complexity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
  border-top: 1px solid #e0e3ea;
  border-left: 1px solid #e0e3ea;
}

.production-solution__complexity span {
  padding: 24px;
  border-right: 1px solid #e0e3ea;
  border-bottom: 1px solid #e0e3ea;
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
}

.production-solution__closing {
  padding: clamp(110px, 10vw, 170px) 0;
  background: #fbfbfd;
}

.production-solution__closing-title {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.production-solution__questions-intro {
  margin: 64px 0 22px;
  text-align: center;
  color: #7e838f;
  font-size: 18px;
}

.production-solution__questions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid #dfe2e9;
  border-left: 1px solid #dfe2e9;
}

.production-solution__questions span {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 1px solid #dfe2e9;
  border-bottom: 1px solid #dfe2e9;
  text-align: center;
  font-weight: 700;
}

.production-solution__closing-emphasis {
  max-width: 850px;
  margin: 60px auto 0;
  text-align: center;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.3;
}

.production-solution__final {
  max-width: 760px;
  margin: 72px auto 0;
  padding-top: 40px;
  border-top: 1px solid #dfe2e9;
  text-align: center;
  font-size: 20px;
  line-height: 1.5;
}

.production-solution__final>strong {
  font-size: clamp(28px, 3vw, 42px);
}

.production-solution [data-production-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 540ms ease, transform 540ms ease;
}

.production-solution [data-production-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1800px) {
  .materials-blocker {
  display: block;
  position: relative;
    left: 0;
    bottom: 0;
}
}


@media (min-width:1024px) and (max-width:1365px) {

  .production-stage-settings,
  .production-flexible {
    width: 280px;
  }

  .production-stage-settings {
    right: -10px;
    top: 52%;
  }

  .production-flexible {
    top: 77%;
    left: -50px;
  }
}

@media (max-width:1023px) {
  .milo-production-hero__stage {
    min-height: 500px;
  }

  .milo-production-hero__base {
    inset: 4% 0 auto;
    min-height: 420px;
  }

  .milo-solution-hero--production .milo-solution-hero__overlay--production {
    width: 64%;
  }

  .production-solution__inner--split,
  .production-solution__planning-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .production-solution__section--reverse .production-solution__inner--split> :first-child {
    order: 0;
  }

  .production-solution__copy {
    max-width: 760px;
  }

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

  .production-stage-settings,
  .production-flexible {
    width: 300px;
  }

  .production-stage-settings {
    right: -20px;
    top: 42%;
  }

  .production-flexible {
    top: 67%;
    left: -55px;
  }
}

@media (max-width:700px) {
  .milo-solution-hero--production .milo-production-hero__stage {
    min-height: 420px;
  }

  .milo-production-hero__base {
    position: relative;
    inset: auto;
    min-height: 360px;
    padding: 18px;
    border-radius: 20px;
  }

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

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

  .milo-solution-hero--production .milo-solution-hero__overlays {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
  }

  .milo-solution-hero--production .milo-solution-hero__overlay--production {
    position: absolute;
    width: 88%;
    left: 6%;
    right: auto;
    top: 18%;
    bottom: auto;
  }

  .production-solution__section {
    padding: 76px 0;
  }

  .production-solution__inner {
    width: min(100% - 28px, 620px);
  }

  .production-solution__title {
    font-size: clamp(34px, 10vw, 46px);
  }

  .production-solution__body {
    font-size: 16px;
  }

  .production-solution__placeholder {
    min-height: 300px;
    border-radius: 20px;
  }

  .production-solution__complexity {
    grid-template-columns: 1fr 1fr;
  }

  .production-solution__questions {
    grid-template-columns: 1fr 1fr;
  }
      .materials-blocker {
    width: 360px;
}
}

@media (prefers-reduced-motion: reduce) {
  .production-solution [data-production-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Production related solutions — end-of-page navigation */
.production-related {
  padding: clamp(96px, 9vw, 144px) 0 clamp(84px, 8vw, 124px);
  background: #fff;
}

.production-related__inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
}

.production-related__eyebrow {
  margin: 0 0 10px;
  color: #fb10d4;
  ;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: 'Roboto Mono', monospace;
}

.production-related__title {
  max-width: 780px;
  margin: 0;
  color: #0a0d19;
  font-size: clamp(42px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.production-related__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.production-related__card {
  position: relative;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 22px 24px;
  border: 1px solid #e3e6ed;
  border-radius: 18px;
  background: #fff;
  color: #171a24;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.production-related__card:hover {
  transform: translateY(-3px);
  border-color: #d7dae4;
  box-shadow: 0 16px 36px rgba(18, 24, 48, .07);
}

.production-related__card:focus-visible,
.production-related__links a:focus-visible {
  outline: 3px solid rgba(73, 129, 255, .28);
  outline-offset: 3px;
}

.production-related__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
}

.production-related__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.production-related__icon--violet {
  color: #6251c8;
  background: #f2efff;
}

.production-related__icon--green {
  color: #388b58;
  background: #eef9f0;
}

.production-related__icon--blue {
  color: #2872af;
  background: #edf7ff;
}

.production-related__icon--sand {
  color: #77603a;
  background: #fff6e9;
}

.production-related__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #107afb;
  font-size: 27px;
  line-height: 1;
}

.production-related__card strong {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.3;
}

.production-related__card>span:last-child {
  margin-top: 8px;
  color: #6f747e;
  font-size: 14px;
  line-height: 1.55;
}

.production-related__more {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #e5e7ec;
}

.production-related__more-title {
  margin: 0 0 10px;
  color: #20232d;
  font-size: 13px;
  font-weight: 600;
}

.production-related__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
}

.production-related__links a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  border-bottom: 1px solid #e9ebef;
  color: #252832;
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms ease, padding-left 160ms ease;
}

.production-related__links a:hover {
  color: #11141e;
  padding-left: 4px;
}

.production-related__mini-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
}

.production-related__mini-icon--violet {
  color: #6656cf;
  background: #f3f0ff;
}

.production-related__mini-icon--green {
  color: #41855b;
  background: #eef8f0;
}

.production-related__mini-icon--blue {
  color: #2c72ad;
  background: #eef7ff;
}

.production-related__mini-icon--sand {
  color: #705c3d;
  background: #fff5e8;
}

.production-related__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  padding: 12px 14px;
  border: 1px solid #e5e7ed;
  border-radius: 11px;
  color: #747983;
  font-size: 12px;
}

.production-related__summary-icon {
  color: #63c46b;
  font-size: 17px;
}

.production-related__summary strong {
  color: #4fad5d;
  font-weight: 750;
}

@media (max-width: 900px) {
  .production-related__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .production-related__links {
    grid-template-columns: 1fr;
  }

  .production-related__summary {
    grid-template-columns: auto 1fr;
  }

  .production-related__summary strong {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .production-related {
    padding: 76px 0 72px;
  }

  .production-related__inner {
    width: min(100% - 28px, 620px);
  }

  .production-related__cards {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .production-related__card {
    min-height: 210px;
  }

  .production-related__summary {
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {

  .production-related__card,
  .production-related__links a {
    transition: none;
  }

  .production-related__card:hover {
    transform: none;
  }
}

/* =========================================================
   PRODUCTION — MOBILE WORKER VIEWS
   "Nie produkujesz Narożnika Bjorn"
   Layout based on Route Planning driver mobile section.
   ========================================================= */

.production-solution__section--product-mobile {
  overflow: hidden;

  background:
    linear-gradient(
      to right,
      rgba(94, 101, 133, 0.10) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgba(94, 101, 133, 0.10) 1px,
      transparent 1px
    ),
    #fff;

  background-size: 132px 132px;
  background-position: center top;
}


/* Layout: copy left / four phones right */
.production-solution__section--product-mobile
.production-solution__inner--product-mobile {
  grid-template-columns:
    minmax(0, 0.42fr)
    minmax(0, 0.58fr);
  gap: clamp(54px, 5vw, 92px);
  min-height: clamp(650px, 47vw, 790px);
  align-items: center;
}


.production-solution__copy--product-mobile {
  position: relative;
  z-index: 2;

  max-width: 640px;
}


.production-solution__section--product-mobile
.production-solution__body {
  max-width: 720px;
}


/* =========================================================
   Four mobile screens
   ========================================================= */

.production-mobile-screens {
  position: relative;
  z-index: 1;

  min-width: 0;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  align-items: center;

  gap: 3%;

  /*
   * Jak przy driver-app:
   * telefony mogą wyjść trochę szerzej niż prawa kolumna.
   */
  width: 145%;
}


.production-mobile-screens__item {
  min-width: 0;

  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}


.production-mobile-screens__image {
  display: block;

  width: 150%;
  max-width: none;
  height: auto;

  max-height: 680px;

  object-fit: contain;

  /*
   * Jeżeli PNG ma już swój własny cień,
   * możesz tę linię później po prostu usunąć.
   */
  filter:
    drop-shadow(
      0 14px 22px rgba(21, 24, 39, 0.13)
    );
}


/*
 * Osobne hooki do późniejszego ręcznego ustawiania
 * każdego telefonu — analogicznie do driver-app.
 */

.production-mobile-screens__item--overview {
  transform: translateY(0);
}

.production-mobile-screens__item--details {
  transform: translateY(0);
}

.production-mobile-screens__item--task {
  transform: translateY(0);
}

.production-mobile-screens__item--completion {
  transform: translateY(0);
}


/* =========================================================
   Tablet / smaller desktop
   ========================================================= */

@media (min-width: 1481px) {
  .production-solution__inner--product-mobile-tasks .production-mobile-screens {
  grid-template-columns:
      repeat(5, minmax(0, 1fr));
}
.production-mobile-screens__item--completion {
  display: none;
 }
}

@media (max-width: 1100px) {

  .production-mobile-screens {
    gap: 4px;
  }

  .production-mobile-screens__image {
    max-height: 540px;
  }
 
}


/*
 * Na średnich ekranach nadal pokazujemy wszystkie cztery
 * telefony w jednym rzędzie, ale sekcja przechodzi
 * na układ copy → phones.
 */

@media (min-width: 861px) and (max-width: 1480px) {

  .production-solution__section--product-mobile
  .production-solution__inner--product-mobile {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
  }

  .production-solution__copy--product-mobile {
    max-width: 760px;
  }

  .production-mobile-screens {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
    width: 100%;
    justify-self: center;
    gap: 48px;
  }
.production-solution__inner--product-mobile-tasks .production-mobile-screens {
  grid-template-columns:
      repeat(3, minmax(0, 1fr));
}
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 860px) {

  .production-solution__section--product-mobile {
    background-size: 96px 96px;
  }

  .production-solution__section--product-mobile
  .production-solution__inner--product-mobile {
    grid-template-columns: 1fr;

    gap: 36px;

    min-height: 0;
  }

  .production-mobile-screens {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 0;

    width: min(100%, 760px);

    justify-self: center;
  }

  .production-mobile-screens__image {
    width: 100%;
    max-width: 100%;

    max-height: 620px;
  }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 620px) {

  .production-solution__section--product-mobile {
    background-size: 72px 72px;
  }

  .production-mobile-screens {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 6px 2px;

    width: min(100%, 470px);
  }

  .production-mobile-screens__image {
    max-height: 470px;
  }

  /*
   * Małe przesunięcie naprzemiennych ekranów daje
   * mniej "katalogowy" układ 2x2.
   */

  .production-mobile-screens__item--details,
  .production-mobile-screens__item--completion {
    transform: translateY(18px);
  }

}


/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .production-solution__section--product-mobile
  .production-mobile-screens__item {
    transform: none;
  }

}

\n\n

/* =========================================================
   MILO — WAREHOUSE SOLUTION PAGE
   ========================================================= */
.milo-solution-hero--warehouse .warehouse-hero__stage {
  min-height: 560px;
}

.warehouse-hero__base {
  position: absolute;
  inset: 5%;
  border: 1px solid #e3e7ef;
  border-radius: 28px;
  background: linear-gradient(180deg, #fbfcff, #f5f7fb);
  overflow: hidden;
}

.warehouse-hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(70, 83, 120, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(70, 83, 120, .07) 1px, transparent 1px);
  background-size: 42px 42px;
}

.warehouse-hero__rack {
  position: absolute;
  border: 1px solid #d7ddea;
  background: rgba(255, 255, 255, .88);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(25, 35, 60, .06);
}

.warehouse-hero__rack--a {
  left: 14%;
  top: 24%;
  width: 25%;
  height: 46%
}

.warehouse-hero__rack--b {
  left: 43%;
  top: 16%;
  width: 18%;
  height: 58%
}

.warehouse-hero__rack--c {
  right: 12%;
  top: 30%;
  width: 22%;
  height: 38%
}

.warehouse-hero__badge {
  position: absolute;
  left: 22px;
  bottom: 20px;
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff;
  color: #687084;
  font: 700 11px/1 'Roboto Mono', monospace;
  letter-spacing: .06em;
  border: 1px solid #e4e7ee
}

.milo-solution-hero--warehouse .milo-solution-hero__overlays {
  position: absolute;
  inset: 0
}

.milo-solution-hero--warehouse .milo-solution-hero__overlay--warehouse {
  position: absolute;
  width: 48%;
  left: 26%;
  top: 24%
}

.warehouse-hero__overlay-card {
  padding: 24px;
  border: 1px solid #dfe4ed;
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 45px rgba(18, 28, 55, .10);
  display: grid;
  gap: 8px
}

.warehouse-hero__overlay-card>span {
  font: 700 10px/1.2 'Roboto Mono', monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #397df3
}

.warehouse-hero__overlay-card strong {
  font-size: 24px
}

.warehouse-hero__overlay-card small {
  color: #7b8190
}

/* Warehouse hero overlays — individual positioning */
.milo-solution-hero--warehouse .milo-solution-hero__overlay--warehouse-location {
  top: 10%;
  left: 8%;
  width: 46%
}

.milo-solution-hero--warehouse .milo-solution-hero__overlay--warehouse-unloading {
  top: 16%;
  right: 5%;
  left: auto;
  width: 43%
}

.milo-solution-hero--warehouse .milo-solution-hero__overlay--warehouse-reservations {
  bottom: 10%;
  left: 7%;
  top: auto;
  width: 45%
}

.milo-solution-hero--warehouse .milo-solution-hero__overlay--warehouse-picking {
  top: 20%;
  left: 28%;
  width: 44%
}

.milo-solution-hero--warehouse .milo-solution-hero__overlay--warehouse-loading {
  bottom: 8%;
  right: 5%;
  left: auto;
  top: auto;
  width: 44%
}

.milo-solution-hero--warehouse .milo-solution-hero__overlay--warehouse-transport {
  top: 10%;
  right: 7%;
  left: auto;
  width: 46%
}

.milo-solution-hero--warehouse .milo-solution-hero__overlay--warehouse-returns {
  bottom: 12%;
  left: 10%;
  top: auto;
  width: 40%
}

.milo-solution-hero--warehouse .milo-solution-hero__overlay--warehouse-qr {
  top: 17%;
  left: 29%;
  width: 42%
}

.milo-solution-hero--warehouse .milo-solution-hero__overlay--warehouse-analytics {
  bottom: 10%;
  right: 8%;
  left: auto;
  top: auto;
  width: 47%
}

.warehouse-solution {
  background: #fff
}

.warehouse-solution__section {
  padding: clamp(92px, 8vw, 138px) 0
}

.warehouse-solution__inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto
}

.warehouse-solution__inner--split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(54px, 7vw, 110px);
  align-items: center
}

.warehouse-solution__title {
  margin: 0;
  color: #090d19;
  font-size: clamp(42px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -.045em
}

.warehouse-solution__lead {
  margin: 22px 0 0;
  color: #777d87;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.35
}

.warehouse-solution__body {
  margin-top: 34px;
  color: #3d424c;
  font-size: 17px;
  line-height: 1.65
}

.warehouse-solution__body p {
  margin: 0 0 18px
}

.warehouse-solution__placeholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid #e1e5ec;
  border-radius: 28px;
  background: linear-gradient(135deg, #fafbfe, #f1f5fb);
  color: #8a91a0;
  font: 700 12px/1.4 'Roboto Mono', monospace;
  text-align: center
}

.warehouse-solution__section--reverse .warehouse-solution__placeholder {
  order: 0
}

.warehouse-solution__section--reverse .warehouse-solution__copy {
  order: 1
}

.warehouse-solution__section--proof {
  padding-top: 110px
}

.warehouse-solution__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid #e2e5eb;
  border-bottom: 1px solid #e2e5eb
}

.warehouse-solution__stats article {
  padding: 30px 28px 34px;
  border-right: 1px solid #e2e5eb
}

.warehouse-solution__stats article:last-child {
  border-right: 0
}

.warehouse-solution__stats strong {
  display: block;
  font-size: clamp(34px, 3.3vw, 52px);
  line-height: 1;
  letter-spacing: -.04em
}

.warehouse-solution__stats h3 {
  margin: 14px 0 10px;
  font-size: 15px
}

.warehouse-solution__stats p {
  margin: 0;
  color: #717783;
  font-size: 14px;
  line-height: 1.55
}

.warehouse-solution__load-counts {
  display: flex;
  gap: 12px;
  margin: 18px 0 24px
}

.warehouse-solution__load-counts strong {
  padding: 10px 14px;
  border: 1px solid #dfe4ec;
  border-radius: 11px;
  background: #fafbfc;
  font: 800 16px/1 'Roboto Mono', monospace
}

.warehouse-solution__more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px
}

.warehouse-solution__more-grid article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid #e2e6ed;
  border-radius: 18px;
  background: #fff
}

.warehouse-solution__more-grid h3 {
  margin: 0 0 10px;
  font-size: 18px
}

.warehouse-solution__more-grid p {
  margin: 0;
  color: #707681;
  line-height: 1.55
}

.warehouse-solution [data-warehouse-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease
}

.warehouse-solution [data-warehouse-reveal].is-visible {
  opacity: 1;
  transform: none
}

@media(max-width:1100px) {
  .warehouse-solution__inner--split {
    grid-template-columns: 1fr;
    gap: 42px
  }

  .warehouse-solution__section--reverse .warehouse-solution__placeholder,
  .warehouse-solution__section--reverse .warehouse-solution__copy {
    order: initial
  }

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

  .warehouse-solution__stats article:nth-child(2) {
    border-right: 0
  }

  .warehouse-solution__stats article:nth-child(-n+2) {
    border-bottom: 1px solid #e2e5eb
  }

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

@media(max-width:700px) {
  .milo-solution-hero--warehouse .warehouse-hero__stage {
    min-height: 420px
  }

  .warehouse-hero__base {
    inset: 0
  }

  .milo-solution-hero--warehouse .milo-solution-hero__overlay--warehouse {
    left: 6%;
    right: auto;
    top: 18%;
    bottom: auto;
    width: 88%
  }

  .warehouse-solution__section {
    padding: 76px 0
  }

  .warehouse-solution__inner {
    width: min(100% - 28px, 620px)
  }

  .warehouse-solution__title {
    font-size: clamp(34px, 10vw, 46px)
  }

  .warehouse-solution__placeholder {
    min-height: 300px;
    border-radius: 20px
  }

  .warehouse-solution__stats {
    grid-template-columns: 1fr
  }

  .warehouse-solution__stats article {
    border-right: 0;
    border-bottom: 1px solid #e2e5eb
  }

  .warehouse-solution__stats article:last-child {
    border-bottom: 0
  }

  .warehouse-solution__more-grid {
    grid-template-columns: 1fr
  }
}

@media(prefers-reduced-motion:reduce) {
  .warehouse-solution [data-warehouse-reveal] {
    opacity: 1;
    transform: none;
    transition: none
  }
}

/* =========================================================
   MILO — AUTOMATIONS SOLUTION PAGE
   Scoped to /rozwiazania/automatyzacje/.
   Reuses base .milo-solution-hero and existing .gradient-text.
   ========================================================= */

.milo-solution-hero--automations .milo-solution-hero__inner {
  align-items: center;
}

.milo-solution-hero--automations .milo-solution-hero__content {
  max-width: 735px;
}

.milo-solution-hero--automations .milo-solution-hero__title {
  max-width: 720px;
}

.automation-solution {
  --automation-grid: rgba(83, 91, 133, 0.055);
  --automation-line: #e2e5ed;
  --automation-ink: #111522;
  --automation-muted: #727783;
  --automation-blue: #2b8efa;
  --automation-violet: #765cff;
  --automation-pink: #ff2aa7;
  --automation-green: #27b77c;
  --automation-red: #ef6262;

  width: 100%;
  overflow: clip;
  background: #fff;
  color: var(--automation-ink);
}


/* Breadcrumbs
   ========================================================= */

.automation-solution__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 24px;
  color: #a0a4ad;
  font-size: 11px;
  line-height: 1.4;
}

.automation-solution__breadcrumbs a {
  color: #777c87;
  text-decoration: none;
  transition: color 160ms ease;
}

.automation-solution__breadcrumbs a:hover {
  color: #252936;
}

.automation-solution__breadcrumbs a:focus-visible {
  outline: 3px solid rgba(43, 142, 250, 0.22);
  outline-offset: 3px;
  border-radius: 3px;
}

.automation-solution__breadcrumbs [aria-current="page"] {
  color: #383c48;
  font-weight: 650;
}


/* Hero copy
   ========================================================= */

.automation-solution__hero-copy {
  max-width: 670px;
  margin-top: 24px;
  color: #7d818b;
  font-size: 17px;
  line-height: 1.55;
}

.automation-solution__hero-copy p {
  margin: 0;
}

.automation-solution__secondary-cta {
  width: fit-content;
  color: #3e4350;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.automation-solution__secondary-cta:hover {
  color: #6555db;
}

.automation-solution__secondary-cta:focus-visible {
  outline: 3px solid rgba(83, 109, 254, 0.24);
  outline-offset: 4px;
  border-radius: 4px;
}

.automation-solution__hero-note {
  max-width: 610px;
  margin: 17px 0 0;
  color: #91959e;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
}


/* Hero visual placeholder
   ========================================================= */

.automation-solution__hero-stage {
  min-height: 560px;
}

.automation-solution__hero-placeholder {
  position: absolute;
  inset: 7% 0 5% 2%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid #e1e5ee;
  border-radius: 28px;
  background:
    linear-gradient(to right,
      rgba(83, 91, 133, 0.055) 1px,
      transparent 1px),
    linear-gradient(to bottom,
      rgba(83, 91, 133, 0.055) 1px,
      transparent 1px),
    linear-gradient(145deg, #fff 0%, #f8f9fc 62%, #f7f2ff 100%);
  background-size: 44px 44px, 44px 44px, auto;
  box-shadow: 0 22px 54px rgba(22, 27, 61, 0.065);
}

.automation-solution__hero-placeholder-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #858a95;
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.automation-solution__hero-placeholder-toolbar span:last-child {
  color: #2ba970;
}

.automation-solution__hero-flow {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: auto 0;
}

.automation-solution__hero-node {
  position: relative;
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border: 1px solid #e2e5ed;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
}

.automation-solution__hero-node>span {
  margin-bottom: 16px;
  color: #989ca6;
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
}

.automation-solution__hero-node strong {
  font-size: 18px;
  line-height: 1.2;
}

.automation-solution__hero-node small {
  margin-top: 8px;
  color: #8b909a;
  font-size: 11px;
  line-height: 1.45;
}

.automation-solution__hero-node--trigger {
  border-top-color: rgba(43, 142, 250, 0.52);
}

.automation-solution__hero-node--condition {
  border-top-color: rgba(118, 92, 255, 0.52);
}

.automation-solution__hero-node--action {
  border-top-color: rgba(255, 42, 167, 0.52);
}

.automation-solution__hero-arrow {
  color: #9ea3ad;
  font-size: 22px;
}


/* Statement directly below hero
   ========================================================= */

.automation-solution__statement {
  padding: clamp(76px, 7vw, 112px) 24px;
  background: #fff;
}

.automation-solution__statement-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.automation-solution__statement-title {
  margin: 0;
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.automation-solution__statement p {
  max-width: 720px;
  margin: 24px auto 0;
  color: #7d818a;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
}


/* Product showcase — four tabs
   ========================================================= */

.automation-solution__showcase {
  padding: clamp(80px, 8vw, 128px) 0;
  background:
    linear-gradient(to right,
      var(--automation-grid) 1px,
      transparent 1px),
    linear-gradient(to bottom,
      var(--automation-grid) 1px,
      transparent 1px),
    #fff;
  background-size: 136px 136px;
}

.automation-solution__showcase-inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
}

.automation-solution__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.automation-solution__tab {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid #e1e4eb;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #171a24;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.automation-solution__tab::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg,
      var(--automation-blue),
      var(--automation-violet),
      var(--automation-pink));
  transition: opacity 180ms ease;
}

.automation-solution__tab:hover {
  transform: translateY(-2px);
  border-color: #d5d9e3;
  box-shadow: 0 14px 34px rgba(20, 27, 53, 0.055);
}

.automation-solution__tab.is-active {
  border-color: #cfd5e3;
  background: #fff;
  box-shadow: 0 18px 44px rgba(21, 26, 53, 0.065);
}

.automation-solution__tab.is-active::before {
  opacity: 1;
}

.automation-solution__tab:focus-visible {
  outline: 3px solid rgba(43, 142, 250, 0.25);
  outline-offset: 3px;
}

.automation-solution__tab-number {
  color: #777d89;
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.035em;
}

.automation-solution__tab strong {
  margin-top: 24px;
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.automation-solution__tab>span:last-child {
  margin-top: auto;
  padding-top: 18px;
  color: #777c87;
  font-size: 13px;
  line-height: 1.5;
}

.automation-solution__showcase-stage {
  position: relative;
  min-height: clamp(500px, 45vw, 690px);
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #e0e4ec;
  border-radius: 26px;
  background:
    linear-gradient(to right,
      rgba(73, 84, 130, 0.055) 1px,
      transparent 1px),
    linear-gradient(to bottom,
      rgba(73, 84, 130, 0.055) 1px,
      transparent 1px),
    linear-gradient(145deg, #fafbfe, #f1f4fa);
  background-size: 52px 52px, 52px 52px, auto;
}

.automation-solution__visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 76px);
}

.automation-solution__visual[hidden] {
  display: none;
}

.automation-solution__visual.is-active {
  animation: automation-solution-panel-in 240ms ease both;
}

.automation-solution__visual-label {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 8px 11px;
  border: 1px solid #dfe3eb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #828792;
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.automation-solution__visual-demo {
  display: flex;
  width: min(760px, 90%);
  min-height: 270px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  border: 1px solid #e1e4eb;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 50px rgba(21, 27, 56, 0.06);
}

.automation-solution__visual-demo--branches span {
  padding: 12px 17px;
  border: 1px solid #dfe3eb;
  border-radius: 11px;
  background: #fff;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
}

.automation-solution__visual-demo--branches span:first-child {
  color: #2b8efa;
}

.automation-solution__visual-demo--test span {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #e2e5eb;
  background: #fff;
}

.automation-solution__visual-demo--test span:first-child {
  width: auto;
  height: auto;
  padding: 18px 24px;
  border-radius: 12px;
}

.automation-solution__visual-demo--test span:nth-child(2) {
  color: #27b77c;
}

.automation-solution__visual-demo--test span:nth-child(3) {
  color: #ef6262;
}

.automation-solution__visual-demo--timeline {
  flex-direction: column;
  align-items: stretch;
}

.automation-solution__visual-demo--timeline span {
  height: 44px;
  border: 1px solid #e3e6ed;
  border-radius: 9px;
  background: #fafbfc;
}

.automation-solution__visual-demo--list {
  flex-direction: column;
  align-items: stretch;
}

.automation-solution__visual-demo--list span {
  height: 62px;
  border: 1px solid #e1e4eb;
  border-radius: 12px;
  background: #fff;
}

.automation-solution__showcase-caption {
  margin: 22px 0 0;
  color: #555a65;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}


/* General section system
   ========================================================= */

.automation-solution__section {
  position: relative;
  padding: clamp(94px, 9vw, 150px) 0;
  overflow: hidden;
  background: #fff;
}

.automation-solution__section:nth-of-type(odd) {
  background:
    linear-gradient(to right,
      var(--automation-grid) 1px,
      transparent 1px),
    linear-gradient(to bottom,
      var(--automation-grid) 1px,
      transparent 1px),
    #fff;
  background-size: 136px 136px;
}

.automation-solution__section--soft {
  background: #fbfbfd !important;
}

.automation-solution__inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
}

.automation-solution__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(56px, 7vw, 110px);
  align-items: center;
}

.automation-solution__section--reverse .automation-solution__inner--split> :first-child {
  order: 1;
}

.automation-solution__copy {
  max-width: 660px;
}

.automation-solution__title {
  margin: 0;
  color: #090c1d;
  font-size: clamp(40px, 4.15vw, 58px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.automation-solution__title>span {
  display: block;
}

.automation-solution__subtitle {
  margin: 24px 0 0;
  color: #242834;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.automation-solution__body {
  margin-top: 30px;
  color: #555b67;
  font-size: 18px;
  line-height: 1.65;
}

.automation-solution__body p {
  margin: 0 0 14px;
}

.automation-solution__strong-line {
  margin: 34px 0 0;
  color: #171b27;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.automation-solution__wide-header {
  max-width: 930px;
  margin: 0 auto 54px;
  text-align: center;
}

.automation-solution__wide-header .automation-solution__body {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}


/* Standard placeholder
   ========================================================= */

.automation-solution__placeholder {
  position: relative;
  min-height: clamp(360px, 36vw, 520px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--automation-line);
  border-radius: 28px;
  background:
    linear-gradient(to right,
      rgba(95, 103, 145, 0.045) 1px,
      transparent 1px),
    linear-gradient(to bottom,
      rgba(95, 103, 145, 0.045) 1px,
      transparent 1px),
    linear-gradient(145deg, #fbfcff, #f4f5f9 62%, #f4eeff);
  background-size: 54px 54px, 54px 54px, auto;
  color: #888d99;
  box-shadow: 0 18px 48px rgba(28, 33, 64, 0.045);
}

.automation-solution__placeholder>span {
  position: relative;
  z-index: 1;
  padding: 9px 13px;
  border: 1px solid #dfe2eb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.automation-solution__placeholder--wide {
  min-height: clamp(380px, 34vw, 560px);
  margin-top: 54px;
}

.automation-solution__placeholder--closing {
  max-width: 980px;
  min-height: 280px;
  margin: 70px auto 0;
}


/* Three-step flow
   ========================================================= */

.automation-solution__steps {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.automation-solution__steps article {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid #e3e6ec;
}

.automation-solution__steps article:last-child {
  border-bottom: 1px solid #e3e6ec;
}

.automation-solution__steps strong {
  color: #242834;
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
}

.automation-solution__steps p {
  margin: 0;
}


/* Branch scenarios
   ========================================================= */

.automation-solution__branch-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.automation-solution__branch-list span {
  padding: 11px 14px;
  border: 1px solid #e1e4eb;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: #3e434f;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  line-height: 1.45;
}


/* Action grid
   ========================================================= */

.automation-solution__action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #dfe3e9;
  border-left: 1px solid #dfe3e9;
}

.automation-solution__action-grid article {
  min-height: 230px;
  padding: 26px;
  border-right: 1px solid #dfe3e9;
  border-bottom: 1px solid #dfe3e9;
  background: rgba(255, 255, 255, 0.84);
}

.automation-solution__action-grid strong {
  display: block;
  font-size: 19px;
  line-height: 1.3;
}

.automation-solution__action-grid p {
  margin: 18px 0 0;
  color: #6d727d;
  font-size: 14px;
  line-height: 1.55;
}

.automation-solution__center-emphasis {
  max-width: 880px;
  margin: 58px auto 0;
  color: #161a26;
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-align: center;
}


/* Lists
   ========================================================= */

.automation-solution__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.automation-solution__list li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid rgba(223, 226, 233, 0.75);
}

.automation-solution__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #6d7cff;
}


/* Dashboard metrics
   ========================================================= */

.automation-solution__metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #dfe3e9;
  border-left: 1px solid #dfe3e9;
}

.automation-solution__metrics-grid article {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid #dfe3e9;
  border-bottom: 1px solid #dfe3e9;
  background: rgba(255, 255, 255, 0.9);
}

.automation-solution__metrics-grid strong {
  display: block;
  color: #161a26;
  font-size: 17px;
  line-height: 1.3;
}

.automation-solution__metrics-grid p {
  margin: 18px 0 0;
  color: #777c87;
  font-size: 14px;
  line-height: 1.55;
}


/* What can be automated
   ========================================================= */

.automation-solution__automation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.automation-solution__automation-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #e1e4eb;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.automation-solution__card-index {
  color: #8b90a0;
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
}

.automation-solution__automation-grid strong {
  margin-top: 44px;
  font-size: 20px;
  line-height: 1.3;
}

.automation-solution__automation-grid p {
  margin: auto 0 0;
  padding-top: 28px;
  color: #737985;
  font-size: 14px;
  line-height: 1.55;
}


/* Closing narrative
   ========================================================= */

.automation-solution__section--closing {
  padding-top: clamp(110px, 10vw, 170px);
  padding-bottom: clamp(110px, 10vw, 170px);
  background: #fbfbfd !important;
}

.automation-solution__closing-copy {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.automation-solution__closing-title {
  margin: 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.automation-solution__closing-body {
  margin-top: 42px;
  color: #666b75;
  font-size: 18px;
  line-height: 1.55;
}

.automation-solution__closing-body p {
  margin: 4px 0;
}

.automation-solution__closing-emphasis {
  margin: 48px 0 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
}


/* FAQ
   ========================================================= */

.automation-solution__faq {
  padding: clamp(96px, 9vw, 150px) 0;
  background: #fff;
}

.automation-solution__faq-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.automation-solution__faq-title {
  margin: 0 0 48px;
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.automation-solution__faq-list {
  border-top: 1px solid #dfe3e9;
}

.automation-solution__faq-list details {
  border-bottom: 1px solid #dfe3e9;
}

.automation-solution__faq-list summary {
  position: relative;
  padding: 28px 54px 28px 0;
  color: #171a24;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.automation-solution__faq-list summary::-webkit-details-marker {
  display: none;
}

.automation-solution__faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  color: #757b87;
  font-size: 25px;
  font-weight: 400;
  transform: translateY(-50%);
}

.automation-solution__faq-list details[open] summary::after {
  content: "−";
}

.automation-solution__faq-list summary:focus-visible {
  outline: 3px solid rgba(43, 142, 250, 0.22);
  outline-offset: 4px;
  border-radius: 4px;
}

.automation-solution__faq-answer {
  max-width: 820px;
  padding: 0 0 30px;
  color: #676c77;
  font-size: 16px;
  line-height: 1.65;
}

.automation-solution__faq-answer p {
  margin: 0;
}


/* Final CTA
   ========================================================= */

.automation-solution__final-cta {
  padding: clamp(100px, 10vw, 160px) 24px;
  background:
    linear-gradient(to right,
      var(--automation-grid) 1px,
      transparent 1px),
    linear-gradient(to bottom,
      var(--automation-grid) 1px,
      transparent 1px),
    #fff;
  background-size: 136px 136px;
}

.automation-solution__final-cta-inner {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.automation-solution__final-cta h2,
.automation-solution__final-cta h3 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.automation-solution__final-cta h3 {
  margin-top: 8px;
}

.automation-solution__final-cta p {
  margin: 32px 0 0;
  color: #727783;
  font-size: 19px;
  line-height: 1.5;
}

.automation-solution__final-cta .button-primary {
  margin-top: 38px;
}


/* Reveal animation
   ========================================================= */

.automation-solution [data-automation-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 540ms ease,
    transform 540ms ease;
}

.automation-solution [data-automation-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes automation-solution-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1100px) {

  .automation-solution__inner--split {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .automation-solution__section--reverse .automation-solution__inner--split> :first-child {
    order: initial;
  }

  .automation-solution__copy {
    max-width: 800px;
  }

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

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

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

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

}


/* =========================================================
   Hero tablet
   ========================================================= */

@media (max-width: 1023px) {

  .automation-solution__hero-stage {
    min-height: 500px;
  }

  .automation-solution__hero-placeholder {
    position: relative;
    inset: auto;
    min-height: 440px;
  }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 700px) {

  .automation-solution__breadcrumbs {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .automation-solution__hero-copy {
    font-size: 15px;
  }

  .automation-solution__hero-copy br {
    display: none;
  }

  .automation-solution__secondary-cta {
    align-self: center;
  }

  .automation-solution__hero-note {
    font-size: 10px;
  }

  .automation-solution__hero-stage {
    min-height: 0;
  }

  .automation-solution__hero-placeholder {
    min-height: 380px;
    padding: 18px;
    border-radius: 20px;
  }

  .automation-solution__hero-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .automation-solution__hero-node {
    min-height: 86px;
  }

  .automation-solution__hero-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .automation-solution__statement {
    padding: 66px 20px;
  }

  .automation-solution__showcase {
    padding: 72px 0;
  }

  .automation-solution__showcase-inner,
  .automation-solution__inner,
  .automation-solution__faq-inner {
    width: min(100% - 28px, 620px);
  }

  .automation-solution__tabs {
    grid-template-columns: 1fr;
  }

  .automation-solution__tab {
    min-height: 190px;
  }

  .automation-solution__showcase-stage {
    min-height: 390px;
    border-radius: 20px;
  }

  .automation-solution__visual {
    padding: 52px 18px 20px;
  }

  .automation-solution__visual-demo {
    width: 100%;
    min-height: 220px;
    flex-wrap: wrap;
    padding: 20px;
  }

  .automation-solution__section {
    padding: 76px 0;
  }

  .automation-solution__title {
    font-size: clamp(34px, 10vw, 46px);
  }

  .automation-solution__subtitle {
    font-size: 24px;
  }

  .automation-solution__body {
    font-size: 16px;
  }

  .automation-solution__placeholder {
    min-height: 300px;
    border-radius: 20px;
  }

  .automation-solution__steps article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .automation-solution__action-grid,
  .automation-solution__metrics-grid,
  .automation-solution__automation-grid {
    grid-template-columns: 1fr;
  }

  .automation-solution__action-grid article,
  .automation-solution__metrics-grid article,
  .automation-solution__automation-grid article {
    min-height: 0;
  }

  .automation-solution__automation-grid article {
    min-height: 220px;
  }

  .automation-solution__faq {
    padding: 76px 0;
  }

  .automation-solution__faq-title {
    margin-bottom: 30px;
  }

  .automation-solution__faq-list summary {
    padding: 22px 42px 22px 0;
    font-size: 17px;
  }

  .automation-solution__closing-body {
    font-size: 16px;
  }

  .automation-solution__final-cta {
    padding: 82px 20px;
  }

  .automation-solution__final-cta p {
    font-size: 17px;
  }

  .automation-solution__final-cta .button-primary {
    width: 100%;
    justify-content: center;
  }

}


/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .automation-solution [data-automation-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .automation-solution__tab,
  .automation-solution__breadcrumbs a,
  .automation-solution__secondary-cta {
    transition: none;
  }

  .automation-solution__tab:hover {
    transform: none;
  }

  .automation-solution__visual.is-active {
    animation: none;
  }

}