/* ===== home-header ===== */
/* ==========================================================================
   nsh-header--home: home-page modifier of the shared header (header.css, NOT edited).
   Figma desktop: 9941:28143 'Frame 1984079868' (1340x88, py16) and the copy inside the hero
   10155:44719 (sticky wrapper, pointer-events none, spans the full 661px hero).
   Figma mobile : Nav 8676:28622 inside hero 10162:29393 (375 wide, pt12 px16 gap12, rule 343).
   Everything visual (pill, links, CTA, logo) is identical to header.css; only the placement
   differs: the header overlays the hero video at y=0 instead of sitting in the hero flow.
   Requires: header.css loaded before this file.
   ========================================================================== */
/* Client decision (2026-11-29): the home header stays fixed at the top while scrolling.
   At scrollY 0 it overlays the hero exactly as the former absolute header (no layout shift:
   it never took space in the hero flow). position: fixed escapes the hero's overflow:hidden;
   the hero gets a z-index so later positioned sections don't paint over the header. */
.nsh-home-hero { z-index: 50; }
.nsh-header--home {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 3;                     /* above the hero video + text */
  padding-block: 16px;            /* figma 9941:28143 py-[16px] (frame 88 = 16 + 56 logo + 16) */
  transition: background-color .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
}
/* .is-scrolled (home-hero.js, scrollY > 8): ASSUMPTION, not in Figma — a dark translucent bar so the
   white nav stays readable over the light sections. */
