/* Match Home's landscape sizing while retaining each division's identity. */
@media screen and (orientation: landscape) {
  [data-service] .site-header__inner { min-height: 48px; }
  [data-service] .hero__grid {
    width: min(1120px, calc(100% - 32px));
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    min-height: min(550px, calc(100svh - 55px));
    gap: 32px;
    padding: 24px env(safe-area-inset-right) 24px env(safe-area-inset-left);
  }
  [data-service] .hero__identity { width: min(90%, 440px, calc(100svh - 140px)); }
  [data-service] .hero__copy { min-width: 0; max-width: none; }
  [data-service] .hero__copy h1 { font-size: clamp(2rem, 3.9vw, 3.25rem); }
  [data-service] .hero__lead { margin-top: 12px; font-size: 1rem; line-height: 1.5; }
  [data-service] .credential-strip { margin-top: 12px; gap: 6px 14px; }
  [data-service] .diagnostic-fee { margin-top: 12px; }
  [data-service] .hero__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
  [data-service] .hero__actions .button { min-width: 0; min-height: 48px; padding: 10px 8px; font-size: 1rem; flex-direction: row; flex-wrap: wrap; gap: 3px 6px; }
}

/* A landscape phone has room beside its logo, rather than below it. */
@media screen and (orientation: landscape) and (max-height: 540px) {
  [data-service] .site-header__inner { min-height: 44px; padding-block: 0; }
  [data-service] .hero__grid {
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    min-height: calc(100svh - 47px);
    gap: 20px;
    padding-block: 10px;
  }
  [data-service] .hero__identity { width: min(100%, 300px, calc(100svh - 90px)); }
  [data-service] .hero__copy h1 { font-size: 1.75rem; }
  [data-service] .hero__lead { margin-top: 8px; font-size: .875rem; line-height: 1.4; }
  [data-service] .credential-strip { display: flex; margin-top: 8px; gap: 4px 12px; font-size: .75rem; }
  [data-service] .credential-strip li { gap: 6px; }
  [data-service] .credential-strip li::before { width: 16px; height: 16px; flex-basis: 16px; }
  [data-service] .diagnostic-fee { margin-top: 8px; }
  [data-service] .diagnostic-fee__copy { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
  [data-service] .diagnostic-fee__copy strong { font-size: .875rem; }
  [data-service] .diagnostic-fee__copy > span { font-size: .75rem; }
  [data-service] .hero__actions { margin-top: 8px; gap: 8px; }
  [data-service] .hero__actions .button { min-height: 44px; font-size: .875rem; padding: 8px 6px; }
  [data-service] .hero__actions .contact-number { font-size: inherit; }
}

@media screen and (orientation: landscape) and (max-width: 740px) and (max-height: 540px) {
  [data-service] .site-header .nav .header-phone { display: none; }
  [data-service] .hero__grid { gap: 12px; width: calc(100% - 24px); }
}

@media screen and (orientation: landscape) and (max-height: 360px) {
  [data-service] .hero__grid { padding-block: 6px; }
  [data-service] .hero__copy h1 { font-size: 1.5rem; }
  [data-service] .hero__lead { margin-top: 6px; font-size: .8125rem; }
  [data-service] .credential-strip,
  [data-service] .diagnostic-fee { margin-top: 6px; }
  [data-service] .diagnostic-fee summary { padding: 7px 10px; }
}
