/* ============================================================
   styles.css — Media Digital Invest
   ============================================================ */

:root {
  --bg:      #0b0f17;
  --panel:   #0f172a;
  --text:    #e6edf6;
  --muted:   #a7b0bf;
  --green:   #4fb26b;
  --cyan:    #2dbbd3;
  --line:    rgba(255, 255, 255, .12);
  --shadow:  0 14px 34px rgba(0, 0, 0, .35);
  --radius2: 24px;
  --max:     1120px;
  --glass:   rgba(255, 255, 255, .04);
  --glass2:  rgba(255, 255, 255, .03);
  --border:  1px solid var(--line);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(79, 178, 107, .18), transparent 55%),
    radial-gradient(900px  600px at 85% 20%, rgba(45, 187, 211, .16), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 18px; }

section      { padding: 64px 0; }
.hero        { padding: 64px 0 36px; }

.grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: stretch;
}

/* ── Typography ─────────────────────────────────────────────── */
h1 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  margin: 12px 0;
  letter-spacing: -.6px;
}
h2 {
  font-size: clamp(22px, 2.1vw, 30px);
  margin: 0 0 10px;
  letter-spacing: -.35px;
}
h3   { font-size: 16px; margin: 0 0 8px; }
p    { margin: 0 0 12px; color: rgba(230, 237, 246, .92); }
.container p { max-width: 68ch; }
.muted { color: var(--muted); }
.lead {
  font-size: 18px;
  color: rgba(230, 237, 246, .7);
  max-width: 62ch;
}

/* ── Header ─────────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 15, 23, .74);
  backdrop-filter: blur(10px);
  border-bottom: var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; opacity: .95; }
.brandText small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

/* navBrandRow: hidden on desktop, shown on mobile via @media block */
.navBrandRow { display: none; }

nav a {
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
}
nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); text-decoration: none; }

/* ── Language switcher dropdown ─────────────────────────────── */
.langDropdown {
  position: relative;
  flex-shrink: 0;
}

.langTrigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 12px;
  border: var(--border);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
  user-select: none;
  letter-spacing: .3px;
}
.langTrigger:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  border-color: rgba(255,255,255,.22);
}
.langTrigger svg {
  width: 15px; height: 15px;
  fill: currentColor;
  opacity: .75;
  flex-shrink: 0;
}
.langTrigger .langChevron {
  width: 12px; height: 12px;
  fill: currentColor;
  opacity: .5;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.langDropdown.isOpen .langTrigger .langChevron {
  transform: rotate(180deg);
}
.langDropdown.isOpen .langTrigger {
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  border-color: rgba(255,255,255,.22);
}

.langMenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 148px;
  background: rgba(15, 23, 42, .97);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
  overflow: hidden;
  z-index: 100;
  padding: 5px;
}
.langDropdown.isOpen .langMenu {
  display: block;
  animation: langFadeIn .15s ease;
}
@keyframes langFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.langOption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .12s ease, color .12s ease;
  cursor: pointer;
  white-space: nowrap;
}
.langOption:hover {
  background: rgba(255,255,255,.07);
  color: var(--text);
  text-decoration: none;
}
.langOption.isActive {
  color: var(--text);
  background: rgba(255,255,255,.05);
  cursor: default;
  pointer-events: none;
}
.langOption .langFlag {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.langOption .langLabel {
  flex: 1;
}
.langOption .langNative {
  font-size: 11px;
  color: var(--muted);
  opacity: .7;
  display: block;
}
.langOption.isActive .langNative {
  opacity: 1;
}
.langLabel {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex: 1;
}
.langCheckmark {
  width: 14px; height: 14px;
  fill: var(--cyan);
  flex-shrink: 0;
  opacity: 0;
}
.langOption.isActive .langCheckmark {
  opacity: 1;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); }
.btn:active { transform: translateY(1px); }

.btnPrimary {
  background: linear-gradient(135deg, rgba(79, 178, 107, .95), rgba(45, 187, 211, .92));
  border-color: rgba(45, 187, 211, .40);
}
.btnPrimary:hover {
  background: linear-gradient(135deg, rgba(79, 178, 107, 1), rgba(45, 187, 211, .98));
  transform: translateY(-1px);
}

