/*
 * Patient Journey page presentation.
 * Scoped exclusively to .injurease-patient-journey.
 */

.injurease-patient-journey {
  --journey-space: clamp(72px,7vw,104px);
  --journey-soft: #f4f7f1;
  --journey-radius: 26px;
  overflow: clip;
  background: #fff;
}

.injurease-patient-journey * { min-width: 0; }

/* Hero uses the exact vertical rhythm and spacing of For Employers & HR. */
.injurease-patient-journey__hero {
  min-height: 0;
  padding: 0;
}
.injurease-patient-journey__hero-grid {
  min-height: 0;
  padding-top: clamp(54px,5.5vw,76px);
  padding-bottom: clamp(54px,5.5vw,76px);
  gap: clamp(34px,5vw,76px);
  align-items: center;
}
.injurease-patient-journey__hero-copy { max-width: 720px; }
.injurease-patient-journey__hero-copy .injurease-hero__lead { max-width: 680px; }
.injurease-patient-journey__hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 0;
}
.injurease-patient-journey__hero-image {
  display: block;
  width: min(100%,490px);
  height: auto;
  max-height: none;
  margin: 0;
  object-fit: contain;
}

/* Alternating editorial sections. */
.injurease-patient-journey__section {
  padding-block: var(--journey-space);
  background: #fff;
}
.injurease-patient-journey__section.is-soft { background: var(--journey-soft); }
.injurease-patient-journey__section.is-intro { padding-top: clamp(66px,6vw,88px); }
.injurease-patient-journey__split {
  display: grid;
  grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr);
  gap: clamp(46px,5vw,78px);
  align-items: stretch;
}
.injurease-patient-journey__section.is-reversed .injurease-patient-journey__copy { order: 2; }
.injurease-patient-journey__section.is-reversed .injurease-patient-journey__visual { order: 1; }

