/* ===== נגישות: כלים כלליים ===== */
.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}
.skip-link{position:fixed;top:calc(8px + env(safe-area-inset-top,0px));right:calc(8px + env(safe-area-inset-right,0px));z-index:100;background:#14213a;color:#fff;font-weight:700;padding:10px 16px;border-radius:10px;text-decoration:none;transform:translateY(-200%);transition:transform .15s}
.skip-link:focus{transform:none;outline:3px solid #f6c400;outline-offset:2px}
#app:focus{outline:none}
#app h1:focus,#app h2:focus{outline:none}

/* ===== כפתור ותפריט הנגישות ===== */
.a11y-root{font-family:"Assistant",Arial,sans-serif;color:#14213a}
.a11y-btn{position:fixed;right:calc(20px + env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:40;width:54px;height:54px;border-radius:50%;border:3px solid #fff;background:#1d4ed8;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 20px rgba(0,0,0,.25)}
.a11y-btn svg{width:30px;height:30px}
.a11y-btn:focus-visible{outline:3px solid #f6c400;outline-offset:3px}
.a11y-panel{position:fixed;right:calc(20px + env(safe-area-inset-right,0px));bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:41;width:min(340px,calc(100vw - 32px));max-height:calc(100vh - 120px);overflow:auto;background:#fff;border:2px solid #14213a;border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.25);padding:16px}
.a11y-panel h2{font-family:"Assistant",Arial,sans-serif;font-size:20px;margin:0}
.a11y-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.a11y-close{width:40px;height:40px;border-radius:10px;border:1px solid #c5cdda;background:#f6f8fb;font-size:22px;cursor:pointer;color:#14213a}
.a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a11y-grid button,.a11y-size button{font:inherit;font-weight:700;font-size:15px;color:#14213a;background:#f6f8fb;border:2px solid #c5cdda;border-radius:10px;padding:10px 8px;cursor:pointer;text-align:center;min-height:48px}
.a11y-grid button[aria-pressed="true"],.a11y-size button[aria-pressed="true"]{background:#14213a;color:#fff;border-color:#14213a}
.a11y-grid button:focus-visible,.a11y-size button:focus-visible,.a11y-close:focus-visible,.a11y-foot a:focus-visible,.a11y-foot button:focus-visible{outline:3px solid #1d4ed8;outline-offset:2px}
.a11y-size{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:10px}
.a11y-label{font-weight:700;margin:4px 0 6px;font-size:15px}
.a11y-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #e2e7ef}
.a11y-foot a{color:#1d4ed8;font-weight:700}
.a11y-foot button{font:inherit;font-weight:700;background:#fff;border:2px solid #b42318;color:#b42318;border-radius:10px;padding:8px 12px;cursor:pointer}
@media (max-width:820px){
  .a11y-btn{bottom:calc(84px + env(safe-area-inset-bottom,0px));width:48px;height:48px}
  .a11y-panel{bottom:calc(142px + env(safe-area-inset-bottom,0px))}
}

/* ===== מצבי נגישות ===== */
html.a11y-fs-1 body>header,html.a11y-fs-1 #app,html.a11y-fs-1 footer{zoom:1.12}
html.a11y-fs-2 body>header,html.a11y-fs-2 #app,html.a11y-fs-2 footer{zoom:1.25}
html.a11y-fs-3 body>header,html.a11y-fs-3 #app,html.a11y-fs-3 footer{zoom:1.4}

html.a11y-hc{--bg:#ffffff;--surface:#ffffff;--ink:#000000;--muted:#1a1a1a;--line:#000000;--blue:#0000b3;--wa:#0b5d2c}
html.a11y-hc a{text-decoration:underline}
html.a11y-hc .card,html.a11y-hc .block,html.a11y-hc .car-side,html.a11y-hc .keystats,html.a11y-hc .svc-item,html.a11y-hc .panel{border-width:2px}

html.a11y-gray body>*:not(.a11y-root){filter:grayscale(1)}
html.a11y-invert body>*:not(.a11y-root){filter:invert(1) hue-rotate(180deg)}
html.a11y-invert body>*:not(.a11y-root) img{filter:invert(1) hue-rotate(180deg)}

html.a11y-links a{text-decoration:underline!important;outline:2px dashed #b45309;outline-offset:2px}
html.a11y-font body,html.a11y-font body *:not(svg):not(path){font-family:Arial,Helvetica,sans-serif!important;letter-spacing:.02em}
html.a11y-spacing p,html.a11y-spacing li,html.a11y-spacing dd,html.a11y-spacing dt,html.a11y-spacing .short{line-height:2!important}
html.a11y-spacing body{word-spacing:.12em}
html.a11y-noanim *,html.a11y-noanim *::before,html.a11y-noanim *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
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='M4 2l14 11-6.5 1 4 7-2.6 1.4-4-7L4 20z' fill='%23000' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 4 2,auto!important}

/* ===== הודעת עוגיות ===== */
.cookie-bar{position:fixed;left:0;right:0;bottom:0;z-index:35;background:#14213a;color:#fff;padding:14px max(16px,env(safe-area-inset-right,0px)) calc(14px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));box-shadow:0 -8px 24px rgba(0,0,0,.2)}
.cookie-bar .cb-in{max-width:1180px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;justify-content:space-between}
.cookie-bar p{margin:0;max-width:70ch;font-size:16px;line-height:1.6}
.cookie-bar a{color:#ffd84d;font-weight:700}
.cookie-bar .cb-actions{display:flex;gap:10px;flex-wrap:wrap}
.cookie-bar button{font:inherit;font-weight:700;border-radius:10px;padding:10px 18px;cursor:pointer;min-height:44px}
.cookie-bar .cb-ok{background:#f6c400;color:#1a1a1a;border:2px solid #f6c400}
.cookie-bar .cb-no{background:transparent;color:#fff;border:2px solid #fff}
.cookie-bar button:focus-visible,.cookie-bar a:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (max-width:820px){.cookie-bar{bottom:calc(64px + env(safe-area-inset-bottom,0px));padding-bottom:14px}}

/* ===== דפי טקסט (הצהרת נגישות / פרטיות) ===== */
.doc{max-width:760px}
.doc h1{font-size:clamp(28px,4vw,38px);margin-bottom:6px}
.doc h2{font-size:22px;margin:26px 0 8px}
.doc p,.doc li{max-width:68ch}
.doc ul{padding-inline-start:22px;margin:0 0 10px}
.doc li{margin-bottom:4px}
.doc .meta{color:var(--muted);margin:0 0 18px}
.doc .contact-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px;margin-top:8px}
.foot-links{display:flex;flex-wrap:wrap;gap:6px 18px}
.foot-links a,.foot-links button{color:#fff;font:inherit;background:none;border:0;padding:0;text-decoration:underline;cursor:pointer}

/* כשהודעת העוגיות פתוחה – הכפתורים הצפים עולים מעליה */
html.has-cb .a11y-btn,html.has-cb .float-wa{bottom:calc(var(--cb-h,120px) + 16px + env(safe-area-inset-bottom,0px))}
html.has-cb .a11y-panel{bottom:calc(var(--cb-h,120px) + 80px + env(safe-area-inset-bottom,0px))}
@media (max-width:820px){
  html.has-cb .a11y-btn{bottom:calc(var(--cb-h,150px) + 76px + env(safe-area-inset-bottom,0px))}
  html.has-cb .a11y-panel{bottom:calc(var(--cb-h,150px) + 134px + env(safe-area-inset-bottom,0px));max-height:calc(100vh - var(--cb-h,150px) - 170px)}
}
