/* Site created by Douglas Mallett at Toolforge.ai */

@media screen and (max-width: 767px) {
    .links.white.on-red, .footer-link, .footer-links {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  }

    .w-checkbox { display: flex; gap: 8px; align-items: flex-start; padding-left: 0; }
  .w-checkbox-input { width: 22px; height: 22px; margin: 1px 0 0 0; float: none; flex-shrink: 0; }
}

/* Sticky header: in-page jumps (#services, #about, #reviews ...) stop below it instead of under it.
   Header height: 100px on desktop, 104px on tablets, 73px on phones. */
html { scroll-padding-top: 104px; }
@media screen and (max-width: 991px) { html { scroll-padding-top: 108px; } }
@media screen and (max-width: 767px) { html { scroll-padding-top: 80px; } }
/* Webflow's own smooth scroll (menu links) only allows for a header with position: fixed, and ours is sticky.
   This invisible, zero-width fixed <header> at the top of site/_partials/header.html gives it the same offset. */
.mj-scroll-offset { position: fixed; top: 0; left: 0; width: 0; height: 104px; visibility: hidden; pointer-events: none; }
@media screen and (max-width: 991px) { .mj-scroll-offset { height: 108px; } }
@media screen and (max-width: 767px) { .mj-scroll-offset { height: 80px; } }

/* Phone strip: on phones (479px and narrower) Webflow hides the top banner, so the phone number and email sit in a
   blue strip directly under the logo and menu button, inside the sticky header (it scrolls with it and never covers
   the page). Markup: the end of site/_partials/header.html. Hidden on wider screens, where the top banner shows. */
.mj-phone-strip { display: none; }
@media screen and (max-width: 479px) {
  .mj-phone-strip { display: flex; justify-content: space-between; align-items: center; gap: 8px; background-color: var(--blue, #168df5); padding: 0 16px; }
  .mj-strip-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #fff; font-family: Poppins, sans-serif; font-size: 13px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; }
  .mj-strip-link svg { width: 16px; height: 16px; flex: none; fill: #fff; }
  /* the header is 44px taller here, so in-page jumps stop lower */
  html { scroll-padding-top: 124px; }
  .mj-scroll-offset { height: 124px; }
}
@media screen and (max-width: 374px) { .mj-strip-link { font-size: 12px; } }
@media screen and (max-width: 359px) { .mj-strip-link svg { display: none; } }
