.patient-profile {
  --profile-green: #004940;
  --profile-card: #f1f0dd;
  color: #112830;
  background: #faf7ef;
}

.profile-main {
  width: min(94%, 1120px);
  margin-inline: auto;
  padding-block: clamp(1.25rem, 3vw, 2.5rem);
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  align-items: center;
  gap: 1.5rem;
}
.profile-hero h1 { color: #073d3a; font-size: clamp(2.25rem, 4vw, 3.8rem); }
.profile-eyebrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1rem; }
.profile-eyebrow a { color: var(--profile-green); font-size: .85rem; }
.profile-hero p:not(.eyebrow) { margin-top: .85rem; max-width: 48ch; }
.profile-main img { width: 100%; height: auto; display: block; }
.profile-hero > img,
.profile-pack > img { border-radius: 1rem; }
.profile-main .button { background: var(--profile-green); color: #fff; white-space: normal; }
.profile-main .button.secondary { background: transparent; color: var(--profile-green); }
.profile-main .button:focus-visible { outline: 3px solid #b5801b; outline-offset: 3px; }

.profile-section { margin-top: clamp(1.4rem, 3vw, 2.5rem); }
.profile-section > h2 { margin-bottom: .7rem; font-size: clamp(1.55rem, 2.8vw, 2.4rem); }
.profile-grid { display: grid; gap: .8rem; list-style: none; padding: 0; margin: 0; }
.profile-journey { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.profile-contents,
.profile-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.profile-card,
.profile-steps li { background: var(--profile-card); border-radius: .8rem; }
.profile-card { overflow: hidden; }
.profile-card h3,
.profile-steps li { font: 750 1rem/1.25 system-ui, sans-serif; }
.profile-card p { font-size: .92rem; margin-top: .4rem; }
.profile-card > div { padding: .7rem .8rem .9rem; }
.profile-card img { aspect-ratio: 1.6; object-fit: cover; }
.profile-contents .profile-card { text-align: center; }
.profile-contents .profile-card img { aspect-ratio: 1.42; }
.profile-contents h3 { padding: .65rem .35rem; }
.profile-steps li { padding: .7rem; }
.profile-steps span {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: .45rem;
  border: 1px solid #76a781;
  border-radius: 100%;
  color: var(--profile-green);
  font-size: .75rem;
}
.profile-pack { display: grid; grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); gap: 1.3rem; align-items: center; }
.profile-pack p { font-size: .9rem; }
.profile-checklist { display: grid; gap: .3rem; padding: 0; margin: 0 0 .55rem; list-style: none; }
.profile-checklist li { display: flex; gap: .6rem; padding: .25rem .65rem; border-radius: 1rem; background: #e9efd8; font-weight: 700; }
.profile-checklist span { color: #226b35; }

.profile-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 2.7vw, 1.6rem);
  background: var(--profile-green);
  color: #fff;
  border-radius: 1rem;
}
.profile-panel h2 { color: inherit; margin: 0; }
.profile-scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.profile-scope h3 { font: 750 1rem/1.25 system-ui, sans-serif; }
.profile-scope p,
.profile-alert { font-size: .9rem; margin-top: .4rem; }
.profile-alert { border: 1px solid #a4bfb5; border-radius: .65rem; margin-top: .75rem; padding: .35rem .6rem; }
.profile-situations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profile-situations .profile-card { display: grid; grid-template-columns: 1fr 1fr; }
.profile-situations img { height: 100%; aspect-ratio: auto; }
.profile-enquiry { grid-template-columns: minmax(0, 1fr) auto; }
.profile-enquiry p { margin-top: .45rem; }
.profile-main .profile-call { background: #faf7ef; color: #073d3a; }

@media (max-width: 850px) {
  .profile-contents, .profile-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-situations .profile-card { display: block; }
  .profile-situations img { height: auto; aspect-ratio: 1.6; }
  .profile-hero, .profile-panel { grid-template-columns: 1fr; }
  .profile-hero > img { max-width: 620px; }
  .profile-enquiry .profile-call { justify-self: start; }
}
@media (max-width: 590px) {
  .profile-main { width: calc(100% - 2rem); }
  .profile-journey, .profile-contents, .profile-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-card h3, .profile-steps li { font-size: .93rem; }
  .profile-situations, .profile-pack, .profile-scope { grid-template-columns: 1fr; }
  .profile-situations .profile-card { display: grid; }
  .profile-situations img { height: 100%; aspect-ratio: auto; }
}
