/* Radiologists page sections (Figma 449:1187 → 450:176). Shared sections are in sections.css. */

/* ---------- "Choose how you Radiant your life" ---------- */
.choose { background: #fff; padding-block: 112px 120px; }
.choose__head { display: grid; grid-template-columns: minmax(0, 472px) minmax(0, 478px); justify-content: space-between; gap: 48px; }
.choose__head h2 { font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.choose__head p { padding-top: 12px; font-size: 20px; line-height: 1.3; color: var(--ink-soft); opacity: 0.9; }
.choose__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 120px; }
.choose-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 72px;
  border-radius: 16px;
  background: rgb(from var(--green-25) r g b / 0.15);
  box-shadow: 0 0 24px rgb(from var(--green-950) r g b / 0.05);
}
.choose-card__media { position: relative; aspect-ratio: 602 / 381; border-radius: var(--radius-image); overflow: hidden; }
.choose-card__media img { width: 100%; height: 100%; object-fit: cover; }
.choose-card__label { position: absolute; left: 21px; top: 20px; padding: 8px 16px; border-radius: 40px; background: var(--green-950); color: var(--surface-tint); font-size: 16px; line-height: 1; }
.choose-card h3 { margin-top: 8px; font-size: 24px; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.choose-card p { margin-top: -8px; font-size: 16px; line-height: 1.3; color: var(--ink); opacity: 0.8; }

/* ---------- "How we can help you" ---------- */
.help { background: var(--green-800); color: var(--on-dark); padding-block: 107px 120px; }
.help__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.help-card { display: flex; flex-direction: column; gap: 20px; min-height: 412px; padding: 24px; border-radius: 4px; }
.help-card .icon { color: var(--on-dark); }
.help-card h3 { margin-top: 4px; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; color: var(--green-25); }
.help-card p { margin-top: auto; font-size: 16px; line-height: 1.3; color: var(--on-dark); }

/* ---------- "How to get started" ---------- */
.steps { background: linear-gradient(137.45deg, var(--green-800) 13.3%, var(--green-900) 87.6%); color: var(--on-dark); padding-block: 206px 200px; }
.steps .section-heading__title { letter-spacing: -0.04em; }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 58px; }
/* The line runs the full width of the screen, through the dots. */
.steps__list::before { content: ""; position: absolute; top: 88px; left: -50vw; right: -50vw; height: 1px; background: rgba(255, 255, 255, 0.5); }
.step { display: flex; flex-direction: column; align-items: flex-start; }
.step__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgb(from var(--green-25) r g b / 0.2);
  border-radius: 40px;
  background: rgb(from var(--green-950) r g b / 0.2);
  font-size: 24px;
  line-height: 1;
}
.step__num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-tint); color: var(--ink); font-size: 16px; }
.step__dot { position: relative; width: 14.5px; height: 14.5px; margin-top: 25px; border-radius: 50%; background: var(--surface-tint); }

/* Playing through the steps (motion.js). The mint fill runs from the left edge of the screen to the current dot
   (--fill-x, measured from the left of the list), and the step it reaches lights up. */
.steps__flow { position: relative; margin-top: 135px; }
.steps__fill {
  position: absolute;
  z-index: 1;
  top: 87.5px; /* centred on the 1px line */
  left: calc(50% - 50vw);
  width: calc(50vw - 50% + var(--fill-x, 0px));
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to right, transparent, var(--mint) 30%);
  box-shadow: 0 0 12px rgb(from var(--mint) r g b / 0.6);
  opacity: 0;
  pointer-events: none;
  transition: width var(--fill-dur, 1200ms) var(--ease-out), opacity 0.6s;
}
.steps__flow.is-playing .steps__fill { opacity: 1; }
.steps__list { z-index: 0; }
.step__dot { z-index: 2; transition: background-color 0.4s, scale 0.4s var(--ease-out); }
.step__num, .step__pill { transition: background-color 0.4s, border-color 0.4s, color 0.4s; }
.step.is-done .step__dot, .step.is-done .step__num { background: var(--mint); }
.step.is-active .step__dot, .step.is-active .step__num { background: var(--mint); }
.step.is-active .step__dot { scale: 1.25; }
.step.is-active .step__pill { border-color: rgb(from var(--mint) r g b / 0.7); background: rgb(from var(--green-950) r g b / 0.4); }
/* A ring ripples out from the dot each time a step lights up. */
.step__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--mint); opacity: 0; }
.step.is-active .step__dot::after { animation: step-ripple 1.6s var(--ease-out) infinite; }
@keyframes step-ripple { from { opacity: 0.9; scale: 1; } to { opacity: 0; scale: 3; } }
.step p { max-width: 277px; margin-top: 32px; font-size: 16px; line-height: 1.3; color: var(--on-dark-soft); }

/* ---------- "Practices work with Radian" ---------- */
.practices-strip { --heading: var(--heading-green); background: #fff; padding-block: 128px 160px; }
.logo-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.logo-card { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 12px; min-height: 161px; padding: 24px; transition: border-color 0.15s, background-color 0.15s; }
.logo-card:hover { border-color: var(--green-600); background: rgb(from var(--green-100) r g b / 0.6); }
.logo-card__logo { flex-basis: 100%; height: 40px; }
.logo-card__logo img { height: 100%; width: auto; max-width: 140px; object-fit: contain; object-position: left; }
.logo-card__name { flex: 1; color: var(--green-900); font-size: 22px; line-height: 1.2; opacity: 0.85; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  .choose, .help, .practices-strip { padding-block: var(--section-space); }
  .steps { padding-block: var(--section-space); }
  .choose__head { grid-template-columns: 1fr; }
  .choose__cards { margin-top: 56px; }
  .help__cards, .logo-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-card { min-height: 0; }
  .steps__list { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps__flow { margin-top: 72px; }
  .steps__list::before, .steps__fill { display: none; } /* steps stack, so there's no line; the steps still light up in turn */
}
@media (max-width: 760px) {
  .choose__head h2 { font-size: 34px; }
  .choose__cards, .help__cards, .logo-cards, .steps__list { grid-template-columns: 1fr; }
  .choose-card { padding-bottom: 32px; }
  .step__pill { font-size: 20px; }
}
