/* ==========================================================================
   Injazat HR — Hero + Partner Logos
   Theme-agnostic, RTL-first. Everything is scoped under .injazat-hero /
   .injazat-partners / .injazat-header so host-theme styles don't leak in and
   ours don't leak out. Colors are CSS variables (spec §2) for global retuning.

   Specificity strategy:
   - The local reset uses :where() so it has element-only specificity (0,0,1)
     and never overrides component rules.
   - Text-spacing components are written two-class (0,2,0) so they also beat
     common theme content rules like `.entry-content p`.
   ========================================================================== */

.injazat-hero,
.injazat-partners,
.injazat-header {
  --brand-blue: #0878E8;
  --brand-blue-dark: #002B5C;
  --brand-blue-deep: #012754;
  --brand-blue-mid: #005FAE;
  --brand-blue-light: #4AA6FF;   /* lifted for contrast on the blue gradient */

  --text-dark: #12365B;
  --text-white: #FFFFFF;
  --text-muted: #D8E8F7;

  --header-bg: #FFFFFF;
  --page-bg: #FFFFFF;

  --card-bg: rgba(4, 67, 129, 0.34);
  --card-border: rgba(54, 148, 239, 0.55);

  --partner-bg: #FFFFFF;
  --partner-border: #E7EDF3;

  --success: #17C964;
  --cta-hover: #006ED8;

  --ff-ar: "Tajawal", "Cairo", Arial, sans-serif;
  --ff-en: "Tajawal", "Cairo", Arial, sans-serif;

  --maxw: 1510px;
}

/* ---- Local reset — :where() => specificity (0,0,1), can't beat components -- */
.injazat-hero *,
.injazat-partners *,
.injazat-header * { box-sizing: border-box; }

:where(.injazat-hero, .injazat-partners, .injazat-header) h1,
:where(.injazat-hero, .injazat-partners, .injazat-header) h2,
:where(.injazat-hero, .injazat-partners, .injazat-header) p,
:where(.injazat-hero, .injazat-partners, .injazat-header) ul,
:where(.injazat-hero, .injazat-partners, .injazat-header) li {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--ff-ar);
}
:where(.injazat-hero, .injazat-partners, .injazat-header) img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

/* Keep Latin runs (brand name, phone) left-to-right inside RTL flow */
.injazat-hero .ltr,
.injazat-partners .ltr,
.injazat-header .ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* ==========================================================================
   SECTION SHELL + FULL-BLEED BREAKOUT (scrollbar-safe, RTL-safe)
   Width excludes the scrollbar (via --injazat-sbw set by JS) so 100vw never
   forces a horizontal page scrollbar. margin-inline is symmetric => RTL-safe.
   ========================================================================== */
.injazat-hero {
  position: relative;
  direction: rtl;
  width: calc(100vw - var(--injazat-sbw, 0px));
  margin-inline: calc((100% - (100vw - var(--injazat-sbw, 0px))) / 2);
  color: var(--text-white);
  font-family: var(--ff-ar);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  /* The hero's radial gradient lives on the ROOT so it sits behind BOTH the
     stage and the partners band — the band's overlapping (top) half is left
     transparent and shows this exact gradient, not a flat navy fill, so the
     seam with the hero is invisible. */
  background-color: #012754;
  background-image:
    radial-gradient(
      circle at 52% 30%,
      rgba(0, 130, 235, 0.95) 0%,
      rgba(0, 91, 174, 0.85) 32%,
      rgba(1, 39, 84, 1) 75%
    );
  /* Fold math (§1): header(90px) + hero + partners = one screen. The hero is a
     flex column that fills the viewport minus the header; the stage grows and
     centres its content (balanced whitespace, no lopsided gap) while the
     partners band sits flush at the very bottom — so the end of the partners
     panel is the end of the first screen. */
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 90px);
}

/* Stage = positioning context for background + content. The partner panel lives
   OUTSIDE the stage (in-flow sibling) so its overlap is a negative margin, not a
   clipped absolute box — works at any panel height / breakpoint. */
.injazat-hero__stage {
  position: relative;
  flex: 1 1 auto;      /* grow to push the partners panel down to the fold */
  min-height: 660px;   /* hero content floor; grows on taller viewports */
  display: flex;
  align-items: center; /* centre the content in the grown stage — extra height
                          becomes balanced space top & bottom, not a dead gap
                          above the partners panel (all of it stays blue since
                          the background fills the whole stage) */
}

