/* Language links are real URLs and work without JavaScript. */
.language-switch {display:flex!important;align-items:center;justify-content:center;gap:4px!important;flex-shrink:0;min-height:44px!important;padding:0!important;margin:0!important;font-family:var(--font-body);font-size:16px;line-height:1.2}
.language-switch a {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:var(--dorado-oscuro);text-decoration:none;border-radius:var(--radius-sm)}
.language-switch a[aria-current="true"] {color:var(--negro);font-weight:600;text-decoration:underline;text-underline-offset:5px}
.language-switch a:hover {background:var(--beige)}
.language-switch span {color:var(--text-muted)}
.language-standalone {padding:16px var(--gutter);background:var(--marfil)}
.source-language {font-size:16px;font-weight:400;letter-spacing:0;text-transform:none;color:inherit}
html[lang="fr"] .hero-buttons {flex-wrap:wrap}
html[lang="fr"] .button-header {white-space:normal;text-align:center}
@media(max-width:1500px) {html[lang="fr"] header .menu {display:none;position:absolute;top:100%;left:0;right:0;padding:20px;background:var(--marfil);flex-direction:column;align-items:flex-start;gap:8px;z-index:1100}html[lang="fr"] header .menu.active {display:flex}html[lang="fr"] .menu-toggle {display:block}}
@media(max-width:768px) {header .language-switch {margin-left:auto!important}header .language-switch a {min-width:44px}html[lang="fr"] .hero h1 {font-size:clamp(2.25rem,9vw,3rem)}.portfolio-nav {flex-wrap:wrap;gap:8px}.portfolio-nav>.language-switch {margin-left:auto!important}}

html[lang="fr"] header .menu a {white-space:nowrap}
html[lang="fr"] .hero-buttons a {padding-left:20px;padding-right:20px}
/* Independent portfolio demos keep their own palette. */
.demo-noma .language-switch {font-family:inherit}
.demo-noma .language-switch a,.demo-noma .language-switch span,.demo-noma .language-switch a[aria-current="true"] {color:var(--blanco)}
.demo-noma .language-switch a:hover {background:var(--taupe)}
.nurea-header-inner>.language-switch {margin-right:16px}
@media(max-width:768px) {.prun-nav {flex-wrap:wrap;gap:8px}.prun-nav>.language-switch {margin-left:auto!important}.demo-noma .navbar {gap:8px;flex-wrap:wrap}.demo-noma .language-switch {margin-left:auto!important}}

@media print {.language-switch,.language-standalone,.du-mobile-contact,.du-consent-settings,.du-consent {display:none!important}}

body.du-site .portfolio-header .language-switch :is(a,span,a[aria-current="true"]) {color:var(--blanco)}
body.du-site .portfolio-header .language-switch a:hover {background:var(--text-muted)}
