/* =========================================
   Care Journey – Niraaya step dial
   Numbers sit on the arc (no separate gold dots)
   Copy sits clear of the arc-no line through text
   ========================================= */

.care-journey {
  padding: 2rem 0;
  background: #fff;
}

.care-journey-scroll {
  height: 400vh;
  position: relative;
}

.care-journey-pin {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  align-items: center;
  padding: 1rem 0;
}

.care-journey-panel {
  width: min(calc(100% - 2.5rem), var(--max, 1200px));
  margin: 0 auto;
  height: min(88dvh, 720px);
  background:
    radial-gradient(ellipse 70% 55% at 18% 12%, rgba(61, 140, 132, 0.35), transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 78%, rgba(42, 95, 150, 0.28), transparent 50%),
    linear-gradient(160deg, #16353a 0%, #1a4450 38%, #123a48 72%, #0d2c38 100%);
  border-radius: 1.35rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.25rem, 3.5vw, 2.75rem) 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.care-journey-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 40;
}

.care-journey-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
  max-width: 17rem;
  flex-shrink: 0;
}

.care-journey-nav {
  display: flex;
  gap: 0.7rem;
  position: relative;
  z-index: 50;
}

.care-journey-panel .care-journey-arrow {
  width: 2.6rem;
  height: 2.6rem;
  min-width: 2.6rem;
  min-height: 2.6rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 50;
  pointer-events: auto;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.care-journey-panel .care-journey-arrow svg {
  display: block;
  pointer-events: none;
}

.care-journey-panel .care-journey-arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.care-journey-panel .care-journey-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: transparent;
}

.care-journey-panel .care-journey-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.care-journey-title {
  font-family: var(--font, "Segoe UI", sans-serif);
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 14rem;
}

.care-journey-lead {
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  line-height: 1.45;
  opacity: 0.88;
  text-align: right;
}

.care-journey-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: 0.25rem;
}

/* Copy sits in the open center-below the active number, above the arc base */
.care-journey-content {
  position: absolute;
  left: 50%;
  top: 42%;
  bottom: 10%;
  width: min(32em, 88vw);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}

.care-journey-slides {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  display: grid;
  place-items: start center;
  min-height: 0;
}

.care-journey-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  max-width: 30ch;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.care-journey-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.care-journey-slide h3 {
  font-family: var(--font, "Segoe UI", sans-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 18px rgba(8, 28, 34, 0.35);
}

.care-journey-slide h3::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  margin: 0.75rem auto 0;
  background: rgba(255, 185, 55, 0.9);
  border-radius: 2px;
}

.care-journey-slide p {
  font-size: clamp(0.9rem, 1.35vw, 1.02rem);
  line-height: 1.5;
  opacity: 0.82;
  max-width: 32ch;
  margin: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Removed .care-journey-line-it cut through the heading */

.care-journey-down {
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  z-index: 2;
  animation: care-journey-bounce 1.6s ease-in-out infinite;
}

.care-journey-down svg {
  display: block;
}

@keyframes care-journey-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateX(-50%) translateY(5px);
    opacity: 1;
  }
}

.care-journey-dial-wrap {
  --cj-size: min(140vw, 86em);
  position: absolute;
  left: 50%;
  top: 18%;
  width: var(--cj-size);
  height: 120%;
  transform: translateX(-50%);
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.care-journey-dial {
  position: absolute;
  left: 0;
  top: 4.75em;
  width: var(--cj-size);
  height: var(--cj-size);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transform-origin: 50% 50%;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.care-journey-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  transform-origin: 50% 50%;
}

/* Single number badge centered on the arc rim-no second overlapping dot */
.care-journey-pinhead {
  margin-top: -1.35em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 6;
  transition: opacity 0.3s ease;
}

.care-journey-item:not(.is-active) .care-journey-pinhead {
  opacity: 0.42;
}

.care-journey-num {
  width: 2.65em;
  height: 2.65em;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  font-size: 1.05em;
  font-weight: 600;
  background: #123a48;
  box-shadow: 0 0 0 4px rgba(18, 58, 72, 0.55);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
}

.care-journey-item.is-active .care-journey-num {
  background: #ffb937;
  color: #123a48;
  border-color: #ffb937;
  box-shadow: 0 0 0 5px rgba(255, 185, 55, 0.28);
  transform: scale(1.06);
}

.care-journey-pinhead:hover .care-journey-num {
  transform: scale(1.08);
}

.care-journey-dot {
  display: none;
}

.care-journey-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .care-journey-scroll {
    height: 360vh;
  }

  .care-journey-panel {
    height: min(84dvh, 640px);
    border-radius: 1.15rem;
    padding: 1.35rem 1.15rem 0;
  }

  .care-journey-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .care-journey-header-right {
    align-items: flex-start;
    max-width: 100%;
  }

  .care-journey-lead {
    text-align: left;
  }

  .care-journey-title {
    max-width: 100%;
  }

  .care-journey-dial-wrap {
    --cj-size: min(170vw, 52em);
    top: 14%;
  }

  .care-journey-dial {
    top: 3.9em;
  }

  .care-journey-pinhead {
    margin-top: -1.2em;
  }

  .care-journey-num {
    width: 2.35em;
    height: 2.35em;
    font-size: 1em;
  }

  .care-journey-content {
    top: 40%;
    bottom: 11%;
    width: min(92vw, 22em);
  }
}

@media (max-width: 560px) {
  .care-journey {
    padding: 1.25rem 0;
  }

  .care-journey-scroll {
    height: 320vh;
  }

  .care-journey-pin {
    padding: 0.5rem 0;
  }

  .care-journey-panel {
    width: calc(100% - 1.25rem);
    height: min(78dvh, 560px);
    border-radius: 1rem;
  }

  .care-journey-dial-wrap {
    --cj-size: min(195vw, 38em);
    top: 12%;
  }

  .care-journey-dial {
    top: 3.35em;
  }

  .care-journey-pinhead {
    margin-top: -1.1em;
  }

  .care-journey-num {
    width: 2.1em;
    height: 2.1em;
    font-size: 0.92em;
  }

  .care-journey-content {
    top: 38%;
    bottom: 12%;
  }

  .care-journey-panel .care-journey-arrow {
    width: 2.35rem;
    height: 2.35rem;
    min-width: 2.35rem;
    min-height: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .care-journey-dial,
  .care-journey-slide,
  .care-journey-num,
  .care-journey-down {
    transition: none;
    animation: none;
  }
}
