/* V8 PHASE 1 — mobile usability refinement; public site has no owner navigation. */
.patient-manage-nav{font:inherit;background:transparent;border:0;color:#155081;font-weight:750;cursor:pointer;padding:8px 2px}
.patient-manage-nav:hover{text-decoration:underline}
/* Demo notice must not compete with or obscure the fixed mobile appointment bar. */
.demo-notice{position:static!important;bottom:auto!important;display:block;padding:12px 18px!important;line-height:1.5!important;font-size:12px!important}
@media(max-width:760px){
  .hero-premium .hero-copy{padding-top:31px;padding-bottom:14px}
  .hero-premium .hero-sub{font-size:14px;line-height:1.65}
  .hero-premium .hero-credentials strong{font-size:12px}
  .hero-premium .hero-credentials div span{font-size:11px}
  /* A CTA in the hero is already visible; reveal the sticky CTA only after it scrolls away. */
  .mobile-booking-bar{bottom:0!important;padding-bottom:max(9px,env(safe-area-inset-bottom,0px));transform:translateY(130%);opacity:0;pointer-events:none;transition:transform .2s ease,opacity .2s ease}
  .mobile-booking-bar.is-visible{transform:translateY(0);opacity:1;pointer-events:auto}
  body{padding-bottom:0}
  .mobile-booking-bar.is-visible~.demo-notice{margin-bottom:0}
}
@media(max-width:620px){
  /* Desktop's four-card composition is kept; narrow phones get readable stacked cards. */
  .services-grid{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
  .service-card{min-height:0!important;padding:22px 21px!important}
  .service-card h3{font-size:19px!important;line-height:1.3!important}
  .service-card p{font-size:14px!important;line-height:1.6!important}
  .service-card .inline-link{font-size:13px!important;min-height:44px;display:inline-flex;align-items:center}
  .service-card .membership-card-note,.membership-card-note{font-size:12px!important}
  .service-count{font-size:12px}
  .hero-premium .hero-buttons{flex-wrap:wrap!important;gap:11px}
  .hero-premium .hero-buttons .button{font-size:12px!important;min-height:46px;padding:13px 16px!important}
  .hero-premium h1{font-size:clamp(36px,9.1vw,42px)}
  .hero-premium .hero-visual{height:333px;margin-bottom:14px}
  .hero-portrait-shell{width:268px;height:330px}
}
@media(prefers-reduced-motion:reduce){.mobile-booking-bar{transition:none}}
