/* Explicit language links stay visible without opening the phone menu. */
.language-row{display:flex;justify-content:flex-end;border-top:1px solid var(--line)}
.language-row .language-options{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:0 .9rem;width:auto;max-height:none;padding:0;overflow:visible}
.language-options a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.35rem .35rem;font-size:.875rem;white-space:nowrap;border-bottom:2px solid transparent}
.language-options a[aria-current=true]{color:var(--blue);border-color:var(--blue);font-weight:700}
.language-options a:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.language-note{padding-block:0 1.5rem;font-size:.8125rem;color:var(--muted)}
html[lang=zh-Hans] body{font-family:Arial,"Noto Sans CJK SC","Microsoft YaHei",sans-serif}
html[lang=zh-Hans] .eyebrow{letter-spacing:.06em}
html[lang=es] .button{white-space:normal;overflow-wrap:break-word}
html[lang=es] .hero-copy h1{font-size:clamp(2rem,4.1vw,3.55rem)}
@media(max-width:900px){
 .language-row{justify-content:center}
 #main-nav.open{max-height:calc(100dvh - 145px)}
 .mobile-contact>div{grid-template-columns:minmax(0,1fr) auto}
 html[lang=es] .mobile-contact .button{font-size:.875rem;padding-inline:.65rem}
}
@media(max-width:650px){
 html[lang=es] .hero-copy h1{font-size:clamp(1.75rem,7vw,2.3rem)}
 .language-options a{padding-inline:.65rem}
}
