.journey-section {
  padding-block: 65px;
}
.journey-section .section-heading {
  margin-bottom: 28px;
}
.journey-section .section-heading > p {
  font-size: 14.16px;
  color: #78908a;
}
.journey-stage {
  position: relative;
  isolation: isolate;
  padding: 22px 0 0;
}
.journey-stage:before {
  content: "";
  position: absolute;
  inset: 0 -18px -15px;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 20%, #e3f3eb7a, transparent 70%);
  border-radius: 32px;
  pointer-events: none;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.journey-card {
  --journey-ink: #438b77;
  --journey-tint: #eff8f3;
  position: relative;
  min-width: 0;
  background: #fff;
  border: 1px solid #deebe4;
  border-radius: 23px;
  overflow: hidden;
  box-shadow: 0 10px 26px #193e4405;
  transition: transform 0.25s, box-shadow 0.25s;
}
.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px #193e4410;
}
.journey-choose {
  --journey-ink: #6287b4;
  --journey-tint: #f0f4fb;
}
.journey-track {
  --journey-ink: #789766;
  --journey-tint: #f3f7ec;
}
.journey-illustration {
  height: 207px;
  position: relative;
  color: var(--journey-ink);
  background: linear-gradient(135deg, #fff9, var(--journey-tint));
  border-bottom: 1px solid #e5eee880;
  overflow: hidden;
}
.journey-step-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  top: 15px;
  right: 17px;
  z-index: 1;
  padding: 3px 10px 3px 4px;
  background: #ffffffd9;
  border: 1px solid #fff;
  border-radius: 24px;
  font-size: 11.8px;
  color: var(--journey-ink);
}
.journey-step-label b {
  display: flex;
  align-items: center;
  justify-content: center;
  order: 1;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--journey-tint);
  font-size: 14.16px;
}
.journey-scene {
  height: 100%;
  width: 100%;
  display: block;
  padding-top: 10px;
}
.journey-copy {
  padding: 23px 25px 20px;
  text-align: right;
}
.journey-copy h3 {
  font-size: 21.24px;
  margin-bottom: 10px;
}
.journey-copy > p {
  font-size: 14.16px;
  line-height: 2.1;
  min-height: 52px;
  color: #6f8587;
}
.journey-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid #ecf2ee;
  padding-top: 13px;
  margin-top: 17px;
  font-size: 11.8px;
  color: var(--journey-ink);
}
.journey-caption .icon {
  width: 15px;
  height: 15px;
}
.journey-connection {
  position: absolute;
  left: 0;
  right: 0;
  top: 109px;
  height: 2px;
  z-index: -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20%;
  padding-inline: 16%;
}
.journey-connection > span {
  position: relative;
  border-top: 2px dotted #b9d7c9;
}
.journey-connection > span:after {
  content: "";
  position: absolute;
  top: -4px;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6eb69e;
  animation: journey-transfer 5.4s linear infinite;
}
.journey-connection > span + span:after {
  animation-delay: 2.7s;
}
.journey-float {
  animation: journey-float 6s ease-in-out infinite;
}
.journey-choose .journey-float {
  animation-delay: -2s;
}
.journey-track .journey-float {
  animation-delay: -4s;
}
.journey-satellite {
  animation: journey-satellite 5s ease-in-out infinite;
}
.journey-badge {
  animation: journey-badge 6s ease-in-out infinite;
  transform-origin: center;
}
.journey-field-fill {
  transform-origin: 107px 115px;
  animation: journey-fill 6s ease-in-out infinite;
}
.journey-field-fill.second {
  animation-delay: 0.7s;
}
.journey-tick {
  stroke-dasharray: 45;
  animation: journey-check 6s ease-in-out infinite;
}
.journey-track .journey-tick {
  animation-delay: 1.5s;
}
.journey-cursor {
  animation: journey-cursor 6s ease-in-out infinite;
}
.journey-payment-card {
  animation: journey-card-arrive 6s ease-in-out infinite;
  transform-origin: 242px 151px;
}
.journey-status-pulse {
  animation: journey-pulse 3s ease-in-out infinite;
  transform-origin: 138px 131px;
}
.journey-progress {
  stroke-dasharray: 40;
  animation: journey-progress 6s ease-in-out infinite;
}
.journey-ring {
  animation: journey-ring 12s linear infinite;
  transform-origin: 231px 119px;
}
.journey-star {
  animation: journey-star 6s ease-in-out infinite;
  transform-origin: 278px 93px;
}
.journey-dot {
  animation: journey-satellite 5s ease-in-out infinite;
}
.journey-section[data-journey-motion="paused"] .journey-scene *,
.journey-section[data-journey-motion="paused"]
  .journey-connection
  > span:after {
  animation-play-state: paused;
}
@keyframes journey-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes journey-satellite {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
@keyframes journey-fill {
  0%,
  12% {
    transform: scaleX(0.05);
    opacity: 0.3;
  }
  45%,
  85% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(0.05);
    opacity: 0.3;
  }
}
@keyframes journey-check {
  0%,
  20% {
    stroke-dashoffset: 45;
    opacity: 0.2;
  }
  48%,
  90% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 45;
    opacity: 0.2;
  }
}
@keyframes journey-badge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes journey-cursor {
  0%,
  15% {
    transform: translate(18px, 12px);
  }
  40%,
  55% {
    transform: translate(0, 0);
  }
  65% {
    transform: translate(-4px, -2px);
  }
  80%,
  100% {
    transform: translate(18px, 12px);
  }
}
@keyframes journey-card-arrive {
  0%,
  15% {
    transform: translate(12px, 5px) rotate(3deg);
    opacity: 0.4;
  }
  45%,
  85% {
    transform: translate(0, 0) rotate(0);
    opacity: 1;
  }
  100% {
    transform: translate(12px, 5px) rotate(3deg);
    opacity: 0.4;
  }
}
@keyframes journey-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.6;
  }
}
@keyframes journey-progress {
  0%,
  15% {
    stroke-dashoffset: 40;
  }
  55%,
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes journey-ring {
  to {
    transform: rotate(360deg);
  }
}
@keyframes journey-star {
  0%,
  100% {
    transform: rotate(0);
    opacity: 0.35;
  }
  50% {
    transform: rotate(50deg);
    opacity: 0.7;
  }
}
@keyframes journey-transfer {
  0% {
    right: 0;
    opacity: 0;
  }
  12%,
  85% {
    opacity: 1;
  }
  100% {
    right: 100%;
    opacity: 0;
  }
}
@media (max-width: 1000px) {
  .journey-grid {
    gap: 17px;
  }
  .journey-copy {
    padding: 20px;
  }
  .journey-copy h3 {
    font-size: 18.88px;
  }
  .journey-copy > p {
    min-height: 75px;
  }
  .journey-illustration {
    height: 180px;
  }
  .journey-caption {
    font-size: 10.62px;
  }
  .journey-connection {
    top: 100px;
  }
}
@media (max-width: 650px) {
  .journey-section {
    padding-block: 42px;
  }
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .journey-stage {
    padding-top: 0;
  }
  .journey-stage:before {
    inset: 0 -10px;
  }
  .journey-section .section-heading {
    margin-bottom: 22px;
    gap: 10px;
  }
  .journey-section .section-heading > p {
    font-size: 12.98px;
  }
  .journey-card {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    border-radius: 18px;
    align-items: stretch;
  }
  .journey-illustration {
    height: auto;
    min-height: 190px;
    border: 0;
    border-left: 1px solid #e5eee880;
    overflow: hidden;
  }
  .journey-step-label {
    right: 10px;
    top: 12px;
    padding: 3px 4px;
    font-size: 10.62px;
    gap: 3px;
  }
  .journey-step-label > span {
    display: none;
  }
  .journey-step-label b {
    order: 0;
    width: 23px;
    height: 23px;
  }
  .journey-scene {
    position: absolute;
    width: 195px;
    max-width: none;
    height: 180px;
    top: 24px;
    left: calc(50% - 97px);
    padding: 0;
  }
  .journey-copy {
    padding: 21px 16px;
    align-self: center;
  }
  .journey-copy h3 {
    font-size: 17.7px;
    line-height: 1.9;
    margin-bottom: 9px;
  }
  .journey-copy > p {
    font-size: 12.98px;
    line-height: 2;
    min-height: 0;
  }
  .journey-caption {
    margin-top: 13px;
    padding-top: 10px;
    font-size: 9.44px;
    gap: 5px;
    line-height: 1.9;
  }
  .journey-caption .icon {
    width: 13px;
    height: 13px;
  }
  .journey-connection {
    display: none;
  }
}
@media (max-width: 360px) {
  .journey-card {
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .journey-copy {
    padding: 18px 12px;
  }
  .journey-copy h3 {
    font-size: 15.34px;
  }
  .journey-copy > p {
    font-size: 11.8px;
  }
  .journey-caption {
    font-size: 9.44px;
  }
  .journey-caption .icon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journey-scene *,
  .journey-connection > span:after {
    animation: none !important;
  }
  .journey-field-fill {
    transform: none;
    opacity: 1;
  }
  .journey-tick,
  .journey-progress {
    stroke-dashoffset: 0;
  }
  .journey-card {
    transition: none;
  }
  .journey-card:hover {
    transform: none;
  }
}
@media print {
  .journey-scene * {
    animation: none !important;
  }
  .journey-card {
    box-shadow: none;
    break-inside: avoid;
  }
}
