@font-face {
  font-family: "Noto Sans Arabic";
  src: url("assets/fonts/noto-sans-arabic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.header-inner { gap: 22px; }
.desktop-nav { gap: 25px; }
.desktop-nav a, .header-cta { white-space: nowrap; }
.language-switch { position: relative; display: block; flex-shrink: 0; color: var(--forest); }
.language-switch select {
  display: block;
  width: 114px;
  min-height: 44px;
  padding: 10px 25px 10px 31px;
  appearance: none;
  border: 1px solid #bac6b5;
  border-radius: 8px;
  background: transparent;
  color: var(--forest);
  font: 500 12px/1.5 var(--font-body);
  cursor: pointer;
  text-align: start;
}
.language-switch select:focus-visible { outline: 3px solid #46725c; outline-offset: 4px; }
.language-switch svg { position: absolute; top: 50%; transform: translateY(-50%); fill: none; stroke: currentColor; stroke-width: 1.4; pointer-events: none; }
.language-globe { left: 10px; width: 15px; height: 15px; }
.language-chevron { right: 8px; width: 12px; height: 12px; }
.language-switch option { font-family: "Noto Sans Arabic", "Work Sans", Arial, sans-serif; }

html[lang="ar"] { --font-body: "Noto Sans Arabic", "Work Sans", Arial, sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] .eyebrow { letter-spacing: normal; }
html[lang="ar"] h1, html[lang="ar"] h2 { line-height: 1.45; }
html[lang="ar"] p { line-height: 1.9; }
html[lang="ar"] .eyebrow { text-transform: none; line-height: 1.8; font-size: 12px; }
html[lang="ar"] .hero h1 { font-size: clamp(40px, 3.7vw, 56px); line-height: 1.4; }
html[lang="ar"] .hero-description { font-size: 16px; }
html[lang="ar"] .section-heading h2, html[lang="ar"] .closing h2 { line-height: 1.5; }
html[dir="rtl"] .hero-inner { direction: ltr; }
html[dir="rtl"] .hero-copy { direction: rtl; text-align: right; }
html[dir="rtl"] .hero-description { margin-inline-end: 0; margin-inline-start: auto; }
html[dir="rtl"] .hero-actions { align-items: flex-start; }
html[dir="rtl"] .facts-inner > p + p { border-left: 0; border-inline-start: 1px solid var(--line); }
.facts-inner strong { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .photo-note { left: auto; right: 24px; }
html[dir="rtl"] .language-buttons button { text-align: start; }
.language-buttons strong { unicode-bidi: isolate; }
html[dir="rtl"] .audio-status { text-align: end; }
html[dir="rtl"] .benefit, html[dir="rtl"] .faq-list summary { text-align: start; }
html[dir="rtl"] .faq-list details > p { padding-inline: 0 35px; }
html[dir="rtl"] .button > span[aria-hidden],
html[dir="rtl"] .header-cta > span,
html[dir="rtl"] .text-link > span { transform: scaleX(-1); }
html[dir="rtl"] .closing-cards { direction: ltr; }
html[dir="rtl"] .site-footer > p { line-height: 1.9; }

@media (min-width: 1001px) {
  html[lang="ar"] .hero-copy { max-width: 535px; }
}

@media (max-width: 1100px) and (min-width: 851px) {
  .header-inner { gap: 17px; }
  .desktop-nav { gap: 17px; font-size: 11px; }
  .header-cta { padding-inline: 13px; font-size: 12px; gap: 14px; }
  .language-switch select { width: 105px; font-size: 11px; }
}
@media (max-width: 850px) {
  .header-inner { gap: 14px; }
  .language-switch { margin-inline-start: auto; }
  .header-cta { margin-left: 0; }
  .menu-toggle { min-width: 42px; min-height: 44px; }
  html[dir="rtl"] .facts-inner > p { padding-left: 0; padding-inline-start: 20px; }
  html[dir="rtl"] .facts-inner > p:nth-child(3) { border-inline-start: 0; }
  html[dir="rtl"] .facts-inner > p:nth-child(even) { padding-inline-start: 35px; }
}
@media (max-width: 680px) {
  .header-cta { display: none; }
  .language-switch select { width: 116px; font-size: 12px; }
  .hero-actions, .hero-note { flex-wrap: wrap; }
  html[lang="ar"] .hero-copy { padding-block: 27px; }
  html[lang="ar"] .hero h1 { font-size: 36px; line-height: 1.5; margin-bottom: 14px; }
  html[lang="ar"] .hero-description { font-size: 15px; line-height: 1.95; }
  html[lang="ar"] .eyebrow { font-size: 10px; }
  html[lang="ar"] .hero-note { font-size: 10px; line-height: 1.8; }
  html[lang="ar"] .section-heading h2, html[lang="ar"] .together-copy h2,
  html[lang="ar"] .language-heading h2, html[lang="ar"] .closing h2 { font-size: 31px; line-height: 1.6; }
  html[dir="rtl"] .facts-inner > p { padding-inline-start: 0; }
  html[dir="rtl"] .facts-inner > p:nth-child(even) { padding-inline-start: 18px; }
  html[dir="rtl"] .photo-note { right: 26px; }
  html[dir="rtl"] .together-photo { margin-left: 0; margin-right: -22px; }
  html[dir="rtl"] .faq-list details > p { padding-inline-end: 15px; }
  html[dir="rtl"] .audio-status { text-align: center; }
}
@media (max-width: 360px) {
  .header-inner { gap: 10px; }
  html[lang="ar"] .hero h1 { font-size: 32px; }
  html[dir="rtl"] .facts-inner > p:nth-child(even) { padding-inline-start: 11px; }
  html[dir="rtl"] .together-photo { margin-right: -18px; }
}
