.language-switcher{display:flex;align-items:center;gap:.3rem;margin-left:auto;margin-right:1rem}
.language-switcher button{appearance:none;border:1px solid rgba(255,255,255,.28);background:#17191d;color:#fff;border-radius:4px;min-width:42px;height:36px;padding:0 .35rem;display:flex;align-items:center;justify-content:center;gap:.25rem;cursor:pointer;transition:.2s ease}
.language-switcher button:hover,.language-switcher button:focus-visible{border-color:#fff;outline:2px solid #fff;outline-offset:2px}
.language-switcher button.active{background:#b50f1b;border-color:#b50f1b}
.language-switcher span{font-size:1.15rem;line-height:1}
.language-switcher b{font:700 .62rem/1 Inter,sans-serif;letter-spacing:.04em}
.language-switcher .flag{display:block;width:22px;height:15px;border-radius:1px;box-shadow:0 0 0 1px rgba(255,255,255,.35);flex:0 0 auto}
.flag-es{background:linear-gradient(to bottom,#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%)}
.flag-ca{background:repeating-linear-gradient(to bottom,#f7c600 0,#f7c600 2px,#c8102e 2px,#c8102e 3.5px)}
.flag-fr{background:linear-gradient(to right,#002395 0 33.333%,#fff 33.333% 66.666%,#ed2939 66.666%)}
.flag-en{background:#012169;position:relative;overflow:hidden}
.flag-en:before{content:"";position:absolute;inset:0;background:linear-gradient(27deg,transparent 42%,#fff 43% 48%,#c8102e 49% 52%,#fff 53% 58%,transparent 59%),linear-gradient(-27deg,transparent 42%,#fff 43% 48%,#c8102e 49% 52%,#fff 53% 58%,transparent 59%)}
.flag-en:after{content:"";position:absolute;left:0;right:0;top:5px;height:5px;background:#fff;box-shadow:8px -5px 0 -1px #fff;transform:none;border-top:2px solid #c8102e;border-bottom:2px solid #c8102e}
@media(max-width:1100px){.language-switcher{order:2;margin-left:auto}.site-header nav{order:4}.menu-toggle{order:3}}
@media(max-width:540px){.language-switcher{gap:.18rem;margin-right:.45rem}.language-switcher button{min-width:36px;height:32px;padding:0 .3rem}.language-switcher b{display:none}.language-switcher .flag{width:22px;height:15px}}
