/* נגישות: דילוג לתוכן, מיקוד גלוי, ותפריט הנגישות */
.skip-link { position: absolute; top: -100px; right: 12px; z-index: 1000; padding: 12px 20px; border-radius: 12px; background: #231F20; color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #1A5FB4 !important; outline-offset: 3px !important; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.a11y { position: fixed; right: 18px; bottom: 18px; z-index: 900; font-family: 'Heebo', Arial, sans-serif; }
.a11y-toggle { display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; color: #fff; background: #1A5FB4; box-shadow: 0 10px 24px rgb(26 95 180 / .4); cursor: pointer; }
.a11y-toggle svg { width: 30px; height: 30px; }
.a11y-panel { position: absolute; right: 0; bottom: 66px; width: min(340px, calc(100vw - 36px)); max-height: calc(100vh - 110px); overflow: auto; padding: 18px; border-radius: 22px; background: #fff; color: #231F20; box-shadow: 0 24px 60px rgb(0 0 0 / .3); }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y-head h2 { margin: 0; font-size: 20px; font-family: inherit; }
.a11y-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #F1ECE3; font-size: 26px; line-height: 1; cursor: pointer; color: #231F20; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt { position: relative; display: grid; justify-items: center; gap: 6px; min-height: 84px; padding: 10px 8px; border: 2px solid #E2D2BA; border-radius: 16px; background: #FFFAF1; font: inherit; font-size: 15px; font-weight: 700; color: #231F20; cursor: pointer; }
.a11y-opt svg { width: 26px; height: 26px; }
.a11y-opt[aria-pressed="true"] { border-color: #1A5FB4; background: #E8F0FB; color: #0E3F7A; }
.a11y-lvl { position: absolute; top: 6px; left: 8px; font-size: 12px; }
.a11y-reset { width: 100%; min-height: 46px; margin-top: 10px; border: 0; border-radius: 14px; background: #231F20; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.a11y-link { display: block; margin-top: 10px; text-align: center; font-weight: 700; color: #1A5FB4; }

/* ההעדפות */
html[data-a11y-text="1"] body { zoom: 1.08; }
html[data-a11y-text="2"] body { zoom: 1.16; }
html[data-a11y-text="3"] body { zoom: 1.26; }
html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast body * { background-color: #000 !important; background-image: none !important; color: #fff !important; border-color: #fff !important; text-shadow: none !important; box-shadow: none !important; }
html.a11y-contrast a, html.a11y-contrast button, html.a11y-contrast summary { color: #FFE14D !important; }
html.a11y-contrast input, html.a11y-contrast select, html.a11y-contrast textarea { background-color: #111 !important; color: #fff !important; border: 2px solid #fff !important; }
html.a11y-contrast .chip input:checked + span, html.a11y-contrast .btn--gold { background-color: #FFE14D !important; color: #000 !important; }
html.a11y-contrast .rv { opacity: 1 !important; transform: none !important; }
/* תפריט הנגישות עצמו נשאר קריא */
html.a11y-contrast .a11y .a11y-panel, html.a11y-contrast .a11y .a11y-panel * { background-color: #fff !important; color: #000 !important; border-color: #000 !important; }
html.a11y-contrast .a11y .a11y-opt[aria-pressed="true"], html.a11y-contrast .a11y .a11y-opt[aria-pressed="true"] * { background-color: #1A5FB4 !important; color: #fff !important; }
html.a11y-contrast .a11y .a11y-toggle, html.a11y-contrast .a11y .a11y-toggle * { background-color: #1A5FB4 !important; color: #fff !important; }
html.a11y-contrast .a11y .a11y-reset { background-color: #000 !important; color: #fff !important; }
html.a11y-mono body { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed currentColor; outline-offset: 2px; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .02em; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::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='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 7-6 2-2 6z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important; }
@media (prefers-reduced-motion: reduce) { .a11y * { transition: none; } }
/* בניגודיות גבוהה הלוגו נשאר שלם: תמיד על רקע לבן */
html.a11y-contrast img[src*="logo"]:not([src*="logo-white"]):not([src*="logo-light"]) { background: #fff !important; border-radius: 10px; padding: 4px; }
html.a11y-contrast .hero__brand, html.a11y-contrast .glow { display: none !important; }
