/* Language names stay readable in the native menu; the closed control stays compact. */
.site-header .language-picker { flex-shrink:0; }
.site-header #site-language { width:118px; max-width:118px; text-overflow:ellipsis; font-size:14px; letter-spacing:0; text-transform:none; }
.site-header #site-language option { background:#111215; color:#fff; }
:lang(zh) { --locale-font:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif; }
:lang(ar) { --locale-font:Tahoma,Arial,sans-serif; }
:lang(he) { --locale-font:Arial,"Noto Sans Hebrew",sans-serif; }
html:lang(zh) body, html:lang(ar) body, html:lang(he) body { font-family:var(--locale-font); }
html:lang(zh) :is(h1,h2,h3,h4,summary,.section-label,.hero-signals,.proof-grid strong,.primary-nav a),
html:lang(ar) :is(h1,h2,h3,h4,summary,.section-label,.hero-signals,.proof-grid strong,.primary-nav a),
html:lang(he) :is(h1,h2,h3,h4,summary,.section-label,.hero-signals,.proof-grid strong,.primary-nav a) { font-family:var(--locale-font); letter-spacing:0; line-height:1.45; }
html:lang(ar) .home-refreshed .hero-copy h1,
html:lang(he) .home-refreshed .hero-copy h1,
html:lang(zh) .home-refreshed .hero-copy h1 { line-height:1.3; }
html:lang(ar) :is(p,a,button,span,small),html:lang(he) :is(p,a,button,span,small),html:lang(zh) :is(p,a,button,span,small) { letter-spacing:normal; }
html[dir="rtl"] :is(.hero-copy,.service-card,.project,.contact-card,.home-needs a,.home-feature-copy,.home-content-group,.seo-service-page,.footer-grid) { text-align:start; }
html[dir="rtl"] :is(a[href^="tel:"],a[href^="mailto:"],.brand-name,.line-brand-logo,.photo-viewer-toolbar,.gallery-lightbox-count) { direction:ltr; unicode-bidi:isolate; }
html[dir="rtl"] .hero-signals { border-left:0; border-right:4px solid var(--red,#e31528); padding-left:0; padding-right:22px; }
html[dir="rtl"] :is(.concepts-showcase,.home-brand-panel) { border-left-width:1px; }
html[dir="rtl"] :is(.photo-viewer-close,.gallery-lightbox-close) { direction:ltr; }
html[dir="rtl"] :is(.service-page ul,.service-page ol) { padding-left:0; padding-right:1.5em; }
@media(max-width:1180px) {
 .site-header #site-language { width:88px; max-width:88px; padding-inline:8px 24px; }
 html[dir="rtl"] .site-header .language-picker { margin-left:0; margin-right:auto; }
 html[dir="rtl"] .site-header .menu-toggle { margin-right:0; }
}
@media(max-width:400px) {
 .site-header .brand-mark { width:150px!important; }
 .site-header .header-inner { gap:8px!important; }
}
@media(max-width:640px) {
 html:lang(ar) .home-refreshed .hero-copy h1,
 html:lang(he) .home-refreshed .hero-copy h1,
 html:lang(zh) .home-refreshed .hero-copy h1 { font-size:34px; }
}
@media(max-width:360px) {
 .site-header .brand-mark { width:125px!important; }
}
