/* Mobilna nawigacja i czytelność */
@media (max-width:800px){
  header .navlinks.open {box-sizing:border-box;max-height:var(--menu-available,calc(100vh - 130px));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
  body {padding-bottom:calc(78px + env(safe-area-inset-bottom));}
  .mobilebar {display:block;position:fixed;bottom:0;left:0;right:0;z-index:19;padding:7px 16px calc(7px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -4px 18px rgba(21,31,54,.1);}
  .mobilebar .button.phone-hours {min-height:48px;padding:7px 12px;font-size:15px!important;}
  .mobilebar .call-time {display:none!important;}
  body:has(.navlinks.open) .mobilebar {visibility:hidden;pointer-events:none;}
  .contact-row a[href^="tel:"],.site-contact a[href^="tel:"],.medicus-footer-address {display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;}
  .medicus-footer-links a {min-height:44px;display:flex;align-items:center;}
  .medicus-footer .medicus-footer-main {row-gap:18px;}
  .medicus-footer {padding-top:42px;padding-bottom:22px;}
  .home-page .section {padding-top:clamp(48px,10vw,64px);padding-bottom:clamp(48px,10vw,64px);}
  .home-page .care .cards {gap:12px;}
  .home-page .care-card {padding-top:22px;padding-bottom:22px;}
  .service-card .prep-disclosure summary {min-height:44px;}
  .mobile-guide-quick {display:block;height:auto;min-height:0;margin:24px 19px 0;padding:18px 20px;background:#eaf0f7;border-radius:12px;color:#1a294b;}
  .mobile-guide-quick strong {display:block;margin-bottom:6px;font-size:16px;}
  .mobile-guide-quick a {display:flex;align-items:center;min-height:44px;color:#344f82;font-weight:600;}
  .guide .guide-intro {margin-top:16px;}
  .guide-intro .guide-index {display:none;}
  .guide-return {display:inline-flex;align-items:center;min-height:44px;margin:0 0 24px;color:#344f82;font-weight:600;}
}
@media (min-width:801px){.mobile-guide-quick,.guide-return{display:none}}
@media (max-width:800px) and (max-height:420px){body{padding-bottom:0}.mobilebar{display:none!important}}

/* Dopasowanie kafelków i linków */
.home-page .distinction .distinction-card:first-child{padding-left:24px}
.home-page a.floating{color:#192849;text-decoration:none;cursor:pointer}
.home-page a.floating:hover{box-shadow:0 12px 36px rgba(28,45,75,.18)}
.home-page a.floating:focus-visible{outline:3px solid #385a91;outline-offset:4px}
.service-area[aria-labelledby="faq-uslugi"] .service-heading{grid-template-columns:minmax(0,1fr);gap:0}
@media(max-width:700px){.home-page .distinction .distinction-card:nth-child(odd){padding-left:16px}}

/* The doctor's full name and specialties are already visible in the hero text. Keep the heading available to assistive technology without repeating it at the top of a small screen. */
@media(max-width:800px){.home-page .hero-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.home-page .hero-copy{padding-top:30px}}