.nsh-header--home.is-scrolled {
  background-color: rgba(26, 23, 51, .85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.admin-bar .nsh-header--home { top: var(--wp-admin--admin-bar--height, 0px); }

/* anchor targets must not hide under the fixed header (88px desktop) */
.nsh-page--home section[id] { scroll-margin-top: 88px; }
/* the sticky services stack starts below the fixed header (hook provided by home-services.css) */
.nsh-page--home .nsh-home-services { --svc-sticky-offset: 88px; }

/* mobile 375: same values as the shared header (pt12 px16, rule 1px white @50%) */
@media (max-width: 767px) {
  .nsh-header--home { padding: 12px 16px 0; }
  .nsh-header--home.is-scrolled { padding-bottom: 12px; }   /* the bar closes below the rule */
  .nsh-page--home section[id] { scroll-margin-top: 64px; }
  .nsh-page--home .nsh-home-services { --svc-sticky-offset: 61px; }   /* 12 + 36 + 12 + 1px rule */
}
@media (prefers-reduced-motion: reduce) {
  .nsh-header--home { transition: none; }
}

/* ===== home-hero ===== */
/* ==========================================================================
   nsh-home-hero: home hero with full-bleed background video, word rotator H1, white pill CTA.
   Figma desktop: 10155:44708 (1440x661). Text block 10155:44709 at x678 y241 (right edge x1340 = 100px gutter).
   Figma mobile : 10162:29393 (375x661, below the 44px status bar). Text block 10162:29394 at top 377, 335 wide.
   Background: Figma frame fill = static image 1852x850 (pattern only), a placeholder for the
   designer's video (same 1852x850 source). Video files: assets/home/video/hero-{desktop,mobile}.mp4.
   No separate pattern / gradient layer in Figma: the pattern is baked into the video.
   Requires: tokens.css, btn.css (.nsh-btn__arrow sprite), header.css + home-header.css.
   JS: code/js/home-hero.js (poster swap, reduced motion, rotator synced to the video).
   ========================================================================== */
.nsh-home-hero {
  --nsh-rot-pitch: 128px;                 /* rotator line 48 + gap 80 (figma 5974:1344) */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;                /* RTL: right edge */
  min-height: 661px;                      /* figma 10155:44708 */
  padding: 241px 100px 72px;              /* text block top 241; bottom keeps >=72 if copy grows */
  background: var(--nsh-dark, #1A1733);   /* video background colour (sampled #1A1834) */
  color: var(--nsh-white, #fff);
}

/* ---- background video (fills the whole frame, object-fit cover) ---- */
.nsh-home-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.nsh-home-hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 50%;               /* 3D objects live in the left half: keep them when the sides crop */
}

/* ---- text block (figma 10155:44709: column, gap 32, items right-aligned) ---- */
.nsh-home-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 662px;                           /* paragraph width 10155:44717 */
  max-width: 100%;
}
.nsh-home-hero__intro {                   /* 10155:44710: gap 24 */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.nsh-home-hero__eyebrow {                 /* 10155:44712: Regular 16/24 #E9426A, box 389 */
  width: 389px;
  max-width: 100%;
  font-weight: var(--nsh-fw-regular, 400);
  font-size: 16px;
  line-height: 24px;
  color: var(--nsh-pink, #E9426A);
}

/* H1 row 10155:44713 (560x68, gap 8): static "لكل ناشئ" (right) + 300x68 rotator window (left) */
.nsh-home-hero__title {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 68px;
  font-weight: var(--nsh-fw-medium, 500);
  font-size: 60px;                        /* figma font/size/6xl */
  line-height: 48px;                      /* figma leading = font/size/5xl (48), kept as-is */
  white-space: nowrap;
}
.nsh-home-hero__title-static {            /* 10155:44715: box h68, text centred */
  display: flex;
  align-items: center;
  height: 68px;
}
.nsh-home-hero__rotator {                 /* 5974:1352: 300x68, overflow hidden, transparent bg */
  position: relative;
  flex: none;
  width: 300px;
  height: 100px;                          /* figma 68 + 16 above/below: the window clipped descenders (ؤ، ة) of the 60px words */
  margin-block: -16px;                    /* keeps the title row at 68 */
  overflow: hidden;
}
.nsh-home-hero__rotator-list {            /* 5974:1344: right 6, top 9 (+16 window padding), column gap 80, items right-aligned */
  --i: 0;
  position: absolute;
  top: 25px;
  inset-inline-start: 6px;                /* figma right-[6px] */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(var(--nsh-rot-pitch) - 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateY(calc(var(--i) * var(--nsh-rot-pitch) * -1));
  transition: transform .4s cubic-bezier(.65, 0, .35, 1);   /* assumption: no easing in Figma (was .6s; client asked for faster) */
}
.nsh-home-hero__rotator-list.is-snapping,
.nsh-home-hero__rotator-list.is-scrubbed { transition: none; }   /* is-scrubbed: --i is driven every video frame by home-hero.js */
.nsh-home-hero__rotator-list > li { height: 48px; line-height: 48px; }

.nsh-home-hero__desc {                    /* 10155:44717: Regular 14/20 white, w662 (Figma font var resolves to Cairo, see doc) */
  width: 662px;
  max-width: 100%;
  font-weight: var(--nsh-fw-regular, 400);
  font-size: var(--nsh-fs-sm, 14px);
  line-height: 20px;
  color: var(--nsh-white, #fff);
}
.nsh-home-hero__desc--mobile { display: none; }

/* CTA 10155:44718 (Cta variant property1=sec): white pill, pr4 (circle side) pl32, py4, gap 16, radius 99 */
.nsh-home-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 4px;
  padding-inline-end: 32px;               /* figma pl-[32px] (visual left) */
  border-radius: 99px;
  background: var(--nsh-white, #fff);
  color: var(--nsh-green, #41C465);
  font-weight: var(--nsh-fw-medium, 500);
  font-size: 16px;
  line-height: 20px;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.nsh-home-hero__cta-icon {                /* 32x32 green circle, radius 55, white arrow pointing left */
  --nsh-arrow-img: var(--nsh-icon-arrow-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 55px;
  background: var(--nsh-green, #41C465);
}
/* hover / focus: not in Figma (single state); inferred, matches btn.css arrow slide */
.nsh-home-hero__cta:hover .nsh-btn__arrow::before,
.nsh-home-hero__cta:focus-visible .nsh-btn__arrow::before { background-position: -29.75px 0.25px; }
.nsh-home-hero__cta:focus-visible { outline: 2px solid var(--nsh-green, #41C465); outline-offset: 2px; }
.nsh-home-hero__cta:active { transform: translateY(1px); }

.nsh-home-hero__sr {                      /* screen-reader-only list of the rotating words */
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 1279px) {
  .nsh-home-hero { padding-inline: 40px; }
}

/* mobile 375 (figma 10162:29393): one column, gap 16 everywhere, H1 36/48, CTA label 18 */
@media (max-width: 767px) {
  .nsh-home-hero {
    --nsh-rot-pitch: 96px;                /* 6365:9601: line 48 + gap 48 */
    padding: 377px 20px 44px;             /* 377 + 240 content + 44 = 661 */
  }
  .nsh-home-hero__video { object-position: 50% 0%; }
  .nsh-home-hero__content,
  .nsh-home-hero__intro { gap: 16px; width: 100%; }
  .nsh-home-hero__eyebrow { width: 100%; }
  .nsh-home-hero__title { gap: 4px; height: 48px; font-size: 36px; }   /* 10162:29396 */
  .nsh-home-hero__title-static { height: 48px; }
  .nsh-home-hero__rotator { width: 180px; height: 80px; margin-block: -16px; }   /* 6365:9600 (48) + 16 padding for descenders */
  .nsh-home-hero__rotator-list { top: 16px; }
  .nsh-home-hero__desc { width: 100%; }
  .nsh-home-hero__desc--desktop { display: none; }
  .nsh-home-hero__desc--mobile { display: block; }
  .nsh-home-hero__cta { font-size: 18px; }                             /* I10162:29401;5811:1232 font/size/lg */
}

@media (prefers-reduced-motion: reduce) {
  .nsh-home-hero__rotator-list { transition: none; }
}

/* ===== home-about ===== */
/* ==========================================================================
   nsh-home-about: "ناشئ شريكك" + 3D cube with 3 green label pills + 3 check cards.
   Figma desktop: 9941:25726 'About us' (1440x729): content 9941:26184 at x100 y80 (1240x553).
   Figma mobile : 10162:27272 (375x1013): content 10162:27273 at x16 y24 (343 wide).
   Reuses: .nsh-tag (eyebrow-tag.css), .nsh-pattern-bg (pattern-bg.css), .nsh-check-list/.nsh-check-item
   (check-list-item.css) with a new --card modifier defined here. No shared file edited.
   ========================================================================== */
.nsh-home-about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 80px 100px 96px;               /* 80 + 553 + 96 = 729 */
  background: var(--nsh-slate-200, #E2E8F0);
  color: var(--nsh-ink, #090832);
}

/* ---- light pattern (figma 'Pattern 1' 9941:25727: 845x729, opacity 25%, tiles NOT mirrored,
        stacked with 10px gap from y-21; fade 'Rectangle 7858' 9941:26183: to-left #E2E8F0 0 -> transparent 66.013%) */
.nsh-home-about > .nsh-pattern-bg {
  --nsh-pattern-w: 845px;
  --nsh-pattern-x: 0px;
  --nsh-pattern-y: -21px;
  --nsh-pattern-opacity: .25;
  z-index: -1;
  width: 845px;
  height: 100%;
}
.nsh-home-about > .nsh-pattern-bg::before { transform: none; }
.nsh-home-about > .nsh-pattern-bg::after {
  background: linear-gradient(to left, #E2E8F0 0%, rgba(226, 232, 240, 0) 66.013%);   /* figma 9941:26183 */
}

.nsh-home-about__inner {                  /* 9941:26184: column gap 8 */
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 1240px;
  margin-inline: auto;
}
.nsh-home-about__inner > .nsh-tag { align-self: flex-start; }   /* 9941:26186 at the right edge */

.nsh-home-about__row {                    /* 9941:26187: 1204x513, space-between, centred (18px inset) */
  display: flex;
  flex-direction: row-reverse;            /* RTL + reverse: text (1st in DOM) on the LEFT, cube on the RIGHT */
  justify-content: space-between;
  align-items: center;
  gap: 40px;                              /* safety gap at narrow widths; Figma free space is 120 */
  width: 1204px;
  max-width: 100%;
  min-height: 513px;
  margin-inline: auto;
}

/* ---- text column 9941:26188: w579, gap 32 ---- */
.nsh-home-about__text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 579px;
  max-width: 100%;
}
.nsh-home-about__intro {                  /* 9941:26190: gap 24, right aligned */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.nsh-home-about__title {                  /* 9941:26191: Medium 60/70, w534 */
  width: 534px;
  max-width: 100%;
  font-weight: var(--nsh-fw-medium, 500);
  font-size: 60px;
  line-height: 70px;
  color: var(--nsh-ink, #090832);
}
.nsh-home-about__title-muted { color: #99A1AF; }  /* figma var color/gray/400 (not a token) 9941:26191 */
.nsh-home-about__desc {                   /* 9941:26193: Regular 18/24, w579, ink @55% with an ink lead-in */
  width: 100%;
  font-weight: var(--nsh-fw-regular, 400);
  font-size: var(--nsh-fs-lg, 18px);
  line-height: 24px;
  color: var(--nsh-ink-55, rgba(9, 8, 50, .55));
}
.nsh-home-about__desc-lead { color: var(--nsh-ink, #090832); }

/* ---- check cards (9941:26195/98/201): modifier of check-list-item ---- */
.nsh-home-about .nsh-check-list { gap: 16px; }               /* figma 9941:26194 gap 16 */
.nsh-check-item--card {
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  border-inline-start: 1px solid var(--nsh-green-soft, #64C07D);   /* figma border-r (visual right) */
  border-radius: var(--nsh-r-md, 8px);
  background: #F1F5F9;                    /* figma var color/slate/100 (not a token) */
  font-weight: var(--nsh-fw-medium, 500);
  font-size: var(--nsh-fs-lg, 18px);
  line-height: 24px;
  color: var(--nsh-ink, #090832);
}
.nsh-check-item--card .nsh-check-item__icon {                     /* 'check-broken' 24, stroke #64C07D 2px */
  width: 24px;
  height: 24px;
  background: url("../img/home/about/check-broken.svg") center / 24px 24px no-repeat;
}

/* ---- cube visual 9941:26204: 505x513 group; every value x var(--s) so mobile is the exact 0.6792 scale ---- */
.nsh-home-about__visual {
  --s: 1;
  position: relative;
  flex: none;
  width: calc(505px * var(--s));
  height: calc(512.97px * var(--s));
  margin: 0;
  direction: ltr;                         /* physical coordinates below (picture composition) */
}
.nsh-home-about__cube {                   /* 'Cube 1' 9941:26205: 444x439 at (61, 73.97), image cropped on the right */
  position: absolute;
  left: calc(61px * var(--s));
  top: calc(73.97px * var(--s));
  width: calc(444px * var(--s));
  height: calc(439px * var(--s));
  overflow: hidden;
}
.nsh-home-about__cube img {               /* figma: w116.38% h100% left/top -0.02% (natural 854x725 ratio) */
  position: absolute;
  left: -0.02%;
  top: -0.02%;
  width: 116.38%;
  height: 100%;
  max-width: none;
}

.nsh-home-about__pill {                   /* 9941:26206/10/14: #15AF3F, h49, px8, radius 99, Regular 18/30 white */
  position: absolute;
  left: calc(var(--x) * var(--s));
  top: calc(var(--y) * var(--s));
  width: calc(var(--w) * var(--s));
  height: calc(49px * var(--s));
  display: flex;
  flex-direction: row;                    /* rtl (set below): pin (1st in DOM) on the right (pr8), label to its left */
  align-items: center;
  justify-content: flex-start;            /* figma justify-end (LTR) = packed to the right */
  gap: calc(var(--g) * var(--s));
  padding-inline: calc(8px * var(--s));
  border-radius: calc(99px * var(--s));
  background: #15AF3F;                    /* figma 9941:26206 (not a token) */
  filter: drop-shadow(0 calc(4px * var(--s)) calc(4.3px * var(--s)) rgba(25, 38, 77, .25));
  font-weight: var(--nsh-fw-regular, 400);
  font-size: calc(18px * var(--s));
  line-height: calc(30px * var(--s));
  color: var(--nsh-white, #fff);
  text-align: center;
  white-space: nowrap;
  direction: rtl;
}
.nsh-home-about__pill--responsibility { --x: 257px; --y: 453.03px; --w: 182px; --g: 28px; }  /* مسئوليه */
.nsh-home-about__pill--creativity     { --x: 0px;   --y: 402px;    --w: 174px; --g: 36px; }  /* ابداع */
.nsh-home-about__pill--growth         { --x: 119px; --y: 0px;      --w: 195px; --g: 27px; }  /* نمو مشترك */

.nsh-home-about__pin {                    /* 32x32 slot; the SVG (ring + line + end dot) overflows it */
  position: relative;
  flex: none;
  width: calc(32px * var(--s));
  height: calc(32px * var(--s));
}
.nsh-home-about__pin img {
  position: absolute;
  left: 0;
  width: calc(32px * var(--s));
  height: calc(var(--h) * var(--s));
  max-width: none;
}
.nsh-home-about__pin--up img   { bottom: 0; }   /* line goes up into the cube */
.nsh-home-about__pin--down img { top: 0; }      /* line goes down into the cube */

@media (max-width: 1279px) and (min-width: 768px) {
  .nsh-home-about { padding-inline: 40px; }
  .nsh-home-about__text { flex: 1; min-width: 0; }
  .nsh-home-about__visual { --s: .8; }
  .nsh-home-about__title { font-size: 48px; line-height: 56px; }   /* interpolation, not in Figma */
}
@media (max-width: 1023px) and (min-width: 768px) {
  .nsh-home-about__row { flex-direction: column; }
}

/* mobile 375 (figma 10162:27272): tag, then intro -> cube -> checks, gap 20 / 32 */
@media (max-width: 767px) {
  .nsh-home-about { padding: 24px 16px 51px; }                 /* 24 + 938.41 + 51 = 1013 */
  .nsh-home-about > .nsh-pattern-bg { display: none; }         /* no pattern in the mobile frame */
  .nsh-home-about__inner { gap: 20px; }                        /* 10162:27273 */
  .nsh-home-about__inner > .nsh-tag { height: 24px; padding-block: 4px 0; }   /* 10162:27274: h24, text at y4 */
  .nsh-home-about__row { flex-direction: column; align-items: stretch; gap: 32px; width: 100%; min-height: 0; }
  .nsh-home-about__text { display: contents; }
  .nsh-home-about__intro { order: 1; gap: 16px; }
  .nsh-home-about__visual { order: 2; --s: .67921; }           /* 343 / 505 (10162:27280 is 343x348.41) */
  .nsh-home-about .nsh-check-list { order: 3; }
  .nsh-home-about__title { width: 100%; font-size: 36px; line-height: 1.2; }   /* 10162:27277 */
  .nsh-check-item--card { padding-block: 14px; font-size: 16px; line-height: 1.2; }   /* 10162:27295: h52 */
}

/* ===== home-services ===== */
/* ==========================================================================
   home-services — "خدمات متكاملة لمشروعك الرقمي" + 6 scroll-stacking service cards
   Figma: desktop section 9941:26218 (1440x4698), mobile 10162:27304 (375x4956),
          stacked end-state / alternative 10385:3198.
   Card component: desktop "Process/Frame 1984079811" (9941:27369 …), mobile "Frame 1984079837/38" (10162:27772 …).
   Reuses: .nsh-tag / .nsh-tag--on-dark (eyebrow-tag.css), .nsh-pattern-bg (pattern-bg.css; modifier added here).
   Optional JS: code/js/home-services.js (fit guard + "single" fallback). Stacking itself is pure CSS (position: sticky).

   Modes (classes on .nsh-home-services):
     (default)                 stacking: every card sticks at --svc-top + i * --svc-step, later cards cover earlier ones
     --single                  fallback (designer note 10387:58951): same sticky top for all, covered card fades out
     --flat                    plain list, no sticky (reduced motion, too-short viewport, or forced)
   ========================================================================== */

.nsh-home-services {
  /* stacking geometry (desktop, figma 9941:27367: card tops 254/286/318/350/382/414, widths 1170 -> 1270 step 20) */
  --svc-n: 6;                 /* number of cards (JS keeps it in sync) */
  --svc-top: 24px;            /* sticky top of card 1 when the heading scrolls away (no fixed header on this site) */
  --svc-step: 32px;           /* figma: each card frame is 32px taller -> 32px of the previous card stays visible */
  --svc-inset: 10px;          /* figma: width +20 per card, centred -> 10px per side */
  --svc-gap: 432px;           /* scroll distance between two cards; figma gaps 384/430/477/488/477 (avg 451, rounded down) */
  --svc-bottom: 24px;         /* min free space under the last stacked card (keeps its CTA visible) */
  --svc-sticky-offset: 0px;   /* set to the header height if the site header ever becomes position: fixed/sticky */

  position: relative;
  overflow: clip;             /* NOT hidden: hidden would create a scroll container and break position: sticky */
  background: var(--nsh-dark);                 /* sampled #1A1733 */
  color: var(--nsh-white);
  font-family: var(--nsh-font);
}

/* ---------- decorative background ---------------------------------------- */
/* Client feedback 2026-11-30: the background (pattern + shades) scrolled away while the heading/cards stayed pinned, leaving a hard edge
   between them. The bg is now a viewport-high sticky layer behind the stage, so it stays attached to the pinned content.
   (flat / reduced motion: back to the old absolute layer at the top of the section.) */
.nsh-home-services__bg {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh;
  margin-bottom: -100vh; margin-bottom: -100svh;
  overflow: hidden; pointer-events: none;
}
.nsh-home-services--flat .nsh-home-services__bg {
  position: absolute; inset: 0; height: auto; margin-bottom: 0;
}
@media (prefers-reduced-motion: reduce) {
  .nsh-home-services .nsh-home-services__bg { position: absolute; inset: 0; height: auto; margin-bottom: 0; }
}
.nsh-home-services__shades {                   /* figma 9941:27356: 3 blurred ellipses (pink / green / cyan), 1440x1024 */
  position: absolute; top: 0; left: 0;
  width: max(1440px, 100%); height: 1024px; max-width: none;   /* client 2026-11-30: wider than 1440 showed the svg's clip rectangle (hard vertical edges), so it stretches to the full width (preserveAspectRatio none) */
}
/* pattern: reuse .nsh-pattern-bg tiles; figma 9941:26219 x595 y0 845x979 (right side), tiles 845 wide every 740.85px */
.nsh-pattern-bg--home-services {
  --nsh-pattern-w: 845px;
  --nsh-pattern-x: 0px;
  --nsh-pattern-y: 0px;
  --nsh-pattern-opacity: .3;                   /* not exposed by the MCP export: same value as the hero pattern (ambiguity) */
  left: auto; right: 0;                        /* physical right (figma x=595 in a 1440 frame) */
  width: 845px; height: 979px;
}
.nsh-pattern-bg--home-services::before { transform: none; }
.nsh-pattern-bg--home-services::after {
  /* figma 9941:27355 'ovarlay': gradient-to-l rgba(9,8,44,0) -> #1A1733 (transparent on the right, dark on the left).
     Client 2026-11-30: the opaque #1A1733 end drew a visible vertical edge over the coloured shades behind it (the bg is now a sticky layer),
     so the same dissolve is done with a mask on the whole pattern instead: no hard edge. */
  display: none;
}
.nsh-pattern-bg--home-services {
  -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
}

/* ---------- stage = heading + list (sticky children share this box) -------- */
.nsh-home-services__stage { position: relative; z-index: 1; }

/* ---------- heading (figma 9941:27360, 1440x296; row 9941:27361 y84, 128 tall, px100, space-between) ---------- */
.nsh-home-services__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  width: 100%; max-width: 1440px; margin-inline: auto;
  padding: 84px 100px 42px;                    /* 84 top; bottom 42 so card 1 starts at y254 like figma */
}
.nsh-home-services__meta {                     /* figma 9941:27364: 186x68, column gap 12, aligned right */
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  width: 186px; flex: none;
}
.nsh-home-services__note {                     /* figma 9941:27366: 16/24 Medium white, centred in 186 */
  width: 186px; margin: 0;
  font-weight: var(--nsh-fw-medium); font-size: 16px; line-height: 24px; text-align: center; color: var(--nsh-white);
}
.nsh-home-services__title {                    /* figma 9941:27363: 40/64 Medium, white + green line */
  margin: 0; flex: 0 1 auto;
  font-weight: var(--nsh-fw-medium); font-size: 40px; line-height: 64px; text-align: center; color: var(--nsh-white);
}
.nsh-home-services__title-line { display: block; }
.nsh-home-services__title-line--accent { color: var(--nsh-green-soft); }   /* #64C07D */
.nsh-home-services__spacer { width: 186px; height: 68px; flex: none; }      /* figma 9941:27362 (opacity 0 twin, keeps title centred) */

/* ---------- list + stacking ---------------------------------------------- */
.nsh-home-services__list {
  list-style: none; margin: 0 auto; padding: 0 0 76px;   /* figma: last card bottom 4622, section 4698 */
  width: min(1270px, 100% - 32px);             /* figma services frame 9941:27367: x85 w1270 */
}
.nsh-home-services__item {
  --i: 0;
  position: sticky;
  top: calc(var(--svc-sticky-offset) + var(--svc-top) + var(--i) * var(--svc-step));
  margin-inline: calc((var(--svc-n) - 1 - var(--i)) * var(--svc-inset));   /* 1170,1190,…,1270 at 1440 */
  /* Client feedback 2026-11-30: at the end of the list the last card used to slide up over the stack by itself.
     A sticky box is released when its MARGIN box reaches the bottom of the list, and the stuck tops differ by --svc-step,
     so each card gets (n-1-i) * step of bottom margin: they all hit the list end at the same scroll position and leave together.
     The margin collapses with the next card's --svc-gap (always larger), so the layout does not change. */
  margin-block-end: calc((var(--svc-n) - 1 - var(--i)) * var(--svc-step));
}
.nsh-home-services__item + .nsh-home-services__item { margin-block-start: var(--svc-gap); }
/* exact figma card tops 254/990/1772/2601/3441/4270 (cards 352 high): gaps 384/430/477/488/477 */
.nsh-home-services__item:nth-child(2) { --svc-gap: 384px; }
.nsh-home-services__item:nth-child(3) { --svc-gap: 430px; }
.nsh-home-services__item:nth-child(4) { --svc-gap: 477px; }
.nsh-home-services__item:nth-child(5) { --svc-gap: 488px; }
.nsh-home-services__item:nth-child(6) { --svc-gap: 477px; }

/* Tall desktop viewports: the heading stays pinned and the cards stack under it at the exact figma offsets (254 + i*32).
   Last card bottom = 254 + 5*32 + 352 = 766 (+24) -> needs >= ~800px of viewport; 860 leaves room for taller copy. */
@media (min-width: 768px) and (min-height: 860px) {
  .nsh-home-services:not(.nsh-home-services--flat) .nsh-home-services__head {
    position: sticky; top: var(--svc-sticky-offset);
  }
  .nsh-home-services:not(.nsh-home-services--flat) { --svc-top: 254px; }
}

/* ---------- service card (desktop, figma 9941:27369: 1170x352) ----------- */
.nsh-home-svc-card {
  position: relative;
  isolation: isolate;                          /* own stacking context (art z-index -1, link overlay z-index 2) */
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
  padding-block: 39px 47px;                    /* figma 40/48 measured from the outer edge: the 1px stroke is INSIDE the 352 frame */
  padding-inline: 39px 31px;                   /* figma pr40 (right = start in RTL) / pl32, minus the 1px border */
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--nsh-r-card);            /* 16 */
  overflow: hidden;
  -webkit-backdrop-filter: blur(75px);
  backdrop-filter: blur(75px);
  /* figma 9941:27369 (angles drift by <=2.3deg on wider cards 2-6: 220.8 -> 218.5 / 236.4 -> 234.2; first card used) */
  background-image:
    /* client 2026-11-30: the top-right corner was too green. Figma: .2 alpha, fade out at 21.6%; now .1 and a softer, longer fade */
    linear-gradient(220.78581812973306deg, rgba(21, 175, 63, .1) 5.3232%, rgba(9, 8, 50, 0) 28%),
    linear-gradient(236.3658840396176deg, rgba(255, 255, 255, .122) 11.822%, rgba(255, 255, 255, 0) 64.321%),
    linear-gradient(90deg, rgba(8, 7, 43, .3) 0%, rgba(8, 7, 43, .3) 100%);
  color: var(--nsh-white);
}
/* (removed 2026-11-30) The old "max-height + overflow-y: auto" safety net turned every card into a scroll container:
   when the wheel was over a card it scrolled the card instead of the page, so the section looked stuck until the mouse left. */

.nsh-home-svc-card__main { display: flex; flex-direction: column; gap: 48px; width: 100%; }   /* figma I…;9941:56800 */
.nsh-home-svc-card__head { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; text-align: center; }
.nsh-home-svc-card__title {                    /* 30/36 Medium white, centred */
  margin: 0; width: 100%;
  font-weight: var(--nsh-fw-medium); font-size: 30px; line-height: 36px; text-transform: uppercase; color: var(--nsh-white);
}
.nsh-home-svc-card__link { color: inherit; text-decoration: none; }
.nsh-home-svc-card__link::after {              /* whole card is the link (stretched link, no nested anchors) */
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit;
}
.nsh-home-svc-card__link:focus-visible { outline: none; }
.nsh-home-svc-card__link:focus-visible::after { outline: 2px solid var(--nsh-green-soft); outline-offset: -3px; }
.nsh-home-svc-card__subtitle { margin: 0; font-size: 16px; line-height: 28px; color: var(--nsh-white); }

.nsh-home-svc-card__body {                     /* figma I…;9941:56805: row, gap 128; description (416) on the right */
  display: flex; align-items: flex-start; gap: clamp(32px, 10vw - 16px, 128px); width: 100%;
}
.nsh-home-svc-card__desc {                     /* 16 / 1.5 Regular white, 416 wide */
  flex: 0 1 416px; margin: 0;
  font-size: 16px; line-height: 1.5; color: var(--nsh-white);
}
.nsh-home-svc-card__benefit { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.nsh-home-svc-card__benefit-title {            /* tile + label, gap 16; 18/32 Regular white */
  display: flex; align-items: center; gap: 16px; margin: 0;
  font-weight: var(--nsh-fw-regular); font-size: 18px; line-height: 32px; color: var(--nsh-white); white-space: nowrap;
}
.nsh-home-svc-card__benefit-icon {             /* figma I…;9941:56808: 40x40, r6, rgba(255,255,255,.27) + inset shadow */
  position: relative; flex: none; width: 40px; height: 40px; overflow: hidden;
  border-radius: var(--nsh-r-icon);
  background: rgba(255, 255, 255, .27);
}
.nsh-home-svc-card__benefit-icon::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset -2px -2px 4px 0 rgba(255, 255, 255, .25);
}
.nsh-home-svc-card__benefit-icon img {         /* 28 box centred, glyph inset 7.14% 7.13% 3.57% 3.57% (physical) */
  position: absolute; top: 6px; left: 6px; width: 28px; height: 28px; max-width: none;
  padding: 2px 2px 1px 1px;                    /* 7.14% / 7.13% / 3.57% / 3.57% of 28 */
  object-fit: contain;
}
.nsh-home-svc-card__benefit-text {             /* 16/24 Light slate-300, 426 wide */
  max-width: 426px; margin: 0;
  font-weight: var(--nsh-fw-light); font-size: 16px; line-height: 24px; color: var(--nsh-slate-300);
}

.nsh-home-svc-card__cta {                      /* pink text + arrow (pointing left), 16/24 */
  display: inline-flex; align-items: center;
  font-size: 16px; line-height: 24px; color: var(--nsh-pink); white-space: nowrap;
}
.nsh-home-svc-card__cta img { width: 24px; height: 24px; transform: scaleX(-1); }   /* figma rotate-180 + scaleY(-1) */

.nsh-home-svc-card__go {                       /* figma I…;9941:56827: 55x55 outlined circle, top/right 31 inside the border */
  position: absolute; top: 31px; inset-inline-start: 31px; z-index: 1;
  display: grid; place-items: center;
  width: 55px; height: 55px;
  border: 1px solid var(--nsh-white); border-radius: 50%;
  background-color: transparent;
  transition: border-color .2s ease, background-color .8s linear;   /* figma hover: Smart Animate 0.8s linear */
}
.nsh-home-svc-card__go img { width: 24px; height: 24px; translate: .5px .5px; transition: translate .2s ease; }   /* figma left/top calc(50% + .5px) */
.nsh-home-svc-card__go-icon--m { display: none; }

.nsh-home-svc-card__art {                      /* figma I…;10207:61671: 213x213 at left 60 / top -3, opacity .7 */
  position: absolute; left: 60px; top: -3px;
  z-index: -1;                                 /* behind the text; the card is a stacking context (backdrop-filter) */
  width: 213px; height: 213px; max-width: none;
  object-fit: cover; opacity: .7; pointer-events: none;
}
/* keep every other descendant non-positioned so the stretched link's ::after resolves against the card */

/* hover: Figma 9941:56827 -> 5997:5530 (ON_HOVER, CHANGE_TO, Smart Animate .8s linear): the circle fills #41C465, stroke + arrow stay white.
   (The earlier white .12 fill was an invention; this is the real Figma state.) The arrow nudge is ours, not in Figma. */
.nsh-home-svc-card:hover .nsh-home-svc-card__go,
.nsh-home-svc-card:focus-within .nsh-home-svc-card__go { background-color: var(--nsh-green, #41C465); }
.nsh-home-svc-card:hover .nsh-home-svc-card__go img,
.nsh-home-svc-card:focus-within .nsh-home-svc-card__go img { translate: 2px -1.5px; }

/* ---------- fallback "single": one card at a time, no visible overlap ---------- */
.nsh-home-services--single { --svc-step: 0px; --svc-inset: 0px; }
.nsh-home-services--single .nsh-home-services__item { opacity: calc(1 - var(--svc-cover, 0)); }
.nsh-home-services--single .nsh-home-services__item:focus-within { opacity: 1; }

/* ---------- plain list (reduced motion / forced / viewport too short) ---------- */
.nsh-home-services--flat .nsh-home-services__item { position: relative; top: auto; margin-inline: 0; margin-block-end: 0; opacity: 1; }
.nsh-home-services--flat .nsh-home-services__item + .nsh-home-services__item { margin-block-start: 24px; }
@media (prefers-reduced-motion: reduce) {
  .nsh-home-services .nsh-home-services__head { position: static; }
  .nsh-home-services .nsh-home-services__item { position: relative; top: auto; margin-inline: 0; margin-block-end: 0; opacity: 1; }
  .nsh-home-services .nsh-home-services__item + .nsh-home-services__item { margin-block-start: 24px; }
  .nsh-home-services .nsh-home-svc-card { max-height: none; overflow: hidden; }
}
/* no-JS only (JS sets [data-active-mode] and does the precise check): very short viewports -> plain list */
@media (min-width: 768px) and (max-height: 560px), (max-width: 767px) and (max-height: 660px) {
  .nsh-home-services:not([data-active-mode]) .nsh-home-services__head { position: static; }
  .nsh-home-services:not([data-active-mode]) .nsh-home-services__item { position: relative; top: auto; margin-inline: 0; margin-block-end: 0; }
  .nsh-home-services:not([data-active-mode]) .nsh-home-services__item + .nsh-home-services__item { margin-block-start: 24px; }
  .nsh-home-services:not([data-active-mode]) .nsh-home-svc-card { max-height: none; overflow: hidden; }
}

/* ---------- intermediate widths (not in Figma) ---------- */
@media (max-width: 1100px) and (min-width: 768px) {
  .nsh-home-services__head { padding-inline: 32px; gap: 24px; }
  .nsh-home-services__spacer { display: none; }
  .nsh-home-services__title { flex: 1 1 auto; }
  .nsh-home-svc-card__art { left: 24px; width: 150px; height: 150px; }
}

/* ==========================================================================
   Mobile (375 frame, figma 10162:27304)
   ========================================================================== */
@media (max-width: 767px) {
  .nsh-home-services {
    --svc-top: 16px;
    --svc-step: 8px;           /* figma card tops 203/203/211/219/227/227 inside frames -> ~8px */
    --svc-inset: 4px;          /* figma widths 303/311/319/327/335/343 -> +8 per card, 4px per side */
    --svc-gap: 256px;          /* figma gaps 227/243/259/275/283 (set per card below) */
    --svc-bottom: 16px;
  }
  /* figma card heights 576/576/568/560/552/544 (fixed frames, art pinned at y430) and exact gaps */
  .nsh-home-services__item:nth-child(1) .nsh-home-svc-card { min-height: 576px; }
  .nsh-home-services__item:nth-child(2) { --svc-gap: 227px; } .nsh-home-services__item:nth-child(2) .nsh-home-svc-card { min-height: 576px; }
  .nsh-home-services__item:nth-child(3) { --svc-gap: 243px; } .nsh-home-services__item:nth-child(3) .nsh-home-svc-card { min-height: 568px; }
  .nsh-home-services__item:nth-child(4) { --svc-gap: 259px; } .nsh-home-services__item:nth-child(4) .nsh-home-svc-card { min-height: 560px; }
  .nsh-home-services__item:nth-child(5) { --svc-gap: 275px; } .nsh-home-services__item:nth-child(5) .nsh-home-svc-card { min-height: 552px; }
  .nsh-home-services__item:nth-child(6) { --svc-gap: 283px; } .nsh-home-services__item:nth-child(6) .nsh-home-svc-card { min-height: 544px; }
  .nsh-home-services__shades { width: max(375px, 100%); height: 812px; left: 0; translate: none; }   /* figma 10162:27761 */
  .nsh-pattern-bg--home-services {             /* figma 10162:27305: 375x812, tiles 375 wide every 333.23 */
    --nsh-pattern-w: 375px;
    left: 0; right: auto; width: 100%; height: 812px;
  }
  .nsh-pattern-bg--home-services::after { background: linear-gradient(to left, rgba(9, 8, 44, 0) 0%, #070624 100%); }  /* figma 10162:27760 */

  .nsh-home-services__head {                   /* figma 10162:27765: pt24 px16, column gap 25, 375x173 */
    flex-direction: column; align-items: flex-start; gap: 25px;
    padding: 24px 16px 30px;                   /* card 1 at y203 = 173 + 30 */
  }
  .nsh-home-services__meta { width: auto; }
  .nsh-home-services__meta .nsh-tag { height: 24px; padding-block: 4px 0; }   /* figma 10162:27767: h24, text at y4 */
  .nsh-home-services__note { font-size: 14px; line-height: 20px; }            /* figma 10162:27768 */
  .nsh-home-services__title { width: 100%; font-size: 24px; line-height: 1.4; }   /* figma 10162:27769 */
  .nsh-home-services__spacer { display: none; }

  .nsh-home-services__list { width: calc(100% - 32px); padding-bottom: 90px; }   /* figma 343 wide; last bottom 4866 / 4956 */

  .nsh-home-svc-card {                         /* figma 10162:27772: 303x576 */
    gap: 24px;
    padding: 23px 15px 31px;                   /* figma 24/16/32 minus the inside 1px stroke */
    background-image:
      linear-gradient(257.68397086781926deg, rgba(255, 255, 255, .07) 17.156%, rgba(255, 255, 255, 0) 61.203%),
      linear-gradient(90deg, rgba(8, 7, 43, .25) 0%, rgba(8, 7, 43, .25) 100%);
  }
  .nsh-home-svc-card__main { gap: 32px; }
  .nsh-home-svc-card__head { gap: 4px; }
  .nsh-home-svc-card__title { font-size: 24px; line-height: 36px; color: var(--nsh-green-soft); padding-inline: 44px; }  /* room for the 40px circle */
  .nsh-home-svc-card__subtitle { max-width: 273px; font-size: 14px; line-height: 20px; color: var(--nsh-slate-300); }
  .nsh-home-svc-card__body { flex-direction: column; gap: 24px; }
  .nsh-home-svc-card__desc { flex: none; width: 100%; line-height: 28px; }
  .nsh-home-svc-card__benefit { width: 100%; }
  .nsh-home-svc-card__benefit-title { gap: 10px; font-size: 16px; line-height: 24px; }
  .nsh-home-svc-card__benefit-text { max-width: none; line-height: 28px; color: #90a1b9; }   /* figma slate/400, not a token (I10162:27772;10185:60952) */

  .nsh-home-svc-card__go {                     /* figma I…;10185:60954: 40x40 at left 15 / top 15 (physical left) */
    top: 15px; inset-inline-start: auto; inset-inline-end: 15px;
    width: 40px; height: 40px;
  }
  .nsh-home-svc-card__go-icon--d { display: none; }
  .nsh-home-svc-card__go-icon--m { display: block; transform: scaleX(-1); translate: none; }   /* arrow points up-left on mobile */

  .nsh-home-svc-card__art {                    /* figma I…;10207:61787: 167x167 at left 4 / top 430 of every card -> the part below the card edge is cut */
    left: 4px; top: 430px; bottom: auto;
    width: 167px; height: min(167px, calc(100% - 430px));   /* crop inside the box instead of overflowing (an overflow would become scrollable) */
    object-fit: cover; object-position: top; opacity: .4;
  }
}

/* Figma mobile: forced line break in the last card title ("هندسة النمو / والتوسع"); one line on desktop */
.nsh-br-m { display: none; }
@media (max-width: 767px) { .nsh-br-m { display: inline; } }

/* ===== home-sectors ===== */
/* home-sectors — Home "Members" frame wrapper + Sectors slider (القطاعات).
   Figma: Members desktop 9941:27376 (1440x1952), mobile 10162:27779 (375x3175).
   Sectors block desktop 9941:28060 (1240x470 @ y72), mobile 10162:27781 (343x550 @ y40).
   Slider component: 'industries - web' 8676:22860 (instance 9941:28067), mobile 'industries' 8676:27545 (instance 10162:27789).
   Reuses: .nsh-tag (eyebrow-tag.css), .nsh-btn .nsh-btn--solid (btn.css), .nsh-icon-tile (icon-tile.css, overridden by --sector).
   Behaviour: code/js/home-sectors.js (buttons + keyboard). Native scroll-snap works without JS. */

/* ---------- Members wrapper (shared by home-sectors / home-team / home-partners) ----------
   Owns the background + faint "ن" pattern (figma 'Pattern container' 9941:27377 + 'Ovarlay' 9941:28059).
   isolation + opaque bg = predictable backdrop for the team photos' mix-blend-mode: luminosity.
   Desktop rhythm: 72 top, 56 between sub-sections, 72 bottom (9941:28060 y72, 28073 y598, 28082 y1267, end 1880 / 1952).
   Each sub-section pads half of the 56 gap so they also work standalone. */
.nsh-home-members {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--nsh-slate-200);
  padding-block: 44px;              /* 72 - 28 (section half-gap) */
}
.nsh-home-members__pattern {
  /* Reuses the shared tile (assets/shared/pattern-tile.svg, #64C07D strokes = figma 9941:27381 fill).
     Measured on d-members.png: strokes blend at ~13% over #E2E8F0 at the left edge, fully faded by x~880. */
  position: absolute;
  inset-block: 0;
  left: 0;                          /* physical left in RTL too (figma: mirrored container, visually x 0..845) */
  width: 845px;                     /* figma 9941:27377 */
  max-width: 100%;
  pointer-events: none;
  opacity: .13;                     /* figma: measured, the 'Pattern 1' layer opacity is not exposed by the MCP */
}
.nsh-home-members__pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/shared/pattern-tile.svg") repeat 0 0 / 844.66px auto;  /* tiled, never stretched */
  transform: scaleX(-1);
}
.nsh-home-members__pattern::after {
  /* figma 9941:28059 'Ovarlay': gradient-to-l #E2E8F0 0% -> rgba(226,232,240,0) 66.013% inside the mirrored frame
     = visually: transparent on the left, solid bg at x=845. It sits above the tiles inside the 13% layer, so where it is
     solid the layer composites #E2E8F0 over #E2E8F0 (= invisible). */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(226, 232, 240, 0) 33.987%, #E2E8F0 100%);
}

/* ---------- Sectors ---------- */
.nsh-sectors {
  position: relative;
  padding-block: 28px;
  scroll-margin-top: 88px;          /* header height (figma 9941:28143) so #sectors anchors are not hidden */
}
.nsh-sectors__inner {
  position: relative;
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;                        /* head -> slider, figma 9941:28060 gap 48 */
}
.nsh-sectors__tag { position: absolute; top: 0; right: 0; }   /* figma 9941:28064 x1122 y0 (118x32), right edge of the 1240 column */
.nsh-sectors__head { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; text-align: center; }
.nsh-sectors__title {
  margin: 0;
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-medium);
  font-size: 40px; line-height: 64px;                      /* figma 9941:28063 */
  color: var(--nsh-ink);
}
.nsh-sectors__title-accent { color: inherit; }             /* green on mobile only (10162:27786) */
.nsh-sectors__lead {
  margin: 0;
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-regular);
  font-size: 20px; line-height: 32px;                      /* figma 9941:28065 (2 lines, explicit break) */
  color: var(--nsh-gray-500);
}

/* Slider block: track 184 / controls 16 below, left aligned / CTA 50 below the track (figma 9941:28066) */
.nsh-sectors__slider { width: 100%; display: flex; flex-direction: column; }
.nsh-sectors__viewport { position: relative; width: 100%; }
.nsh-sectors__track {
  display: flex;
  gap: 20px;                                               /* figma 8676:22861 gap 20 */
  margin: 0; padding: 0; list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;                                   /* figma shows no scrollbar */
}
.nsh-sectors__track::-webkit-scrollbar { display: none; }
.nsh-sectors__track:focus-visible { outline: 2px solid var(--nsh-green); outline-offset: 4px; border-radius: var(--nsh-r-card); }

.nsh-sector {
  flex: 0 0 350px;                                         /* figma card 350x184 */
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px;
  background: var(--nsh-card);
  border-radius: var(--nsh-r-card);
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .02));      /* figma drop-shadow */
  text-align: center;
}
.nsh-sector__head { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.nsh-sector__title {
  margin: 0;
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-medium);
  font-size: 18px; line-height: 28px; white-space: nowrap;  /* figma 8676:22866 */
  color: var(--nsh-ink);
}
.nsh-sector__desc {
  margin: 0;
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-regular);
  font-size: 16px; line-height: 26px;                      /* figma 8676:22867 */
  color: var(--nsh-ink-55);
}

/* Icon tile: shared .nsh-icon-tile with sector sizes (48 desktop / 40 mobile, radius 8, inset -2 -2 4 white .25) */
.nsh-icon-tile--sector { width: 48px; height: 48px; border-radius: var(--nsh-r-md); }   /* figma 8676:22864 */
.nsh-icon-tile--sector::after { box-shadow: inset -2px -2px 4px 0 rgba(255, 255, 255, .25); }
.nsh-icon-tile--sector .nsh-icon-tile__icon { width: 32px; height: 32px; }               /* raster icons: 32px (encrypted, image 2, digital-currency) */
.nsh-icon-tile--sector .nsh-icon-tile__icon--30 { width: 30px; height: 30px; }           /* 'image 1' (Mobile App) 30px */
.nsh-icon-tile--sector .nsh-icon-tile__icon--city { width: 57.143%; height: 57.143%; }   /* smart-city 27.43/48 desktop, 22.86/40 mobile */
.nsh-icon-tile--sector .nsh-icon-tile__icon--vector { width: 100%; height: 100%; }       /* SVGs exported on a 48x48 canvas, scale with the tile */
.nsh-icon-tile--sector .nsh-icon-tile__icon img { object-fit: contain; }

/* Prev / next: 32px circles, #EDF2F7, ink chevron; physically on the LEFT, 8 apart (figma 9941:28070) */
.nsh-sectors__controls {
  display: flex; gap: 8px;
  justify-content: flex-end;                               /* RTL: flex-end = physical left */
  margin-top: 16px;                                        /* figma: track 184 -> controls y200 */
}
.nsh-sectors__btn {
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: url("../img/home/sectors/chevron-circle.svg") center / 32px 32px no-repeat;  /* figma chevron-left 9941:28071 */
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.nsh-sectors__btn--prev { transform: scaleX(-1); }        /* figma 9941:28072: same icon rotated 180 + flipped = ">" on the right */
.nsh-sectors__btn:focus-visible { outline: 2px solid var(--nsh-green); outline-offset: 2px; }
.nsh-sectors__btn[aria-disabled="true"] { opacity: .4; cursor: default; }  /* inferred: Figma has no disabled state */

.nsh-sectors__cta { display: flex; justify-content: center; margin-top: 4px; padding-bottom: 2px; }  /* button centred in a 52px frame (figma 9941:28068): 184 + 50 + 2 = 236 - (184 + 16 + 32) */

/* ---------- Mobile (figma 10162:27779, 375 wide, 16px gutters) ---------- */
@media (max-width: 767px) {
  .nsh-home-members .nsh-tag { height: 24px; padding-block: 4px 0; }   /* figma 10162:27782 / 10162:27796: h24, text at y4 */
  .nsh-home-members { padding-block: 20px; }                     /* 40 top/bottom - 20 half-gap */
  .nsh-home-members__pattern { display: none; }                  /* mobile frame has no pattern */
  .nsh-sectors { padding-block: 20px; }                          /* sub-sections 40 apart (10162:27795 y590 - 550) */
  .nsh-sectors__inner { width: calc(100% - 32px); align-items: stretch; gap: 20px; }   /* tag -> rest 20 (10162:27781) */
  .nsh-sectors__tag { position: static; align-self: flex-start; height: 24px; }       /* RTL flex-start = right; figma pill 118x24 */
  .nsh-sectors__body { display: flex; flex-direction: column; gap: 24px; }            /* 10162:27783 gap 24 */
  .nsh-sectors__head { gap: 16px; }
  .nsh-sectors__title { font-size: 28px; line-height: 1.2; }     /* 10162:27786 */
  .nsh-sectors__title-accent { color: var(--nsh-green); }        /* 'برؤية واحدة' #41C465 on mobile only */
  .nsh-sectors__lead { font-size: 18px; line-height: 24px; }     /* 10162:27787 */
  .nsh-sectors__track { gap: 16px; }                             /* 8676:27546 gap 16 */
  .nsh-sector { flex-basis: 291px; padding: 16px; }              /* 291x160 */
  .nsh-sector__title { font-size: 16px; line-height: 24px; }
  .nsh-sector__desc { line-height: 24px; }
  .nsh-icon-tile--sector { width: 40px; height: 40px; }
  .nsh-sectors__controls { margin-top: 10px; }                   /* 10162:27788 gap 10 */
  .nsh-sectors__cta { margin-top: 26px; }                        /* 24 gap + 2 (button centred in a 52px frame) */
}
@media (min-width: 768px) {
  .nsh-sectors__body { display: contents; }                      /* desktop: head + slider are direct flex items (gap 48) */
}

@media (prefers-reduced-motion: reduce) {
  .nsh-sectors__track { scroll-behavior: auto; }
  .nsh-sectors__btn { transition: none; }
}

/* ===== home-team ===== */
/* home-team — "الفريق والشركاء / العقول اللي تقود الرؤية" (3 member cards).
   Figma: desktop 9941:28073 (1240x613 @ Members y598), member instances 9941:28078 / 28079 / 28080 (376x469, component 5922:2471);
   mobile 10162:27795 (343x1551), members 10162:27803 / 27813 / 27823 (327x443).
   Lives inside .nsh-home-members (home-sectors.css), which gives the opaque backdrop the luminosity blend needs.
   Reuses: .nsh-tag (eyebrow-tag.css). */
.nsh-team { position: relative; padding-block: 28px; }   /* half of the 56 gap between Members sub-sections */
.nsh-team__inner {
  position: relative;
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 48px;                                              /* head -> cards, figma 9941:28073 gap 48 */
}
.nsh-team__tag { position: absolute; top: 13px; right: 0; }   /* figma 9941:28081 x1075 y13 (165x32) */
.nsh-team__head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.nsh-team__title {
  margin: 0;
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-medium);
  font-size: 40px; line-height: 64px; color: var(--nsh-ink);     /* figma 9941:28075 */
}
.nsh-team__lead {
  margin: 0;
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-regular);
  font-size: 20px; line-height: 24px; color: var(--nsh-gray-500); /* figma 9941:28076 */
}

.nsh-team__list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 48px;                                              /* figma 9941:28077 gap 48 (cards at x 8 / 432 / 856) */
  width: 100%; margin: 0; padding: 0; list-style: none;
  direction: ltr;                                         /* Figma order is LTR: Hossam (1st in DOM / ACF) sits on the physical LEFT on desktop and on TOP on mobile */
}
.nsh-member { direction: rtl; }

/* Member card */
.nsh-member { display: flex; flex-direction: column; gap: 24px; width: 376px; max-width: 100%; }   /* figma 5922:2471 gap 24 */
.nsh-member__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 376 / 395;                                /* figma I9941:28078;5922:2472 376x395 */
  overflow: hidden;
  border-radius: var(--nsh-r-md);                         /* 8 */
  background: var(--nsh-white);
  mix-blend-mode: luminosity;                             /* figma: the frame is set to Luminosity -> grayscale, tinted by the #E2E8F0 page */
}
.nsh-member__photo img {
  position: absolute;
  top: -3px; left: -3px;                                  /* figma photo layer 376.569x395.816 @ -3,-3 (under the stroke) */
  width: calc(100% + .569px); height: calc(100% + .816px);
  max-width: none;
  object-fit: cover;
  background: var(--nsh-slate-300);                       /* figma color/slate/300 under the image */
}
/* client 2026-11-30: hover on a photo shows it in its natural colours (the grayscale comes from the luminosity blend, so the blend is switched off) */
.nsh-member__photo:hover,
.nsh-member:focus-within .nsh-member__photo { mix-blend-mode: normal; }
.nsh-member__photo::after {                               /* figma border-3 #090832, inside stroke drawn above the photo */
  content: "";
  position: absolute; inset: 0;
  border: 3px solid var(--nsh-ink);
  border-radius: inherit;
  pointer-events: none;
}

/* Name / role (left) + socials (right): Latin content, so the row is LTR exactly like Figma */
.nsh-member__info { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; direction: ltr; text-align: left; }
.nsh-member__id { display: flex; flex-direction: column; gap: 4px; }
.nsh-member__name {
  margin: 0;
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-medium);
  font-size: 20px; line-height: 26px; color: var(--nsh-ink);     /* figma 5922:2476 */
}
.nsh-member__role {
  margin: 0;
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-regular);
  font-size: 16px; line-height: 20px;
  color: #90A1B9;                                          /* figma 5922:2477 color/slate/400 (not a token) */
}
.nsh-member__social { display: flex; align-items: center; gap: 12px; height: 26px; margin: 0; padding: 0; list-style: none; }   /* figma 5922:2478 */
.nsh-member__social a {
  display: block;
  font-family: var(--nsh-font);
  font-weight: 600;                                        /* figma MadaniArabic-SemiBold: no 600 woff2 in code/fonts -> browser uses 700 (see docs) */
  font-size: 18px; line-height: 20px; text-align: center; color: var(--nsh-ink);
  transition: color .2s;
}
.nsh-member__social a:hover, .nsh-member__social a:focus-visible { color: var(--nsh-green); }   /* inferred: no hover in Figma */
.nsh-member__social a:focus-visible { outline: 2px solid var(--nsh-green); outline-offset: 2px; border-radius: 2px; }

/* ---------- Mobile (figma 10162:27795) ---------- */
@media (max-width: 767px) {
  .nsh-team { padding-block: 20px; }
  .nsh-team__inner { width: calc(100% - 32px); align-items: stretch; gap: 20px; }   /* tag -> block 20 */
  .nsh-team__tag { position: static; align-self: flex-start; height: 24px; }       /* RTL flex-start = right; 165x24 */
  .nsh-team__body { display: flex; flex-direction: column; align-items: center; gap: 24px; }  /* 10162:27797 gap 24 */
  .nsh-team__title { font-size: 28px; line-height: 1.2; }        /* 10162:27800 */
  .nsh-team__lead { font-size: 18px; line-height: 24px; }        /* 10162:27801 (wraps to 2 lines) */
  .nsh-team__list { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 32px; }  /* 10162:27802 gap 32 */
  .nsh-member { width: 327px; gap: 16px; }                       /* 327x443, photo -> info 16 */
  .nsh-member__photo {
    aspect-ratio: 327 / 377;                                     /* 10162:27804 */
    mix-blend-mode: normal;                                      /* mobile frame has no Luminosity: photos stay in colour */
  }
  .nsh-member__photo img {                                       /* 10162:27805: 376x395 photo layer centred (+0.5px) in the 327x377 frame */
    top: 50%; left: 50%;
    width: 376px; height: 395px;
    transform: translate(calc(-50% + .5px), -50%);
  }
  .nsh-member__photo::after { border-width: 2px; }               /* border-2 on mobile */
  .nsh-member__role { color: var(--nsh-slate-500); }             /* mobile uses color/slate/500 #62748E */
}
@media (min-width: 768px) {
  .nsh-team__body { display: contents; }
}
@media (prefers-reduced-motion: reduce) { .nsh-member__social a { transition: none; } }

/* ===== home-partners ===== */
/* home-partners — "شركاؤنا": intro + 2 partner rows (Araby Brand, Business Khana) + faint partner mark behind row 1.
   Figma: desktop 9941:28082 (1240x613 @ Members y1267), rows 9941:28087 / 9941:28099 (1050x200), mark 'partner icon' 9941:28088;
   mobile 10162:27833 (343x914), blocks 10162:27838 / 10162:27850, mark 10162:27842.
   Lives inside .nsh-home-members (home-sectors.css). No eyebrow tag in this sub-section (the team tag covers both). */
.nsh-partners { position: relative; padding-block: 28px; }
.nsh-partners__inner {
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 40px;                                               /* head -> row 1 -> row 2, figma 9941:28082 gap 40 */
}
.nsh-partners__head { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; text-align: center; }
.nsh-partners__title {
  margin: 0;
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-medium);
  font-size: 40px; line-height: 76.8px; color: var(--nsh-ink);       /* figma 9941:28085 */
}
.nsh-partners__lead {
  margin: 0; max-width: 1078px;                                        /* figma 9941:28086 w1078 */
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-regular);
  font-size: 18px; line-height: 24px; color: var(--nsh-gray-500);
}

.nsh-partners__list { display: flex; flex-direction: column; gap: 40px; width: 100%; margin: 0; padding: 0; list-style: none; }

/* Row: logo (physical right, first in DOM) + text, 32 apart, centred in a 1050 box -> content 217 + 32 + 629 = 878 */
.nsh-partner {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 32px;
  width: min(1050px, 100%); margin-inline: auto;
}
.nsh-partner__logo { position: relative; flex: none; width: 217px; height: 200px; }   /* figma 9941:28098 / 9941:28102 */
.nsh-partner__logo img { width: 100%; height: 100%; object-fit: contain; }           /* Business Khana: object-contain (figma) */
.nsh-partner__text {
  position: relative;                                      /* paint above the mark */
  flex: 0 1 629px;                                         /* figma 9941:28096 w629 */
  margin: 0;
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-regular);
  font-size: 16px; line-height: 24px; color: var(--nsh-ink); text-align: right;
}
.nsh-partner__text--wide { flex-basis: 653px; margin-inline-end: -24px; }   /* figma 9941:28101: 653 wide at x=-24 inside the 629 frame */

/* Faint partner mark (figma 9941:28088: 559x559 @ row x215 y-130, opacity 8%; its Group sits at inset 20.32% 1.59% 20% 1.59%) */
.nsh-partner__mark {
  position: absolute;
  left: 223.9px; top: -16.4px;                             /* 215 + 8.91 / -130 + 113.58 (physical, as in Figma) */
  width: 541.184px; height: 333.633px;
  max-width: none;
  opacity: .08;
  pointer-events: none;
}

.nsh-partners__only-m { display: none; }

/* ---------- Mobile (figma 10162:27833) ---------- */
@media (max-width: 767px) {
  .nsh-partners { padding-block: 20px; }
  .nsh-partners__inner { width: calc(100% - 32px); gap: 24px; }        /* 10162:27833 gap 24 */
  .nsh-partners__title { font-size: 28px; line-height: 1.2; }           /* 10162:27836 */
  .nsh-partners__lead { font-size: 18px; line-height: 24px; }          /* 10162:27837 */
  .nsh-partners__list { gap: 24px; }                                    /* 10162:27838 -> 27850: 603 - 579 = 24 */
  .nsh-partner { flex-direction: column; gap: 24px; width: 100%; }      /* logo on top, centred */
  .nsh-partner__logo { width: 193px; height: 177px; }                   /* 10162:27839 */
  .nsh-partner__logo--khana { height: 95px; }                           /* 10162:27851 193x95 */
  .nsh-partner__logo--khana img { object-fit: cover; }                  /* figma crops the PNG to the box width (w100%, h114.46%) */
  .nsh-partner__text, .nsh-partner__text--wide { flex: none; width: 100%; margin-inline-end: 0; text-align: center; }
  .nsh-partner__mark {                                                  /* 10162:27842: 343x322 frame @ y231, centred, opacity 16% */
    left: calc(50% - 166.03px);                                         /* group x 5.47 inside the centred 343 frame */
    top: 300.69px;                                                      /* 231 + 69.69 */
    width: 332.067px; height: 204.716px;
    opacity: .16;
  }
  .nsh-partners__only-d { display: none; }
  .nsh-partners__only-m { display: inline; }
}

/* ===== home-process ===== */
/* ==========================================================================
   home-process: "آلية عملنا" — process / stages section (home page)
   Figma desktop: instance 10172:56836 (1440x764) of component set 9941:46941
     ("process - Component", section 10243:63166, 9 variants = animation states).
     Values below are from the FINAL state 'Property 1=Variant9' 10172:59163.
     CLIENT DECISION 2026-11-29: five stages on every size => 5 desktop cards (Figma card size and 16 gap kept),
     connector 4 (left side, repeats connector 2); the section grows below the 764 of Figma and the heading
     moves down 70px to stay centred against the card column.
     Duplicate instance 10387:4539 (beside the desktop frame) = same component, same final look.
   Figma mobile: 10162:27854 (375x1338), static list of 5 stages (different copy, see docs).

   Desktop geometry (section 1440x764, bg #1A1733, overflow hidden):
     pattern 10172:59164  right 0, 845x900, opacity .3, tiles NOT mirrored, inner overlay
                          10172:59619 gradient to-left rgba(9,7,43,0) -> #1A1733 (inside the .3 opacity)
     glow blue 10172:59620 387 circle #1CBAEC .4 blur 250 centred at (100% - 58.5, 58.5)
     glow pink 10172:59621 397 circle #E9426A .25 blur 300 at (-103.5, 628)
     tag   10172:59679  x 1191.85..1309.85, y 80, 118x32 (shared .nsh-tag--on-dark)
     lead  10172:59685  right edge 1313, top 252, w 439.15, Regular 20/28 white
     title 10172:59686  right edge 1312.85, top 296, w 439, Medium 48/76, "بخطوات مدروسة" #64C07D
     text  10172:59687  right edge 1313, top 464, w 369, Light 16/28, "بخمس مراحل" #64C07D
     cards 10172:59681..59684  x 182, w 544, y 110/250/390/530, h 124 (gap 16)
           padding 24/32, gap 16, radius 16, border 1px rgba(255,255,255,.1), backdrop blur 4,
           bg linear-gradient(208.78deg, rgba(255,255,255,.07) 17.156%, transparent 61.203%) over rgba(8,7,43,.15)
           title Medium 18/28 white, desc Regular 14/20 rgba(255,255,255,.8), text gap 8, icon 62x62
     connectors (box = Figma export bounds, physical px in the section):
           1 10172:59641 (632.672, 131)     212x186  card1 -> card2, right side
           2 10172:59622 (61.147, 300.568)  212x186  card2 -> card3, left side
           3 10172:59660 (630.672, 438.08)  212x186  card3 -> card4, right side
   Animation: code/js/home-process.js (IntersectionObserver timed sequence, see docs/home-process.md)
   ========================================================================== */

.nsh-process {
  --nsh-process-ease: cubic-bezier(.22, 1, .36, 1);   /* not in Figma (prototype variants only) */
  --nsh-process-fade: 350ms;
  --nsh-process-draw: 450ms;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--nsh-dark, #1A1733);
  color: var(--nsh-white, #fff);
  font-family: var(--nsh-font);
}

/* --- Decorative layers ---------------------------------------------------- */
/* Pattern: shared .nsh-pattern-bg, re-anchored to the right and not mirrored (figma 10172:59164) */
.nsh-pattern-bg.nsh-process__pattern {
  --nsh-pattern-w: 845px;              /* figma tile 844.66 wide in an 845 box */
  --nsh-pattern-x: 0px;
  --nsh-pattern-y: 0px;
  --nsh-pattern-opacity: .3;
  left: auto;
  right: 0;
  width: 845px;
  height: 100%;
}
.nsh-pattern-bg.nsh-process__pattern::before { transform: none; }
.nsh-pattern-bg.nsh-process__pattern::after {
  /* figma 10172:59619 'ovarlay': bg-gradient-to-l from rgba(9,7,43,0) to #1A1733 */
  background: linear-gradient(to left, rgba(9, 7, 43, 0) 0%, #1a1733 100%);
}

.nsh-process__glow {
  position: absolute;
  z-index: 0;
  max-width: none;
  height: auto;
  pointer-events: none;
}
.nsh-process__glow--blue {           /* figma 10172:59620: svg 1387 = circle 387 + blur bleed (inset -129.2%) */
  width: 1387px;
  left: calc(100% - 58.5px - 693.5px);
  top: -635px;
}
.nsh-process__glow--pink {           /* figma 10172:59621: svg 1597 = circle 397 + bleed (inset -151.13%) */
  width: 1597px;
  left: -703.5px;
  top: 28px;
}
.nsh-process__overlay { display: none; }   /* mobile only (figma 10162:28766) */

/* --- Layout --------------------------------------------------------------- */
.nsh-process__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  min-height: 764px;                     /* figma 10172:59163 (4 cards); grows with the 5 stages */
  margin-inline: auto;
  padding-top: 80px;                     /* tag y 80 */
  padding-bottom: 110px;                 /* figma: last card bottom 654 -> section bottom 764 */
  padding-inline-start: 127px;           /* right: 1440 - 1313 */
  padding-inline-end: 182px;             /* left: cards x 182 */
  display: grid;
  grid-template-columns: 439px 544px;    /* RTL: heading column on the right, cards on the left */
  justify-content: space-between;        /* 1440 - 127 - 182 - 439 - 544 = 148 gap */
  align-items: start;
}

.nsh-process__head { display: flex; flex-direction: column; align-items: flex-start; }
.nsh-process__head .nsh-tag { margin-inline-start: 3px; }   /* tag right edge 1309.85 vs text 1313 */

.nsh-process__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;                             /* 252+28 -> 296 ; 296+152 -> 464 */
  margin-top: 140px;                     /* figma 140 (80 + 32 + 140 = 252): 4-card column (client 2026-11-30) */
}
.nsh-process__lead {
  margin: 0;
  font-weight: var(--nsh-fw-regular, 400);
  font-size: 20px;                       /* figma font/size/xl (not a token here) */
  line-height: 28px;
}
.nsh-process__title {
  margin: 0;
  font-weight: var(--nsh-fw-medium, 500);
  font-size: 48px;                       /* figma 10172:59686 */
  line-height: 76px;
}
.nsh-process__accent { color: var(--nsh-green-soft, #64C07D); }
.nsh-process__text {
  margin: 0;
  max-width: 369px;
  font-weight: var(--nsh-fw-light, 300);
  font-size: 16px;
  line-height: 28px;
}
.nsh-process__text--mobile { display: none; }

/* --- Track (cards + connectors) ------------------------------------------- */
.nsh-process__track {
  position: relative;
  width: 544px;
  margin-top: 30px;                      /* cards y 110 = 80 + 30 */
}
.nsh-process__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nsh-process__list--mobile { display: none; }

.nsh-process__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 23px 31px;                    /* figma 24/32 with an INSIDE 1px stroke => 124 tall */
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--nsh-r-card, 16px);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background-image:
    linear-gradient(208.78deg, rgba(255, 255, 255, .07) 17.156%, rgba(255, 255, 255, 0) 61.203%),
    linear-gradient(90deg, rgba(8, 7, 43, .15) 0%, rgba(8, 7, 43, .15) 100%);
}
.nsh-process__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.nsh-process__name {
  margin: 0;
  font-weight: var(--nsh-fw-medium, 500);
  font-size: var(--nsh-fs-lg, 18px);
  line-height: var(--nsh-lh-lg, 28px);
  color: var(--nsh-white, #fff);
}
.nsh-process__desc {
  margin: 0;
  font-weight: var(--nsh-fw-regular, 400);
  font-size: var(--nsh-fs-sm, 14px);
  line-height: 20px;                     /* figma font/leading/5 */
  color: rgba(255, 255, 255, .8);
}

/* Icon box 62x62 (component 'Component 18'); DOM first => physical right in RTL */
.nsh-process__icon { position: relative; flex: none; width: 62px; height: 62px; }
.nsh-process__icon img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; }
/* 'Component 14' icon bleeds: inset 0 -5.05% -12.9% -5.05% => 68.26x70 svg */
.nsh-process__icon--bleed img { left: -5.05%; width: 110.1%; height: 112.9%; }
/* raster icons 10185:60453 / 10185:60455: opacity .6, object-fit cover */
.nsh-process__icon--raster img { object-fit: cover; opacity: .6; }
/* mobile 'Tech Development' icon (I10162:28781;6490:10079): opacity .8, two layered groups */
.nsh-process__icon--layers { opacity: .8; overflow: hidden; }
.nsh-process__icon--layers img:nth-child(1) { left: 1.17%; top: 12.4%;  width: 97.66%; height: 75.2%; }
.nsh-process__icon--layers img:nth-child(2) { left: .2%;   top: 11.43%; width: 99.6%;  height: 77.14%; }

/* Connectors (dashed pink, filled dash shapes revealed by a stroked mask path) */
.nsh-process__conn {
  position: absolute;
  z-index: 0;
  width: 212px;
  height: 186px;
  pointer-events: none;
}
.nsh-process__conn svg { width: 100%; height: 100%; max-width: none; overflow: visible; }
.nsh-process__conn--1 { left: 450.672px;  top: 21px; }      /* 632.672 - 182 ; 131 - 110 */
.nsh-process__conn--2 { left: -120.853px; top: 190.568px; } /* 61.147 - 182 ; 300.568 - 110 */
.nsh-process__conn--3 { left: 448.672px;  top: 328.08px; }  /* 630.672 - 182 ; 438.08 - 110 */

.nsh-process__guide { stroke-dasharray: 1 1; stroke-dashoffset: 0; }

/* --- Animation states (only when JS armed the section) ------------------- */
.nsh-process.is-armed [data-seq] {
  opacity: 0;
  transform: translateY(var(--nsh-rise, 16px));          /* cards: y 126 -> 110 */
  transition:
    opacity var(--nsh-process-fade) var(--nsh-process-ease),
    transform var(--nsh-process-fade) var(--nsh-process-ease);
}
.nsh-process.is-armed .nsh-process__lead  { --nsh-rise: 24px; }   /* figma state 1 -> 2: 290 -> 266 (centre) */
.nsh-process.is-armed .nsh-process__title { --nsh-rise: 32px; }   /* 404 -> 372 */
.nsh-process.is-armed .nsh-process__text  { --nsh-rise: 40px; }   /* 546 -> 506 */
.nsh-process.is-armed .nsh-process__intro[data-seq] { opacity: 1; transform: none; }
.nsh-process.is-armed .nsh-process__intro > * {
  opacity: 0;
  transform: translateY(var(--nsh-rise));
  transition:
    opacity var(--nsh-process-fade) var(--nsh-process-ease),
    transform var(--nsh-process-fade) var(--nsh-process-ease);
}
.nsh-process.is-armed .nsh-process__intro.is-in > * { opacity: 1; transform: none; }
.nsh-process.is-armed [data-seq].is-in { opacity: 1; transform: none; }

/* connectors are not faded, they are drawn */
.nsh-process.is-armed .nsh-process__conn[data-seq],
.nsh-process.is-armed .nsh-process__mconn[data-seq] { opacity: 1; transform: none; transition: none; }
/* Client 2026-11-30: "the animation only shows when I hover the mouse". The arrows used to be drawn by animating
   stroke-dashoffset INSIDE an SVG <mask>; some browsers do not repaint mask content mid-transition until something else
   (a hover) triggers a repaint. The wipe is now a clip-path transition on the connector box itself (top -> bottom, which is
   the direction every connector is drawn in), composited normally everywhere. The mask path stays static. */
.nsh-process.is-armed .nsh-process__conn[data-seq],
.nsh-process.is-armed .nsh-process__mconn[data-seq] {
  clip-path: inset(-24px -24px 100% -24px);
  will-change: clip-path;
}
.nsh-process.is-armed .nsh-process__conn[data-seq].is-in,
.nsh-process.is-armed .nsh-process__mconn[data-seq].is-in {
  clip-path: inset(-24px);
  transition: clip-path var(--nsh-process-draw) cubic-bezier(.45, 0, .25, 1);
}
.nsh-process.is-arming *, .nsh-process.is-arming *::before { transition: none !important; }   /* set by JS for 2 frames */

@media (prefers-reduced-motion: reduce) {
  .nsh-process.is-armed [data-seq],
  .nsh-process.is-armed .nsh-process__intro > * { opacity: 1 !important; transform: none !important; }
  .nsh-process.is-armed .nsh-process__conn[data-seq],
  .nsh-process.is-armed .nsh-process__mconn[data-seq] { clip-path: none !important; }
}

/* --- Intermediate widths: stack heading over the cards ------------------- */
@media (max-width: 1199px) and (min-width: 768px) {
  .nsh-process__inner {
    height: auto;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nsh-process__intro { margin-top: 40px; max-width: 640px; }
  .nsh-process__track { margin: 48px auto 0; }
}

/* --- Mobile (figma 10162:27854, 375 wide) -------------------------------- */
@media (max-width: 767px) {
  .nsh-pattern-bg.nsh-process__pattern {
    /* figma 10162:27855: 4 tiles 375x369 (tile scaled to 426 wide, x -51), stacked every 377.
       Container opacity not exposed by the MCP => assumed .3 like desktop. */
    --nsh-pattern-w: 426px;
    --nsh-pattern-x: -51px;
    --nsh-pattern-y: 0px;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
  .nsh-pattern-bg.nsh-process__pattern::after { display: none; }   /* mobile overlay is a separate full-opacity layer */
  .nsh-process__overlay {
    /* figma 10162:28766 (375x1338, above the glows): gradient to-left rgba(9,7,43,0) -> #070624 */
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to left, rgba(9, 7, 43, 0) 0%, #070624 100%);
  }
  .nsh-process__glow--pink { left: -730.5px; top: 28px; }   /* figma 10162:28765 at (-130.5, 628) */
  /* blue glow 10162:28764 at (123,-161) == calc(100% - 752px) at 375: same rule as desktop */

  .nsh-process__inner {
    height: auto;
    padding: 48px 16px;                  /* figma frame 1984079936 at (16,48), 1338 - 48 - 1242 = 48 */
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nsh-process__head .nsh-tag {          /* figma 10162:28768: h 24, text at y4 */
    height: 24px;
    padding-block: 4px 0;
    margin-inline-start: 0;
  }
  .nsh-process__intro { margin-top: 20px; gap: 0; }
  .nsh-process__lead { font-size: var(--nsh-fs-sm, 14px); line-height: 28px; }
  .nsh-process__title { margin-top: 8px; font-size: 28px; line-height: 1.4; }      /* figma 10162:28772 */
  .nsh-process__text { display: none; }
  .nsh-process__text--mobile {           /* figma 10162:28774: Regular 14/28 (desktop is Light 16/28) */
    display: block;
    max-width: none;
    margin-top: 48px;
    font-weight: var(--nsh-fw-regular, 400);
    font-size: var(--nsh-fs-sm, 14px);
    line-height: 28px;
    white-space: pre-wrap;               /* figma whitespace-pre-wrap (double space in copy) */
  }

  .nsh-process__track { width: 100%; margin-top: 24px; }
  .nsh-process__track .nsh-process__conn { display: none; }
  .nsh-process__list--desktop { display: none; }
  .nsh-process__list--mobile { display: flex; gap: 40px; }   /* figma group 1000001835: cards 148/176 + 40 gaps */

  .nsh-process__list--mobile .nsh-process__card {
    padding: 19px 15px;                  /* figma 20/16 + inside stroke */
    background-image:
      linear-gradient(226.11deg, rgba(255, 255, 255, .07) 17.156%, rgba(255, 255, 255, 0) 61.203%),
      linear-gradient(90deg, rgba(8, 7, 43, .15) 0%, rgba(8, 7, 43, .15) 100%);
  }
  /* figma: taller cards (176) carry a 231.03deg gradient (same Figma transform on a different aspect) */
  .nsh-process__list--mobile > li:nth-child(2) .nsh-process__card,
  .nsh-process__list--mobile > li:nth-child(3) .nsh-process__card {
    background-image:
      linear-gradient(231.03deg, rgba(255, 255, 255, .07) 17.156%, rgba(255, 255, 255, 0) 61.203%),
      linear-gradient(90deg, rgba(8, 7, 43, .15) 0%, rgba(8, 7, 43, .15) 100%);
  }
  .nsh-process__list--mobile .nsh-process__name {
    font-size: 20px;                     /* figma font/size/xl */
    line-height: 28px;
    white-space: pre-wrap;
  }
  .nsh-process__list--mobile .nsh-process__desc { line-height: 24px; color: var(--nsh-white, #fff); }

  .nsh-process__item { position: relative; }
  /* Mobile connectors 10162:28784/28780 (right) and 28782/28778 (left): 12x60 nodes, export 14x61,
     from the card bottom (-1px) into the 40px gap and 20px over the next card */
  .nsh-process__mconn {
    position: absolute;
    z-index: 2;
    top: calc(100% - 1px);
    width: 14px;
    height: 61px;
    pointer-events: none;
  }
  .nsh-process__mconn svg { width: 100%; height: 100%; max-width: none; overflow: visible; }
  .nsh-process__mconn--right { right: 23px; }   /* x 306..320 in a 343 list */
  .nsh-process__mconn--left  { left: 23px; }    /* x 23..37 */
}
@media (min-width: 768px) {
  .nsh-process__mconn { display: none; }
}

/* hover: Figma step card "Property 1=Default" -> "hover" (ON_HOVER, Smart Animate .3s linear): the icon ("Component 18") goes opacity .6 -> .8.
   The .6 is baked into the svg/raster files, so: raster icons set the real opacity, svg icons get x1.333 brightness (= .8/.6 on the dark card). */
.nsh-process__icon { transition: filter .3s linear; }
.nsh-process__icon--raster img { transition: opacity .3s linear; }
.nsh-process__card:hover .nsh-process__icon:not(.nsh-process__icon--raster):not(.nsh-process__icon--layers) { filter: brightness(1.3333); }
.nsh-process__card:hover .nsh-process__icon--raster img { opacity: .8; }
@media (prefers-reduced-motion: reduce) { .nsh-process__icon, .nsh-process__icon--raster img { transition: none; } }

/* ===== home-works ===== */
/* ==========================================================================
   home-works: "استكشف أعمالنا" post/work carousel (home page)
   Figma desktop 9941:28104 (1440x568): bg slate-200, pt64 pb24 px100, column gap 32, centred.
     title 9941:28106: Medium 40/44 #1A1733 centred
     track 9941:28107: 4 cards 292x364, justify-between => gap 24 (4*292 + 3*24 = 1240)
     dots  9941:28112: 8px circles, gap 8, active #0F3176, inactive #CAD5E2
           (Figma draws 4 ellipses but #3 and #4 are #E2E8F0 = bg, i.e. 2 visible pages)
   Card (component 8895:13762, "Case study"): radius 8, overflow hidden, NO fill (sits on slate-200).
     image 8895:13742: 292x224 object-fit cover
     body 8895:13743: padding 12/8, items at the inline-start (right), rows gap 8
       meta 8903:40113: tag pill + date, gap 8
         pill 8903:40094: bg #F1F5F9 (slate-100), radius 24, padding 2/12, Regular 14/24 #45556C (slate-600)
         date 8895:13745: Regular 14/24 rgba(9,8,50,.6)
       title 8895:13746: Regular 16/24 #090832
       CTA 8903:40057: 14/24 #090832 + 24px arrow (arrow-right-sm flipped => points left), gap 0
     height check: 224 + 12 + 28 + 8 + 48 + 8 + 24 + 12 = 364
   MOBILE: this section does NOT exist in the mobile frame (10162:27259). The mobile
   values below are an ASSUMPTION (swipe carousel, 1 card + peek, 1 dot per card).
   Behaviour: code/js/home-works.js (scroll-snap + dots, RTL aware).
   ========================================================================== */
.nsh-works {
  --nsh-works-gap: 24px;
  --nsh-works-per-view: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 64px var(--nsh-gutter, 100px) 24px;
  background: var(--nsh-slate-200, #E2E8F0);
}
.nsh-works__title {
  margin: 0;
  width: 100%;
  max-width: var(--nsh-container, 1240px);
  font-family: var(--nsh-font);
  font-weight: var(--nsh-fw-medium, 500);
  font-size: 40px;                          /* figma 9941:28106 (not a token) */
  line-height: 44px;
  color: var(--nsh-dark, #1A1733);
  text-align: center;
}

/* ---- track (scroll-snap viewport) --------------------------------------- */
.nsh-works__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--nsh-works-per-view) - 1) * var(--nsh-works-gap)) / var(--nsh-works-per-view)); /* = 292px at 1240 */
  gap: var(--nsh-works-gap);
  width: 100%;
  max-width: var(--nsh-container, 1240px);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.nsh-works__track::-webkit-scrollbar { display: none; }
.nsh-works__track:focus-visible { outline: 2px solid var(--nsh-green, #41C465); outline-offset: 4px; }
.nsh-works__slide { scroll-snap-align: start; min-width: 0; }

/* ---- card ---------------------------------------------------------------- */
.nsh-work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--nsh-r-md, 8px);
  overflow: hidden;
}
.nsh-work-card__media { height: 224px; margin: 0; overflow: hidden; }
.nsh-work-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;            /* hover zoom: assumption, not in Figma */
}
.nsh-work-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;                  /* RTL: right edge, figma items-end */
  gap: 8px;
  padding: 12px 8px;
}
.nsh-work-card__meta { display: flex; align-items: center; gap: 8px; }
.nsh-work-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 12px;
  border-radius: 24px;                      /* figma 8903:40094 */
  background: #F1F5F9;                      /* figma 8903:40094 slate-100 (not a token) */
  font-family: var(--nsh-font);
  font-weight: var(--nsh-fw-regular, 400);
  font-size: var(--nsh-fs-sm, 14px);
  line-height: 24px;
  color: #45556C;                           /* figma 8903:40095 slate-600 (not a token) */
  white-space: nowrap;
}
.nsh-work-card__date {
  font-family: var(--nsh-font);
  font-weight: var(--nsh-fw-regular, 400);
  font-size: var(--nsh-fs-sm, 14px);
  line-height: 24px;
  color: rgba(9, 8, 50, .6);                /* figma 8895:13745 */
  white-space: nowrap;
}
.nsh-work-card__title {
  margin: 0;
  font-family: var(--nsh-font);
  font-weight: var(--nsh-fw-regular, 400);
  font-size: var(--nsh-fs-base, 16px);
  line-height: 24px;
  color: var(--nsh-ink, #090832);
  text-align: right;
}
.nsh-work-card__link { color: inherit; text-decoration: none; }
.nsh-work-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* whole card clickable */
.nsh-work-card__link:focus-visible { outline: none; }
.nsh-work-card:has(.nsh-work-card__link:focus-visible) { outline: 2px solid var(--nsh-green, #41C465); outline-offset: 2px; }
.nsh-work-card__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--nsh-font);
  font-weight: var(--nsh-fw-regular, 400);
  font-size: var(--nsh-fs-sm, 14px);
  line-height: 24px;
  color: var(--nsh-ink, #090832);
  white-space: nowrap;
}
.nsh-work-card__arrow {
  flex: none;
  width: 24px;
  height: 24px;
  transform: scaleX(-1);                    /* figma: rotate(180) + scaleY(-1) = mirror => points left (RTL forward) */
  transition: translate .2s ease;
}
.nsh-work-card:hover .nsh-work-card__img { transform: scale(1.03); }
.nsh-work-card:hover .nsh-work-card__arrow { translate: -4px 0; }

/* hover colours (Figma Property 1=case study card -> Variant2, .3s ease-out): title, "read more" text and arrow stroke #090832 -> #41C465.
   The arrow is an <img>, so a second green arrow is stacked on the first and cross-faded. */
.nsh-work-card__title, .nsh-work-card__cta { transition: color .3s ease-out; }
.nsh-work-card:hover .nsh-work-card__title, .nsh-work-card:has(.nsh-work-card__link:focus-visible) .nsh-work-card__title,
.nsh-work-card:hover .nsh-work-card__cta,   .nsh-work-card:has(.nsh-work-card__link:focus-visible) .nsh-work-card__cta { color: var(--nsh-green, #41C465); }
.nsh-work-card__cta { position: relative; }
.nsh-work-card__arrow--g { position: absolute; inset-inline-end: 0; top: 50%; margin-top: -12px; opacity: 0; transition: opacity .3s ease-out, translate .2s ease; }
.nsh-work-card:hover .nsh-work-card__arrow--g, .nsh-work-card:has(.nsh-work-card__link:focus-visible) .nsh-work-card__arrow--g { opacity: 1; translate: -4px 0; }
.nsh-work-card__arrow { transition: translate .2s ease, opacity .3s ease-out; }
.nsh-work-card:hover .nsh-work-card__arrow:not(.nsh-work-card__arrow--g) { opacity: 0; }

/* ---- dots ----------------------------------------------------------------- */
.nsh-works__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;                                   /* 16px buttons with 8px dots => 8px visual gap, as figma */
  height: 8px;
  margin: 0;
  padding: 0;
}
.nsh-works__dots[hidden] { display: none; }
.nsh-works__dot {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-block: -4px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nsh-works__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nsh-slate-300, #CAD5E2);          /* figma Ellipse 58 */
  transition: background-color .2s ease;
}
.nsh-works__dot[aria-current="true"]::before { background: #0F3176; }   /* figma Ellipse 57 (not a token) */
.nsh-works__dot:focus-visible { outline: 2px solid var(--nsh-green, #41C465); outline-offset: 0; border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
  .nsh-works__track { scroll-behavior: auto; }
  .nsh-work-card__img, .nsh-work-card__arrow, .nsh-works__dot::before { transition: none; }
  .nsh-work-card:hover .nsh-work-card__img { transform: none; }
}

/* ---- intermediate (assumption) ------------------------------------------- */
@media (max-width: 1279px) {
  .nsh-works { padding-inline: 40px; }
  .nsh-works__track { --nsh-works-per-view: 3; }
}
@media (max-width: 1023px) {
  .nsh-works__track { --nsh-works-per-view: 2; }
}

/* ---- mobile (ASSUMPTION: no mobile node exists) ---------------------------
   Rhythm borrowed from the mobile FAQ 10162:28786 (px16, title 28/32, gap 16)
   so the section sits naturally between Process 10162:27854 and FAQ. */
@media (max-width: 767px) {
  .nsh-works { gap: 16px; padding: 32px 0 24px; }
  .nsh-works__title { padding-inline: 16px; font-size: 28px; line-height: 32px; }
  .nsh-works__track {
    --nsh-works-gap: 16px;
    grid-auto-columns: 292px;               /* desktop card width: 1 card + ~51px peek on 375 */
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }
}

/* client decision 2026-11-29: no works section on mobile (none in the Figma mobile frame); home-works.js skips it */
@media (max-width: 767px) {
  .nsh-works { display: none; }
}

/* ===== home-faq ===== */
/* ==========================================================================
   home-faq: modifier .nsh-faq--home on the shared faq component (faq.css, eyebrow-tag.css,
   typography-scale.css). Load AFTER those files.
   Figma desktop 9941:28118 (1440x926), mobile 10162:28786 (375x1116).
   Differences vs service FAQ (9834:40367):
     desktop  padding 56/100/62 (was 48/100), head->list gap 24 (was 40), title 40/40 (was 30/54),
              list 820 wide (was 819), FAQ pill top 16 inside the head (Figma top 72 - head 56; was 12),
              numbered rows: ".01" before each question (Regular 18/28 ink, gap 8),
              10 rows, NO divider under the last row (10*60 + 9*16 = 744).
     mobile   padding 32/16 (was 32/20), no numbers, divider under the last row too (as the service FAQ).
              Row heights 56/80/104 = 1/2/3 lines of 16/24 Medium, top-aligned (same as faq.css).
   ========================================================================== */
.nsh-faq--home { padding: 56px var(--nsh-gutter, 100px) 62px; }
.nsh-faq--home .nsh-faq__inner { gap: 24px; }
.nsh-faq--home .nsh-faq__head { min-height: 40px; }
.nsh-faq--home .nsh-faq__head .nsh-tag { top: 16px; }
.nsh-faq--home .nsh-faq__title { font-size: 40px; line-height: 40px; }   /* figma 9941:28120 (Medium, #64C07D via .nsh-h2--faq) */
.nsh-faq--home .nsh-faq__list { max-width: 820px; counter-reset: nsh-faq; }
.nsh-faq--home .nsh-faq__item { counter-increment: nsh-faq; }
.nsh-faq--home .nsh-faq__item:last-child { border-bottom: 0; padding-bottom: 0; }

/* number "01." (figma I9941:28122;9881:55815, text ".01", rendered visually as ".01" at the right).
   Figma shows ".01" on EVERY row (placeholder); a counter gives 01..10. */
.nsh-faq--home .nsh-faq__q-text { display: flex; align-items: center; gap: 8px; }
.nsh-faq--home .nsh-faq__q-text::before {
  content: counter(nsh-faq, decimal-leading-zero) ".";
  flex: none;
  white-space: nowrap;
}

/* hover: Figma FAG 5744:6740 -> 5744:6741 (ON_HOVER, Smart Animate .3s ease-in-out): the row indents 6px from the start side (padding 12 -> 18). Desktop only. */
@media (min-width: 768px) {
  .nsh-faq--home .nsh-faq__q { transition: padding-inline-start .3s ease-in-out; }
  .nsh-faq--home .nsh-faq__q:hover { padding-inline-start: 18px; }
}

@media (max-width: 1279px) {
  .nsh-faq--home { padding-inline: 40px; }
}

@media (max-width: 767px) {
  .nsh-faq--home { padding: 32px 16px; }                         /* figma 10162:28786 px16 py32 */
  .nsh-faq--home .nsh-faq__inner { gap: 16px; }                  /* figma head 10162:28787 ends 10598, list 10162:28791 at 10614 */
  .nsh-faq--home .nsh-faq__head { min-height: 0; }
  .nsh-faq--home .nsh-faq__title { font-size: 28px; line-height: 32px; }   /* figma 10162:28790 */
  .nsh-faq--home .nsh-faq__q-text { display: block; }
  .nsh-faq--home .nsh-faq__q-text::before { content: none; }       /* mobile rows have no number */
  .nsh-faq--home .nsh-faq__item:last-child { border-bottom: 1px solid var(--nsh-slate-300, #CAD5E2); padding-bottom: 7px; }   /* Line 154 under the last row */
}

/* ===== home-contact ===== */
/* ==========================================================================
   home-contact: modifiers for the shared contact + footer (contact-footer.css, circular-badge.css,
   pattern-bg.css) and the floating WhatsApp button (whatsapp-fab.css). Load AFTER those files.
   Figma desktop instance 9941:28142 = SAME main component as the service pages (9834:40385; same inner
   ids 8606:xxxx / 9598:xxxx, same texts, same badge art) => NO desktop override needed.
   Mobile 10162:28812 (375 wide) vs service mobile 9871:40643 (440 wide): same structure and type;
   only the 375-frame geometry differs:
     side padding 16 (440 frame: 20), badge box left 25.81 in the frame => 9.81 inside the padding
     (440: 24.8), eyebrow pill fixed 24 high (instance 10162:28833 h24; service pill 32).
   Badge: unchanged. Ring rotates, inner logo static (designer note 10387:58974) — already true in
   circular-badge.css; inner circle 76.26/133.85 = 56.97%, offset 28.68 = 21.43% => same proportions.
   ========================================================================== */

/* ---- FAB: moved to whatsapp-fab.css (figma 9941:28152 is now the site-wide button) */

/* ---- mobile 375 (figma 10162:28812) ---------------------------------------- */
@media (max-width: 767px) {
  .nsh-contact--home { padding-inline: 16px; }                     /* form x16 w344, headline right edge 359 */
  .nsh-contact--home .nsh-badge-wrap { left: 9.81px; }             /* frame x 25.81 - 16 */
  .nsh-contact--home .nsh-contact__eyebrow { height: 24px; padding-block: 4px 0; }   /* 10162:28833: h24, text at y4 */
}
