/* Francisco feedback release: two clinical service pages and Dr. Lena Varone. */
body.page-clinical-service,
body.page-lena-profile {
  color: var(--sdg-navy-900);
  background: linear-gradient(180deg, #869dcc 0%, #d8e5ff 72%, #eef4ff 100%);
}

body.page-clinical-service .clinical-service-main,
body.page-lena-profile .lena-profile-main {
  width: 100%;
  margin: 0;
  padding: 0;
}

.clinical-service-hero {
  position: relative;
  display: grid;
  min-height: clamp(520px, 47vw, 690px);
  overflow: hidden;
  isolation: isolate;
}

.clinical-service-hero__media,
.clinical-service-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.clinical-service-hero__media {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.page-clinical-service--icon .clinical-service-hero__media {
  object-position: center 58%;
}

.clinical-service-hero__overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgb(10 32 70 / 88%) 0%, rgb(32 80 157 / 72%) 56%, rgb(81 125 196 / 50%) 100%);
}

.clinical-service-hero__content {
  align-self: end;
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: clamp(120px, 15vw, 210px) 0 clamp(76px, 8vw, 112px);
  color: #fff;
}

.clinical-service-parent {
  display: inline-block;
  margin-bottom: 26px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-decoration-thickness: 1px;
  text-transform: uppercase;
  text-underline-offset: 5px;
}

.clinical-service-hero .eyebrow,
.lena-profile-hero .eyebrow,
.clinical-service-cta .eyebrow {
  color: #d8e5ff;
}

.clinical-service-hero h1,
.lena-profile-hero h1 {
  max-width: 950px;
  margin: 12px 0 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(58px, 7vw, 102px);
  font-weight: 400;
  line-height: .92;
  text-wrap: balance;
  text-transform: uppercase;
}

.page-clinical-service--airway .clinical-service-hero h1 {
  max-width: 1020px;
  font-size: clamp(52px, 6.2vw, 88px);
}

.clinical-service-hero__content > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.5;
}

.clinical-service-content,
.lena-profile-content {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 118px) 0;
}

.clinical-service-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 92px);
  padding-bottom: clamp(62px, 7vw, 96px);
  border-bottom: 1px solid rgb(17 42 85 / 32%);
}

.clinical-service-intro h2,
.clinical-service-section h2,
.lena-profile-content h2,
.clinical-service-cta h2 {
  margin: 0 0 24px;
  color: var(--sdg-navy-900);
  font-family: var(--font-display);
  font-size: clamp(43px, 5.1vw, 72px);
  font-weight: 400;
  line-height: .98;
  text-wrap: balance;
  text-transform: uppercase;
}

.clinical-service-intro p,
.clinical-service-section p,
.clinical-service-section li,
.lena-profile-content p,
.clinical-service-cta p {
  color: var(--sdg-navy-900);
  font-size: 16px;
  line-height: 1.72;
}

.clinical-service-section {
  padding: clamp(62px, 7vw, 96px) 0;
  border-bottom: 1px solid rgb(17 42 85 / 28%);
}

.clinical-service-section--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.section-number {
  margin: 0 0 14px !important;
  color: #315fac !important;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.clinical-service-figure {
  margin: 0;
  padding: 14px;
  background: rgb(255 255 255 / 65%);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgb(17 42 85 / 16%);
}

.clinical-service-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px;
}

.clinical-service-figure--airway img {
  aspect-ratio: 1.25;
  object-fit: cover;
}

.clinical-service-figure figcaption {
  padding: 16px 8px 4px;
  color: var(--sdg-navy-900);
  font-size: 13px;
  line-height: 1.5;
}

.clinical-service-section--steps ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0;
  padding: 0;
  list-style: none;
  counter-reset: clinical-step;
}

.clinical-service-section--steps li {
  position: relative;
  min-height: 140px;
  padding: 28px 26px 24px 72px;
  background: rgb(255 255 255 / 62%);
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: 16px;
  counter-increment: clinical-step;
}

.clinical-service-section--steps li::before {
  position: absolute;
  top: 27px;
  left: 26px;
  color: #315fac;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  content: counter(clinical-step, decimal-leading-zero);
}

.clinical-service-faq {
  border-bottom: 0;
}

