/* ═══════ PRE-NEED JOURNEY ═══════ */
.journey {
  padding: 48px 0 100px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
/* Organic background blobs */
.journey::before, .journey::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.journey::before {
  width: 600px; height: 600px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(26,140,140,0.06) 0%, transparent 70%);
}
.journey::after {
  width: 500px; height: 500px;
  bottom: -150px; right: -150px;
  background: radial-gradient(circle, rgba(142,91,122,0.06) 0%, transparent 70%);
}

.journey-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  position: relative;
  z-index: 2;
}
.journey-header {
  text-align: center;
  margin-bottom: 80px;
}
.journey-header .section-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 0;
}

/* The flowing SVG river path */
.journey-river {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}
.journey-river svg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
}

/* Each scene row — alternates left/right */
.journey-scenes {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.journey-scene {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.journey.in-view .journey-scene {
  opacity: 1;
  transform: translateY(0);
}

/* Illustration side */
.journey-illust {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.journey-illust svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}
.journey.in-view .journey-illust svg {
  animation: gentleBreathe 5s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}
@keyframes gentleBreathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.01); }
}

/* Center connector node */
.journey-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}
.journey-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--stone-300);
  position: relative;
  transition: border-color 0.6s, background 0.6s, box-shadow 0.6s;
  transition-delay: var(--delay, 0s);
}
.journey.in-view .journey-dot {
  border-color: var(--teal);
  box-shadow: 0 0 0 6px rgba(26,140,140,0.1);
}
.journey-scene:hover .journey-dot {
  background: var(--teal);
  box-shadow: 0 0 0 10px rgba(26,140,140,0.15);
}
.journey-dot-number {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--teal);
  opacity: 0;
  transition: opacity 0.3s;
}
.journey.in-view .journey-dot-number { opacity: 1; }
.journey-scene:hover .journey-dot-number { color: white; }

/* Vertical connecting line between dots */
.journey-stem {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--stone-200), var(--teal-100));
  transition: background 0.6s;
}
.journey.in-view .journey-stem {
  background: linear-gradient(to bottom, rgba(26,140,140,0.3), rgba(26,140,140,0.1));
}

/* Text side */
.journey-text {
  padding: 24px 0;
}
.journey-text-inner {
  max-width: 385px;
}
.journey-scene:nth-child(odd) .journey-text { padding-left: 40px; }
.journey-scene:nth-child(even) .journey-text { padding-right: 40px; text-align: right; margin-left: auto; }
.journey-scene:nth-child(even) .journey-text-inner { margin-left: auto; }

/* Flip illustration and text on even rows */
.journey-scene:nth-child(even) .journey-illust { order: 3; }
.journey-scene:nth-child(even) .journey-connector { order: 2; }
.journey-scene:nth-child(even) .journey-text { order: 1; }

.journey-eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 6px;
}
.journey-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.25;
}
.journey-title em { font-style: italic; color: #5B7A5E; }
.journey-desc {
  font-size: calc(0.95rem + 2px);
  color: var(--navy);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 14px;
}
.journey-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: #A3708D;
  color: white;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.journey-scene:hover .journey-badge {
  background: var(--plum);
  color: white;
  transform: translateX(4px);
}
.journey-scene:nth-child(even):hover .journey-badge {
  transform: translateX(-4px);
}

/* Flowing accent blobs behind illustrations */
.journey-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1s var(--ease-out);
  transition-delay: var(--delay, 0s);
  filter: blur(2px);
}
.journey.in-view .journey-blob { opacity: 1; }

/* ═══════ JOURNEY RESPONSIVE ═══════ */
@media (max-width: 960px) {
  .journey { padding: 80px 0 90px; }
  .journey-scene {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }
  .journey-scene:nth-child(even) .journey-illust { order: unset; }
  .journey-scene:nth-child(even) .journey-connector { order: unset; }
  .journey-scene:nth-child(even) .journey-text { order: unset; text-align: center; padding-right: 0; }
  .journey-scene:nth-child(even) .journey-text-inner { margin-left: auto; margin-right: auto; }
  .journey-scene:nth-child(odd) .journey-text { padding-left: 0; text-align: center; }
  .journey-text-inner { margin: 0 auto; }
  .journey-connector { display: none; }
  .journey-illust svg { max-width: 240px; }
  .journey-scenes { gap: 40px; }
  .journey-blob { display: none; }
}
@media (max-width: 600px) {
  .journey-illust svg { max-width: 200px; }
  .journey-header { margin-bottom: 50px; }
}
