/* Four editable, localized scenes; illustrations stay paired with their captions. */
.flow-panel.journey-panel {
  padding: 32px;
  border-color: #e1e7f3;
  background: radial-gradient(ellipse at 0 0, #edf8ff, transparent 38%), radial-gradient(ellipse at 100% 0, #eaf5ff, transparent 38%), #fff;
}
.booking-journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; list-style: none; padding: 0; margin: 0; }
.journey-step { position: relative; min-width: 0; display: grid; grid-template-rows: 230px auto; gap: 28px; align-content: start; }
.journey-step:not(:last-child)::after { content: ""; position: absolute; width: 44px; height: 20px; top: 105px; right: -40px; background: url('/static/tiempify/decorative-flow-arrow.svg') center / contain no-repeat; pointer-events: none; }
.journey-stage { position: relative; min-width: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.journey-copy { min-width: 0; }
.journey-number-line { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.journey-step-number { color: transparent; background: var(--gradient); background-clip: text; -webkit-background-clip: text; font-size: 44px; font-weight: 740; letter-spacing: -1.5px; line-height: 1.1; }
.journey-rule { flex: 1; height: 1px; background: #d7deed; }
.journey-copy h3 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.45px; }
.journey-copy p { margin-top: 14px; color: #5b6b8f; font-size: 18px; line-height: 1.45; }
.journey-message-stage { justify-content: flex-start; }
.journey-patient { position: relative; flex: 0 0 64px; width: 64px; height: 64px; align-self: center; margin-top: -28px; z-index: 2; }
.journey-portrait { display: block; width: 64px; height: 64px; object-fit: cover; object-position: 50% 25%; border-radius: 50%; background: #e4f0fa; }
.journey-whatsapp { position: absolute; width: 30px; height: 30px; right: -8px; top: -6px; filter: drop-shadow(0 3px 5px #4e96751a); }
.journey-message { flex: 1; min-width: 0; margin-left: -3px; padding: 15px 13px 10px 15px; border: 1px solid #f0f4fc; border-radius: 16px; background: #fff; box-shadow: 0 12px 28px #80ace521; color: var(--ink); font-size: 14px; line-height: 1.4; }
.journey-message-time { display: block; margin-top: 7px; text-align: right; font-size: 10px; color: #7a86a4; }
.journey-mascot { display: flex; align-items: center; justify-content: center; flex: 0 0 200px; width: 200px; height: 200px; overflow: hidden; border-radius: 50%; background: #fff; }
.journey-mascot img { width: 224px; height: 224px; max-width: none; flex: 0 0 auto; }
.journey-availability { width: min(100%, 238px); padding: 16px; border: 1px solid #eff3fc; border-radius: 19px; background: #fff; box-shadow: 0 15px 35px #89a8dd1f; transform: rotate(-1deg); }
.journey-availability-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--ink); font-size: 13px; line-height: 1.35; font-weight: 600; }
.journey-calendar-icon { flex: 0 0 23px; width: 23px; height: 23px; stroke: #7250f3; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.journey-times { display: grid; gap: 6px; }
.journey-time { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 34px; padding: 6px 9px; border: 1px solid #e8ecf5; border-radius: 10px; font-size: 14px; line-height: 1.35; color: #24345f; font-weight: 600; background: #fcfdff; }
.journey-time.is-selected { color: #1d72df; border-color: #c3dcfa; background: #e8f3ff; }
.journey-time-check { display: grid; place-items: center; flex: 0 0 17px; width: 17px; height: 17px; border: 2px solid #b2d7ff; border-radius: 50%; background: #078dff; }
.journey-time-check svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.journey-calendar { position: relative; width: min(100% - 12px, 230px); padding: 14px 12px 12px; background: #fff; border: 1px solid #e7eefb; border-radius: 18px; box-shadow: 0 15px 35px #80a4e527; transform: rotate(-3deg); }
.journey-calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.journey-brand { width: 110px; height: auto; }
.journey-calendar-header > span { width: 33px; height: 7px; border-radius: 5px; background: #f0f3fb; }
.journey-calendar-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 7px; }
.journey-calendar-days span { width: 11px; height: 4px; margin: auto; border-radius: 3px; background: #dce4f5; }
.journey-calendar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.journey-calendar-grid span { height: 20px; border: 1px solid #edf1fa; border-radius: 4px; background: #f9fbff; }
.journey-calendar-grid span:nth-child(7), .journey-calendar-grid span:nth-child(15) { background: #c0f1df; border-color: #b2ead6; }
.journey-calendar-grid span:nth-child(12) { background: linear-gradient(130deg, #b17eff, #d3b9ff); border-color: #c1a0f8; }
.journey-calendar-grid span:nth-child(17) { background: #e3edff; border-color: #d7e3fb; }
.journey-confirmation { position: absolute; top: 72px; right: -9px; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 190px; padding: 11px 10px; border: 1px solid #eff5fc; border-radius: 13px; background: #fff; box-shadow: 0 9px 23px #729ed429; transform: rotate(3deg); }
.journey-confirmation::before { content: ""; flex: 0 0 4px; align-self: stretch; min-height: 30px; border-radius: 4px; background: linear-gradient(#7457ff, #aa45f5); }
.journey-confirmation > div { flex: 1; min-width: 0; }
.journey-confirmation strong { display: block; color: var(--ink); font-size: 12px; line-height: 1.35; font-weight: 650; }
.journey-confirmation > div > span { display: block; color: #61718e; font-size: 11px; line-height: 1.35; margin-top: 2px; }
.journey-confirmed-check { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; background: var(--accent-green); box-shadow: 0 3px 8px #00ba6929; }
.journey-confirmed-check svg { width: 17px; height: 17px; stroke: #fff; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.journey-calendar-spark { position: absolute; top: 22px; right: 3px; width: 3px; height: 16px; border-radius: 3px; background: #9c55f7; transform: rotate(20deg); }
.journey-calendar-spark::after { content: ""; position: absolute; left: 10px; top: 12px; width: 3px; height: 10px; border-radius: 3px; background: #9c55f7; transform: rotate(45deg); }
@media (max-width: 1100px) {
  .booking-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 48px; }
  .journey-step { grid-template-rows: 220px auto; gap: 20px; }
  .journey-step:not(:last-child)::after { right: -46px; top: 100px; }
  .journey-step:nth-child(2)::after { display: none; }
  .journey-message-stage { justify-content: center; }
  .journey-message { flex: 0 1 185px; }
  .journey-calendar-spark { right: max(3px, calc((100% - 250px) / 2)); }
}
@media (max-width: 650px) {
  .flow-panel.journey-panel { padding: 24px 20px; }
  .booking-journey { grid-template-columns: 1fr; gap: 58px; }
  .journey-step { grid-template-rows: 220px auto; gap: 14px; }
  .journey-step:not(:last-child)::after { display: block; top: auto; right: auto; left: 50%; bottom: -40px; width: 36px; transform: translateX(-50%) rotate(90deg); }
  .journey-number-line { margin-bottom: 10px; }
  .journey-step-number { font-size: 38px; }
  .journey-copy h3 { font-size: 20px; }
  .journey-copy p { margin-top: 10px; font-size: 16px; line-height: 1.5; }
}

/* Pale blue background for the Russian home-page workflow section. */
.landing-section.flow-section.flow-section-blue { background: #f3f9ff; }
.flow-section-blue .flow-panel.journey-panel { background: radial-gradient(ellipse at 0 0, #edf8ff, transparent 38%), radial-gradient(ellipse at 100% 0, #eaf5ff, transparent 38%), #fff; }
