/* Illustrated three-step light-up journey */
.impact {
  padding: 88px clamp(20px, 7vw, 112px);
  overflow: hidden;
  background: #e4f0f1;
}
.impact-heading { max-width: 820px; }
.impact-heading > p:last-child { max-width: 560px; }
.impact .eyebrow { color: #167fa5; }
.impact-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 58px);
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
}
.impact-grid::before {
  position: absolute;
  top: 108px;
  left: 16%;
  right: 16%;
  height: 2px;
  content: "";
  background: repeating-linear-gradient(90deg, #94bfc6 0 8px, transparent 8px 15px);
}
.journey-step { position: relative; min-width: 0; }
.step-visual {
  position: relative;
  display: grid;
  height: 218px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #0c4e70, #147da0 68%, #376d78);
  border-radius: 5px;
  isolation: isolate;
}
.step-visual::before, .step-visual::after {
  position: absolute;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: #fff0b0;
  box-shadow: 0 0 12px 3px rgba(255, 215, 103, .65);
  animation: flow-twinkle 3.8s ease-in-out infinite;
}
.step-visual::before { top: 23%; left: 18%; }
.step-visual::after { right: 16%; bottom: 22%; animation-delay: 1.8s; }
.scene-orbit { position: absolute; width: 186px; height: 186px; border: 1px solid rgba(151, 221, 232, .22); border-radius: 50%; }
.orbit-two { width: 132px; height: 132px; border-color: rgba(255, 216, 112, .2); }
.code-ticket {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(74%, 242px);
  gap: 10px;
  padding: 18px 20px;
  color: #173d4c;
  background: #fff6d7;
  border-radius: 5px;
  box-shadow: 0 14px 34px rgba(1, 30, 49, .28);
  transform: rotate(-5deg);
}
.ticket-kicker { color: #59808a; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.code-ticket strong { font-size: 17px; }
.ticket-code { padding-top: 9px; color: #a36e13; border-top: 1px dashed #c6b783; font: 700 13px/1.2 ui-monospace, monospace; letter-spacing: 2px; }
.scene-star { position: absolute; z-index: 2; color: #fff4bd; font-size: 18px; text-shadow: 0 0 12px #ffd45d; animation: flow-twinkle 3s ease-in-out infinite; }
.star-a { top: 21%; right: 24%; }
.star-b { bottom: 19%; left: 22%; font-size: 13px; animation-delay: 1.2s; }
.city-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(76%, 256px);
  gap: 9px;
  padding: 18px;
  color: #183e50;
  background: #f6fbf7;
  border-radius: 5px;
  box-shadow: 0 14px 34px rgba(1, 30, 49, .28);
  transform: rotate(3deg);
}
.city-card-label { margin-bottom: 2px; color: #437985; font-size: 11px; font-weight: 700; }
.city-select-row { display: grid; grid-template-columns: 36px 1fr 14px; gap: 7px; align-items: center; min-height: 34px; padding: 0 8px; color: #60757a; border: 1px solid #d4e1df; border-radius: 3px; font-size: 10px; }
.city-select-row b { color: #284b58; font-weight: 600; }
.city-select-row i { color: #198ba2; font-style: normal; }
.city-select-row.selected { border-color: #e2b541; background: #fff9e6; }
.location-pin { position: absolute; top: -22px; right: -12px; display: grid; width: 44px; height: 44px; place-items: center; color: #fff4bd; background: #db8e23; border: 4px solid rgba(255,255,255,.7); border-radius: 50% 50% 50% 3px; box-shadow: 0 0 20px rgba(255, 192, 61, .62); font-size: 22px; transform: rotate(-45deg); }
.star-c { top: 17%; left: 20%; }
.star-d { right: 18%; bottom: 18%; font-size: 13px; animation-delay: 1.5s; }
.mini-map {
  position: relative;
  z-index: 1;
  width: min(74%, 248px);
  height: 144px;
  overflow: hidden;
  background: #0b3d5c;
  border: 1px solid rgba(173, 225, 230, .36);
  border-radius: 42% 57% 48% 45% / 45% 39% 60% 54%;
  box-shadow: 0 0 30px rgba(99, 198, 218, .2);
  transform: rotate(-4deg);
}
.map-contour { position: absolute; inset: 14px 18px; border: 1px solid rgba(132, 206, 220, .38); border-radius: 42% 57% 48% 45% / 45% 39% 60% 54%; }
.contour-two { inset: 30px 42px; border-color: rgba(255, 205, 94, .36); transform: rotate(18deg); }
.map-city-dot { position: absolute; top: 48%; left: 59%; width: 12px; height: 12px; border-radius: 50%; background: #ffd45d; box-shadow: 0 0 0 8px rgba(255, 212, 93, .14), 0 0 24px 8px rgba(255, 212, 93, .76); }
.landing-star { position: absolute; top: 21%; left: 54%; color: #fff4bd; font-size: 34px; text-shadow: 0 0 10px #fff4bd, 0 0 30px #ffc341; animation: star-arrive 2.8s ease-in-out infinite; }
.map-city-label { position: absolute; top: 63%; left: 65%; color: #d4eff0; font-size: 10px; white-space: nowrap; }
.star-e { top: 20%; right: 17%; }
.star-f { bottom: 14%; left: 19%; font-size: 13px; animation-delay: 1.4s; }
.step-copy { padding-top: 20px; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step { color: #b8741b; font-size: 11px; font-weight: 750; letter-spacing: 1px; }
.step-icon { display: inline-grid; width: 34px; height: 34px; place-items: center; color: #146c88; border: 1px solid #a4cdd4; background: #f5fbf8; border-radius: 50%; font-size: 12px; font-weight: 700; }
.impact-grid h3 { margin: 14px 0 8px; color: #143b50; font-size: 21px; }
.impact-grid p { margin: 0; color: #53696b; font-size: 14px; line-height: 1.85; }
.impact-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 38px; padding-top: 22px; border-top: 1px solid #b5cbcb; }
.impact-footer > span { color: #4f696e; font-size: 12px; }
.impact-footer > span i { margin-right: 6px; color: #c18820; font-style: normal; }
.impact-footer .primary-button { margin-left: auto; }
@keyframes flow-twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.24); } }
@keyframes star-arrive { 0%, 15% { opacity: .2; transform: translateY(-17px) scale(.56); } 42%, 68% { opacity: 1; transform: translateY(0) scale(1.12); } 100% { opacity: .5; transform: translateY(3px) scale(.92); } }
@media (max-width: 860px) {
  .impact-grid { gap: 18px; }
  .step-visual { height: 184px; }
  .impact-grid p { font-size: 13px; }
}
@media (max-width: 680px) {
  .impact { padding-top: 64px; padding-bottom: 64px; }
  .impact-grid { grid-template-columns: 1fr; gap: 0; margin-top: 34px; }
  .impact-grid::before { top: 92px; bottom: 92px; left: 24px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #94bfc6 0 8px, transparent 8px 15px); }
  .journey-step { display: grid; grid-template-columns: minmax(118px, .78fr) minmax(0, 1.22fr); gap: 16px; align-items: center; padding: 16px 0 22px; }
  .step-visual { height: 150px; }
  .scene-orbit { width: 126px; height: 126px; }
  .orbit-two { width: 92px; height: 92px; }
  .code-ticket { width: 82%; gap: 7px; padding: 12px; }
  .ticket-kicker { font-size: 7px; }
  .code-ticket strong { font-size: 13px; }
  .ticket-code { font-size: 10px; letter-spacing: 1px; }
  .city-card { width: 85%; gap: 6px; padding: 11px; }
  .city-select-row { grid-template-columns: 26px 1fr 10px; gap: 4px; padding: 0 5px; font-size: 8px; }
  .city-card-label { font-size: 9px; }
  .location-pin { top: -12px; right: -8px; width: 32px; height: 32px; font-size: 15px; }
  .mini-map { width: 86%; height: 105px; }
  .landing-star { font-size: 26px; }
  .map-city-label { font-size: 8px; }
  .step-copy { padding-top: 0; }
  .step-icon { width: 28px; height: 28px; }
  .impact-grid h3 { margin-top: 10px; font-size: 17px; }
  .impact-grid p { font-size: 12px; line-height: 1.65; }
  .impact-footer { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 20px; }
  .impact-footer .primary-button { width: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .step-visual::before, .step-visual::after, .scene-star, .landing-star { animation: none; }
}