.injazat-hero__background {
  position: absolute;
  inset: 0;
  overflow: hidden;                  /* clips glows/particles only */
  background: transparent;           /* base gradient comes from .injazat-hero root */
  z-index: 0;
}
.injazat-hero__background::before,
.injazat-hero__background::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
.injazat-hero__background::before {
  width: 620px; height: 620px;
  left: 8%; top: -6%;
  background: radial-gradient(circle, rgba(22,136,245,0.75), transparent 70%);
}
.injazat-hero__background::after {
  width: 520px; height: 520px;
  right: 12%; top: 22%;
  background: radial-gradient(circle, rgba(0,95,174,0.6), transparent 70%);
}

/* Particle field (concentrated upper-left) — decorative, aria-hidden in markup */
.injazat-hero__particles {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(rgba(150,200,255,0.9) 1.4px, transparent 1.6px),
    radial-gradient(rgba(120,180,255,0.6) 1px, transparent 1.2px);
  background-size: 46px 46px, 30px 30px;
  background-position: 0 0, 15px 15px;
  -webkit-mask-image: radial-gradient(circle at 18% 22%, #000 0%, transparent 55%);
          mask-image: radial-gradient(circle at 18% 22%, #000 0%, transparent 55%);
}

/* ==========================================================================
   LAYOUT — two columns. Content is FIRST in the DOM so under dir:rtl it lands
   on the right with the visual on the left, and the mobile stack order comes
   for free. fr tracks (not %) so the column gap doesn't overflow 100%.
   ========================================================================== */
.injazat-hero__container {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  min-height: 660px;
  padding: 26px 32px 0;
  display: grid;
  grid-template-columns: 41fr 59fr;
  grid-template-areas: "content visual";
  column-gap: 24px;
  align-items: start;
}
.injazat-hero__content { grid-area: content; }
.injazat-hero__visual  { grid-area: visual; }

/* ---- Right marketing content --------------------------------------------- */
.injazat-hero .injazat-hero__content {
  padding-top: 12px;
  text-align: right;
  max-width: 620px;
}

.injazat-hero .injazat-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 18px;
  border-radius: 22px;
  background: rgba(4, 67, 129, 0.55);
  border: 1px solid var(--card-border);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.injazat-hero .injazat-hero__badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(23,201,100,0.25);
}

.injazat-hero .injazat-hero__title {
  margin-top: 22px;
  font-size: clamp(40px, 3.4vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-white);
  letter-spacing: -0.01em;
}
/* whole title is white; only the "Injazat HR" brand word is blue to highlight it */
.injazat-hero .injazat-hero__title .brand { color: var(--text-white); }
.injazat-hero .injazat-hero__title .brand .ltr {
  font-family: var(--ff-en);
  font-weight: 700;
  color: var(--brand-blue-light);
}

.injazat-hero .injazat-hero__description {
  margin-top: 20px;
  max-width: 540px;
  margin-inline-start: auto;   /* hold against the right edge of the column */
  font-size: 19px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--text-muted);
}

/* ---- Feature checklist ---------------------------------------------------- */
.injazat-hero .injazat-hero__features {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 560px;
  margin-inline-start: auto;
}
.injazat-hero .injazat-hero__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 6px 14px;
  border-radius: 11px;
  background: rgba(4, 67, 129, 0.34);
  border: 1px solid rgba(54, 148, 239, 0.35);
  color: #EAF3FC;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: right;
}
.injazat-hero .injazat-hero__feature-icon {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-blue);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(8,120,232,0.4);
}
.injazat-hero .injazat-hero__feature-icon svg { width: 15px; height: 15px; }

/* ==========================================================================
   VISUAL — dashboard + overlapping phone + CTA. Physical left/right so nothing
   flips under RTL.
   ========================================================================== */
.injazat-hero__visual {
  position: relative;
  min-height: 620px;
  --dash-inset: 88px;   /* blue gutter on the dashboard's left so the phone can
                           straddle it — half on the dashboard, half on the hero */
}
/* Mac/browser window frame around the dashboard screenshot (§2). The tilt,
   shadow, rounding and clipping live on the frame; the title bar carries the
   three traffic-light dots. */
