/* Shared mobile shell. Desktop styles and the CRM widget itself stay untouched. */
.mw-mobile-phone, .mw-mobile-search, .mw-mobile-messengers { display: none; }
.mw-hero-paths { display: none; }
@media (max-width: 760px) {
    /* Closed off-canvas menus must not create a sideways scrollable page. */
    html { overflow-x: clip; }
    body {
        --mw-mobile-nav-height: 64px;
        --mw-mobile-safe: env(safe-area-inset-bottom, 0px);
        --mw-mobile-ink: #182334;
        --mw-mobile-muted: #526176;
        --mw-mobile-line: #dce3eb;
        --mw-mobile-accent: #0068c9;
        --mw-mobile-radius: 12px;
    }
    body { padding-bottom: calc(var(--mw-mobile-nav-height) + var(--mw-mobile-safe)); }
    body .page { padding-bottom: 0; }
    body .background-top2 { height: auto; background: #fff; border-bottom: 1px solid var(--mw-mobile-line); }
    body .header-mobile1 { height: 60px; padding-right: 52px; gap: 12px; }
    body .header-mobile1__left { min-width: 0; }
    body .header-mobile1__left__logo img { width: min(174px, 47vw); height: auto; }
    body .header-mobile1__right { display: none; }
    body .header-mobile1__menu-button { width: 44px; height: 44px; top: 8px; background-size: 24px 24px; background-position: center; background-repeat: no-repeat; }
    body .mw-mobile-phone { display: flex; width: 44px; height: 44px; justify-content: center; align-items: center; color: var(--mw-mobile-ink); margin-left: auto; flex-shrink: 0; }
    body .mw-mobile-search { display: flex; align-items: center; height: 44px; margin: 0 0 12px; background: #f5f7fa; border: 1px solid var(--mw-mobile-line); border-radius: var(--mw-mobile-radius); font-family: 'Montserrat', Arial, sans-serif; }
    body .mw-mobile-search:focus-within { border-color: var(--mw-mobile-accent); box-shadow: 0 0 0 2px #0068c920; }
    body .mw-mobile-search input { flex: 1; min-width: 0; width: 100%; padding: 0 12px; height: 42px; font-family: inherit; font-size: 16px; color: var(--mw-mobile-ink); }
    body .mw-mobile-search input::placeholder { color: var(--mw-mobile-muted); font-size: 13px; }
    body .mw-mobile-search button { width: 44px; height: 42px; background: transparent; color: var(--mw-mobile-accent); flex-shrink: 0; display: grid; place-items: center; border-radius: var(--mw-mobile-radius); }
    body .mw-mobile-messengers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; font-family: 'Montserrat', Arial, sans-serif; }
    body .mw-mobile-messengers a { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 44px; padding: 8px 6px; color: var(--mw-mobile-accent); border: 1px solid var(--mw-mobile-line); border-radius: var(--mw-mobile-radius); font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none; }
    body .mw-mobile-messengers span { white-space: nowrap; }
    body .mw-mobile-messengers img, body .mw-mobile-messengers svg { display: block; flex-shrink: 0; width: 20px; height: 20px; }
    body .mw-mobile-messengers a:focus-visible { outline: 2px solid var(--mw-mobile-accent); outline-offset: 2px; }
    body .bottom-fixed-menu1 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: calc(var(--mw-mobile-nav-height) + var(--mw-mobile-safe)); padding-bottom: var(--mw-mobile-safe); background: #fff; border-top: 1px solid var(--mw-mobile-line); box-shadow: 0 -4px 16px #18233408; }
    body .bottom-fixed-menu1__item { min-width: 0; width: 100%; height: var(--mw-mobile-nav-height); padding: 9px 2px 7px; border: 0; background: transparent; color: var(--mw-mobile-ink); justify-content: center; gap: 5px; font: inherit; text-decoration: none; }
    body .bottom-fixed-menu1__item > span { height: 22px; position: relative; }
    body .bottom-fixed-menu1__item i { color: inherit; font-size: 11px; line-height: 14px; font-weight: 500; font-style: normal; }
    body .bottom-fixed-menu1__item > span::before { filter: none; }
    body .bottom-fixed-menu1__item[aria-current="page"], body .mw-chat-trigger[aria-expanded="true"] { color: var(--mw-mobile-accent); background: #edf5ff; }
    body .mw-chat-trigger[aria-busy="true"] { opacity: .65; }
    body .ps-bottom-cart-count { font-size: 10px; }
    body .mw-chat-status { position: fixed; bottom: calc(var(--mw-mobile-nav-height) + var(--mw-mobile-safe) + 12px); left: 16px; right: 16px; z-index: 115; padding: 14px; border-radius: var(--mw-mobile-radius); background: var(--mw-mobile-ink); color: #fff; font-size: 14px; line-height: 1.5; }
    body .mw-chat-status[hidden] { display: none; }
    body .mw-chat-status a { color: #fff; text-decoration: underline; display: block; padding-top: 8px; }
    /* Safe fallback even if the new script fails: floating launcher is ABOVE the bar. */
    body #takto-widget-container { bottom: calc(var(--mw-mobile-nav-height) + var(--mw-mobile-safe) + 12px) !important; left: 12px !important; right: 12px !important; z-index: 110 !important; }
    body.mw-mobile-ux-ready #takto-chat-btn { display: none !important; }
    body #takto-chat-window { left: 0 !important; right: 0 !important; width: auto !important; bottom: 0 !important; height: min(560px, calc(100vh - 164px)) !important; max-height: calc(100vh - 164px) !important; height: min(560px, calc(100dvh - 164px)) !important; max-height: calc(100dvh - 164px) !important; border-radius: 16px !important; }
    body.mw-mobile-overlay #takto-widget-container { visibility: hidden; pointer-events: none; }
    body .repair-mobile-cta { bottom: calc(var(--mw-mobile-nav-height) + var(--mw-mobile-safe) + 12px); margin-bottom: 0; }
    body.mw-chat-open .repair-mobile-cta, body.mw-mobile-overlay .repair-mobile-cta, body.mw-keyboard-open .repair-mobile-cta { visibility: hidden; pointer-events: none; }
    body.mw-keyboard-open:not(.mw-chat-open) .bottom-fixed-menu1 { visibility: hidden; pointer-events: none; }
    body.mw-keyboard-open:not(.mw-chat-open) #takto-widget-container { visibility: hidden; }
    /* Home: tasks first; rates and proof no longer compete with the main action. */
    body .block-hero1.mod1 { padding: 0; min-height: 0; background: #fff; box-shadow: none; }
    body .block-hero1.mod1 .mobile-phone1 { display: none; }
    body .hr-hero { top: 0; margin: 0; min-height: 0; background: #fff; box-shadow: none; padding: 24px 0 32px; }
    body .hr-hero::before { display: none; }
    body .hr-hero__copy { display: flex; flex-direction: column; }
    body .hr-hero__title { order: 0; font-size: clamp(25px, 7vw, 30px); line-height: 1.16; letter-spacing: -.02em; margin-bottom: 14px; }
    body .hr-hero__title span { color: var(--mw-mobile-ink); }
    body .hr-hero__lead { order: 1; font-family: 'Montserrat', Arial, sans-serif; font-size: 15px; line-height: 1.6; color: var(--mw-mobile-muted); margin-bottom: 20px; }
    body .hr-hero__actions { order: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 16px; }
    body .hr-hero__actions .hr-btn { width: 100%; min-height: 48px; font-size: 14px; padding: 12px 16px; }
    body .hr-hero__actions .hr-btn--secondary { min-height: 44px; color: var(--mw-mobile-accent); background: #fff; border: 1px solid var(--mw-mobile-line); box-shadow: none; }
    body .hr-hotel .hr-btn, body .hr-cta__actions .hr-btn { width: 100%; height: auto; min-height: 48px; white-space: normal; padding: 12px 16px; line-height: 1.4; text-align: center; }
    body .hr-cta__inner h2 { font-size: 24px; line-height: 1.25; }
    body .hr-service { min-height: 0; padding: 24px; }
    body .hr-service__cta { margin-top: 20px; padding-top: 0; }
    body .mw-hero-paths { order: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 0 20px; }
    body .mw-hero-paths a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 52px; padding: 10px 0; border-bottom: 1px solid var(--mw-mobile-line); color: var(--mw-mobile-accent); font-size: 14px; line-height: 1.4; font-weight: 600; text-decoration: none; }
    body .hr-hero__trust { order: 4; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 18px; border: 0; border-radius: var(--mw-mobile-radius); background: #f5f7fa; }
    body .hr-hero__trust-item strong { font-family: 'Montserrat', Arial, sans-serif; font-size: 18px; line-height: 1.2; margin-bottom: 4px; }
    body .hr-hero__trust-item span { display: block; font-size: 11px; line-height: 1.5; color: var(--mw-mobile-muted); }
    body .hr-hero__pill { order: 5; margin: 16px 0 0; padding: 0; gap: 8px; border-radius: 0; font-size: 12px; box-shadow: none; color: var(--mw-mobile-muted); background: transparent; }
    body .hr-hero__pill-fade { width: 100%; margin: 0; font-size: 11px; }
    body .hr-hero__live { animation: none; }
}
