/* Testosterone evaluation pages. Shared brand tokens and buttons come from styles.css. */
.hrt-page { --hrt-header-height: 74px; --hrt-focus: #8cece1; }
.hrt-page section[id] { scroll-margin-top: calc(var(--hrt-header-height) + 16px); }
.hrt-page #main:focus { outline: none; }
.hrt-page :is(a, summary, video):focus-visible { outline: 3px solid var(--hrt-focus); outline-offset: 5px; }
.hrt-skip {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 10px;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 750;
}
.hrt-skip:focus { transform: translateY(0); }
.hrt-header .header-inner { min-height: var(--hrt-header-height); }
.hrt-header a { display: inline-flex; min-height: 44px; align-items: center; }
.hrt-header .hrt-language {
  padding: 0 15px;
  border: 1px solid #528d93;
  border-radius: 100px;
  color: var(--teal-soft);
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 4px;
}
.hrt-hero {
  padding: calc(var(--hrt-header-height) + clamp(48px, 6vw, 94px)) 0 clamp(55px, 7vw, 100px);
  background:
    radial-gradient(ellipse at 77% 40%, #154450, transparent 62%),
    linear-gradient(152deg, #092a38, var(--navy) 82%);
}
.hrt-hero-grid, .hrt-split {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 104px);
}
.hrt-hero .eyebrow { color: var(--teal-soft); }
.hrt-page h1, .hrt-page h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.042em;
  text-wrap: balance;
}
.hrt-page h1 { max-width: 16ch; font-size: clamp(44px, 6.05vw, 90px); line-height: 1.01; }
.hrt-page h1 em { color: var(--teal-soft); font-weight: 400; }
.hrt-page h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.08; }
.hrt-lead {
  max-width: 51ch;
  margin: 22px 0 0;
  color: #d0e3e7;
  font-size: clamp(16px, 1.65vw, 20px);
  line-height: 1.62;
}
.hrt-price {
  margin: 22px 0 0;
  color: #d3e6e7;
  font-size: 15px;
  line-height: 1.55;
}
.hrt-price strong { color: #fff; font-size: 21px; }
.hrt-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 19px; }
.hrt-actions .primary { min-height: 52px; padding-inline: 20px; font-size: 14px; text-align: center; }
.hrt-call { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 750; text-underline-offset: 4px; }
.hrt-call:hover, .hrt-footer a:hover { color: var(--teal-soft); }
.hrt-language-note { margin: 8px 0 0; color: #b9d3db; font-size: 14px; line-height: 1.5; }
.hrt-portrait {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100%, 390px);
  margin: 0;
  overflow: hidden;
  border: 1px solid #64949a;
  border-radius: 26px;
  box-shadow: 0 22px 60px #00131d90;
}
.hrt-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center 34%;
}
.hrt-portrait figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 5px;
  padding: 42px 21px 20px;
  background: linear-gradient(transparent, #051522 80%);
  color: #f1ffff;
}
.hrt-portrait figcaption span { color: var(--teal-soft); font-size: 12px; font-weight: 700; }
.hrt-portrait figcaption strong { font-family: var(--serif); font-size: clamp(20px, 2.7vw, 29px); font-weight: 400; }
.hrt-section { --hrt-focus: #075b56; padding: clamp(55px, 7vw, 100px) 0; color: var(--ink); background: var(--paper); }
.hrt-section .eyebrow { color: #116158; }
.hrt-section :is(p, li) { color: #344f59; line-height: 1.65; }
.hrt-section .hrt-split { align-items: start; }
.hrt-section .hrt-intro { max-width: 53ch; margin: 16px 0 0; }
.hrt-visit { background: var(--cream); }
.hrt-steps { list-style: none; padding: 0; margin: 0; }
.hrt-steps li { border-top: 1px solid #b5c5c1; padding: 17px 0; }
.hrt-steps li:last-child { border-bottom: 1px solid #b5c5c1; }
.hrt-steps h3, .hrt-location h3 { margin: 0; font-size: 18px; }
.hrt-steps p { margin: 6px 0 0; }
.hrt-faq details { border-top: 1px solid #b5c5c1; }
.hrt-faq details:last-child { border-bottom: 1px solid #b5c5c1; }
.hrt-faq summary { cursor: pointer; min-height: 50px; padding: 14px 3px; line-height: 1.5; font-weight: 750; }
.hrt-faq summary::marker { color: #0c635a; }
.hrt-faq details p { margin: 0 0 17px 3px; }
.hrt-source, .hrt-related { display: inline-block; padding: 9px 0; color: #0b635a; font-size: 14px; font-weight: 750; text-underline-offset: 4px; }
.hrt-cta { padding: clamp(52px, 7vw, 94px) 0; background: radial-gradient(ellipse at 90% 30%, #154450, #082532 70%); }
.hrt-cta p { max-width: 47ch; color: #d0e3e7; line-height: 1.6; }
.hrt-location { padding: 20px 24px; border: 1px solid #59858b; border-radius: 18px; }
.hrt-location address { margin: 12px 0 2px; line-height: 1.55; font-style: normal; }
.hrt-location a { color: var(--teal-soft); }
.hrt-footer { padding: 23px 0; color: #bed3d8; font-size: 14px; }
.hrt-footer .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 22px; }
.hrt-footer a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.hrt-film { max-width: min(100%, 380px); margin: 0 auto; }
.hrt-film video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 18px; background: var(--navy); }
.hrt-film figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; }
@media (max-width: 760px) {
  .hrt-page { --hrt-header-height: 64px; }
  .hrt-header .nav { display: none; }
  .hrt-hero-grid, .hrt-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hrt-page h1 { font-size: clamp(40px, 9vw, 58px); }
  .hrt-portrait { justify-self: start; width: min(100%, 360px); }
  .hrt-portrait img { aspect-ratio: 4 / 3.4; object-position: center 27%; }
  .hrt-portrait figcaption { padding-bottom: 15px; }
}
@media (max-width: 380px) {
  .hrt-page .wrap { width: calc(100% - 32px); }
  .hrt-header .header-inner { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.hrt-page) { scroll-behavior: auto; }
  .hrt-page .primary { transition: none; }
  .hrt-page .primary:hover { transform: none; }
}

.hrt-education-film .hrt-split { align-items: center; }
.hrt-education-film .hrt-film { margin: 0 auto; width: min(100%, 320px); }
.hrt-film video { display: block; width: 100%; height: auto; aspect-ratio: 9/16; border-radius: 18px; background: #0b2030; }
.hrt-film-language { font-size: .93rem; opacity: .82; }
.hrt-crosslink { padding-block: 0 2rem; }
.hrt-crosslink a { text-decoration: underline; text-underline-offset: .2em; }