.injazat-hero__dashboard {
  position: relative;
  left: 0;
  top: 111px;   /* lowered so the dashboard+phone group sits ~30px above the CTA */
  /* narrower than the column so (under RTL) it right-aligns, leaving a blue
     gutter on the left equal to --dash-inset for the phone to straddle */
  width: min(920px, calc(100% - var(--dash-inset, 0px)));
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 25, 60, 0.25);
}
.injazat-hero__winbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  background: #EDEFF3;
  border-bottom: 1px solid #DDE2E9;
}
.injazat-hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.injazat-hero__dot--r { background: #FF5F57; }
.injazat-hero__dot--y { background: #FEBC2E; }
.injazat-hero__dot--g { background: #28C840; }
.injazat-hero__winimg {
  display: block;
  width: 100%;
  height: auto;
}
.injazat-hero__mobile {
  position: absolute;
  left: calc(var(--dash-inset, 0px) - 101px); /* straddles the dashboard's left
                                   edge, nudged a little further onto the hero */
  bottom: 49px;                 /* group lowered so phone sits ~30px above the subscribe button */
  width: 158px;                 /* minimized to keep the fold tidy (§3) */
  border-radius: 26px;
  overflow: hidden;
  background: #0F1720;          /* device bezel around the frameless screenshot */
  padding: 5px;
  box-shadow: 0 18px 40px rgba(0, 15, 40, 0.35);
  transform: none;              /* straight — no rotation (§3) */
  z-index: 3;
}

/* Hero CTA — lower-LEFT, beneath the dashboard (spec §13). Physical `left`. */
.injazat-hero__cta-wrap {
  grid-area: visual;
  align-self: end;
  justify-self: left;
  z-index: 4;
  margin: 0 8px 24px 0;
  position: relative;
}
.injazat-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 30px;
  border-radius: 28px;
  background: var(--brand-blue);
  color: #fff;
  font-family: var(--ff-ar);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(8,120,232,0.4);
  transition: background .2s ease, transform .2s ease;
}
.injazat-hero__cta:hover { background: var(--cta-hover); transform: translateY(-2px); }
.injazat-hero__cta svg { width: 18px; height: 18px; }

/* ==========================================================================
   PARTNER / CLIENT LOGO BAND — the band itself is split: the TOP half is navy
   (seamless with the hero above) and the BOTTOM half is white. The logo card is
   centred on that divide, so it straddles the seam — half of the section reads
   on the hero background, half on white — no matter how the logos wrap.
   ========================================================================== */
.injazat-partners {
  position: relative;
  z-index: 10;
  direction: rtl;
  font-family: var(--ff-ar);
  /* pull the band up on desktop so the logo panel ends at the first screen
     (~1080 fold) while clearing the hero feature list; reset to 0 on the mobile
     stack (≤991) below */
  margin: -16px 0 0;
  padding: 24px 0 0;      /* no bottom padding => the logo card ends flush at the HR-challenges section */
  display: flex;
  justify-content: center;
  /* top half is transparent (reveals the hero's own gradient behind it), bottom
     half is the white section — so the card straddles the real hero background */
  background: linear-gradient(to bottom, transparent 0, transparent 50%, #fff 50%, #fff 100%);
}
.injazat-partners .injazat-partners__panel {
  margin-inline: auto;
  width: min(1360px, calc(100% - 56px));
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(0, 25, 60, 0.22);
  padding: 24px 20px 22px;
}
.injazat-partners .injazat-partners__title {
  text-align: center;
  color: var(--text-dark);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 18px;
}
/* Fixed 8-per-row grid on desktop (16 logos => two tidy rows of 8);
   the media queries below step it down on smaller screens. */
.injazat-partners .injazat-partners__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  padding: 4px 14px 6px;
}
.injazat-partners .injazat-partners__item {
  height: 74px;
  background: #FCFDFE;
  border: 1px solid var(--partner-border);
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 8px 14px;
}
.injazat-partners .injazat-partners__logo {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.injazat-partners .injazat-partners__item--placeholder {
  color: #9FB2C6;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* 1200–1439: tighten */
@media (max-width: 1439px) {
  .injazat-hero .injazat-hero__title { font-size: clamp(38px, 3.2vw, 50px); }
  .injazat-hero__dashboard { width: min(760px, calc(100% - var(--dash-inset, 0px))); }
  .injazat-hero__mobile { width: 180px; }
}

/* 992–1199: still two columns, smaller */
@media (max-width: 1199px) {
  .injazat-hero__container { grid-template-columns: 44fr 56fr; padding: 32px 24px 0; }
  .injazat-hero__dashboard { width: calc(100% - var(--dash-inset, 0px)); top: 60px; }
  .injazat-hero__mobile { width: 150px; }
  .injazat-hero .injazat-hero__feature { font-size: 14px; }
  .injazat-partners .injazat-partners__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Tablet and below: single column, stacked in the §19 order */
@media (max-width: 991px) {
  .injazat-hero { display: block; min-height: auto; }   /* stack, don't force a full screen */
  .injazat-hero__stage { min-height: auto; }
  /* On mobile the gradient stays on the ROOT (so the partners band's transparent
     top half keeps matching it); highlight pushed low, away from the heading. */
  .injazat-hero {
    background-image:
      radial-gradient(
        circle at 50% 82%,
        rgba(0, 110, 205, 0.9) 0%,
        rgba(0, 78, 158, 0.9) 34%,
        rgba(1, 39, 84, 1) 78%
      );
  }
  .injazat-hero__container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "visual"
      "cta";
    min-height: auto;
    padding: 32px 20px 40px;
    row-gap: 8px;
  }
  .injazat-hero .injazat-hero__content { text-align: center; max-width: 640px; margin: 0 auto; }
  .injazat-hero .injazat-hero__title { margin-top: 18px; }
  .injazat-hero .injazat-hero__description,
  .injazat-hero .injazat-hero__features { margin-inline: auto; }
  .injazat-hero .injazat-hero__feature { text-align: right; }

  .injazat-hero__visual { min-height: 0; margin-top: 24px; --dash-inset: 0px; }
  .injazat-hero__dashboard {
    position: relative; top: 0; left: 0;
    width: 94%; max-width: 760px; margin: 0 auto;
    transform: none;
  }
  .injazat-hero__mobile { width: 130px; left: 4%; bottom: -14px; }

  .injazat-hero__cta-wrap {
    grid-area: cta;
    justify-self: center;
    margin: 26px auto 40px;
  }
  .injazat-hero__cta { min-width: 200px; justify-content: center; height: 50px; font-size: 17px; }

  /* Split band stays flush so its navy top merges with the hero above */
  .injazat-partners { margin-top: 0; padding: 28px 0; }
  .injazat-partners .injazat-partners__panel {
    width: calc(100% - 28px);
    border-radius: 16px;
  }
}

/* Phones */
@media (max-width: 767px) {
  .injazat-hero .injazat-hero__title { font-size: clamp(30px, 8vw, 38px); line-height: 1.2; }
  .injazat-hero .injazat-hero__description { font-size: 16px; width: 90%; }
  .injazat-hero .injazat-hero__feature { min-height: auto; }
  .injazat-partners .injazat-partners__grid { grid-template-columns: repeat(2, 1fr); gap: 7px; padding: 4px 12px 15px; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .injazat-partners .injazat-partners__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   ANIMATION — subtle, opt-in. Animates the `translate` property (not
   `transform`) so it composes with the dashboard tilt and phone rotation.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .injazat-hero__content > *,
  .injazat-hero__dashboard,
  .injazat-hero__mobile,
  .injazat-partners__panel {
    opacity: 0;
    translate: 0 15px;
    animation: injazat-rise .6s ease-out forwards;
  }
  .injazat-hero__badge       { animation-delay: .05s; }
  .injazat-hero__title       { animation-delay: .12s; }
  .injazat-hero__description { animation-delay: .20s; }
  .injazat-hero__features    { animation-delay: .28s; }
  .injazat-hero__dashboard   { animation-delay: .30s; }
  .injazat-hero__mobile      { animation-delay: .45s; }
  .injazat-partners__panel   { animation-delay: .40s; }
}
@keyframes injazat-rise {
  to { opacity: 1; translate: 0 0; }
}

/* ==========================================================================
   OPTIONAL HEADER (spec §3, §20) — rendered only via [injazat_header]
   ========================================================================== */
.injazat-header {
  background: var(--header-bg);
  border-bottom: 1px solid #EEF2F6;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  font-family: var(--ff-ar);
  position: relative;
  z-index: 20;
}
.injazat-header__inner {
  max-width: 1510px;
  margin: 0 auto;
  padding: 0 32px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.injazat-header__right,
.injazat-header__left { display: flex; align-items: center; gap: 28px; }
.injazat-header__logo { flex-shrink: 0; }
.injazat-header__logo img { width: 168px; height: auto; }
.injazat-header__nav { display: flex; align-items: center; gap: 26px; }
.injazat-header__nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .15s ease;
}
.injazat-header__nav a:hover { color: var(--brand-blue); }
.injazat-header__lang { display: inline-flex; align-items: center; gap: 6px; }
.injazat-header__lang svg { width: 16px; height: 16px; }
.injazat-header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-dark); text-decoration: none;
  font-size: 15px; font-weight: 700; white-space: nowrap;
}
.injazat-header__lang { font-weight: 700; }
.injazat-header__phone svg { width: 18px; height: 18px; }
.injazat-header__cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px;
  background: var(--brand-blue); color: #fff;
  border-radius: 13px; text-decoration: none;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: background .2s ease;
}
.injazat-header__cta:hover { background: var(--cta-hover); }
.injazat-header__cta svg { width: 16px; height: 16px; }
.injazat-header__burger {
  display: none;
  width: 42px; height: 42px;
  background: #F2F6FA; border: 0; border-radius: 10px;
  cursor: pointer; padding: 11px 10px;
  flex-direction: column; justify-content: space-between;
}
.injazat-header__burger span { display: block; height: 2px; background: var(--text-dark); border-radius: 2px; }
.injazat-header__drawer { display: none; }

/* Switch to the hamburger before the nav can wrap (spec §20) */
@media (max-width: 991px) {
  .injazat-header__inner { height: 64px; padding: 0 18px; }
  .injazat-header__logo img { width: 130px; }
  .injazat-header__nav,
  .injazat-header__left .injazat-header__phone { display: none; }
  .injazat-header__burger { display: flex; }
  .injazat-header__drawer {
    display: flex; flex-direction: column; gap: 4px;
    padding: 8px 18px 16px; border-top: 1px solid #EEF2F6;
  }
  .injazat-header__drawer[hidden] { display: none; }
  .injazat-header__drawer a {
    color: var(--text-dark); text-decoration: none;
    font-size: 16px; font-weight: 700; padding: 10px 4px;
    border-bottom: 1px solid #F3F6F9;
  }
  .injazat-header__cta { height: 42px; padding: 0 16px; font-size: 14px; }
}

/* ==========================================================================
   ENGLISH / LTR OVERRIDES (header + hero + partners)
   Activate whenever the block carries dir="ltr". Physical right/left
   placements are mirrored; text realigns to the (now left) start edge.
   ========================================================================== */
.injazat-hero[dir="ltr"] { direction: ltr; }

/* Feature rows read from the left at every width (mirror of the RTL right). The
   content block only left-aligns on desktop; when the hero stacks (≤991) it is
   centered for BOTH languages, so those overrides are desktop-scoped below. */
.injazat-hero[dir="ltr"] .injazat-hero__feature { text-align: left; }

@media (min-width: 992px) {
  /* Marketing column: text starts on the left; description/features hold to the
     left edge of their column (mirror of the RTL margin-inline-start:auto). */
  .injazat-hero[dir="ltr"] .injazat-hero__content { text-align: left; }
  .injazat-hero[dir="ltr"] .injazat-hero__description,
  .injazat-hero[dir="ltr"] .injazat-hero__features { margin-inline-start: 0; margin-inline-end: auto; }
}

/* Visual: the dashboard is narrower than its column and now left-aligns, so the
   blue gutter falls on its RIGHT. The phone straddles that right edge (mirror of
   the RTL left-edge straddle), and the CTA drops to the lower-right. */
.injazat-hero[dir="ltr"] .injazat-hero__mobile {
  left: auto;
  right: calc(var(--dash-inset, 0px) - 101px);
}
.injazat-hero[dir="ltr"] .injazat-hero__cta-wrap {
  justify-self: right;
  margin: 0 0 24px 8px;
}

/* Forward-CTA arrows are drawn left-pointing (RTL "forward"); point them right
   for English. */
.injazat-hero[dir="ltr"] .injazat-hero__cta svg,
[dir="ltr"] .injazat-header__cta svg { transform: scaleX(-1); }

/* Partners band reads left-to-right in English. */
.injazat-partners[dir="ltr"],
[dir="ltr"] .injazat-partners { direction: ltr; }

@media (max-width: 991px) {
  /* Hero stacked: the phone returns to a small overlap on the (mirrored) side,
     and the CTA is centered for both languages, so only the phone flips here. */
  .injazat-hero[dir="ltr"] .injazat-hero__mobile { left: auto; right: 4%; }
  .injazat-hero[dir="ltr"] .injazat-hero__cta-wrap { justify-self: center; margin: 26px auto 40px; }
}

/* ========================================================================== 
   v1.20.40 — MOBILE VIEWPORT HARDENING
   Do not let an invalid --injazat-sbw value collapse the approved homepage.
   The live DevTools capture contained --injazat-sbw:2056px on a ~635px screen.
   ========================================================================== */
@media (max-width: 1200px) {
  html {
    --injazat-sbw: 0px !important;
  }
  .injazat-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }
}
