/* Final HMS header polish — desktop navigation and mobile app-style header. */
.site-header{border-bottom:1px solid rgba(8,89,110,.09);background:rgba(255,255,255,.97);backdrop-filter:blur(16px)}
.site-brand{gap:12px}.site-brand .brand-logo{border:2px solid #d6efed;box-shadow:0 6px 15px rgba(10,91,111,.12)}
.site-brand strong{color:#093e67;font-weight:850}.site-brand small{font-weight:650;color:#57808a}

@media(min-width:851px){
  .site-header{height:86px!important;padding:0 clamp(20px,4vw,72px)!important;gap:20px!important}
  .site-nav{gap:18px!important}
  .site-nav a:not(.nav-appointment),.site-nav .nav-more summary{font-size:.82rem!important;font-weight:750!important;letter-spacing:.005em}
  .header-actions{gap:8px!important}
  .header-actions .health-package-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:auto!important;min-height:39px!important;padding:8px 11px!important;border:1px solid #cde8e6!important;border-radius:11px!important;background:#f0fbfa!important;color:#087b78!important;font-size:.72rem!important;font-weight:800!important;text-decoration:none!important;white-space:nowrap!important;transition:transform .22s ease,background .22s ease,box-shadow .22s ease!important}
  .header-actions .health-package-button span{font-size:.72rem!important;max-width:none!important}
  .header-actions .health-package-button span:after{display:none!important}
  .header-actions .health-package-button:hover{background:#d9f4f1!important;transform:translateY(-2px)!important;box-shadow:0 9px 17px rgba(5,113,111,.13)!important}
  .header-actions .nav-appointment,.header-actions .install-button{min-height:40px!important;border-radius:11px!important;font-size:.74rem!important}
  .header-actions .nav-appointment{padding:9px 13px!important}
  .header-actions .install-button{padding:9px 11px!important}
}
@media(min-width:851px) and (max-width:1120px){
  .site-header{padding-left:18px!important;padding-right:18px!important}
  .site-nav{gap:11px!important}.site-nav a:not(.nav-appointment),.site-nav .nav-more summary{font-size:.74rem!important}
  .header-actions .health-package-button{width:39px!important;padding:8px!important}.header-actions .health-package-button span{display:none!important}
  .header-actions .nav-appointment span,.header-actions .install-button span{display:none!important}.header-actions .nav-appointment,.header-actions .install-button{width:40px!important;padding:0!important;display:grid!important;place-items:center!important}
}

@media(max-width:850px){
  html:root body .site-header{background:rgba(255,255,255,.98)!important;border-bottom:1px solid #d9ecec!important;box-shadow:0 8px 22px rgba(7,62,81,.10)!important}
  html:root body .site-header .site-brand .brand-logo{width:43px!important;height:43px!important;border-radius:13px!important}
  html:root body .site-header .header-actions .nav-appointment{background:linear-gradient(135deg,#0d4b7d,#087e84)!important;box-shadow:0 8px 17px rgba(7,71,105,.22)!important}
  html:root body .site-header .header-actions .install-button{background:#eef9f8!important;color:#087d79!important;border-color:#c8e8e5!important}
  html:root body .site-header .site-menu-toggle{background:linear-gradient(135deg,#e7f8f7,#dff1f3)!important;border-color:#c7e5e4!important;color:#087b78!important;box-shadow:0 7px 15px rgba(7,104,108,.13)!important}
  html:root body .site-nav{background:linear-gradient(155deg,#ffffff,#edfafa)!important;border-color:#cfe7e7!important}
  html:root body .site-nav a{border:1px solid #e0eeee!important;background:rgba(255,255,255,.72)!important}
  html:root body .site-nav a.active{background:linear-gradient(135deg,#0e4a7c,#087c85)!important;color:#fff!important}
}
@media(max-width:390px){html:root body .site-header .site-brand strong{font-size:.78rem!important}html:root body .site-header .site-brand small{font-size:.54rem!important}}

/* Large desktop / 2K screens: keep the home hero copy inside its banner. */
@media (min-width:1600px){
  .home-slide .hero-home-content{width:min(1180px,100%)!important;max-width:1180px!important}
  .home-slider .hero-home-content h1{max-width:720px!important}
  .home-slider .hero-home-content p{max-width:560px!important}
  .home-slider .hero-actions{width:max-content!important;flex-wrap:nowrap!important}
  .home-slider .hero-primary{white-space:nowrap!important}
  .home-slider .hero-trust{right:clamp(42px,7vw,180px)!important}
  .slider-dots{left:clamp(70px,8vw,210px)!important}
  .slider-prev{left:clamp(24px,3vw,75px)!important}
  .slider-next{right:clamp(24px,3vw,75px)!important}
}
