/* The cover groups the photograph and copy on phones without changing the desktop layout. */
.reservation-actions .contact-link[hidden] { display: none !important; }
.hero-cover { display: contents; }
.hero--photo .hero-visual picture { display: block; width: 100%; height: 100%; }
@media (max-width: 700px) {
  .hero--photo .hero-inner { align-items: stretch; padding-top: 0; padding-bottom: 34px; }
  .hero--photo .hero-cover {
    position: relative;
    display: block;
    order: 1;
    width: 100%;
    min-height: clamp(530px, 75svh, 680px);
    overflow: hidden;
    background: #082e59;
  }
  .hero--photo .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    min-height: clamp(530px, 75svh, 680px);
    margin: 0;
    padding: 96px 24px 70px;
    color: #fff;
  }
  .hero--photo .eyebrow-pill { display: none; }
  .hero--photo .hero-support { display: contents; }
  .hero--photo .hero-visual {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0;
  }
  .hero--photo .hero-treatment-photo { object-position: 72% center; }
  .hero--photo .hero-visual::after {
    background:
      linear-gradient(90deg, #062b5455 0%, #062b5438 52%, transparent 82%),
      linear-gradient(180deg, #082b5470 0%, #082b543d 24%, #082b5488 42%, #082b54bc 55%, #06294ee8 73%, #052648 100%);
  }
  .hero--photo .hero-actions {
    order: 2;
    position: relative;
    z-index: 3;
    width: calc(100% - 32px);
    margin: -29px auto 0;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border: 1px solid #dbeaf6;
    border-radius: 20px;
    background: #fffffffa;
    box-shadow: 0 12px 30px #163e6b20;
  }
  .hero--photo .hero-actions .button {
    min-height: 52px;
    padding: 11px 16px;
    font-size: 1rem;
    line-height: 1.5;
  }
  .hero--photo .hero-actions .icon { width: 21px; height: 21px; }
  .hero--photo .hero-features {
    order: 3;
    position: relative;
    z-index: 2;
    width: calc(100% - 40px);
    margin: 19px auto 0;
    gap: 7px;
  }
  .hero--photo .hero-features li { padding: 10px 5px; font-size: .875rem; line-height: 1.55; }
  .hero--photo .hero-schedule-link {
    order: 4;
    width: calc(100% - 40px);
    min-height: 44px;
    margin: 12px auto 0;
  }
  .hero-title-first, .hero-title-second { white-space: normal; overflow-wrap: anywhere; }
  .hero--photo h1 {
    margin: 0 0 36px;
    color: #fff;
    font-size: clamp(2.8rem, 11.2vw, 3.8rem);
    line-height: 1.16;
    text-shadow: 0 2px 16px #061e4099;
  }
  .hero--photo .hero-credential {
    align-self: flex-start;
    max-width: 100%;
    padding: 7px 11px;
    background: #fffffff2;
    color: #0a3d78;
    font-size: .875rem;
    line-height: 1.45;
  }
  .hero--photo .hero-description {
    margin-top: 37px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px #061e4099;
  }

  .overview-card { min-height: 83px; padding-block: 14px; }
  .overview-card .small-label { font-size: .875rem; }
  .overview-card strong { font-size: 1.125rem; }
  .overview-card p { font-size: .875rem; line-height: 1.55; }
  .hero--photo + .overview { margin-top: -10px; }

  .practitioner-profile { gap: 20px; }
  .practitioner-portrait { aspect-ratio: 1 / 1.08; }
  .practitioner-portrait img { object-position: 50% 68%; }
  .practitioner-message { padding-block: 25px; }
  .message-body { line-height: 1.9; }
  .message-body > p { margin-top: 17px; }
  .message-closing { margin-top: 22px; }

  .experience-list li { font-size: .875rem; line-height: 1.65; }
  .comparison-card figcaption span { font-size: .875rem; }

  .service-fee .fee-details dt, .service-fee .fee-details dd { font-size: 1rem; }
  .visit-stop { gap: 8px; }
  .visit-dates { gap: 6px; font-size: clamp(1.4rem, 6vw, 1.75rem); }
  .visit-dates time > span { font-size: .875rem; }
  .visit-range { font-size: 1rem; }

  .faq-list summary, .faq-answer { font-size: 1rem; }
  .instagram-fallback > p:first-child { font-size: 1rem; line-height: 1.75; }
  #instagram-copy-status:not(:empty) { font-size: .875rem; }
  .instagram-fallback-row button { min-width: 70px; min-height: 44px; font-size: .875rem; }
}

@media (min-width: 520px) and (max-width: 700px) {
  .hero--photo .hero-actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .site-header .header-inner { justify-content: center; min-height: 58px; }
  .site-header nav { display: none; }
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .mobile-booking { gap: 11px; padding: 9px 16px calc(9px + env(safe-area-inset-bottom)); }
  .mobile-booking > .button { min-height: 48px; font-size: .9375rem; }
  .mobile-booking > a:last-child { font-size: .875rem; }
}

@media (max-width: 390px) {
  .hero--photo .hero-actions, .hero--photo .hero-features, .hero--photo .hero-schedule-link { width: calc(100% - 32px); }
  .hero--photo h1 { font-size: clamp(2.55rem, 12vw, 3rem); }
  .hero--photo .hero-credential { font-size: .8125rem; }
  .hero--photo .hero-features li { font-size: .8125rem; }
  .visit-dates { gap: 5px; }
  .mobile-booking { padding-inline: 12px; }
}

@media (max-width: 350px) {
  .header-inner { gap: 10px; }
  .nav-cta .icon { display: none; }
  .hero--photo .hero-features .icon { width: 21px; height: 21px; }
  .experience-list { grid-template-columns: 1fr; }
  .experience-list li:last-child { grid-column: auto !important; justify-content: flex-start; }
}
