/* PDP R17: opt-in language gateway. This page is shown on EACH fresh page load. */
[hidden] { display:none!important; }
.language-gate { position:fixed; inset:0; z-index:1000; min-height:100svh; display:grid;
  grid-template-columns:minmax(280px,46%) minmax(460px,1fr); direction:ltr; overflow:auto;
  background:#0c2346; color:#fff; font-family:Tahoma,Arial,sans-serif; }
.language-gate__visual { min-height:100svh; position:relative;
  background:linear-gradient(0deg,rgba(6,21,44,.58),rgba(6,21,44,.02) 60%),url('assets/projects/ovfix.jpeg') center center/cover no-repeat; }
.language-gate__visual-label {position:absolute; inset-inline-start:clamp(24px,5vw,90px); bottom:clamp(22px,5vh,60px);
  font:600 12px/1.5 Arial,sans-serif; letter-spacing:.2em; color:#edf4ff;}
.language-gate__visual-label span {color:#f39200;}
.language-gate__panel {display:flex;flex-direction:column;justify-content:center;align-items:stretch;
  padding:clamp(32px,4.8vw,88px);padding-top:clamp(25px,4vw,70px);
  background:linear-gradient(145deg,#102d60,#081831 91%); direction:rtl; text-align:right; }
.language-gate__brand {display:flex;align-items:center;gap:17px; margin-bottom:clamp(38px,6vh,68px);
  color:#fff; font-family:Tahoma,Arial,sans-serif; font-size:13px;line-height:1.8;}
.language-gate__brand img {object-fit:contain; width:76px; height:76px; filter:drop-shadow(0 4px 7px rgba(0,0,0,.2));}
.language-gate__brand strong {display:block;font-size:15px;font-weight:600;}
.language-gate__brand span {display:block;color:#d0ddf0;}
.language-gate__brand-english {display:block;color:#cbd8ed;font:500 10.5px/1.5 Arial,sans-serif;letter-spacing:.01em;text-align:right;white-space:normal;}
.language-gate__eyebrow {display:inline-block;direction:ltr;text-align:right; color:#f39200;
  font:700 11px/1.4 Arial,sans-serif;letter-spacing:.21em;margin-bottom:18px;}
.language-gate__header h1 {color:#fff;font:700 clamp(34px,4.4vw,65px)/1.4 Tahoma,Arial,sans-serif;letter-spacing:-1px;margin:0 0 14px;}
.language-gate__header h1 em {color:#f39200;font-style:normal;}
.language-gate__header p {color:#cad7eb;font:400 13.5px/1.8 Tahoma,Arial,sans-serif;margin:0;}
.language-gate__header p[lang=en] {font-family:Arial,sans-serif; margin-bottom:4px;text-align:right;}
.language-gate__options {display:grid; gap:12px;margin:30px 0 32px;}
.language-gate__option {font-family:Tahoma,Arial,sans-serif; width:100%; min-height:84px;
  padding:15px 20px; display:grid;grid-template-columns:82px 1fr 24px; gap:16px; align-items:center;
  background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.17); color:#fff;
  border-radius:13px;text-align:start;cursor:pointer;
  transition:border-color .2s ease,background .2s ease,transform .2s ease; }
.language-gate__option[dir=rtl] {direction:ltr;}
.language-gate__option[dir=ltr] {direction:ltr;}
.language-gate__code {color:#a4b9d9;font:600 11px Arial,sans-serif;letter-spacing:.12em;white-space:nowrap;text-align:left;}
.language-gate__option-text {display:block;}
.language-gate__option[dir=rtl] .language-gate__option-text {direction:rtl;text-align:right;}
.language-gate__option[dir=ltr] .language-gate__option-text {direction:ltr;text-align:left;}
.language-gate__option-text strong {display:block;font-size:19px;font-weight:600;line-height:1.5;}
.language-gate__option-text small {display:block;color:#b6c6de;font-size:12px;line-height:1.6;}
.language-gate__chevron {color:#f39200;font:600 24px/1 Arial,sans-serif;text-align:center;}
.language-gate__option:hover {border-color:#f39200;background:rgba(243,146,0,.12);transform:translateY(-1px);}
.language-gate__option:focus-visible {outline:3px solid #f39200;outline-offset:3px;background:rgba(243,146,0,.13);}
.language-gate__option:active {transform:translateY(0);}
.language-gate__bottom {margin-top:auto;color:#8ea4c5;font:500 11px/1.5 Arial,sans-serif;letter-spacing:.15em;padding-top:16px;}
/* Existing site retains its own styles and colors; only the language selector is new. */
#language {display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:48px;white-space:nowrap;}
#language:hover {color:#f39200;}
html[lang=ar] body {font-family:Tahoma,Arial,sans-serif;line-height:1.95;}
html[lang=ar] .hero h1 {letter-spacing:0;line-height:1.55;}
html[lang=ar] .page-hero h1 {letter-spacing:0;}
html[lang=ar] .eyebrow>span {letter-spacing:0;}
@media(max-width:860px) {
  .language-gate {grid-template-columns:1fr;grid-template-rows:160px 1fr;min-height:100svh;}
  .language-gate__visual {min-height:160px;background-position:50% 53%;}
  .language-gate__visual-label {inset-inline-start:20px;bottom:18px;font-size:10px;}
  .language-gate__panel {padding:27px clamp(22px,5.5vw,45px) 25px;min-height:calc(100svh - 160px);}
  .language-gate__brand {margin-bottom:20px;gap:12px;font-size:12px;}
  .language-gate__brand img {width:56px;height:56px;}
  .language-gate__header h1 {font-size:clamp(29px,6vw,40px);line-height:1.35;}
  .language-gate__header p {font-size:12px;}
  .language-gate__options {margin:22px 0;gap:9px;}
  .language-gate__option {min-height:70px;padding:10px 14px;grid-template-columns:64px 1fr 20px;gap:10px;}
  .language-gate__option-text strong {font-size:17px;}
  .language-gate__option-text small {font-size:11px;}
}
@media(max-width:380px) {
 .language-gate {grid-template-rows:120px 1fr;}
 .language-gate__visual {min-height:120px;}
 .language-gate__panel {padding:18px;min-height:calc(100svh - 120px);}
 .language-gate__option {grid-template-columns:55px 1fr 18px;}
 .language-gate__brand {margin-bottom:15px;}
}
@media(prefers-reduced-motion:reduce){.language-gate__option{transition:none;}}
