.distribution {
  background-color: var(--page-bg);
  padding-block: clamp(36px, 4.5vw, 64px);
}

.route-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: min(100%, 980px);
}

.route-step {
  min-width: 0;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--md-shape-lg);
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s var(--md-easing-standard),
    box-shadow 0.2s var(--md-easing-standard);
}

.route-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 19, 68, 0.08);
}

.route-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 108px;
  right: -29px;
  width: 28px;
  height: 2px;
  background: var(--route-connector);
  pointer-events: none;
}

.route-illustration {
  position: relative;
  height: clamp(200px, 19.5vw, 228px);
  overflow: hidden;
  background: var(--surface-ice);
  border-bottom: 1px solid var(--line);
  border-radius: calc(var(--md-shape-lg) - 1px) calc(var(--md-shape-lg) - 1px) 0 0;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6px;
}

.route-illustration .scene-art {
  width: auto;
  height: 172%;
  max-width: 100%;
  object-fit: contain;
  object-position: top center;
}

.route-step:nth-child(2) .route-illustration,
.route-step:nth-child(3) .route-illustration {
  padding-top: 0;
}

.route-step:nth-child(2) .route-illustration .scene-art {
  height: 185%;
  transform: translateY(-5.5%);
}

.route-step:nth-child(3) .route-illustration .scene-art {
  height: 185%;
  transform: translateY(-7.5%);
}

.route-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
  gap: 10px;
}

.route-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.route-marker {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: var(--md-shape-sm);
  display: grid;
  place-items: center;
  background: var(--step-marker-bg);
  color: var(--step-marker-text);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1;
}

.route-head h3 {
  font-size: clamp(1.42rem, 1.9vw, 1.68rem);
  margin: 0;
}

.route-body p {
  font-size: 1.12rem;
  line-height: 1.44;
  color: var(--muted);
  margin: 0;
}

.destination-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.destination-options>span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.12rem;
  line-height: 1.44;
  color: var(--muted);
}

.destination-options>span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--selected-border);
  flex: 0 0 7px;
}

