/* Marketing-site widgets that replace WordPress plugins (Chaty WhatsApp, OneTap accessibility),
   the YouTube click-to-load player and the image lightbox. Unlayered on purpose: these classes
   are unique to the new site. */
.mk-page{flex:1 0 auto}
.mk-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---- WhatsApp (Chaty) ---- */
.mk-wa{position:fixed;right:25px;bottom:25px;z-index:9999;display:flex;flex-direction:column;align-items:flex-end;gap:14px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;direction:rtl}
.mk-wa-row{display:flex;align-items:center;gap:12px;flex-direction:row-reverse}
.mk-wa-trigger{width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 0 12px rgba(0,0,0,.14);transition:transform .2s ease}
.mk-wa-trigger:hover{transform:scale(1.06)}
.mk-wa-trigger svg{display:block;width:44px;height:44px}
.mk-wa-trigger.is-open{background:#49E670}
.mk-wa-trigger.is-open svg{width:22px;height:22px}
.mk-wa-x{display:flex}
.mk-wa-cta{position:relative;margin:0;padding:8px 18px;border:0;border-radius:10px;background:#fff;color:#333;font:inherit;font-size:16px;line-height:1.5;white-space:nowrap;cursor:pointer;box-shadow:0 1.35px 10.8px rgba(0,0,0,.14)}
.mk-wa-cta::after{content:"";position:absolute;top:50%;right:-6px;width:12px;height:12px;background:#fff;transform:translateY(-50%) rotate(45deg);border-radius:2px}
.mk-wa-window{width:320px;max-width:calc(100vw - 50px);border-radius:12px;overflow:hidden;background:#EFE7DE;box-shadow:0 4px 28px rgba(0,0,0,.18);display:flex;flex-direction:column}
.mk-wa-head{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#4AA485;color:#fff}
.mk-wa-head-icon svg{width:30px;height:30px;display:block}
.mk-wa-title{flex:1;font-size:15px;font-weight:600;text-align:right}
.mk-wa-min{border:0;background:transparent;padding:6px;cursor:pointer;line-height:0}
.mk-wa-body{min-height:220px;padding:16px 16px 10px;display:flex;align-items:flex-start}
.mk-wa-bubble{position:relative;max-width:85%;margin-inline-start:0;background:#fff;border-radius:0 10px 10px 10px;padding:8px 12px 18px;color:#222;font-size:15px;line-height:1.35;box-shadow:0 1px 1px rgba(0,0,0,.08)}
.mk-wa-bubble p{margin:0}
.mk-wa-time{position:absolute;bottom:4px;left:10px;font-size:11px;color:#8d8d8d}
.mk-wa-composer{display:flex;align-items:center;gap:8px;padding:10px 12px 14px}
.mk-wa-composer input{flex:1;min-width:0;border:0;border-radius:20px;padding:10px 14px;font:inherit;font-size:15px;color:#222;background:#fff;outline:none}
.mk-wa-composer input:focus-visible{box-shadow:0 0 0 2px #4AA485}
.mk-wa-send{width:40px;height:40px;border:0;border-radius:50%;background:#4AA485;display:flex;align-items:center;justify-content:center;cursor:pointer}
.mk-wa-send svg{transform:scaleX(-1)}
.mk-wa :focus-visible{outline:3px solid #8234ee;outline-offset:2px}

/* ---- Accessibility (OneTap) ---- */
.mk-a11y{position:fixed;right:6px;bottom:78px;z-index:9998;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;direction:rtl}
.mk-a11y-toggle{width:52px;height:52px;border-radius:50%;border:0;background:#8234ee;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 14px rgba(130,52,238,.35);transition:transform .2s ease}
.mk-a11y-toggle:hover{transform:scale(1.06)}
.mk-a11y-toggle:focus-visible,.mk-a11y-panel :focus-visible{outline:3px solid #1a1a1a;outline-offset:2px}
.mk-a11y-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.2);z-index:1}
.mk-a11y-panel{position:fixed;top:0;right:0;bottom:0;z-index:2;width:min(580px,100vw);overflow-y:auto;background:#f3f4f6;box-shadow:-8px 0 30px rgba(0,0,0,.18);color:#1f2937}
.mk-a11y-head{position:relative;background:#8234ee;color:#fff;text-align:center;padding:78px 20px 96px}
.mk-a11y-close{position:absolute;top:20px;left:20px;width:34px;height:34px;border-radius:50%;border:0;background:rgba(0,0,0,.15);color:#fff;font-size:24px;line-height:1;cursor:pointer}
.mk-a11y-head-icon{display:inline-flex;width:46px;height:46px;border-radius:50%;background:#fff;align-items:center;justify-content:center}
.mk-a11y-title{margin:18px 0 8px;font-size:26px;font-weight:600;color:#fff;line-height:1.2}
.mk-a11y-sub{margin:0;font-size:16px;color:rgba(255,255,255,.9)}
.mk-a11y-sub a,.mk-a11y-reset{color:#fff;text-decoration:underline;background:none;border:0;font:inherit;cursor:pointer;padding:0}
.mk-a11y-card{position:relative;margin:-84px 14px 20px;background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.mk-a11y-card-title{margin:0 0 20px;font-size:18px;font-weight:600;color:#111;text-align:right}
.mk-a11y-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.mk-a11y-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:130px;padding:14px 8px;border:2px solid transparent;border-radius:8px;background:#f8f8fa;color:#1f2937;font:inherit;font-size:15px;cursor:pointer;text-align:center}
.mk-a11y-tile.is-on{border-color:#8234ee;background:#f3ecfe}
.mk-a11y-wide{grid-column:span 2;cursor:default}
.mk-a11y-tile-icon{display:inline-flex;width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid #e5e7eb;align-items:center;justify-content:center}
.mk-a11y-tile.is-on .mk-a11y-tile-icon{background:#8234ee;color:#fff;border-color:#8234ee}
.mk-a11y-stepper{display:flex;align-items:center;gap:8px}
.mk-a11y-stepper button{width:30px;height:30px;border-radius:50%;border:0;background:#8234ee;color:#fff;font-size:22px;line-height:1;cursor:pointer}
.mk-a11y-stepper button:disabled{opacity:.4;cursor:default}
.mk-a11y-stepper output{min-width:110px;padding:4px 10px;background:#fff;border-radius:6px;font-size:14px;text-align:center}
@media (max-width:767px){.mk-a11y{right:8px;bottom:79px}.mk-a11y-toggle{width:40px;height:40px}.mk-a11y-toggle svg{width:24px;height:24px}.mk-a11y-grid{grid-template-columns:repeat(2,1fr)}.mk-a11y-wide{grid-column:span 2}}

/* Effects (classes on <html>). */
html.a11y-readable .mk-root *:not(svg):not(svg *):not(.mk-a11y *){font-family:Arial,Helvetica,"Assistant",sans-serif!important}
html.a11y-spacing .mk-root *:not(.mk-a11y *){letter-spacing:.12em!important;word-spacing:.16em!important}
html.a11y-contrast .mk-root,html.a11y-contrast .mk-root *:not(.mk-a11y *):not(img):not(video):not(svg *){background-color:#000!important;background-image:none!important;color:#ff0!important;border-color:#ff0!important}
html.a11y-contrast .mk-root a:not(.mk-a11y *){color:#0ff!important}
html.a11y-grayscale{filter:grayscale(1)}
html.a11y-links .mk-root a:not(.mk-a11y *){text-decoration:underline!important;outline:2px solid #8234ee!important;outline-offset:2px}
html.a11y-titles .mk-root :is(h1,h2,h3,h4,h5,h6,.elementor-heading-title):not(.mk-a11y *){outline:2px dashed #8234ee!important;outline-offset:3px}
html.a11y-cursor,html.a11y-cursor *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 10.5-6.4 1.4L16 21l-2.8 1.3-3.1-7L5 19z' fill='%23000' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") 4 2,auto!important}
html.a11y-still *,html.a11y-still *::before,html.a11y-still *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

/* ---- YouTube click-to-load inside the Elementor video widget ---- */
.mk-yt-lite{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:#000;cursor:pointer;display:block}
.mk-yt-lite img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mk-yt-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:block;line-height:0;opacity:.9;transition:opacity .2s}
.mk-yt-lite:hover .mk-yt-play,.mk-yt-lite:focus-visible .mk-yt-play{opacity:1}
.mk-yt-lite:focus-visible{outline:3px solid #8234ee;outline-offset:-3px}

/* ---- Lightbox (image carousel) ---- */
.mk-lightbox{max-width:none;max-height:none;width:100vw;height:100vh;margin:0;padding:0;border:0;background:rgba(0,0,0,.87);display:flex;align-items:center;justify-content:center}
.mk-lightbox::backdrop{background:transparent}
.mk-lightbox img{max-width:90vw;max-height:88vh;object-fit:contain}
.mk-lightbox button{position:absolute;border:0;background:transparent;color:#fff;font-size:44px;line-height:1;cursor:pointer;padding:10px 16px}
.mk-lightbox-close{top:10px;right:10px}
.mk-lightbox-prev{left:10px;top:50%;transform:translateY(-50%)}
.mk-lightbox-next{right:10px;top:50%;transform:translateY(-50%)}

/* Header logout: the Elementor button link sits in a POST form (see render.tsx logoutButton);
   the form must not create a box of its own. */
.mk-logout-form{display:contents}

/* AccessibilityWidget measures unscaled font sizes: no transitions while it restores and rescales. */
html.mk-a11y-measuring *,html.mk-a11y-measuring *::before,html.mk-a11y-measuring *::after{transition:none!important}