.clinical-service-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.clinical-service-faq__grid > div {
  padding: clamp(28px, 4vw, 42px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 42px rgb(17 42 85 / 12%);
}

.clinical-service-faq h3 {
  margin: 0 0 14px;
  color: var(--sdg-navy-900);
  font-size: 21px;
  line-height: 1.3;
}

.clinical-service-cta {
  width: 100%;
  padding: clamp(74px, 9vw, 126px) max(24px, calc((100vw - 1000px) / 2));
  color: #fff;
  text-align: center;
  background: linear-gradient(125deg, #315fac, #0e2853 88%);
}

.clinical-service-cta h2,
.clinical-service-cta p {
  color: #fff;
}

.clinical-service-cta p {
  max-width: 760px;
  margin: 0 auto 28px;
}

.clinical-service-cta .button {
  min-width: 190px;
}

/* Dr. Lena Varone profile */
.lena-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .7fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  min-height: 680px;
  padding: clamp(80px, 9vw, 124px) max(24px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, #0e2853 0%, #315fac 100%);
}

.lena-profile-hero__copy > p:last-child {
  max-width: 670px;
  color: #fff;
  font-size: 17px;
  line-height: 1.65;
}

.lena-profile-role {
  margin: 0 0 22px;
  color: #d8e5ff !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lena-profile-portrait {
  margin: 0;
  padding: 14px;
  background: rgb(216 229 255 / 88%);
  border-radius: 28px;
  box-shadow: 18px 24px 55px rgb(3 17 40 / 32%);
}

.lena-profile-portrait img {
  display: block;
  width: 100%;
  max-height: 570px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 17px;
}

.lena-profile-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
  gap: clamp(52px, 7vw, 92px);
  align-items: start;
}

.lena-profile-content > section:last-child {
  grid-column: 1 / -1;
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid rgb(17 42 85 / 28%);
}

.lena-profile-facts {
  padding: 16px clamp(24px, 4vw, 40px);
  background: rgb(255 255 255 / 70%);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgb(17 42 85 / 13%);
}

.lena-profile-facts > div {
  padding: 22px 0;
  border-bottom: 1px solid rgb(17 42 85 / 18%);
}

.lena-profile-facts > div:last-child {
  border-bottom: 0;
}

.lena-profile-facts span,
.lena-profile-facts strong {
  display: block;
}

.lena-profile-facts span {
  margin-bottom: 6px;
  color: #315fac;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lena-profile-facts strong {
  color: var(--sdg-navy-900);
  font-size: 15px;
  line-height: 1.4;
}

/* Lena's directory card keeps live text while its transparent portrait follows
   the same navy-panel treatment as the precomposed provider cards. */
body.page-team .staff-card--live,
body.page-team .staff-card--live:nth-last-child(2),
body.page-team .staff-card--live:last-child {
  align-self: start;
  width: calc(100% - 14px);
  min-height: 0;
  aspect-ratio: 378 / 442;
  margin: clamp(28px, 2.3vw, 33px) 7px clamp(22px, 1.8vw, 25px);
  padding: 20px 20px 24px;
  background: linear-gradient(180deg, #e4edfc 0%, #f7f8fb 100%);
  border-radius: 10px;
  box-shadow: 8px 12px 20px rgb(9 29 61 / 13%);
}

body.page-team .staff-card--live .staff-card__live-portrait {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1.36;
}

body.page-team .staff-card--live .staff-card__live-portrait::before {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 79%;
  background: linear-gradient(145deg, #315eaf, #172e59 82%);
  border-radius: 20px;
  content: '';
}

body.page-team .staff-card--live .staff-card__live-portrait img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 11%;
}

body.page-team .staff-card--live .staff-card__image-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.page-team .staff-card--live h3 {
  margin: 12px 0 6px;
  color: var(--sdg-navy-900);
  font-family: var(--font-display);
  font-size: clamp(29px, 2.7vw, 39px);
  font-weight: 400;
  line-height: .95;
  text-align: center;
  text-transform: uppercase;
}

body.page-team .staff-card--live p {
  margin-inline: 10px;
  text-align: center;
}

@media (max-width: 820px) {
  .clinical-service-intro,
  .clinical-service-section--split,
  .lena-profile-hero,
  .lena-profile-content {
    grid-template-columns: 1fr;
  }

  .clinical-service-section--split {
    gap: 36px;
  }

  .lena-profile-hero {
    min-height: 0;
  }

  .lena-profile-portrait {
    width: min(100%, 500px);
    margin: 0 auto;
  }

  .lena-profile-content > section:last-child {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .clinical-service-hero {
    min-height: 560px;
  }

  .clinical-service-hero__content,
  .clinical-service-content,
  .lena-profile-content {
    width: min(100% - 32px, 1180px);
  }

  .clinical-service-hero__content {
    padding-bottom: 64px;
  }

  .clinical-service-hero h1,
  .page-clinical-service--airway .clinical-service-hero h1,
  .lena-profile-hero h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .clinical-service-intro h2,
  .clinical-service-section h2,
  .lena-profile-content h2,
  .clinical-service-cta h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .clinical-service-section--steps ol,
  .clinical-service-faq__grid {
    grid-template-columns: 1fr;
  }

  .clinical-service-section--steps li {
    min-height: 0;
  }

  .lena-profile-hero {
    padding: 68px 16px 72px;
  }

  .lena-profile-portrait img {
    max-height: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clinical-service-hero__media,
  .lena-profile-portrait {
    transform: none;
  }
}
