/* MarketReady KC primary-brand mobile header.
   Scoped to the customer site only; booking components and mobile dock are untouched. */
@media (max-width: 720px) {
  .header {
    position: relative !important;
    background: #102847 !important;
    border: 0 !important;
    z-index: 90 !important;
  }
  .header .nav {
    position: relative !important;
    box-sizing: border-box !important;
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    height: 112px !important;
    min-height: 112px !important;
    padding: 3px 25px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  .header .brand.brandExactLogo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    width: 150px !important;
    min-width: 150px !important;
    height: 106px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    text-decoration: none !important;
    font-size: 0 !important;
  }
  .header .brand.brandExactLogo::before { display: none !important; }
  .header .brand.brandExactLogo .siteExactLogo {
    display: block !important;
    width: 150px !important;
    height: 100px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
  }
  .header .brand.brandExactLogo small,
  .header .brand.brandExactLogo .brandText {
    display: none !important;
  }
  .header .nav > nav:not(.mrBrandMenu),
  .header .nav > .navCta {
    display: none !important;
  }
  .header .mrBrandMenuButton {
    display: flex !important;
    flex: 0 0 44px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 44px !important;
    height: 44px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    cursor: pointer !important;
  }
  .header .mrBrandMenuButton span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: #f6f8fc !important;
  }
  .header .mrBrandMenu {
    position: absolute !important;
    top: calc(100% - 2px) !important;
    right: 16px !important;
    z-index: 99 !important;
    box-sizing: border-box !important;
    width: min(280px, calc(100vw - 32px)) !important;
    padding: 8px !important;
    background: #102847 !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 26px rgba(0,0,0,.3) !important;
  }
  .header .mrBrandMenu[hidden] { display: none !important; }
  .header .mrBrandMenu:not([hidden]) { display: flex !important; flex-direction: column !important; }
  .header .mrBrandMenu a {
    display: block !important;
    padding: 12px 14px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 7px !important;
  }
  .header .mrBrandMenu a:focus-visible,
  .header .mrBrandMenu a:hover {
    outline: 2px solid #65d569 !important;
    outline-offset: -2px !important;
  }
}
@media (min-width: 721px) {
  .header .mrBrandMenuButton,
  .header .mrBrandMenu { display: none !important; }
}

/* Compact mobile storefront: center the existing approved logo and expose more service choices.
   Only affects the public-facing page on small screens, not desktop, admin, or checkout. */
@media (max-width: 720px) {
  .site > .header {
    background: radial-gradient(ellipse 74% 130% at 50% 50%, #101a2e 0%, #101a2e 27%, #13263f 61%, #183a59 100%) !important;
    box-shadow: none !important;
  }
  .site > .header .nav {
    height: 96px !important;
    min-height: 96px !important;
    padding: 0 19px !important;
    justify-content: flex-end !important;
  }
  .site > .header .brand.brandExactLogo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 150px !important;
    min-width: 0 !important;
    height: 94px !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  .site > .header .brand.brandExactLogo .siteExactLogo {
    display: block !important;
    width: 150px !important;
    height: 94px !important;
    object-fit: contain !important;
    /* Feather only the embedded navy backdrop, leaving the emblem and text sharp. */
    -webkit-mask-image: radial-gradient(ellipse 74% 82% at 50% 50%, #000 58%, transparent 100%);
    mask-image: radial-gradient(ellipse 74% 82% at 50% 50%, #000 58%, transparent 100%);
  }
  .site > .header .mrBrandMenuButton {
    position: relative !important;
    z-index: 2 !important;
    margin-left: auto !important;
  }
  .site > .header .mrBrandMenu {
    background: #102a44 !important;
  }
  .site .hero {
    padding-top: 0 !important;
  }
  .site .hero > .wrap {
    padding-top: 0 !important;
  }
  .site .hero .heroGrid {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 4px !important;
    overflow: visible !important;
  }
  .site .hero .heroGrid > div:first-child {
    min-height: 0 !important;
    height: auto !important;
    padding: 12px 4px 5px !important;
    justify-content: flex-start !important;
  }
  .site .hero .heroGrid .eyebrow {
    margin: 0 0 9px !important;
    padding: 5px 9px !important;
    font-size: .59rem !important;
    line-height: 1.2 !important;
  }
  .site .hero .heroGrid h1 {
    font-size: clamp(1.95rem, 8.4vw, 2.45rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -.044em !important;
    max-width: 100% !important;
    margin: 0 0 6px !important;
  }
  .site .hero .heroGrid h1 span {
    line-height: 1.02 !important;
  }
  .site .hero .heroGrid > div:first-child::after {
    display: none !important;
  }
  .site .hero .mockBenefits {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 7px !important;
    margin: 2px 0 8px !important;
  }
  .site .hero .mockBenefit {
    min-height: 48px !important;
    padding: 5px 4px !important;
    gap: 8px !important;
    font-size: .69rem !important;
    line-height: 1.13 !important;
  }
  .site .hero .mockBenefit i {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    border-width: 2px !important;
  }
  .site .hero .reactiveServiceMenu {
    margin-top: 0 !important;
  }
}

/* Mobile hero typography alignment refinement, November 2026. */
@media (max-width: 720px) {
  .site .hero .heroGrid .eyebrow {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    justify-content: center !important;
    max-width: 100% !important;
  }
  .site .hero .heroGrid h1 {
    font-size: clamp(1.5rem, 6.8vw, 2rem) !important;
    line-height: 1.07 !important;
    white-space: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .site .hero .heroGrid h1 br {
    display: none !important;
  }
  .site .hero .heroGrid h1 span {
    display: block !important;
    white-space: nowrap !important;
    line-height: 1.07 !important;
  }
}