/* ── Panels ──────────────────────────────────────────────────── */
.panel {
  background: var(--glass);
  border: var(--border);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 18px;
}
.panelSoft {
  background: var(--glass2);
  border: 1px solid rgba(255, 255, 255, .10);
}
.hr { height: 1px; background: var(--line); margin: 14px 0; }

/* ── Pills and Tags ──────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: var(--border);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 12px;
}
.pill strong { color: var(--text); }

.tag {
  display: inline-flex; align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(45, 187, 211, .16);
  border: 1px solid rgba(45, 187, 211, .28);
  color: rgba(209, 250, 255, .95);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}
.tag.green {
  background: rgba(79, 178, 107, .14);
  border: 1px solid rgba(79, 178, 107, .26);
  color: rgba(187, 247, 208, .95);
}

/* ── KPI Grid (hero bar) ─────────────────────────────────────── */
.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.kpi {
  border-radius: 16px;
  border: var(--border);
  background: var(--glass2);
  padding: 12px;
}
.kpi strong { display: block; font-size: 16px; }
.kpi span   { color: var(--muted); font-size: 12px; }

/* ── Features Grid ───────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.feat {
  border-radius: 18px;
  border: var(--border);
  background: var(--glass2);
  padding: 14px;
}

/* ── Logos ───────────────────────────────────────────────────── */
.logoPh {
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, .22);
  background: rgba(0, 0, 0, 1);
  padding: 14px;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
  min-height: 54px;
  display: flex; align-items: center; justify-content: center;
}
.logoWrap         { margin: 10px 0 12px; }
.logoMd           { max-width: 160px; height: auto; }
.logoMdiHeader    { max-width: 80px;  height: auto; }
.logoMdiFooter    { max-width: 60px;  height: auto; }

/* ── Testimonials ────────────────────────────────────────────── */
.tGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.quote {
  position: relative;
  border-radius: 18px;
  border: var(--border);
  background: var(--glass2);
  padding: 14px;
}
.quote::before {
  content: "";
  position: absolute;
  left: -8px; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--green), var(--cyan));
  opacity: .7;
}
.quote p            { margin: 0 0 10px; }
.quote .who         { font-size: 12px; color: var(--muted); }
.quote .who strong  { color: var(--green); font-weight: 800; }

/* ── Form ────────────────────────────────────────────────────── */
form { margin-top: 14px; }
.formGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.formFull { grid-column: 1 / -1; }

label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
label[for]::after    { content: " *"; color: var(--cyan); }
label.optional::after { content: ""; }

input, select, textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(15, 23, 42, .55);
  color: var(--text);
  outline: none;
}
textarea { min-height: 130px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(45, 187, 211, .25);
}

.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; }
.consent input { width: auto; margin-top: 4px; }

.alert {
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 14px;
  text-align: center;
}
.alert-success { background: rgba(79, 178, 107, .15); border: 1px solid var(--green); color: #fff; }
.alert-error   { background: rgba(239, 68, 68, .15);  border: 1px solid #ef4444;      color: #fff; }

/* ── KPI Big (proof panel) ───────────────────────────────────── */
.kpiBigGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}
.kpiBig {
  border-radius: 18px;
  border: var(--border);
  background: var(--glass2);
  padding: 14px;
}
.kpiBig .kpiValue {
  display: block;
  font-size: clamp(26px, 2.2vw, 34px);
  letter-spacing: -.6px;
  line-height: 1.05;
  white-space: nowrap;
}
.kpiBig .kpiNum   { display: inline; font-variant-numeric: tabular-nums; min-width: 2ch; }
.kpiBig .kpiDesc  { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  padding: 36px 0;
  border-top: var(--border);
  background: rgba(0, 0, 0, .18);
}
.footerGrid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: start;
}
.tiny       { font-size: 12px; color: var(--muted); }
.footerLinks a       { color: var(--muted); }
.footerLinks a:hover { color: var(--text); }

.noteBox {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  padding: 14px;
}

/* ── Social / Icon Buttons ───────────────────────────────────── */
.social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.iconBtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .03);
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
  text-decoration: none !important;
}
.iconBtn:hover  { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .20); }
.iconBtn:active { transform: translateY(1px); }
.iconBtn svg    { width: 18px; height: 18px; fill: currentColor; color: rgba(230, 237, 246, .92); }

/* ── Modal ───────────────────────────────────────────────────── */
.modalOverlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .68);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 18px;
  z-index: 9999;
}
.modalOverlay.isOpen { display: flex; }

