.language-switch { position:relative; flex:0 0 auto; width:max-content; margin:0 0 0 12px; padding:0; border:0; border-radius:0; background:transparent; color:#193c53; }
.language-switch-trigger { display:flex; align-items:center; gap:7px; height:36px; min-height:36px; padding:0 10px; border:1px solid #dce7ed; border-radius:9px; background:linear-gradient(180deg,#fff,#f6f9fc); font-size:13px; font-weight:600; line-height:1; white-space:nowrap; cursor:pointer; list-style:none; user-select:none; transition:border-color .18s,box-shadow .18s,background .18s; }
.language-switch-trigger::-webkit-details-marker { display:none; }
.language-switch-trigger::marker { content:""; }
.language-globe { display:block; width:16px; height:16px; color:#1780b5; flex:0 0 16px; }
.language-chevron { display:block; width:12px; height:12px; flex:0 0 12px; color:#7b919f; transition:transform .18s; }
.language-switch-trigger:hover,.language-switch[open] .language-switch-trigger { border-color:#a9cce1; background:#f1f8fd; box-shadow:0 2px 8px #12344d0a; }
.language-switch[open] .language-chevron { transform:rotate(180deg); }
.language-switch-panel { position:absolute; top:calc(100% + 10px); right:0; z-index:1001; width:240px; max-width:calc(100vw - 32px); padding:8px; background:#fff; border:1px solid #e1eaf0; border-radius:14px; box-shadow:0 16px 48px #163b5529,0 3px 10px #163b5508; animation:language-reveal .16s ease-out; }
.language-switch-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0; padding:10px 10px 14px; color:#456171; font-size:12px; font-weight:600; }
.language-switch-heading span { font-size:9px; font-weight:500; color:#94a7b3; letter-spacing:1.5px; }
.language-switch-panel nav { display:grid; gap:4px; max-height:min(360px,60vh); overflow-y:auto; overscroll-behavior:contain; }
.language-option { display:flex; align-items:center; gap:12px; padding:12px 10px; border-radius:11px; color:#29485e; text-decoration:none; transition:background .15s; }
.language-option:hover { background:#f3f7fa; }
.language-option[aria-current="true"] { background:#eef7fd; color:#096da9; }
.language-code { display:grid; place-items:center; width:34px; height:34px; flex-shrink:0; border:1px solid #dce8ef; border-radius:10px; background:#fff; color:#56758a; font-size:11px; font-weight:700; }
.language-option[aria-current="true"] .language-code { border-color:#c7e2f3; color:#0875b5; }
.language-option-text { display:grid; gap:3px; font-size:13px; font-weight:600; line-height:1.4; }
.language-option-text small { color:#8095a3; font-size:10px; font-weight:400; }
.language-check { margin-left:auto; color:#0875b5; visibility:hidden; }
.language-option[aria-current="true"] .language-check { visibility:visible; }
.language-switch-trigger:focus-visible,.language-option:focus-visible { outline:3px solid #67b7ed; outline-offset:3px; }
@keyframes language-reveal { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:1180px) { .language-switch { margin-left:auto; margin-right:12px; } }
@media(max-width:480px) { .language-switch { margin-right:8px; margin-left:8px; } .language-switch-trigger { gap:6px; height:34px; min-height:34px; padding:0 8px; font-size:12px; } .nav-wrap .logo { font-size:clamp(16px,5vw,23px); letter-spacing:0; white-space:nowrap; } }
@media(prefers-reduced-motion:reduce) { .language-switch-panel { animation:none; } .language-switch-trigger,.language-chevron,.language-option { transition:none; } }
