:root{--a11y-text-scale:1}
html{font-size:calc(100% * var(--a11y-text-scale))}

.a11y-root,.a11y-root *{box-sizing:border-box}
.a11y-root{direction:rtl;font-family:Arial,sans-serif;font-size:16px;line-height:1.35;color:#fff}
.a11y-trigger{position:fixed;left:18px;bottom:18px;z-index:10000;display:flex;align-items:center;justify-content:center;width:56px;height:56px;padding:0;border:none;border-radius:50%;background:#1a5cb0;color:#fff;cursor:pointer;box-shadow:0 5px 14px rgba(0,0,0,.38);transition:transform .18s ease,box-shadow .18s ease}
.a11y-trigger:hover,.a11y-trigger:focus-visible{transform:scale(1.06);box-shadow:0 7px 18px rgba(0,0,0,.48)}
.a11y-trigger svg{width:26px;height:26px;display:block}
.a11y-trigger span:last-child{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.a11y-panel{position:fixed;left:18px;bottom:76px;z-index:10001;width:min(440px,calc(100vw - 36px));max-height:calc(100vh - 96px);overflow-y:auto;padding:18px;border:2px solid #fff;border-radius:12px;background:#1c1815;color:#fff;box-shadow:0 10px 35px rgba(0,0,0,.55)}
.a11y-panel[hidden]{display:none}
.a11y-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.a11y-panel-header h2{margin:0;color:#fff;font:700 24px/1.2 Arial,sans-serif}
.a11y-close{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #fff;border-radius:50%;background:transparent;color:#fff;font:700 28px/1 Arial,sans-serif;cursor:pointer}
.a11y-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.a11y-option{min-height:48px;padding:9px 7px;border:2px solid #fff;border-radius:7px;background:#fff;color:#1c1815;font:700 14px/1.25 Arial,sans-serif;cursor:pointer}
.a11y-option[aria-pressed="true"]{border-color:#fff;background:#fff;color:#17120a}
.a11y-text-actions{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin-top:10px}
.a11y-scale{min-width:55px;text-align:center;font-weight:700;color:#fff}
.a11y-reset{width:100%;margin-top:10px}
.a11y-statement-link{display:block;margin-top:14px;padding:8px;text-align:center;color:#fff;text-decoration:underline;font-weight:700}
.a11y-trigger:focus-visible,.a11y-option:focus-visible,.a11y-close:focus-visible,.a11y-statement-link:focus-visible{outline:3px solid #fff;outline-offset:3px}

.a11y-live{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.a11y-skip{position:fixed;top:8px;left:50%;z-index:10002;padding:10px 18px;border:3px solid #fff;border-radius:5px;background:#111;color:#fff;font:700 16px/1.2 Arial,sans-serif;transform:translate(-50%,-160%);transition:transform .15s}
.a11y-skip:focus{transform:translate(-50%,0)}

html.a11y-pause{scroll-behavior:auto!important}
html.a11y-pause body *:not(.a11y-root):not(.a11y-root *){animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-pause::before,html.a11y-pause::after,html.a11y-pause body::before,html.a11y-pause body::after,html.a11y-pause body *:not(.a11y-root):not(.a11y-root *)::before,html.a11y-pause body *:not(.a11y-root):not(.a11y-root *)::after{animation:none!important;transition:none!important}
html.a11y-readable body,html.a11y-readable body *{font-family:Arial,sans-serif!important}
html.a11y-high-contrast body{background:#000!important;color:#fff!important;background-image:none!important}
html.a11y-high-contrast body *:not(.a11y-root):not(.a11y-root *){background-color:#000!important;background-image:none!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important;text-shadow:none!important}
html.a11y-black-yellow body{background:#000!important;color:#ff0!important;background-image:none!important}
html.a11y-black-yellow body *:not(.a11y-root):not(.a11y-root *){background-color:#000!important;background-image:none!important;color:#ff0!important;border-color:#ff0!important;box-shadow:none!important;text-shadow:none!important}
html.a11y-high-contrast body :where(.btn-gold,.btn-ghost,.nav-contact,.filters button,.card,input,select,textarea):not(.a11y-root *),html.a11y-black-yellow body :where(.btn-gold,.btn-ghost,.nav-contact,.filters button,.card,input,select,textarea):not(.a11y-root *){background:#000!important;background-image:none!important;box-shadow:none!important}
html.a11y-high-contrast body :focus-visible:not(.a11y-root *),html.a11y-black-yellow body :focus-visible:not(.a11y-root *){outline:3px solid currentColor!important;outline-offset:3px!important}
html.a11y-grayscale body > :not(.a11y-root):not(.a11y-skip){filter:grayscale(1)!important}
html.a11y-invert body > :not(.a11y-root):not(.a11y-skip){filter:invert(1) hue-rotate(180deg)!important}
html.a11y-links body a:not(.a11y-statement-link):not(.a11y-skip){outline:3px solid currentColor!important;outline-offset:2px!important;text-decoration:underline!important;text-decoration-thickness:3px!important}
html.a11y-headings body :where(h1,h2,h3,h4,h5,h6):not(#a11y-title){outline:3px solid #fff!important;outline-offset:4px!important;text-decoration:underline!important}
html.a11y-large-cursor,html.a11y-large-cursor *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath fill='%23fff' stroke='%23000' stroke-width='2' d='M4 2v29l8-7 6 13 6-3-6-13h11z'/%3E%3C/svg%3E") 4 2,auto!important}

html.a11y-high-contrast .a11y-root,html.a11y-black-yellow .a11y-root{color:#fff!important}
html.a11y-high-contrast .a11y-root .a11y-panel,html.a11y-black-yellow .a11y-root .a11y-panel{background:#1c1815!important;color:#fff!important;border-color:#fff!important}
html.a11y-high-contrast .a11y-root :where(.a11y-trigger,.a11y-trigger span,.a11y-close,.a11y-panel-header h2,.a11y-scale),html.a11y-black-yellow .a11y-root :where(.a11y-trigger,.a11y-trigger span,.a11y-close,.a11y-panel-header h2,.a11y-scale){color:#fff!important}
html.a11y-high-contrast .a11y-root .a11y-option,html.a11y-black-yellow .a11y-root .a11y-option{background:#fff!important;color:#1c1815!important}
html.a11y-high-contrast .a11y-root .a11y-option[aria-pressed="true"],html.a11y-black-yellow .a11y-root .a11y-option[aria-pressed="true"]{background:#fff!important;color:#17120a!important}

@media (max-width: 640px){
  .a11y-trigger{left:10px;bottom:10px}
  .a11y-panel{left:10px;bottom:66px;width:calc(100vw - 20px);max-height:calc(100vh - 78px)}
  .a11y-options{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto!important}
  .a11y-trigger,.a11y-option,.a11y-close,.a11y-statement-link,.a11y-skip{transition:none!important}
}
