.language-switch{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;white-space:nowrap;border:1px solid #244c3d40;border-radius:999px;padding:5px 8px;background:#fffaf0;color:#214c3b;font:500 12px/1.2 Arial,sans-serif;letter-spacing:0;text-transform:none}
.language-switch button{min-height:30px;padding:5px 7px;border:0;border-radius:999px;background:transparent;color:#345646;font:inherit;cursor:pointer;box-shadow:none;transform:none}
.language-switch button[aria-pressed="true"]{background:#214c3b;color:#fffaf0}
.language-switch button:hover{background:#dce7cb;color:#173c2d;transform:none}
.language-switch button:focus-visible{outline:2px solid #214c3b;outline-offset:3px}
.language-globe{font-size:20px;line-height:1}
header.has-language-switch{gap:16px}
html[lang="es"] .hero h2{line-height:1.12}
html[lang="es"] .team-budget-label{white-space:normal}
@media(max-width:1100px){header.has-language-switch{flex-wrap:wrap;gap:8px 12px}header.has-language-switch nav{gap:12px}.language-switch{font-size:11px;gap:3px;padding:3px 5px}.language-switch button{padding:5px}}
@media(max-width:640px){header.has-language-switch .language-switch{margin-left:auto}header.has-language-switch>.button{order:3}.language-globe{display:none}}

/* Let longer translations wrap while preserving the shared layout and type scale. */
html[lang="es"] :is(h1,h2,h3,legend,.field,.card-copy,.section-heading,.form-row,.cost-row,.journey-picker){min-width:0;overflow-wrap:anywhere;word-break:normal}
html[lang="es"] :is(h2,h3){line-height:1.2}
html[lang="es"] :is(.button,button,.text-link){max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
html[lang="es"] :is(input,select,textarea){min-width:0;max-width:100%}
html[lang="es"] .section-heading{flex-wrap:wrap;row-gap:10px}
html[lang="es"] .section-heading>.text-link{white-space:normal}
html[lang="es"] .cost-row{gap:10px;align-items:flex-start}
html[lang="es"] .cost-row strong{flex-shrink:0;white-space:nowrap}
html[lang="es"] .language-switch button{white-space:nowrap;overflow-wrap:normal}
@media(max-width:650px){
 html[lang="es"] .consultation-mini-benefits{grid-template-columns:1fr;gap:10px}
}

/* Market-specific visa content follows the selected language. */
html:not([lang="es"]) [data-visa-language="es"],html[lang="es"] [data-visa-language="en"]{display:none!important}