.modal {
  width: min(920px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(15, 23, 42, .92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
  /* custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .25) rgba(255, 255, 255, .06);
}
.modal::-webkit-scrollbar         { width: 10px; }
.modal::-webkit-scrollbar-track   { background: rgba(255, 255, 255, .05); border-radius: 10px; }
.modal::-webkit-scrollbar-thumb   {
  background: linear-gradient(180deg, rgba(79, 178, 107, .55), rgba(45, 187, 211, .55));
  border-radius: 10px;
  border: 2px solid rgba(15, 23, 42, .92);
}
.modal::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(79, 178, 107, .75), rgba(45, 187, 211, .75));
}

.modalHeader {
  position: sticky; top: 0;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; padding: 16px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  background: rgba(15, 23, 42, .96);
}
.modalHeader h3   { margin: 0; font-size: 16px; letter-spacing: -.1px; }
.modalHeader .meta {
  margin-top: 6px; font-size: 12px;
  color: rgba(167, 176, 191, .92);
  letter-spacing: .2px;
}

.closeBtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}
.closeBtn:hover  { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .20); }
.closeBtn:active { transform: translateY(1px); }
.closeBtn svg    { width: 18px; height: 18px; fill: currentColor; color: rgba(230, 237, 246, .92); }

.modalBody {
  padding: 14px 18px 18px 16px;
  font-size: 14px;
}
.modalBody ol  { margin: 10px 0 0 18px; }
.modalBody li  { margin: 10px 0; color: rgba(230, 237, 246, .92); }
.modalBody p   { color: rgba(230, 237, 246, .92); }
.modalBody .muted { color: var(--muted); }
.modalBody a   { color: rgba(209, 250, 255, .95); text-decoration: underline; }

/* ── Team ────────────────────────────────────────────────────── */
.teamGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.teamCard {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
}
.teamPic {
  aspect-ratio: 4 / 3.5;
  background: rgba(0, 0, 0, .35);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}
.teamPic img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.teamInfo {
  padding: 12px;
  background: linear-gradient(to top, rgba(15, 23, 42, .78), rgba(15, 23, 42, 0));
}
.teamName { margin: 0 0 4px; font-size: 15px; letter-spacing: -.1px; }
.teamRole { color: var(--muted); font-size: 12px; margin-bottom: 10px; color: rgba(167, 176, 191, .92); }

.teamSocial .iconBtn       { width: 36px; height: 36px; border-radius: 12px; background: rgba(255, 255, 255, .025); }
.teamSocial .iconBtn svg   { width: 17px; height: 17px; color: rgba(230, 237, 246, .88); }

/* ── About intro ─────────────────────────────────────────────── */
.aboutIntro {
  max-width: 92ch;
  color: rgba(230, 237, 246, .86);
  line-height: 1.65;
  font-size: 14px;
}
.aboutIntro p         { margin: 0 0 10px; }
.aboutIntro p:last-child { margin-bottom: 0; }
.aboutIntro strong    { color: rgba(230, 237, 246, .96); font-weight: 750; }
.aboutDivider         { height: 1px; background: rgba(255, 255, 255, .10); margin: 14px 0; }

/* ── Misc ────────────────────────────────────────────────────── */
p .muted[data-modal-open],
p a[data-modal-open] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hide reCAPTCHA v3 badge */
.grecaptcha-badge { visibility: hidden; }

/* ── Nav CTA group: desktop base ────────────────────────────── */
.navCta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 980px) {
  .grid          { grid-template-columns: 1fr; }
  .kpis          { grid-template-columns: 1fr; }
  .features      { grid-template-columns: 1fr; }
  .tGrid         { grid-template-columns: 1fr; }
  .formGrid      { grid-template-columns: 1fr; }
  .footerGrid    { grid-template-columns: 1fr; }
  .teamGrid      { grid-template-columns: 1fr; }
  nav            { display: none; }
  .btn           { padding: 14px 16px; font-size: 15px; }

  /* ── Nav CTA: dropdown stays compact on mobile ── */
  .langMenu {
    right: 0;
    left: auto;
  }

  /* ── Nav restructure on mobile ────────────────────────────────
     Row 1: [ logo ]  ·········  [ 🌐 lang ] [ Apply ]
     Row 2: Brand name + tagline — full width, under logo
  ──────────────────────────────────────────────────────────── */
  .nav {
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding: 10px 0;
  }

  /* logo: row 1, start edge, no gap to text (text is hidden) */
  .brand {
    flex: 0 0 auto;
    order: 1;
    gap: 0;
  }
  .brand .brandText {
    display: none;
  }

  /* CTA group: row 1, pushed to far end */
  .navCta {
    flex: 0 0 auto;
    order: 2;
    margin-left: auto;  /* LTR: push right */
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* Brand text row: forces a new full-width row below */
  .navBrandRow {
    display: block !important;
    flex: 0 0 100%;
    order: 3;
    padding: 6px 0 2px;
    text-align: left;   /* LTR default */
  }
  .navBrandRow strong {
    display: block;
    font-size: 14px;
    color: var(--text);
  }
  .navBrandRow small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 1px;
  }
}

/* ══════════════════════════════════════════════════════════════
   RTL OVERRIDES  (Arabic — [dir="rtl"])
   These rules flip everything that relies on left/right
   direction so the layout mirrors correctly.
══════════════════════════════════════════════════════════════ */

/* Base font — system Arabic stack */
[dir="rtl"] body {
  font-family: "Segoe UI", "Helvetica Neue", Arial,
    "Noto Sans Arabic", "Tahoma", sans-serif;
  letter-spacing: 0;
}

/* Nav bar */
[dir="rtl"] .nav        { flex-direction: row-reverse; }
[dir="rtl"] .brand      { flex-direction: row-reverse; }
[dir="rtl"] .nav > div  { flex-direction: row-reverse; }
[dir="rtl"] .brandText  { text-align: right; }

/* Quote accent bar flips to right edge */
[dir="rtl"] .quote::before { left: auto; right: -8px; }

/* Pill */
[dir="rtl"] .pill { flex-direction: row-reverse; }

/* Buttons */
[dir="rtl"] .btn { flex-direction: row-reverse; }

/* Form */
[dir="rtl"] label       { text-align: right; }
[dir="rtl"] .consent    { flex-direction: row-reverse; }
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea    { text-align: right; direction: rtl; }
[dir="rtl"] .alert      { direction: rtl; }

/* Cards */
[dir="rtl"] .feat,
[dir="rtl"] .kpi,
[dir="rtl"] .kpiBig     { text-align: right; }
[dir="rtl"] .feat ul    { padding-right: 18px; padding-left: 0; }

/* KPI / testi grids */
[dir="rtl"] .kpis       { direction: rtl; }
[dir="rtl"] .tGrid      { direction: rtl; }
[dir="rtl"] .tag        { direction: rtl; }

/* Testimonial text */
[dir="rtl"] .quote p,
[dir="rtl"] .quote .who { text-align: right; }

/* Social icon rows */
[dir="rtl"] .social     { flex-direction: row-reverse; }
[dir="rtl"] .teamSocial { display: flex; flex-direction: row-reverse; gap: 6px; }

/* Modal */
[dir="rtl"] .modalHeader   { flex-direction: row-reverse; }
[dir="rtl"] .modalBody ol  { padding-right: 20px; padding-left: 0; margin-right: 18px; margin-left: 0; }
[dir="rtl"] .modalBody li,
[dir="rtl"] .modalBody p   { text-align: right; }
[dir="rtl"] .aboutIntro p  { text-align: right; }

/* Footer */
[dir="rtl"] .footerGrid    { direction: rtl; }
[dir="rtl"] .noteBox       { text-align: right; }
[dir="rtl"] .footerLinks   { text-align: right; direction: rtl; }

/* Global text direction */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] .lead, [dir="rtl"] p { text-align: right; }

/* Language dropdown — RTL: menu opens to the LEFT */
[dir="rtl"] .langMenu {
  right: auto;
  left: 0;
}
[dir="rtl"] .langOption {
  flex-direction: row-reverse;
  text-align: right;
}
[dir="rtl"] .langLabel {
  align-items: flex-end;
}

/* ── RTL mobile nav fixes ───────────────────────────────────── */
@media (max-width: 980px) {
  /* Brand text row: align right in RTL (under logo which is on the right) */
  [dir="rtl"] .navBrandRow {
    text-align: right;
  }

  /* CTA group: flip auto-margin so it pushes to the LEFT in RTL */
  [dir="rtl"] .navCta {
    margin-left: 0;
    margin-right: auto;
  }
}
