/* v16: mobile, closer to the reference: big headline, side-by-side buttons, full-screen menu with service cards */
@media (max-width: 991.98px) {
  /* ---- full-screen menu ---- */
  html body #mls-backdrop { display: none !important; }
  html body:not(.mls-open) #mls { display: none !important; }
  html body.mls-open #mls {
    display: flex !important; flex-direction: column; position: fixed !important; inset: 0 !important; left: 0 !important; right: 0 !important; top: 0 !important; bottom: 0 !important;
    width: 100% !important; height: 100% !important; max-height: none !important; border-radius: 0 !important; transform: none !important; animation: none !important;
    overflow-y: auto; background: #fff !important; padding: 0 16px 30px; border: 0 !important; z-index: 1000001;
  }
  #mls .mls-head { order: 1; border: 0 !important; padding: 14px 0 6px; }
  #mls .mls-lang { display: none !important; }
  #mls .mls-close__t { display: none; }
  #mls .mls-close { width: 44px; height: 44px; border-radius: 14px; background: var(--bx-lav); display: grid !important; place-items: center; padding: 0; }
  #mls .mls-nav { order: 2; display: flex; flex-direction: column; align-items: center; padding: 14px 0 8px; }
  #mls .mls-nav > li { border: 0 !important; width: 100%; text-align: center; }
  #mls .mls-nav > li:has(.mls-acc) { display: none; }
  html body #mls .mls-nav a.mls-link { justify-content: center; padding: 3px 10px !important; font-family: var(--bx-display) !important; font-size: 3rem !important; line-height: 1; letter-spacing: .005em; color: var(--bx-ink) !important; }
  html body #mls .mls-nav a.mls-link.is-active { color: var(--bx-orange) !important; }
  #mls .mls-cards { order: 3; display: grid !important; grid-template-columns: 1fr; gap: 14px; background: transparent; padding: 14px 0 0; }
  .mls-card { position: relative; background: var(--bx-orange); border-radius: 30px; padding: 16px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
  .mls-card h3 { margin: 0 0 2px 4px; padding-right: 110px; font-size: 2.1rem !important; line-height: .9; color: var(--bx-ink); }
  .mls-card__m { position: absolute; top: -14px; right: 6px; width: 96px; height: 96px; transform: rotate(6deg); }
  .mls-card__rows { display: grid; gap: 6px; }
  .mls-card__rows a { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 13px 14px; color: var(--bx-ink) !important; text-decoration: none !important; font: 800 .8rem/1.1 var(--bx-body); letter-spacing: .02em; text-transform: uppercase; }
  .mls-more { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .mls-more a { width: 44px; height: 44px; border-radius: 14px; background: var(--bx-lav); display: grid; place-items: center; }
  .mls-more img { width: 24px; height: 24px; object-fit: contain; }
  #mls .mls-langs { order: 4; display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; padding: 18px 0 8px; background: transparent !important; border: 0 !important; }
  #mls .mls-langs a { background: var(--bx-lav); border-radius: 14px; padding: 11px 12px !important; font-weight: 700 !important; }
  #mls .mls-langs a.is-active { background: var(--bx-ink) !important; color: #fff !important; }
  #mls .mls-foot { order: 5; padding: 8px 0 0 !important; grid-template-columns: 1fr; }
  #mls .mls-foot .mls-btn--ghost { display: none; }
  #mls .mls-foot .mls-btn--main { width: 100%; }
}
@media (max-width: 767.98px) {
  /* ---- hero like the reference ---- */
  html body .sx-hero h1 { font-size: clamp(2.5rem, 11.4vw, 3.3rem) !important; line-height: .93; max-width: none; text-align: center; }
  .sx-hero__txt { padding: 34px 0 6px; }
  .sx-lead { font-size: 1.05rem; margin-bottom: 20px; }
  .sx-hero__cta { flex-wrap: nowrap; gap: 8px; width: 100%; justify-content: center; }
  .sx-hero__cta .bx-btn { padding: 0 14px; height: 50px; font-size: .78rem; }
  .sx-trust { display: flex; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 8px; margin: 20px -16px 0; padding: 0 16px; scrollbar-width: none; }
  .sx-trust::-webkit-scrollbar { display: none; }
  .sx-trust li { flex: 0 0 auto; background: var(--bx-ink); color: #fff; border-radius: 12px; padding: 12px 14px; font-size: .86rem; }
  .sx-trust i { background: transparent; width: auto; height: auto; color: #fff; font-size: 1rem; }
  html body .pp-hero h1 { font-size: clamp(2.5rem, 11.4vw, 3.3rem) !important; line-height: .93; }
  .pp-hero__btns { flex-wrap: nowrap; gap: 8px; }
  .pp-hero__btns .bx-btn { padding: 0 14px; height: 50px; font-size: .78rem; }
  /* steps panel: heading, text, cards, button last */
  .sx-how { display: flex; flex-direction: column; padding: 20px 14px 18px; }
  .sx-how__l { display: contents; }
  .sx-how__l h2 { order: 1; padding: 6px 6px 0; } .sx-how__l p { order: 2; padding: 0 6px 12px; }
  .sx-how__grid { order: 3; } .sx-how__l .bx-btn { order: 4; margin-top: 14px; justify-content: center; width: 100%; }
}
@media (max-width: 991.98px) { html body #mls .mls-head { padding: 14px 0 6px !important; } }
/* mobile buttons measured from the reference: 44px high, 12px/800 caps, radius 12, padding 0 15-18 */
@media (max-width: 767.98px) {
  html body .bx-btn, html body a.bx-btn, html body button.bx-btn { height: 44px !important; min-height: 44px; border-radius: 12px !important; padding: 0 16px !important; font-size: 12px !important; font-weight: 800; letter-spacing: 0 !important; gap: 8px; line-height: 1; }
  html body .bx-btn i { font-size: 1rem; }
  html body .sx-hero .bx-btn--ghost, html body .pp-hero .bx-btn--ghost { background: transparent !important; box-shadow: none !important; border: 2px solid rgba(255, 255, 255, .3) !important; color: #fff !important; }
  html body .sx-hero__cta .bx-btn, html body .pp-hero__btns .bx-btn { padding: 0 15px !important; }
  html body .pp-buy .bx-btn, html body .sx-how__l .bx-btn, html body .sp-form .bx-btn { width: 100%; justify-content: center; }
  html body .pp-pack__buy, html body .qo__svc { height: auto !important; }
}
/* mobile header: logo left, MENU right (like the reference) */
@media (max-width: 991.98px) {
  html body .bx-head__in { justify-content: space-between; }
  html body .bx-head__right { margin-left: auto !important; }
  html body .bx-head__menu { background: transparent !important; padding: 0 !important; height: 44px; gap: 10px; border-radius: 0; }
  html body .bx-head__menu span:first-child { display: inline !important; font: 800 .86rem/1 var(--bx-body); letter-spacing: .02em; text-transform: uppercase; }
  html body .bx-head__menu svg { width: 24px; height: 16px; }
}
html body .bx-head__menu svg.bx-burger { flex: 0 0 24px; min-width: 24px; width: 24px; height: 16px; }