.injurease-patient-journey__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.injurease-patient-journey__copy h2 {
  max-width: 18ch;
  margin: 0 0 18px;
  font-size: clamp(34px,3.6vw,52px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.injurease-patient-journey__copy .injurease-prose {
  max-width: 720px;
  color: var(--inj-muted);
}
.injurease-patient-journey__copy .injurease-prose > :first-child { margin-top: 0; }
.injurease-patient-journey__copy .injurease-prose > :last-child { margin-bottom: 0; }
.injurease-patient-journey__copy .injurease-text-link { margin-top: 22px; }

.injurease-patient-journey__meta {
  display: block;
  margin-bottom: 22px;
}
.injurease-patient-journey__meta > i {
  display: grid;
  place-items: center;
  width: 50px;
  min-width: 50px;
  height: 50px;
  min-height: 50px;
  border: 1px solid rgba(8,63,28,.10);
  border-radius: 16px;
  background: linear-gradient(145deg,#fff,#eef4e8);
  color: var(--inj-primary);
  box-sizing: border-box;
}
.injurease-patient-journey__meta .injurease-icon {
  width: 23px;
  height: 23px;
  stroke-width: 1.8;
}

.injurease-patient-journey__visual { min-height: 100%; }
.injurease-patient-journey__media,
.injurease-patient-journey__motif {
  width: 100%;
  height: 100%;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--journey-radius);
  background: #e9eee6;
}
.injurease-patient-journey__section-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.injurease-patient-journey__motif {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8,63,28,.09);
  background:
    radial-gradient(circle at 20% 18%,rgba(179,206,27,.18),transparent 27%),
    linear-gradient(145deg,#f8faf5,#e7eee2);
}
.injurease-patient-journey__motif span {
  position: absolute;
  border-radius: 50%;
}
.injurease-patient-journey__motif span:nth-child(1) {
  width: 230px;
  height: 230px;
  border: 1px solid rgba(8,63,28,.11);
}
.injurease-patient-journey__motif span:nth-child(2) {
  width: 150px;
  height: 150px;
  border: 1px solid rgba(89,131,28,.18);
}
.injurease-patient-journey__motif i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: #fff;
  color: var(--inj-primary);
  box-shadow: 0 18px 44px rgba(8,63,28,.08);
}
.injurease-patient-journey__motif i .injurease-icon { width: 36px; height: 36px; }
.injurease-patient-journey__motif--hero { min-height: 380px; }

.injurease-patient-journey__additional { background: #fff; }
.injurease-patient-journey__additional > .injurease-container { max-width: 920px; }

.injurease-patient-journey__cta {
  padding-top: clamp(18px,2.4vw,30px);
  padding-bottom: var(--journey-space);
  background: #fff;
}
.injurease-patient-journey__cta.is-soft { background: var(--journey-soft); }
.injurease-patient-journey__cta .injurease-final-cta__inner {
  grid-template-columns: 1fr;
  align-items: start;
  border: 0;
  box-shadow: none;
}
.injurease-patient-journey__cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.injurease-patient-journey__cta-button { margin-top: 24px; }
/* Patient Journey final CTA only: match the white phone-button treatment. */
.injurease-patient-journey .injurease-patient-journey__cta-button[href*="book-an-assessment"] {
  border-color: rgba(8,63,28,.16);
  background: linear-gradient(180deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.95) 40%,rgba(242,247,243,.96) 100%);
  color: var(--inj-primary);
  box-shadow: none;
  text-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.injurease-patient-journey .injurease-patient-journey__cta-button[href*="book-an-assessment"]:hover {
  border-color: rgba(8,63,28,.24);
  background: linear-gradient(180deg,#fff 0%,rgba(255,255,255,.98) 40%,rgba(246,249,247,.99) 100%);
  color: var(--inj-primary);
}
/* Keep this CTA completely stationary: hover only changes the surface, not the text/button position. */
.injurease-patient-journey .injurease-patient-journey__cta-button[href*="book-an-assessment"],
.injurease-patient-journey .injurease-patient-journey__cta-button[href*="book-an-assessment"]:hover,
.injurease-patient-journey .injurease-patient-journey__cta-button[href*="book-an-assessment"]:active,
.injurease-patient-journey .injurease-patient-journey__cta-button[href*="book-an-assessment"]:focus-visible {
  transform: none !important;
  font-size: var(--inj-button-font-size-desktop,15px);
  font-weight: var(--inj-button-font-weight,800);
  line-height: 1;
  letter-spacing: normal;
  transition: background 180ms ease,border-color 180ms ease,color 180ms ease;
}
.injurease-patient-journey__cta .injurease-final-cta__inner.has-background-image::after { z-index: 1; }
.injurease-patient-journey__cta-background {
  position: absolute !important;
  z-index: 0 !important;
  inset: 0;
  max-width: none !important;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.injurease-patient-journey__cta-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(6,48,22,.88) 0%,rgba(6,48,22,.78) 54%,rgba(6,48,22,.66) 100%);
}
.injurease-patient-journey__cta-background-picture {
  display: block;
  width: 100%;
  height: 100%;
}
.injurease-patient-journey__cta-background-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.injurease-patient-journey__cta .injurease-final-cta__inner > div:not(.injurease-patient-journey__cta-background),
.injurease-patient-journey__cta-button {
  position: relative;
  z-index: 2;
}

@media (max-width: 960px) {
  .injurease-patient-journey__hero-grid,
  .injurease-patient-journey__split { grid-template-columns: 1fr; }
  .injurease-patient-journey__hero-grid {
    padding-top: 60px;
    padding-bottom: 60px;
    gap: 34px;
  }
  .injurease-patient-journey__split { gap: 38px; }
  .injurease-patient-journey__hero-copy { max-width: 820px; }
  .injurease-patient-journey__hero-visual { width: 100%; justify-content: center; }
  .injurease-patient-journey__hero-image { width: min(100%,520px); }
  .injurease-patient-journey__section.is-reversed .injurease-patient-journey__copy { order: 1; }
  .injurease-patient-journey__section.is-reversed .injurease-patient-journey__visual { order: 2; }
  .injurease-patient-journey__media,
  .injurease-patient-journey__motif { min-height: 360px; }
}

@media (max-width: 680px) {
  .injurease-patient-journey { --journey-space: 58px; }
  .injurease-patient-journey__hero-grid {
    padding-top: 46px;
    padding-bottom: 46px;
    gap: 28px;
  }
  .injurease-patient-journey__section.is-intro { padding-top: 58px; }
  .injurease-patient-journey__split { gap: 28px; }
  .injurease-patient-journey__copy h2 { font-size: clamp(30px,9vw,38px); }
  .injurease-patient-journey__meta { margin-bottom: 18px; }
  .injurease-patient-journey__meta > i {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    border-radius: 14px;
  }
  .injurease-patient-journey__meta .injurease-icon { width: 21px; height: 21px; }
  .injurease-patient-journey__media,
  .injurease-patient-journey__motif { min-height: 290px; border-radius: 22px; }
  .injurease-patient-journey__hero-image { max-height: 380px; }
  .injurease-patient-journey__cta { padding-top: 16px; padding-bottom: 58px; }
}
