/* Language controls remain visible outside the mobile navigation. */
.nav-shell { gap: 16px; }
.nav-shell > .brand { flex-shrink: 0; margin-inline-end: auto; }
.primary-nav { order: 1; }
.language-switch { order: 2; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid #d8d0e2; border-radius: 999px; background: #fff; flex-shrink: 0; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 650; color: #513284; text-decoration: none; }
.language-switch a[aria-current="true"] { color: #fff; background: #513284; }
.language-switch a:hover { box-shadow: inset 0 0 0 2px #8a6fba; }
.language-switch a:focus-visible { outline: 3px solid #513284; outline-offset: 3px; }
.nav-toggle { order: 3; flex-shrink: 0; }
/* Arabic is typeset with system fonts that include connected Arabic glyphs. */
html[lang="ar"] body { font-family: "Segoe UI", Tahoma, Arial, sans-serif; line-height: 1.9; }
html[lang="ar"] :is(h1,h2,h3,.eyebrow,.footer-heading,.card-number) { letter-spacing: 0; text-transform: none; }
html[lang="ar"] :is(h1,h2,h3) { line-height: 1.45; }
html[lang="ar"] .eyebrow { font-size: 16px; }
html[lang="ar"] .photo-intro h1 { line-height: 1.4; }
html[lang="ar"] .photo-copy h2 { line-height: 1.45; }
html[lang="ar"] .photo-copy p { line-height: 1.85; }
html[dir="rtl"] .brand { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] :is(a[href^="mailto:"],input[type="email"]) { direction: ltr; unicode-bidi: isolate; text-align: left; }
html[dir="rtl"] .primary-nav .nav-cta { margin-left: 0; margin-inline-start: 10px; }
html[dir="rtl"] .check-list li { padding-left: 0; padding-right: 42px; }
html[dir="rtl"] .check-list li::before { left: auto; right: 0; }
html[dir="rtl"] blockquote { border-left: 0; border-right: 4px solid var(--teal); border-radius: 18px 0 0 18px; }
html[dir="rtl"] .slider-controls { direction: ltr; justify-content: flex-start; }
html[dir="rtl"] .flow-line b { transform: scaleX(-1); }
html[dir="rtl"] :is(input[type="text"],textarea) { text-align: start; }
@media (max-width: 1200px) {
 .nav-toggle { display: flex; }
 .primary-nav { display: none; position: absolute; left: 20px; right: 20px; top: calc(var(--header) - 4px); padding: 14px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
 .primary-nav.is-open { display: flex; }
 .primary-nav > a { padding: 13px 14px; font-size: 18px; }
 .primary-nav .nav-cta,html[dir="rtl"] .primary-nav .nav-cta { margin-inline: 0; margin-top: 6px; text-align: center; }
}
@media (max-width: 480px) {
 .nav-shell { gap: 10px; }
 .nav-shell > .brand > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
 .language-switch a { padding-inline: 10px; }
 html[lang="ar"] .photo-intro h1 { font-size: clamp(28px,8vw,36px); }
}
