.language-bar{display:flex;justify-content:flex-end;max-width:1480px;margin:0 auto;padding:8px 32px 0;background:#fff}
.language-switch{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:4px 12px;border:1px solid #d9c8cc;border-radius:4px;color:#422f3a;background:#fff;text-decoration:none;font:600 14px/1.4 'DM Sans',Arial,sans-serif}
.language-switch:hover{background:#fbf7f1}.language-switch:focus-visible{outline:2px solid #701c36;outline-offset:3px}
.language-flag{display:inline-block;width:24px;height:16px;box-shadow:0 0 0 1px #ddd;flex:none}
.flag-en{background:#012169 url('/flag-uk.svg?v=37') center/cover no-repeat}
.flag-ro{background:linear-gradient(90deg,#002b7f 33.33%,#fcd116 33.33%,#fcd116 66.66%,#ce1126 66.66%)}
@media(max-width:700px){.language-bar{padding:8px 24px 0}}
/* Desktop: place the language control inside the header's visual area. */
@media(min-width:701px){
 .language-bar{position:absolute;top:16px;right:max(32px,calc((100vw - 1480px)/2 + 32px));z-index:2;padding:0;background:transparent}
 .header{padding-top:8px;padding-bottom:12px}
 .header-logo{width:180px}
 .page{padding-top:32px}
}
@media(min-width:1280px){
 .header.wrap{min-height:96px;padding-right:132px;gap:20px}
 .header-logo{width:190px}
 .header .nav{flex-wrap:wrap;justify-content:flex-end;gap:10px 16px}
 .language-bar{top:28px}
}
/* Shared compact header: language choice participates in the navigation row. */
.header.wrap{max-width:1480px;padding:6px 24px 10px;gap:4px;flex-direction:column;align-items:center;min-height:0}
.header-logo{width:160px;height:auto}
.header .nav{width:100%;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 16px}
.header .nav a{font-size:.875rem;white-space:nowrap}
.header .nav .nav-contact{padding:5px 10px}
.language-bar{position:static;display:flex;align-items:center;flex:none;margin:0;padding:0;background:transparent}
.nav .language-switch{gap:6px;min-height:36px;padding:4px 8px}
.language-flag{width:20px;height:14px}
.page{padding-top:30px}
@media(min-width:1440px){
 .header.wrap{flex-direction:row;gap:20px;min-height:84px}
 .header .nav{width:auto;gap:8px 16px}
}
@media(max-width:700px){
 .header.wrap{padding:8px 20px 14px;gap:8px}
 .header-logo{width:170px}
 .header .nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 14px}
 .header .nav a{white-space:normal;display:flex;align-items:center;min-height:40px;line-height:1.35}
 .header .nav .nav-contact{grid-column:auto;justify-self:stretch;border:0;padding:0}
 .language-bar{justify-self:start}
 .header .nav .language-switch{min-height:44px;padding:6px 10px}
 .page{padding-top:24px}
}
