/* Nashe design tokens — source: Figma variables (node 9834:39257) + extracted components */

/* MadaniArabic — files in code/fonts/ (WP: theme/assets/fonts/) */
@font-face { font-family: 'Madani Arabic'; src: url('../fonts/MadaniArabic-Light.woff2') format('woff2');   font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Madani Arabic'; src: url('../fonts/MadaniArabic-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Madani Arabic'; src: url('../fonts/MadaniArabic-Medium.woff2') format('woff2');  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Madani Arabic'; src: url('../fonts/MadaniArabic-Bold.woff2') format('woff2');    font-weight: 700; font-style: normal; font-display: swap; }

/* Figma-metrics twin of the family above. Chrome on Windows positions Arabic text with the OS/2 win metrics (asc 1.213 / desc .284 em)
   while Figma (and Chrome on macOS/Linux) use hhea (.775 / .225): on Windows every line sits ~0.19em LOWER than the design.
   Overriding the metrics to hhea makes the glyph baseline identical on every OS. Used via --nsh-font on pages that must match Figma ink-for-ink. */
@font-face { font-family: 'Madani Arabic Fig'; src: url('../fonts/MadaniArabic-Light.woff2') format('woff2');   font-weight: 300; font-style: normal; font-display: swap; ascent-override: 77.5%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: 'Madani Arabic Fig'; src: url('../fonts/MadaniArabic-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; ascent-override: 77.5%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: 'Madani Arabic Fig'; src: url('../fonts/MadaniArabic-Medium.woff2') format('woff2');  font-weight: 500; font-style: normal; font-display: swap; ascent-override: 77.4%; descent-override: 22.6%; line-gap-override: 0%; }
@font-face { font-family: 'Madani Arabic Fig'; src: url('../fonts/MadaniArabic-Bold.woff2') format('woff2');    font-weight: 700; font-style: normal; font-display: swap; ascent-override: 77.3%; descent-override: 22.7%; line-gap-override: 0%; }

:root {
  /* Colors */
  --nsh-green: #41C465;        /* CTA + hero H1 green */
  --nsh-green-soft: #64C07D;   /* "Green start" — FAQ heading, icon tint */
  --nsh-check: #6CBA72;        /* check circle */
  --nsh-pink: #E9426A;         /* eyebrow / dot */
  --nsh-ink: #090832;          /* Dark Knight — text on light */
  --nsh-dark: #1A1733;         /* dark sections bg */
  --nsh-card: #EDF2F7;         /* card bg */
  --nsh-slate-200: #E2E8F0;    /* page light bg / FAQ bg */
  --nsh-slate-300: #CAD5E2;
  --nsh-slate-500: #62748E;
  --nsh-gray-500: #6A7282;
  --nsh-white: #FFFFFF;
  --nsh-ink-55: rgba(9, 8, 50, .55);   /* card description */
  --nsh-input-bg: rgba(26, 23, 51, .7);

  /* Typography — MadaniArabic (custom font, supply woff2) */
  --nsh-font: 'Madani Arabic Fig', 'Madani Arabic', 'MadaniArabic', system-ui, sans-serif;   /* Fig twin = same files + hhea metrics (see @font-face above) */
  --nsh-fw-light: 300;
  --nsh-fw-regular: 400;
  --nsh-fw-medium: 500;
  --nsh-fw-bold: 700;
  --nsh-fs-sm: 14px;   --nsh-lh-sm: 24px;
  --nsh-fs-base: 16px; --nsh-lh-base: 20px;
  --nsh-fs-lg: 18px;   --nsh-lh-lg: 28px;
  --nsh-fs-2xl: 24px;  --nsh-lh-2xl: 32px;
  --nsh-fs-8xl: 96px;  --nsh-lh-8xl: 120px;
  --nsh-tracking: 0;

  /* Radius */
  --nsh-r-xs: 2px;
  --nsh-r-input: 4px;
  --nsh-r-icon: 6px;
  --nsh-r-md: 8px;
  --nsh-r-card: 16px;
  --nsh-r-pill: 55px;

  /* Layout */
  --nsh-container: 1240px;
  --nsh-gutter: 100px;      /* 1440 - 1240 = 2*100 */
  --nsh-gutter-m: 20px;     /* mobile (verify in docs) */
  --nsh-shadow-card: 0 2px 5px rgba(0, 0, 0, .02);
}

/* Base reset for Nashe pages. RTL Arabic. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--nsh-font);
  font-weight: var(--nsh-fw-regular);
  font-size: var(--nsh-fs-base);
  line-height: var(--nsh-lh-base);
  color: var(--nsh-ink);
  background: var(--nsh-slate-200);
  direction: rtl;
  text-align: right;
  letter-spacing: var(--nsh-tracking);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.nsh-container { width: 100%; max-width: calc(var(--nsh-container) + 2 * var(--nsh-gutter)); margin-inline: auto; padding-inline: var(--nsh-gutter); }
@media (max-width: 767px) { .nsh-container { padding-inline: var(--nsh-gutter-m); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ===== typography-scale ===== */
/* Typography scale — MadaniArabic. Figma values (node ids in comments).
   Weights: Light 300 / Regular 400 / Medium 500 / Bold 700. Requires tokens.css. */

/* H1 — hero title, 48px/1.2 Medium; figma 10153:42177 (9870:37792). Colour per line (green #41C465 / white). */
.nsh-h1 { font-family: var(--nsh-font); font-weight: var(--nsh-fw-medium); font-size: 48px; line-height: 1.2; color: var(--nsh-ink); letter-spacing: var(--nsh-tracking); }
.nsh-h1--green { color: var(--nsh-green); }
.nsh-h1--white { color: var(--nsh-white); }

/* Display — contact heading 96/120 (token 8xl); FIGMA-SPEC section 4 */
.nsh-display { font-family: var(--nsh-font); font-weight: var(--nsh-fw-medium); font-size: var(--nsh-fs-8xl); line-height: var(--nsh-lh-8xl); }

/* H2 — section title 30px Medium ink. Line-height varies per frame:
   service sections 50px (9834:39756) | archive intro 1.4 = 42px (9894:47652) | FAQ 54px green-soft (9834:40384) | closing line 36px (9894:49200) */
.nsh-h2 { font-family: var(--nsh-font); font-weight: var(--nsh-fw-medium); font-size: 30px; line-height: 50px; color: var(--nsh-ink); letter-spacing: var(--nsh-tracking); }
.nsh-h2--tight   { line-height: 1.4; }                                   /* figma 9894:47652 */
.nsh-h2--faq     { line-height: 54px; color: var(--nsh-green-soft); }    /* figma 9834:40384 */
.nsh-h2--closing { line-height: 36px; }                                  /* figma 9894:49200 */
.nsh-h2--green   { color: var(--nsh-green); }

/* H3 — card title 18/26 Medium; figma 9894:47326. Large variant 24/32 (token 2xl). */
.nsh-h3 { font-family: var(--nsh-font); font-weight: var(--nsh-fw-medium); font-size: 18px; line-height: 26px; color: var(--nsh-ink); }
.nsh-h3--lg { font-size: var(--nsh-fs-2xl); line-height: var(--nsh-lh-2xl); }

/* Lead / subtitle — 18/28 Regular gray-500; figma 9834:39757. Hero paragraph is 18/32 slate-200 (10153:42177;9870:37796) */
.nsh-lead { font-family: var(--nsh-font); font-weight: var(--nsh-fw-regular); font-size: var(--nsh-fs-lg); line-height: var(--nsh-lh-lg); color: var(--nsh-gray-500); }
.nsh-lead--hero { line-height: 32px; color: var(--nsh-slate-200); }

/* Body — 16/20 Regular ink (check list 9871:39729); small 14/24 ink 55% (card description 9894:47329) */
.nsh-body { font-family: var(--nsh-font); font-weight: var(--nsh-fw-regular); font-size: var(--nsh-fs-base); line-height: var(--nsh-lh-base); color: var(--nsh-ink); }
.nsh-body--sm { font-size: var(--nsh-fs-sm); line-height: var(--nsh-lh-sm); color: var(--nsh-ink-55); }
.nsh-body--deliverable { font-size: 20px; line-height: 24.65px; }        /* figma 9871:40350 */

/* Eyebrow — card eyebrow 12/18 Regular pink (9894:47325); hero eyebrow 16/24 pink (10153:42177;9870:37790);
   tag chip text 16/20 Light (see eyebrow-tag.css) */
.nsh-eyebrow { font-family: var(--nsh-font); font-weight: var(--nsh-fw-regular); font-size: 12px; line-height: 18px; color: var(--nsh-pink); }
.nsh-eyebrow--lg { font-size: 16px; line-height: 24px; }

/* Mobile (440 frames): H2 28/36 (9871:44763), lead 16/24 (9871:44764); FAQ title 28/32 (9871:45434) */
@media (max-width: 767px) {
  .nsh-h2 { font-size: 28px; line-height: 36px; }
  .nsh-h2--tight { line-height: 36px; }
  .nsh-h2--faq { line-height: 32px; }
  .nsh-lead { font-size: 16px; line-height: 24px; }
  .nsh-h1 { font-size: 36px; } /* ASSUMPTION: mobile hero H1 not measured here (hero belongs to another agent) */
}

/* ===== section-base ===== */
/* Service single page - shared section primitives (container, divider, section head, tag, info-card base).
   Used by pain-cards, about-block, audience-cards, steps, deliverables, why-cards. */

/* Page body: 1240 wide column at 1440; 72 top; sections separated by 64 + 1px line + 64 (figma 9834:39752) */
.nsh-service-body {
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
  padding-block: 72px 64px;           /* figma 9834:39753 y=72; last section -> CTA gap 64 (2671 -> 2735) */
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.nsh-divider {                         /* figma Line 163/168/169/165/166: 1240x0, stroke #CAD5E2 */
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 0 -1px;                                    /* figma lines have 0 height (stroke only): occupy no layout space */
  border: 0;
  background: var(--nsh-slate-300, #CAD5E2);
}

/* Section wrapper + heading block (figma 9834:39754: 965 wide, centred) */
.nsh-sec { position: relative; display: flex; flex-direction: column; gap: 40px; }  /* head -> content 40 (86 -> 126) */
.nsh-sec-head {
  width: 100%;
  max-width: 965px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.nsh-sec-head__title {
  margin: 0;
  font-family: var(--nsh-font, 'Madani Arabic', sans-serif);
  font-weight: 500;
  font-size: 30px;
  line-height: var(--nsh-sec-h2-lh, 50px);   /* 50 pain, 54 audience/why */
  color: var(--nsh-ink, #090832);
}
.nsh-sec-head__sub {
  margin: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: var(--nsh-gray-500, #6A7282);        /* figma color/gray/500 */
}

/* Section tag: use the shared .nsh-tag component (eyebrow-tag.css); positioning modifiers live in about-block / why-cards */

/* Info card base (pain / audience) - figma 9834:39760 */
.nsh-sec-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--nsh-card, #EDF2F7);
  border-radius: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .02);
  text-align: center;
}
.nsh-sec-card__head { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
/* icon tile: shared .nsh-icon-tile .nsh-icon-tile--40 (icon-tile.css) */
.nsh-sec-card__title { margin: 0; font-weight: 500; font-size: 18px; line-height: 26px; color: var(--nsh-ink, #090832); }
.nsh-sec-card__desc  { margin: 0; font-weight: 400; font-size: 14px; line-height: 24px; color: rgba(9, 8, 50, .55); }

@media (max-width: 767px) {
  .nsh-service-body { width: calc(100% - 40px); padding-block: 40px 50px; gap: 48px; }   /* mobile: 20 side, sections 48 apart (lines at 708/756) */
  .nsh-divider { width: calc(100% + 8px); margin-inline: -4px; }                          /* lines are x16..424 = 408 wide */
  .nsh-sec { gap: 32px; }
  .nsh-sec-head__title { font-size: 28px; line-height: 36px; }
  .nsh-sec-head__sub { font-size: 16px; line-height: 24px; }
}

/* ===== btn ===== */
/* btn — CTA buttons. Figma: archive card CTA 9894:47330, dark-section CTAs 9878:49522 (outline) / 9878:49521 (solid),
   hero CTA I9870:37820;9878:46211, contact buttons 9598:32008 (send) / 9598:32009 (attach), closing circle 9894:49201 (Cta 6097:6652).
   The component exposes ONE state only (icon=on, size=Default, state=Default): hover/pressed below are INFERRED, not in Figma.
   DOM order for RTL: label first, arrow second (arrow sits on the physical LEFT = inline-end and points left). */
:root {
  /* Plain background-image (not mask-image): masks need CORS and fail when the demo is opened via file:// */
  --nsh-icon-arrow-green: url("../img/shared/icons/arrow-right-green.svg");
  --nsh-icon-arrow-white: url("../img/shared/icons/arrow-right-white.svg");
  --nsh-icon-paperclip: url("../img/shared/icons/paperclip.svg");
  --nsh-arrow-img: var(--nsh-icon-arrow-green);
}
.nsh-btn {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 48px;                                      /* 24 arrow + 12 + 12 padding (border drawn inside in Figma) */
  padding-block: 11px;                                   /* 11 + 1px border = 12 */
  padding-inline-start: 32px; padding-inline-end: 24px;  /* figma pl24 pr32 (LTR literal) */
  border: 1px solid transparent; border-radius: 99px;
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-medium); font-size: 16px; line-height: 20px; white-space: nowrap;
  text-align: center; cursor: pointer; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.nsh-btn--lg { font-size: 18px; }                        /* dark CTA / hero CTA use 18px; card CTA 16px */
.nsh-btn--block { display: flex; width: 100%; }          /* card CTA 360x48 */

/* Variants (arrow colour follows the text colour via --nsh-arrow-img) */
.nsh-btn--outline { color: var(--nsh-green); border-color: var(--nsh-green); background: transparent; }
.nsh-btn--solid   { --nsh-arrow-img: var(--nsh-icon-arrow-white); color: var(--nsh-white); background: var(--nsh-green); border-color: var(--nsh-green); }
.nsh-btn--outline:hover, .nsh-btn--outline:focus-visible { --nsh-arrow-img: var(--nsh-icon-arrow-white); background: var(--nsh-green); color: var(--nsh-white); } /* inferred */
.nsh-btn--solid:hover, .nsh-btn--solid:focus-visible     { --nsh-arrow-img: var(--nsh-icon-arrow-white); background: var(--nsh-green); color: var(--nsh-white); } /* figma: green CTA variants ("defult" Default -> hover, Smart Animate .5s linear) only slide the arrow; fill/colour never change */
.nsh-btn:focus-visible { outline: 2px solid var(--nsh-green); outline-offset: 2px; }
.nsh-btn:active { transform: translateY(1px); }          /* inferred */

/* Form buttons on dark: 64px high, radius 4, white 1px border, bg rgba(26,23,51,.7); figma 9598:32008 / 9598:32009 */
.nsh-btn--form {
  min-height: 64px; padding-block: 15px; gap: 8px; border-radius: var(--nsh-r-input);
  --nsh-arrow-img: var(--nsh-icon-arrow-white); border-color: var(--nsh-white); background: var(--nsh-input-bg); color: var(--nsh-white);
  padding-inline-start: 40px; padding-inline-end: 32px;  /* send: figma pl32 pr40 -> arrow on physical left */
}
/* hover: ONLY the send button has one in Figma (9598:32008 -> 5891:1272, Smart Animate .3s ease-out): fill #41C465, stroke #CFCECE, text white;
   the arrow keeps the white sprite and slides. The attach button (9598:32009) has no hover state. */
.nsh-btn--form:not(.nsh-btn--attach) { transition: background-color .3s ease-out, border-color .3s ease-out, color .3s ease-out; }
.nsh-btn--form:not(.nsh-btn--attach):hover, .nsh-btn--form:not(.nsh-btn--attach):focus-visible { background: var(--nsh-green); border-color: #CFCECE; color: var(--nsh-white); }
.nsh-btn--attach:hover { background: var(--nsh-input-bg); color: var(--nsh-white); border-color: var(--nsh-white); }
.nsh-btn--attach { padding-inline-start: 24px; padding-inline-end: 32px; } /* figma pl32 pr24: paperclip on physical right (first in DOM) */

/* Circle arrow (closing line): 32x32 green, white arrow rotated to point down; figma 6097:6652 */
.nsh-btn--circle { --nsh-arrow-img: var(--nsh-icon-arrow-white); width: 32px; height: 32px; min-height: 0; padding: 0; gap: 0; border-radius: var(--nsh-r-pill); background: var(--nsh-green); color: var(--nsh-white); border-color: transparent; }
.nsh-btn--circle .nsh-btn__arrow { transform: rotate(-90deg); }  /* screenshot shows the arrow pointing down */

/* Arrow glyph: 24x24 slot, 12x11 clip, 41.5x10.25 two-arrow sprite (second arrow at +30px, used for the hover slide). figma 8676:20522 */
.nsh-btn__arrow { position: relative; display: block; width: 24px; height: 24px; flex: none; }
.nsh-btn__arrow::before {
  content: ""; position: absolute; left: 6px; top: 6.5px; width: 12px; height: 11px;   /* centred in the 24px slot */
  background: var(--nsh-arrow-img) no-repeat 0.25px 0.25px / 41.5px 10.25px;
  transition: background-position .25s ease;
}
.nsh-btn:hover .nsh-btn__arrow::before, .nsh-btn:focus-visible .nsh-btn__arrow::before {
  background-position: -29.75px 0.25px;   /* inferred: slide to the 2nd arrow */
}
.nsh-btn--circle:hover .nsh-btn__arrow::before { background-position: 0.25px 0.25px; } /* circle is a static icon */
.nsh-btn__icon { width: 24px; height: 24px; flex: none; background: var(--nsh-icon-paperclip) center / 24px 24px no-repeat; }
.nsh-btn__label { display: block; }

@media (prefers-reduced-motion: reduce) { .nsh-btn__arrow::before { transition: none; } }
@media (max-width: 767px) { .nsh-btn--block-m { display: flex; width: 100%; } }

/* ===== eyebrow-tag ===== */
/* eyebrow-tag — pill chips with a pink dot. figma 9881:53259 (150x32 text 'تعريف الخدمه'), 9834:39877 (138x32 'لماذا تختارنا؟'),
   FAQ pill 9834:40383 (91x32), contact pill 8606:16143 (white text, on dark). Dot = Ellipse 616: 10x10 #E9426A inside a 10x14 box (cy 6.5).
   No fill, no border. Height 32 = 8 + 20 + 4. DOM: dot first (physical right in RTL), label second. */
.nsh-tag {
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px;
  padding-block: 8px 4px;                               /* figma pt8 pb4 */
  padding-inline-start: 8px; padding-inline-end: 32px;  /* figma pr8 (dot side) / pl32 (LTR literal) */
  border-radius: var(--nsh-r-pill);
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-light); font-size: 16px; line-height: 20px; white-space: nowrap; color: var(--nsh-ink);
}
.nsh-tag__dot { position: relative; flex: none; width: 10px; height: 14px; }
.nsh-tag__dot::before { content: ""; position: absolute; left: 0; top: 1.5px; width: 10px; height: 10px; border-radius: 50%; background: var(--nsh-pink); }
.nsh-tag--on-dark { color: var(--nsh-white); }

/* Dot pulse. Figma component "Frame 1984079788" (5960:3653): Default (opacity 1) <-> Variant3 (opacity .1),
   AFTER_TIMEOUT 1s smart-animate => 1s fade out, 1s fade in, looping. Applies to every .nsh-tag (home + services). */
@keyframes nsh-dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .1; } }
.nsh-tag__dot::before { animation: nsh-dot-pulse 2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .nsh-tag__dot::before { animation: none; } }

/* ===== icon-tile ===== */
/* icon-tile — green gradient tile. figma Slot 9958:30954 (52x52, icon 44 centred); 40x40 variant (icon 40) 9871:44770;9958:30852.
   Gradient 201.077deg rgba(100,192,125,.2) 13.91% -> rgba(100,192,125,.078) 96.812%; radius 6; inset shadow overlay ABOVE the image. */
.nsh-icon-tile {
  position: relative; flex: none; width: 52px; height: 52px; overflow: hidden; border-radius: var(--nsh-r-icon);
  background-image: linear-gradient(201.07749440157795deg, rgba(100, 192, 125, .2) 13.91%, rgba(100, 192, 125, .078) 96.812%);
}
.nsh-icon-tile__icon { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); overflow: hidden; }
.nsh-icon-tile__icon img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.nsh-icon-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset -1.429px -1.429px 2.857px 0 rgba(255, 255, 255, .25); }
.nsh-icon-tile--40 { width: 40px; height: 40px; }
.nsh-icon-tile--40 .nsh-icon-tile__icon { width: 40px; height: 40px; }
/* Per-image crop offsets exported by Figma (business-model 9957:20238, market-research 9894:47520) */
.nsh-icon-tile__icon--crop-business img { inset: auto; left: -6.84%; top: -1.14%; width: 113.68%; height: 113.68%; }
.nsh-icon-tile__icon--crop-market img   { inset: auto; left: .54%; top: .01%; width: 98.93%; height: 98.93%; }

/* ===== section-heading ===== */
/* section-heading — H2 + subtitle. figma 9834:39754 (965x86 = 50 + 8 + 28), archive 9894:47650 (965x78 = 42 + 8 + 28),
   mobile 9871:44761 (400 wide, 28/36 + 8 + 16/24). Centered, max 965. Type classes come from typography-scale.css. */
.nsh-section-heading { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 965px; margin-inline: auto; text-align: center; }
.nsh-section-heading__title { margin: 0; }
.nsh-section-heading__lead { margin: 0; width: 100%; }

/* ===== check-list-item ===== */
/* check-list-item. Two variants:
   (a) plain: figma 9871:39728 'Item' — 20x20 green check (stroke #41C465, no circle), text 16/20 Regular ink, gap 8.
   (b) circle: deliverables 9871:40349 — 26x26 circle #6CBA72 radius 13 with 13x13 white check (stroke 2), text 20/24.65 Regular ink, gap 16.
   DOM: icon first (physical right in RTL). */
.nsh-check-item { display: flex; align-items: flex-start; gap: 8px; font-family: var(--nsh-font); font-weight: var(--nsh-fw-regular); font-size: 16px; line-height: 20px; color: var(--nsh-ink); }
.nsh-check-item__icon { flex: none; width: 20px; height: 20px; background: url("../img/shared/icons/check-circle-20.svg") center / 20px 20px no-repeat; }
.nsh-check-item--circle { gap: 16px; align-items: center; font-size: 20px; line-height: 24.65px; min-height: 26px; }
.nsh-check-item--circle .nsh-check-item__icon {
  width: 26px; height: 26px; border-radius: 13px;
  background: var(--nsh-check) url("../img/shared/icons/check-13.svg") center / 13px 13px no-repeat;
}
.nsh-check-list { display: flex; flex-direction: column; gap: 16px; list-style: none; margin: 0; padding: 0; } /* ASSUMPTION: list gap not measured */

/* ===== pattern-bg ===== */
/* ==========================================================================
   nsh-pattern-bg — decorative "ن" tile pattern + fade gradient
   Figma: hero 'Pattern 1' 9870:37304 (845x643), contact 'pattern' 8606:15208,
   mobile hero 'backgroung' 9958:21761 / 9878:46235.
   Asset: assets/shared/pattern-tile.svg  (844.662 x 742.56 = Figma tile 844.66x732.56 + 10px gap)
   DEV NOTE (designs/misc/dev-note-2-dark-pattern.png): the pattern must keep its
   shape. NEVER stretch: background-size is always "<width> auto" (aspect locked),
   it is tiled (repeat) not scaled to the container.

   Usage: put an element .nsh-pattern-bg as FIRST child of a position:relative,
   overflow:hidden dark section. Layers (all inside, pointer-events none):
     ::before  = tiles (mirrored horizontally, as in Figma rotate(180)+scaleY(-1))
     ::after   = fade gradient
   The whole element carries the opacity (Figma applies 30% / 70% to tiles+gradient together).
   ========================================================================== */
.nsh-pattern-bg {
  --nsh-pattern-tile: url("../img/shared/pattern-tile.svg");
  --nsh-pattern-w: 844.66px;      /* natural tile width */
  --nsh-pattern-x: 0px;           /* offset inside the (pre-mirror) box */
  --nsh-pattern-y: -15px;
  --nsh-pattern-opacity: .3;
  position: absolute;
  top: 0;
  left: 0;                        /* visual left in RTL too (figma x=0) */
  width: 845px;                   /* figma 9870:37304 */
  height: 643px;
  max-width: 100%;
  overflow: hidden;
  opacity: var(--nsh-pattern-opacity);
  pointer-events: none;
  z-index: 0;
}
.nsh-pattern-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--nsh-pattern-tile);
  background-repeat: repeat;                       /* tiled, never stretched */
  background-size: var(--nsh-pattern-w) auto;      /* width only -> aspect kept */
  background-position: var(--nsh-pattern-x) var(--nsh-pattern-y);
  transform: scaleX(-1);                           /* figma: rotate-180 + -scale-y-100 */
}
/* Fade: visually left -> right (green glow at the left edge, dissolving into the section colour) */
.nsh-pattern-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* figma 9870:37760 (gradient-to-l inside a mirrored frame => to right visually) */
  background: linear-gradient(to right,
    rgba(100, 192, 125, .2) 0%,
    rgba(26, 23, 51, .17) 55.288%,
    #1a1733 99.97%);
}

/* --- Hero variant (desktop 845x643, tile top offset -15px) ------------- */
.nsh-pattern-bg--hero { /* defaults above */ }

/* --- Contact variant: full-width, 2 columns of tiles, vertical dark overlay --- */
.nsh-pattern-bg--contact {
  --nsh-pattern-opacity: .7;
  --nsh-pattern-y: 0px;
  left: 50%;
  translate: -50% 0;                /* centred on the section */
  width: 1689px;                    /* figma 8606:16119 (1440 visible, centred overflow) */
  max-width: none;
  height: 100%;                     /* figma 8606:15208 is 973 high in a 1276 frame; client 2026-11-30: the pattern ended half way down the section,
                                       so it now covers the whole section (tiles repeat, never stretch; the dark overlay spans the same box) */
  min-height: 973px;
}
.nsh-pattern-bg--contact::before { transform: none; }   /* contact tiles are not mirrored in Figma */
.nsh-pattern-bg--contact::after {
  /* figma 8606:16119 'ovarlay': to-b rgba(8,7,43,.6) 0, .6 @46.845%, #1A1733 @100.98%, then flipped vertically */
  background: linear-gradient(to bottom, #1a1733 0%, rgba(8, 7, 43, .6) 53.155%, rgba(8, 7, 43, .6) 100%);
}

/* --- Mobile hero variant: tile scaled to 495px wide (aspect locked), 440px frame --- */
@media (max-width: 767px) {
  .nsh-pattern-bg--hero {
    --nsh-pattern-w: 495px;         /* figma 9958:21763  (610x529 tile box, 495 wide) */
    --nsh-pattern-x: -54px;         /* figma left:-54px */
    --nsh-pattern-y: 0px;
    width: 100%;
    height: 100%;
  }
  .nsh-pattern-bg--hero::after {
    /* figma 9958:22218 */
    background: linear-gradient(to right,
      rgba(100, 192, 125, .2) 0%,
      rgba(7, 6, 36, .17) 46.587%,
      #070624 99.97%);
  }
  .nsh-pattern-bg--contact { display: none; }   /* mobile contact (9871:40643) has no pattern */
}

/* ===== header ===== */
/* ==========================================================================
   nsh-header: logo + pill nav (desktop) / logo + hamburger (mobile)
   Figma desktop: 'Nav' 9870:37762 inside hero section 9870:37820
   Figma mobile : Nav 9878:46695 (440 wide); menu overlay -> see mobile-menu.css
   Layout note: Figma is a visual mirror of RTL. Logo sits at the right (inline-start),
   the blurred nav pill is glued to the left viewport edge (inline-end) and has its
   rounded corners on the inner (right / inline-start) side.
   ========================================================================== */
.nsh-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-inline-start: 100px;          /* figma pr-[100px] (visual right) */
}
.nsh-header__logo {
  display: block;
  width: 110px;                          /* figma 9870:37763 */
  height: 56px;
  position: relative;
}
.nsh-header__logo img {
  position: absolute;
  inset-inline-start: 0;                 /* logo hugs the visual right of the 110px box */
  top: 50%;
  translate: 0 -50%;
  width: 52.513px;                       /* figma 9870:37764 */
  height: 44px;
}
.nsh-header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 8px;
  padding-inline-start: 24px;            /* visual right */
  padding-inline-end: 100px;             /* visual left: bar bleeds off the left edge */
  background: rgba(77, 75, 75, .3);      /* figma 9870:37762 */
  -webkit-backdrop-filter: blur(7.5px);
  backdrop-filter: blur(7.5px);
  border-start-start-radius: 50px;       /* = rounded-tr/br 50px (visual right) */
  border-end-start-radius: 50px;
}
.nsh-header__links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nsh-header__link {
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: var(--nsh-r-pill, 55px);
  font-family: var(--nsh-font);
  font-weight: var(--nsh-fw-light, 300);
  font-size: var(--nsh-fs-base, 16px);
  line-height: 24px;
  color: var(--nsh-white, #fff);
  white-space: nowrap;
  transition: color .2s ease, opacity .2s ease;
}
/* States are not drawn in Figma (component set exposes only property1="off"); sensible defaults */
.nsh-header__link:hover,
.nsh-header__link:focus-visible { color: var(--nsh-green-soft, #64C07D); }
.nsh-header__link[aria-current="page"],
.nsh-header__link.is-active { color: var(--nsh-green, #41C465); }

/* green pill CTA "تواصل مع خبير": figma Cta 5885:2948 (pl24 pr32 visual, arrow on the left) */
.nsh-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  padding-inline-start: 32px;
  padding-inline-end: 24px;
  border-radius: 99px;
  background: var(--nsh-green, #41C465);
  color: var(--nsh-white, #fff);
  font-family: var(--nsh-font);
  font-weight: var(--nsh-fw-medium, 500);
  font-size: var(--nsh-fs-sm, 14px);
  line-height: 20px;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
/* Figma 5885:2948 -> 5974:1967 (Smart Animate .5s linear): ONLY the arrow slides out/in, the fill does not change.
   The svg viewport clips the path, so the path swipes left and re-enters from the right. */
@keyframes nsh-arrow-swipe {
  0%   { transform: translateX(0);     opacity: 1; }
  49%  { transform: translateX(-14px); opacity: 0; }
  50%  { transform: translateX(14px);  opacity: 0; }
  100% { transform: translateX(0);     opacity: 1; }
}
.nsh-header__cta:hover svg path, .nsh-header__cta:focus-visible svg path { animation: nsh-arrow-swipe .5s linear; }
@media (prefers-reduced-motion: reduce) { .nsh-header__cta:hover svg path { animation: none; } }
.nsh-header__cta:active { transform: translateY(1px); }
.nsh-header__cta svg { width: 24px; height: 24px; flex: none; }

/* hamburger (mobile only): figma 'menu-04' 24x24, white 2px stroke */
.nsh-header__burger { display: none; width: 24px; height: 24px; padding: 0; }
.nsh-header__burger img { width: 24px; height: 24px; }

/* intermediate widths: shrink side gutters */
@media (max-width: 1279px) {
  .nsh-header { padding-inline-start: 40px; }
  .nsh-header__nav { padding-inline-end: 40px; gap: 16px; }
  .nsh-header__links { gap: 8px; }
}
@media (max-width: 1023px) {
  .nsh-header__links { display: none; }
  .nsh-header__burger { display: block; }
}

/* mobile 440: figma 9878:46695: pt12 px16, row logo / menu, 1px white 50% rule underneath */
@media (max-width: 767px) {
  .nsh-header {
    flex-wrap: wrap;
    padding: 12px 16px 0;
    row-gap: 12px;
  }
  .nsh-header::after {                    /* Line 167: 408px wide, white @ 50% */
    content: "";
    order: 3;
    flex: 0 0 100%;
    height: 1px;
    background: rgba(255, 255, 255, .5);
  }
  .nsh-header__logo { width: 42.965px; height: 36px; }
  .nsh-header__logo img { width: 42.965px; height: 36px; }
  .nsh-header__nav { padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; gap: 0; }
  .nsh-header__cta { display: none; }
}

/* tablet / phone: the burger sits at the far end (physical left), never between the logo and the nav */
@media (max-width: 1023px) {
  .nsh-header__nav { order: 2; }
  .nsh-header__burger { order: 3; margin-inline-start: auto; margin-inline-end: 40px; }
}
@media (max-width: 767px) { .nsh-header__burger { margin-inline-end: 0; } }

/* Fixed header on every page (client 2026-12-01; the home page has its own --home modifier with the same behaviour).
   Out of the flow: heroes below reserve its space (see the :has() rules). .is-scrolled (nashe.js, scrollY > 8) adds the dark bar. */
.nsh-header--fixed {
  position: fixed; top: 0; inset-inline: 0; z-index: 60;
  padding-block: 16px;
  transition: background-color .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
}
.nsh-header--fixed.is-scrolled { background-color: rgba(26, 23, 51, .85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.admin-bar .nsh-header--fixed { top: var(--wp-admin--admin-bar--height, 0px); }
.nsh-page:not(.nsh-page--home) section[id] { scroll-margin-top: 88px; }
.nsh-hero:has(> .nsh-header--fixed) { padding-top: 172px; }       /* 16 + 56 header + 100 gap (figma hero) */
.nsh-hero { z-index: 20; }
@media (max-width: 767px) {
  .nsh-header--fixed { padding: 12px 16px 0; }
  .nsh-header--fixed.is-scrolled { padding-bottom: 12px; }
  .nsh-hero:has(> .nsh-header--fixed) { padding-top: 61px; }       /* 12 + 36 + 12 + 1px rule */
  .nsh-page:not(.nsh-page--home) section[id] { scroll-margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { .nsh-header--fixed { transition: none; } }

/* ===== hero ===== */
/* ==========================================================================
   nsh-hero: dark hero with pattern, eyebrow, H1 (green + white line), paragraph, CTA
   Figma desktop: 'hero section' 9870:37820 (1440x592): bg #1A1733, pt16 pb72, gap 100
   Figma mobile : hero 9878:46741 (440x494); pattern-only hero 9958:21760 (440x353)
   Text block is right-aligned (RTL start), px 100 desktop / 20 mobile.
   ========================================================================== */
.nsh-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 100px;
  padding-block: 16px 72px;
  background: var(--nsh-dark, #1A1733);
  color: var(--nsh-white, #fff);
  isolation: isolate;
}
.nsh-hero > .nsh-pattern-bg { z-index: -1; }

.nsh-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;               /* RTL: flex-start = right edge */
  gap: 24px;
  width: 100%;
  padding-inline: 100px;                 /* figma px-[100px] */
}
.nsh-hero__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
}
.nsh-hero__eyebrow {                      /* figma 9870:37790: Regular 16/24 pink, 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);
}
.nsh-hero__heading-wrap { display: flex; flex-direction: column; gap: 16px; }
.nsh-hero__title {                        /* figma 9870:37792: Medium 48 / 1.2, gap 8 */
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: var(--nsh-fw-medium, 500);
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: 0;
}
.nsh-hero__title-green { color: var(--nsh-green, #41C465); display: block; }
.nsh-hero__title-white { color: var(--nsh-white, #fff); display: block; }
.nsh-hero__desc {                         /* figma 9870:37796: Regular 18/32 slate-200, box 869 */
  width: 869px;
  max-width: 100%;
  font-weight: var(--nsh-fw-regular, 400);
  font-size: var(--nsh-fs-lg, 18px);
  line-height: 32px;
  color: var(--nsh-slate-200, #E2E8F0);
}

.nsh-hero__cta {                          /* figma 9878:46211: green pill, py12 pl24 pr32, Medium 18/20 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding-block: 12px;
  padding-inline-start: 32px;
  padding-inline-end: 24px;
  border-radius: 99px;
  background: var(--nsh-green, #41C465);
  color: var(--nsh-white, #fff);
  font-weight: var(--nsh-fw-medium, 500);
  font-size: var(--nsh-fs-lg, 18px);
  line-height: 20px;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.nsh-hero__cta:hover { background: #38b259; }    /* assumption: no hover in Figma */
.nsh-hero__cta:active { transform: translateY(1px); }
.nsh-hero__cta svg { width: 24px; height: 24px; flex: none; }

/* pattern-only hero (mobile 9958:21760, 440x353; desktop 9958:20758, 1440x536) */
.nsh-hero--pattern { padding: 0; min-height: 536px; }

@media (max-width: 1279px) {
  .nsh-hero__content { padding-inline: 40px; }
  .nsh-hero__title { font-size: clamp(36px, 4vw, 48px); }
}

/* mobile 440: header 12/16, then pt64 pb56 px20 gap24; H1 36; para Light 16/1.5; eyebrow 14/20 */
@media (max-width: 767px) {
  .nsh-hero { gap: 0; padding-block: 0; }
  .nsh-hero__content { padding: 64px 20px 56px; }
  .nsh-hero__eyebrow { font-size: 14px; line-height: 20px; }
  .nsh-hero__heading-wrap { width: 100%; }
  .nsh-hero__title { font-size: 36px; }
  .nsh-hero__desc { width: 100%; font-weight: var(--nsh-fw-light, 300); font-size: 16px; line-height: 1.5; }
  .nsh-hero { min-height: var(--nsh-hero-h-m, auto); }   /* ACF hero.height_mobile: fixed Figma height (462/494/534); min- so long copy never clips */
  .nsh-hero--pattern { min-height: 353px; }
}

/* ===== pain-cards ===== */
/* pain-cards - "قبل أن تبني..." - figma desktop 9834:39753 (heading 9834:39754, row 9834:39759, bridge text 9870:38350)
   mobile 9871:44760 */
.nsh-pain__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));  /* 4 cards = 295 each, 3 cards = 400 each @1240, gap 20 */
  gap: 20px;
}
/* .nsh-pain__card extends .nsh-sec-card; height follows content: 126 + 24 * descLines (174 = 2 lines, 150 = 1 line) */
.nsh-pain__bridge {                    /* "هنا يأتي دور نموذج العمل:" - figma 9870:38350, 1240 wide, 40 below the row */
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.nsh-pain__bridge-title { margin: 0; font-weight: 500; font-size: 18px; line-height: 28px; color: var(--nsh-ink, #090832); }
.nsh-pain__bridge-text  { margin: 0; font-weight: 400; font-size: 18px; line-height: 28px; color: var(--nsh-gray-500, #6A7282); }

@media (max-width: 767px) {
  .nsh-pain__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }   /* mobile: 2 x 194 wide cards, gap 12 */
  .nsh-pain__bridge-text { font-size: 16px; line-height: 24px; }
  /* 3-card variant (services 2-6, figma e.g. 9881:56188): single column, icon + title in a row, text at the start */
  .nsh-pain__grid[data-count="3"], .nsh-pain__grid[data-count="1"], .nsh-pain__grid[data-count="2"] { grid-template-columns: 1fr; gap: 12px; }
  .nsh-pain__grid:not([data-count="4"]) .nsh-pain__card { align-items: stretch; text-align: start; }
  .nsh-pain__grid:not([data-count="4"]) .nsh-sec-card__head { flex-direction: row; justify-content: flex-start; gap: 12px; }
}

/* ===== about-block ===== */
/* about-block - figma desktop 9834:39889 (text col 682 + image 400x288 9834:39894, gap 40); mobile 9871:44746 */
.nsh-about {
  display: flex;
  flex-direction: row-reverse;                         /* rtl: text first in DOM; row-reverse puts the image on the RIGHT (figma x=840) */
  justify-content: flex-end;                           /* pack to the right; 118px free on the left (figma text x=118) */
  align-items: center;                                 /* text block vertically centred vs the 288 image */
  gap: 40px;
}
.nsh-about__text { width: 682px; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.nsh-about__tag   { align-self: flex-start; }          /* right edge (rtl start) */
.nsh-about__title {
  margin: 8px 0 0;                                     /* tag -> H2 gap 8 */
  font-weight: 500;
  font-size: 30px;
  line-height: 44px;
  color: var(--nsh-ink, #090832);
  text-align: start;
}
.nsh-about__copy  { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }  /* H2 -> copy 16 */
.nsh-about__copy p, .nsh-about__copy li { margin: 0; font-weight: 400; font-size: 18px; line-height: 24px; color: var(--nsh-slate-500, #62748E); text-align: start; }
.nsh-about__bullets { margin: -16px 0 0; padding-inline-start: 24px; list-style: disc; color: var(--nsh-slate-500, #62748E); }   /* service-3: list hugs the paragraph above (figma), 16 before the next one */
.nsh-about__media {
  flex: none;
  width: 400px;
  height: 288px;
  margin: 0;
  border-radius: 8px;                                  /* figma radius/lg */
  overflow: hidden;
}
.nsh-about__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) and (min-width: 768px) { .nsh-about__text { width: auto; flex: 1; min-width: 0; } }

@media (max-width: 767px) {                            /* figma 9871:44746: tag, H2 (centred 28/44), image 215 high, paragraphs; gaps 8 / 16 */
  .nsh-about { flex-direction: column; align-items: stretch; gap: 8px; }
  .nsh-about__text { display: contents; }
  .nsh-about__tag { order: 1; align-self: flex-start; }
  .nsh-about__title { order: 2; margin: 0; font-size: 28px; text-align: center; }
  .nsh-m-v2 .nsh-about__title { font-size: 36px; }   /* mobile_style v2 (Figma pages 3-6) */
  .nsh-about__media { order: 3; width: 100%; height: 215px; margin-top: 8px; }   /* H2 -> image 16 */
  .nsh-about__copy { order: 4; margin-top: 8px; }                                 /* image -> copy 16 */
}

/* ===== audience-cards ===== */
/* audience-cards - figma desktop 9834:39817 (heading 9834:39818, row 9834:39822, cards 610x206); mobile 9871:44885 */
.nsh-audience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));   /* 2 cards = 610, 3 cards ~ 400, gap 20 */
  gap: 20px;
}
/* .nsh-audience__card extends .nsh-sec-card */
.nsh-audience__list { margin: 0; padding: 0; list-style: disc inside; }   /* services 5-6: secondary text is a bulleted list, centred like the card (figma) */
.nsh-audience__body { flex: 1; display: flex; flex-direction: column; gap: 8px; }   /* figma card gap 8 between lead and text */
.nsh-audience__text { margin-top: auto !important; }   /* cards in a row share the tallest height; secondary text sits at the bottom (figma pads short leads with an empty line) */
.nsh-audience__lead { margin: 0; font-weight: 400; font-size: 14px; line-height: 24px; color: rgba(9, 8, 50, .8); }  /* figma 9871:39658 */
.nsh-audience__text { margin: 0; font-weight: 400; font-size: 14px; line-height: 24px; color: rgba(9, 8, 50, .55); }                 /* figma 9871:39669 */

@media (max-width: 767px) {                            /* figma 9871:46000: icon + title row, text aligned to start (right) */
  .nsh-audience__grid { grid-template-columns: 1fr; gap: 12px; }
  .nsh-audience__card { gap: 16px; align-items: stretch; text-align: start; }
  .nsh-audience__card .nsh-sec-card__head { flex-direction: row; justify-content: flex-start; gap: 16px; }
  .nsh-audience__card .nsh-sec-card__title { font-size: 20px; line-height: 32px; }
  .nsh-audience__body { display: flex; flex-direction: column; gap: 8px; }
  .nsh-audience__lead, .nsh-audience__text { min-height: 0; font-size: 16px; }
  .nsh-m-v2 .nsh-audience__card .nsh-sec-card__title { font-size: 18px; line-height: 26px; }   /* mobile_style v2 */
  .nsh-m-v2 .nsh-audience__lead, .nsh-m-v2 .nsh-audience__text { font-size: 14px; }
  .nsh-m-v2 .nsh-audience .nsh-sec-head__sub { font-size: 18px; line-height: 28px; }
}

/* ===== steps ===== */
/* steps - figma desktop 9845:46019 (list 819 + heading 381, gap 40); mobile 9871:44804
   Two modes: .nsh-steps (static rows, services 1-3) and .nsh-acc (accordion, services 4-6, <details>) */
.nsh-steps {
  display: grid;
  grid-template-columns: 381px minmax(0, 819px);        /* rtl: heading right, list left */
  column-gap: 40px;
  align-items: start;
  justify-content: space-between;
}
.nsh-steps__head { position: sticky; top: var(--nsh-sticky-top, 0px); }   /* figma: sticky top 0 */
.nsh-steps__title { margin: 0; font-weight: 500; font-size: 32px; line-height: 48px; color: var(--nsh-ink, #090832); text-align: start; }

.nsh-steps__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.nsh-steps__item { display: flex; flex-direction: column; gap: 16px; }
.nsh-steps__name { margin: 0; display: flex; gap: 8px; font-weight: 500; font-size: 18px; line-height: 24px; color: var(--nsh-ink, #090832); }
.nsh-steps__num  { color: var(--nsh-green, #41C465); }
.nsh-steps__desc { margin: 0; font-weight: 400; font-size: 16px; line-height: 22px; color: rgba(9, 8, 50, .5); }
.nsh-steps__line { display: block; height: 1px; border: 0; margin: 8px 0 -1px; background: var(--nsh-slate-300, #CAD5E2); }   /* 0-height line, 24 above/below (item gap 16 + 8) */  /* 819 x 1 #CAD5E2 */

.nsh-steps__result {                                   /* figma 9871:39727 */
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(41, 204, 106, .08);
}
.nsh-steps__result-label { margin: 0; flex: none; font-weight: 500; font-size: 18px; line-height: 24px; color: var(--nsh-ink, #090832); }
.nsh-steps__result-item { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 8px; }
.nsh-steps__result-item img { width: 20px; height: 20px; flex: none; display: block; }
.nsh-steps__result-item p { margin: 0; font-weight: 400; font-size: 16px; line-height: 20px; color: var(--nsh-ink, #090832); }

/* Accordion variant (designs/desktop/service-4..6.png; nodes 9881:57568 / 9881:61206 / 9881:64847) */
.nsh-acc { display: flex; flex-direction: column; gap: 8px; }
.nsh-acc__row { position: relative; padding-bottom: 8px; }
.nsh-acc__row::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--nsh-slate-300, #CAD5E2); }   /* item, 8, line (0 high), 8, next item */
.nsh-acc__item { background: var(--nsh-slate-200, #E2E8F0); border-radius: 2px; }
.nsh-acc__summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 16px 12px;
  list-style: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: var(--nsh-ink, #090832);
}
.nsh-acc__summary::-webkit-details-marker { display: none; }
.nsh-acc__item[open] > .nsh-acc__summary { padding-block: 12px; line-height: 24px; }   /* open header: 60 high, p12 */
.nsh-acc__num { color: var(--nsh-green, #41C465); font-weight: 400; }
.nsh-acc__item[open] .nsh-acc__num { font-weight: 500; }
.nsh-acc__title { min-width: 0; }
.nsh-acc__chevron {
  width: 24px;
  height: 24px;
  flex: none;
  margin-inline-start: auto;                            /* chevron at the far left (rtl end) */
  background: center / 24px 24px no-repeat url("../img/shared/icons/chevron-down.svg");
  transition: transform .2s;
}
.nsh-acc__item[open] .nsh-acc__chevron { transform: rotate(180deg); }
.nsh-acc__panel { padding: 0 16px 20px; font-weight: 400; font-size: 16px; line-height: 24px; color: var(--nsh-gray-500, #6A7282); text-align: start; }
.nsh-acc__panel p { margin: 0; }
.nsh-acc__panel p, .nsh-acc__panel li { white-space: pre-wrap; }   /* figma text is pre-wrap: double spaces in copy change line breaks (s2 mobile +24) */
.nsh-acc__panel p + p { margin-top: 16px; }
.nsh-acc__panel p + ul { margin-top: 0; }   /* figma services 4-6: lead line then bullets, no gap */   /* figma service-2/3: 16 between paragraphs (measured: 2 gaps = +32) */
.nsh-acc__panel ul { margin: 0; padding-inline-start: 24px; list-style: disc; }

@media (max-width: 767px) {                             /* figma 9871:44804: heading centred 28/36, rows 400 wide */
  .nsh-steps { display: flex; flex-direction: column; gap: 32px; }
  .nsh-steps__head { position: static; }
  .nsh-steps__title { font-size: 28px; line-height: 36px; text-align: center; }
  .nsh-m-v2 .nsh-steps__title { font-size: 32px; line-height: 48px; }   /* mobile_style v2 (Figma pages 3-6) */
}

/* ===== deliverables ===== */
/* deliverables - figma desktop 9871:40312 (list 819 + heading 381, gap 40); mobile 9871:44831 */
.nsh-deliver {
  display: grid;
  grid-template-columns: 381px minmax(0, 819px);        /* rtl: heading right, list left */
  column-gap: 40px;
  justify-content: space-between;
  align-items: start;
}
.nsh-deliver__head { display: flex; flex-direction: column; gap: 20px; }
.nsh-deliver__title { margin: 0; font-weight: 500; font-size: 32px; line-height: 48px; color: var(--nsh-ink, #090832); }
.nsh-deliver__sub   { margin: 0; font-weight: 400; font-size: 20px; line-height: 24px; color: var(--nsh-gray-500, #6A7282); }  /* figma #6A7282 */
.nsh-deliver__list  { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.nsh-deliver__item  { display: flex; align-items: flex-start; gap: 16px; font-weight: 400; font-size: 20px; line-height: 24.65px; color: var(--nsh-ink, #090832); }
.nsh-deliver__check {                                   /* 26 circle #6CBA72, 13 icon */
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 13px;
  background: #6CBA72;                                  /* figma 9871:40351 */
}
.nsh-deliver__check img { width: 13px; height: 13px; display: block; }

@media (max-width: 767px) {                             /* figma 9871:44832: 16/24 text, 24 circle, heading centred */
  .nsh-deliver { display: flex; flex-direction: column; gap: 32px; }
  .nsh-deliver__head { align-self: stretch; align-items: center; text-align: center; gap: 8px; }
  .nsh-deliver__title { font-size: 28px; line-height: 36px; }
  .nsh-deliver__sub { font-size: 16px; }
  .nsh-deliver__item { font-size: 16px; line-height: 24px; align-items: center; }
  .nsh-deliver__check { width: 24px; height: 24px; }
  .nsh-deliver__list { align-self: stretch; min-height: 152px; }   /* figma 9871:44832 fixed h152 (4x24 + 3x16 = 144 + 8 slack) */
}

/* ===== why-cards ===== */
/* why-cards - "لماذا ناشئ" - figma desktop 9834:39858 (heading 9834:39859, tag 9834:39877, row 9834:39864), mobile 9871:44913 */
.nsh-why__tag { position: absolute; top: 0; inset-inline-start: 0; }   /* top-right of the section (x=1102, y=0) */
.nsh-why__box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));                 /* 3 x 412 + 2 x 1px dividers */
  border: 1px solid var(--nsh-slate-300, #CAD5E2);                  /* box outline (+ Line 153 at the bottom) */
  border-radius: 8px;
  overflow: hidden;
}
.nsh-why__card { padding: 20px; display: flex; flex-direction: column; gap: 8px; text-align: center; }  /* no bg, no radius */
.nsh-why__card + .nsh-why__card { border-inline-start: 1px solid var(--nsh-slate-300, #CAD5E2); }       /* Line 170/171 */
/* card height = 126 + 24 * descLines (174 / 150) or 78 + 40 = 118 when the description is omitted (services 5/6) */

@media (max-width: 767px) {                                        /* stacked, horizontal 1px lines */
  .nsh-why__tag { position: static; align-self: flex-start; margin-bottom: -16px; }   /* tag->title 16 (section gap 32) */
  .nsh-why__box { grid-template-columns: 1fr; }
  .nsh-why__card + .nsh-why__card { border-inline-start: 0; border-top: 1px solid var(--nsh-slate-300, #CAD5E2); }
  .nsh-why .nsh-sec-head__title { color: var(--nsh-green, #41C465); font-weight: 600; }   /* mobile only: green SemiBold 28/36 (9871:44916) */
  .nsh-why .nsh-sec-head__sub { font-size: 18px; line-height: 28px; }
}

/* Hover (figma prototype: component "رسالتنا:" 8900:13061, ON_HOVER -> 'V02 Hovering' 8903:40161, SMART_ANIMATE 0.3s).
   The only change between the two states is the fill #EDF2F7 -> #E7EDF5 (a touch lighter than the section background), so the card
   eases to that fill in 0.3s and its icon tile lifts a little. Client 2026-11-30 asked for this movement on every card of this kind. */
.nsh-why__card, .nsh-pain__card, .nsh-audience__card { transition: background-color .3s ease; }
.nsh-why__card:hover, .nsh-pain__card:hover, .nsh-audience__card:hover { background-color: #E7EDF5; }
.nsh-why__card .nsh-icon-tile, .nsh-pain__card .nsh-icon-tile, .nsh-audience__card .nsh-icon-tile { transition: transform .3s ease; }
.nsh-why__card:hover .nsh-icon-tile, .nsh-pain__card:hover .nsh-icon-tile, .nsh-audience__card:hover .nsh-icon-tile { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .nsh-why__card, .nsh-pain__card, .nsh-audience__card, .nsh-why__card .nsh-icon-tile, .nsh-pain__card .nsh-icon-tile, .nsh-audience__card .nsh-icon-tile { transition: none; }
  .nsh-why__card:hover .nsh-icon-tile, .nsh-pain__card:hover .nsh-icon-tile, .nsh-audience__card:hover .nsh-icon-tile { transform: none; }
}

/* ===== cta-band ===== */
/* cta-band - figma desktop 9834:39901 (392 high; 344 when the H2 is 1 line), mobile 9871:45490 (440x562) */
.nsh-cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 56px 32px 64px;
  background: var(--nsh-dark, #1A1733);
  color: #fff;
  text-align: center;
}
.nsh-cta-band > .nsh-pattern-bg { --nsh-pattern-opacity: .18; position: absolute; inset: 0; z-index: 0; pointer-events: none;   /* pattern = shared nsh-pattern-bg (opacity .18) */
  /* client 2026-11-30: the pattern stopped half way across the band. The shared class has width 845 (hero), which beat inset:0.
     Figma 9834:39912 = 1440x666 pattern over the whole band, no fade overlay. */
  width: 100%; height: 100%; max-width: none; }
.nsh-cta-band > .nsh-pattern-bg::after { display: none; }
.nsh-cta-band__content, .nsh-cta-band__actions { position: relative; z-index: 1; }
.nsh-cta-band__content { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 754px; }
.nsh-cta-band__icon-title { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.nsh-cta-band__icon { width: 32px; height: 32px; display: block; }
.nsh-cta-band__title { margin: 0; font-weight: 400; font-size: 32px; line-height: 48px; color: #fff; }   /* 2 lines -> 392 band, 1 line -> 344 */
.nsh-cta-band__text { margin: 0; font-weight: 400; font-size: 20px; line-height: 32px; color: var(--nsh-slate-200, #E2E8F0); }
.nsh-cta-band__actions { display: flex; align-items: flex-start; justify-content: center; gap: 10px; }   /* buttons 237/238 x 48 */

@media (max-width: 767px) {
  .nsh-cta-band__br { display: none; }                  /* mobile title wraps naturally (3 lines)  */                              /* buttons stacked full width (gap 10), primary first */
  .nsh-cta-band__content { width: 100%; max-width: none; }
  .nsh-cta-band__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .nsh-cta-band__actions .nsh-btn { width: 100%; justify-content: center; }
}

/* ===== service-card ===== */
/* service-card — archive card. figma instance 9894:47519 (400x260; siblings 9894:47520, 9957:20238, 9894:47461/47462/47463).
   bg #EDF2F7, radius 16, padding 20 (inner 360x220), shadow 0 2px 5px rgba(0,0,0,.02) (drop-shadow in Figma), column gap 24:
   head 360x52 (gap 12: icon tile 52 at start, text column gap 6: eyebrow 12/18 pink, title 18/26 Medium ink) ->
   description 14/24 ink 55% (3-line box = 72px; the Figma text has a trailing empty paragraph) -> outline CTA 360x48 (btn.css).
   Whole card is one link (stretched link on the CTA). */
.nsh-service-card {
  position: relative; box-sizing: border-box; display: flex; flex-direction: column; gap: 24px; padding: 20px;
  background: var(--nsh-card); border-radius: var(--nsh-r-card); box-shadow: var(--nsh-shadow-card); min-width: 0;
}
.nsh-service-card__head { display: flex; align-items: center; gap: 12px; }
.nsh-service-card__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nsh-service-card__eyebrow { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 12px; line-height: 18px; color: var(--nsh-pink); }
.nsh-service-card__title { margin: 0; font-weight: var(--nsh-fw-medium); font-size: 18px; line-height: 26px; color: var(--nsh-ink); }
.nsh-service-card__desc { margin: 0; min-height: 72px; font-weight: var(--nsh-fw-regular); font-size: var(--nsh-fs-sm); line-height: var(--nsh-lh-sm); color: var(--nsh-ink-55); text-align: right; }
.nsh-service-card__cta::after { content: ""; position: absolute; inset: 0; border-radius: var(--nsh-r-card); }   /* stretched link */
.nsh-service-card:hover .nsh-btn--outline, .nsh-service-card:focus-within .nsh-btn--outline { --nsh-arrow-img: var(--nsh-icon-arrow-white); background: var(--nsh-green); color: var(--nsh-white); }  /* inferred */
.nsh-service-card:hover .nsh-btn__arrow::before { background-position: -29.75px 0.25px; }

/* Grid: 1240 = 3 x 400 + 2 x 20 column gap; rows 260 + 24 + 260 = 544 */
.nsh-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; row-gap: 24px; width: 100%; }
@media (max-width: 1023px) { .nsh-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .nsh-service-grid { grid-template-columns: 1fr; } }   /* ASSUMPTION: no mobile archive frame in Figma */

/* ===== archive-intro ===== */
/* archive-intro + page frame. figma 'service list' 9892:28288 (1440x2822): hero 10153:42177 (y0..536) | body 9892:28291 (y536, 1440x958:
   padding 72/100, container 1240x814, gap 48: intro 965x78 -> grid 1240x544 -> closing line 1240x96) | contact 9892:28388 (y1494, other agent).
   Body background = page slate-200 (#E2E8F0). */
.nsh-archive { background: var(--nsh-slate-200); padding: 72px var(--nsh-gutter); }
.nsh-archive__inner { max-width: var(--nsh-container); margin-inline: auto; display: flex; flex-direction: column; gap: 48px; }
.nsh-archive-intro { width: 100%; }   /* uses .nsh-section-heading + .nsh-h2--tight (42) + .nsh-lead (28) */
@media (max-width: 767px) { .nsh-archive { padding: 48px var(--nsh-gutter-m); } .nsh-archive__inner { gap: 32px; } }   /* ASSUMPTION */

/* Hero TEXT only (nav + pattern: other agent). 1440x536, bg #1A1733, padding-inline 100, text column at the start (right), gaps 24/16:
   eyebrow 16/24 pink -> H1 48/1.2 (green line + white line, gap 8) -> paragraph 18/32 slate-200 (869 wide) -> text-link CTA 18 green + chevron-down 24.
   Vertical offset not documented in Figma output: content sits ~72px above the bottom (measured from the PNG). */
.nsh-archive-hero { box-sizing: border-box; min-height: 536px; background: var(--nsh-dark); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 24px; padding: 0 var(--nsh-gutter) 72px; color: var(--nsh-white); }
.nsh-archive-hero__stack { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.nsh-archive-hero__h1 { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.nsh-archive-hero__lead { margin: 0; max-width: 869px; }
.nsh-archive-hero__link { color: var(--nsh-green); font-size: 18px; line-height: 24px; display: inline-flex; align-items: center; }

/* ===== archive-footer-line ===== */
/* archive-footer-line — closing statement. figma 9894:49197 (1240x96): column 633 wide centred, gap 24;
   line 1 30/36 Medium ink centred; line 2 = row gap 12: 32px green circle arrow (btn--circle) + text 30/36 Medium #41C465. */
.nsh-archive-footer-line { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; max-width: 633px; margin-inline: auto; text-align: center; }
.nsh-archive-footer-line__text { margin: 0; width: 100%; font-weight: var(--nsh-fw-medium); font-size: 30px; line-height: 36px; color: var(--nsh-ink); }
.nsh-archive-footer-line__cta { display: flex; align-items: center; gap: 12px; color: var(--nsh-green); font-weight: var(--nsh-fw-medium); font-size: 30px; line-height: 36px; white-space: nowrap; text-decoration: none; }
@media (max-width: 767px) { .nsh-archive-footer-line__text, .nsh-archive-footer-line__cta { font-size: 24px; line-height: 32px; white-space: normal; } }   /* ASSUMPTION */

/* ===== faq ===== */
/* faq — accordion. figma desktop 9834:40367 (1440x410: bg slate-200, padding 48/100, heading row 54 + gap 40 + list 819 wide), mobile 9871:45430 (440x372, padding 32/20, gap 16).
   Services 4-6 FAQ (9881:58098, 1440x486) = a 4th question row (+76), NOT an expanded row. No expanded state exists in Figma: [open]/.is-open styling is inferred.
   Row (FAG 9834:40370): 60px = 16 + 28 + 16, padding 16/12, radius 2, bg slate-200; chevron 24 on physical LEFT; question 18/28 Regular (mobile 16/24 Medium).
   Divider: 1px #CAD5E2, a zero-height line drawn in the 8px gap under each row: row, 7px, 1px line, 8px. */
.nsh-faq { background: var(--nsh-slate-200); padding: 48px var(--nsh-gutter); }
.nsh-faq__inner { max-width: var(--nsh-container); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.nsh-faq__head { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; min-height: 54px; }
.nsh-faq__head .nsh-tag { position: absolute; inset-inline-start: 0; top: 12px; }   /* figma left 1149 = container right edge (RTL start), top 12 */
.nsh-faq__title { margin: 0; text-align: center; }
.nsh-faq__list { width: 100%; max-width: 819px; margin: 0; padding: 0; list-style: none; }
.nsh-faq__item { border-bottom: 1px solid var(--nsh-slate-300); padding-bottom: 7px; margin-bottom: 8px; }
.nsh-faq__item:last-child { margin-bottom: 0; }
.nsh-faq__q {
  display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; /* row-reverse: chevron (2nd in DOM) lands on the physical left in RTL */
  padding: 16px 12px; border-radius: var(--nsh-r-xs); background: var(--nsh-slate-200); cursor: pointer; list-style: none;
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-regular); font-size: 18px; line-height: 28px; color: var(--nsh-ink); text-align: right;
}
.nsh-faq__q::-webkit-details-marker { display: none; }
.nsh-faq__q::marker { content: ""; }
.nsh-faq__q-text { flex: 1 1 0; min-width: 0; text-align: right; }
.nsh-faq__chevron {
  flex: none; width: 24px; height: 24px; transition: transform .25s ease;
  background: url("../img/shared/icons/chevron-down.svg") center / 24px 24px no-repeat;   /* stroke #090832 */
}
.nsh-faq__q:focus-visible { outline: 2px solid var(--nsh-green); outline-offset: -2px; }
/* Open state (inferred) */
.nsh-faq__item[open] > .nsh-faq__q .nsh-faq__chevron, .nsh-faq__item.is-open > .nsh-faq__q .nsh-faq__chevron { transform: rotate(180deg); }
.nsh-faq__a { padding: 0 12px 16px; font-family: var(--nsh-font); font-weight: var(--nsh-fw-regular); font-size: var(--nsh-fs-base); line-height: 24px; color: var(--nsh-ink-55); text-align: right; }
@media (prefers-reduced-motion: reduce) { .nsh-faq__chevron { transition: none; } }

@media (max-width: 767px) {
  .nsh-faq { padding: 32px var(--nsh-gutter-m); }
  .nsh-faq__inner { gap: 16px; align-items: stretch; }
  .nsh-faq__head { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 20px; min-height: 0; } /* pill above title, at the start (right) */
  .nsh-faq__head .nsh-tag { position: static; }
  .nsh-faq__title { text-align: center; width: 100%; }
  .nsh-faq__q { font-weight: var(--nsh-fw-medium); font-size: 16px; line-height: 24px; align-items: flex-start; gap: 8px; }
  .nsh-m-v3 .nsh-faq__q { font-weight: var(--nsh-fw-regular); font-size: 18px; line-height: 28px; }   /* mobile_style v3 (Figma pages 5-6): rows 60 */
}

/* ===== circular-badge ===== */
/* ==========================================================================
   nsh-badge: circular "GET IN TOUCH" badge
   Figma desktop: 8606:16124 (280x280); mobile: 9871:40648 (133.85x133.85)
   DEV NOTE (designs/misc/dev-note-1-footer-badge.png): the inner green circle with
   the logo is STATIC; only the outer circular text ring rotates.
   Layers (separate SVG files):
     ring  = assets/shared/badge-ring-text.svg  (270.02x269.2, white text + pink dots)  -> rotates
     inner = assets/shared/badge-inner.svg      (159.5 green circle + logo)            -> static
   Sizing is proportional to the box, so the same art scales to mobile.
   ========================================================================== */
.nsh-badge {
  --nsh-badge-size: 280px;
  --nsh-badge-speed: 20s;
  position: relative;
  flex: none;
  width: var(--nsh-badge-size);
  height: var(--nsh-badge-size);
  overflow: hidden;
  border-radius: 50%;
}
.nsh-badge__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 96.43%;                 /* 270.024 / 280 */
  height: 96.14%;                /* 269.196 / 280 */
  animation: nsh-badge-spin var(--nsh-badge-speed) linear infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}
.nsh-badge__inner {
  position: absolute;
  inset-block-start: 21.43%;     /* figma inset 21.43% 21.6% 21.62% 21.43% */
  inset-inline-start: 21.43%;
  width: 56.97%;                 /* 159.5 / 280 */
  height: 56.95%;
}
@keyframes nsh-badge-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.nsh-badge:hover .nsh-badge__ring { animation-play-state: paused; }  /* optional nicety */

@media (max-width: 767px) {
  .nsh-badge { --nsh-badge-size: 133.85px; }   /* figma 9871:40648 */
}
@media (prefers-reduced-motion: reduce) {
  .nsh-badge__ring { animation: none; }
}

/* ===== contact-footer ===== */
/* ==========================================================================
   nsh-contact: dark contact section (headline + word rotator + badge + form) and footer row
   Figma desktop: 'contact' 8606:16260 inside instance 9834:40385 (1440x1276), bg #1A1733
   Figma mobile : Contact 9871:40643 (440x1117)
   Pattern: use .nsh-pattern-bg--contact as first child (see pattern-bg.css).
   Layout note: Figma is a visual mirror of RTL: headline block at the right (inline-start),
   badge to its left, 314px apart; form + footer full 1240 width.
   ========================================================================== */
.nsh-contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 88px;
  min-height: 1276px;
  padding: 88px 100px 30px;               /* figma left 100 / top 88; footer row 8606:16165 ends at 1246 inside the 1276 frame */
  background: var(--nsh-dark, #1A1733);
  color: var(--nsh-white, #fff);
}
.nsh-contact > .nsh-pattern-bg { z-index: -2; }

/* green radial glow behind the badge: figma Ellipse 621 9398:30325 (387px circle, #64C07D @30%, blur 175) */
.nsh-contact__glow {
  position: absolute;
  z-index: -1;
  left: calc(20.83% + 63.5px);            /* figma left:calc(20.83%+63.5px) = centre */
  top: calc(50% - 336.5px);
  width: 387px;
  height: 387px;
  translate: -50% -50%;
  border-radius: 50%;
  background: rgba(100, 192, 125, .3);
  filter: blur(175px);
  pointer-events: none;
}

/* ---- top row: headline block + badge ---------------------------------- */
.nsh-contact__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;            /* RTL: pushes to the right edge */
  gap: 314px;                             /* figma 8606:16123 */
  width: 100%;
}
.nsh-contact__head { display: flex; flex: none; width: min(521px, 100%); flex-direction: column; align-items: flex-start; gap: 16px; }  /* fixed 521 (figma 8606:16139) so the badge sits 314px to its left */

/* eyebrow pill with pink dot: figma 8606:16143 (pt8 pb4 pl32 pr8 -> RTL: dot at the start/right) */
.nsh-contact__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0 4px;
  padding-inline-start: 8px;
  padding-inline-end: 32px;
  border-radius: var(--nsh-r-pill, 55px);
  font-weight: var(--nsh-fw-light, 300);
  font-size: 16px;
  line-height: 20px;
  color: var(--nsh-white, #fff);
}
.nsh-contact__eyebrow::before {                    /* Ellipse 616: 10x10 pink #E9426A inside a 10x14 frame */
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-block: 2px 2px;
  border-radius: 50%;
  background: var(--nsh-pink, #E9426A);
}

.nsh-contact__title {                      /* 96 / 120 Medium: figma 8606:16141 */
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: var(--nsh-fw-medium, 500);
  font-size: var(--nsh-fs-8xl, 96px);
  line-height: var(--nsh-lh-8xl, 120px);
  letter-spacing: 0;
  color: var(--nsh-white, #fff);
  width: 100%;                              /* = head width 521 (figma 8606:16141) -> wraps like the design */
}
.nsh-contact__lead { display: block; }                      /* wraps inside the 521px text box (figma 8606:16141) */

/* ---- word rotator: window 520x120 clips a vertical stack (figma 6027:16581 / 6027:16576) ----
   items: 120px lines, gap 88 => pitch 208px; 3 words x2 (duplicate set gives a seamless loop).
   Animation walks the stack up by one pitch per word and snaps back after 3 words. */
.nsh-rotator {
  --nsh-rotator-h: 120px;
  --nsh-rotator-gap: 88px;
  --nsh-rotator-pitch: calc(var(--nsh-rotator-h) + var(--nsh-rotator-gap));
  --nsh-rotator-duration: 9s;               /* 3s per word */
  display: block;
  position: relative;
  width: 520px;
  height: calc(var(--nsh-rotator-h) + 32px);   /* client 2026-11-30: "استثنائية" was clipped (hamza/dots above, tail below the 120px line box):
                                                  16px of headroom on both sides, compensated by the negative margin so the layout does not move */
  margin-block: -16px;
  overflow: hidden;
  color: var(--nsh-green-soft, #64C07D);
}
.nsh-rotator__stack {
  display: flex;
  flex-direction: column;
  gap: var(--nsh-rotator-gap);
  margin-top: 20px;                          /* figma top:4px + 16px headroom (see .nsh-rotator) */
  width: 518px;
  list-style: none;
  animation: nsh-rotator var(--nsh-rotator-duration) cubic-bezier(.65, 0, .35, 1) infinite;
  will-change: transform;
}
.nsh-rotator__item { display: block; height: var(--nsh-rotator-h); white-space: nowrap; }
@keyframes nsh-rotator {
  0%, 27%   { transform: translateY(0); }
  33%, 60%  { transform: translateY(calc(var(--nsh-rotator-pitch) * -1)); }
  66%, 93%  { transform: translateY(calc(var(--nsh-rotator-pitch) * -2)); }
  100%      { transform: translateY(calc(var(--nsh-rotator-pitch) * -3)); }
}

/* ---- form block ---------------------------------------------------------- */
.nsh-contact__form-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
.nsh-contact__form-title {                  /* figma 9598:31994 : Regular 24/32 */
  font-weight: var(--nsh-fw-regular, 400);
  font-size: var(--nsh-fs-2xl, 24px);
  line-height: 32px;
}
.nsh-form { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.nsh-form__row { display: flex; flex-direction: row-reverse; align-items: center; gap: 17px; width: 100%; }  /* DOM = name,email,phone (mobile order); desktop figma shows phone at the right */

.nsh-field {
  display: flex;
  flex: 1 0 0;
  min-width: 0;
  box-sizing: border-box;
  padding: 13px 20px;                       /* figma 9598:31997 py14 with an inside stroke -> 13 + 1px border = 52 total */
  background: rgba(26, 23, 51, .7);         /* = --nsh-input-bg */
  border: 1px solid var(--nsh-white, #fff);
  border-radius: var(--nsh-r-input, 4px);
}
.nsh-field input,
.nsh-field textarea {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--nsh-white, #fff);
  font-family: var(--nsh-font);
  font-weight: var(--nsh-fw-light, 300);
  font-size: var(--nsh-fs-sm, 14px);
  line-height: 24px;
  text-align: start;
}
.nsh-field input::placeholder { color: var(--nsh-white, #fff); opacity: 1; }
.nsh-field input[type="tel"] { text-align: right; }   /* Chrome forces ltr on tel inputs; Figma has the placeholder on the right */
.nsh-field:focus-within { border-color: var(--nsh-green, #41C465); }   /* assumption: no focus state in Figma */

.nsh-field--area {                          /* figma 9598:32003 : 286 high, px20 py24 */
  flex: none;                               /* base .nsh-field is flex:1 0 0 -> would ignore height in the column form */
  flex-direction: column;
  gap: 8px;
  height: 286px;
  padding: 24px 20px;
}
.nsh-field--area .nsh-field__label {
  font-weight: var(--nsh-fw-light, 300);
  font-size: 16px;
  line-height: 24px;
  color: var(--nsh-white, #fff);
}
.nsh-field--area textarea {
  flex: 1;
  resize: none;
  font-size: 16px;
}
.nsh-field--area textarea::placeholder { color: rgba(255, 255, 255, .6); opacity: 1; }

.nsh-form__actions { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nsh-btn-outline {                          /* figma CTA 9598:32008 / 9598:32009: 64 high, 4 radius, 1px white */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 64px;
  padding: 8px 32px;
  background: rgba(26, 23, 51, .7);
  border: 1px solid var(--nsh-white, #fff);
  border-radius: var(--nsh-r-input, 4px);
  color: var(--nsh-white, #fff);
  font-family: var(--nsh-font);
  font-weight: var(--nsh-fw-medium, 500);
  font-size: var(--nsh-fs-base, 16px);
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.nsh-btn-outline svg { width: 24px; height: 24px; flex: none; }
/* hover: ONLY the send button has one in Figma (9598:32008 -> 5891:1272, Smart Animate .3s ease-out): fill #41C465, stroke #CFCECE, text white,
   arrow slides out/in. The upload button (9598:32009) has no hover state in Figma (the old .12 white fill was an invention). */
.nsh-btn-outline--send { transition: background-color .3s ease-out, border-color .3s ease-out, color .3s ease-out; }
.nsh-btn-outline--send:hover, .nsh-btn-outline--send:focus-visible { background: var(--nsh-green, #41C465); border-color: #CFCECE; color: var(--nsh-white, #fff); }
@keyframes nsh-arrow-swipe {
  0%   { transform: translateX(0);     opacity: 1; }
  49%  { transform: translateX(-14px); opacity: 0; }
  50%  { transform: translateX(14px);  opacity: 0; }
  100% { transform: translateX(0);     opacity: 1; }
}
.nsh-btn-outline--send:hover svg path, .nsh-btn-outline--send:focus-visible svg path { animation: nsh-arrow-swipe .5s linear; }
@media (prefers-reduced-motion: reduce) { .nsh-btn-outline--send:hover svg path { animation: none; } }
.nsh-btn-outline--send   { width: 211px; padding-inline-start: 40px; padding-inline-end: 32px; }   /* text right, arrow left */
.nsh-btn-outline--upload { width: 346px; padding-inline-start: 24px; padding-inline-end: 32px; }   /* paperclip right, text left */

/* ---- footer row ---------------------------------------------------------- */
.nsh-footer { display: flex; flex-direction: column; gap: 31px; width: 100%; margin-top: auto; }   /* Line 157 at 1186 (0 high in figma, 1px here) + 31 = row at 1218 */
.nsh-footer__rule { height: 1px; border: 0; margin: 0; background: rgba(255, 255, 255, .22); }   /* Line 157 */
.nsh-footer__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 28px;
  font-weight: var(--nsh-fw-light, 300);
  font-size: var(--nsh-fs-sm, 14px);
  line-height: 28px;
  color: var(--nsh-white, #fff);
  white-space: nowrap;
}
/* figma 8606:16170: privacy (visual right) + copyright (visual left of it) in a 748px group */
.nsh-footer__legal { display: flex; align-items: center; justify-content: space-between; width: 748px; max-width: 100%; }
.nsh-footer__social { display: flex; align-items: center; gap: 32px; list-style: none; }
.nsh-footer a:hover { color: var(--nsh-green-soft, #64C07D); }

/* ---- intermediate: fluid scale between 768 and 1440 ------------------------ */
@media (max-width: 1279px) {
  .nsh-contact { padding: 64px 40px; gap: 64px; min-height: 0; }
  .nsh-contact__top { gap: 64px; flex-wrap: wrap; }
  .nsh-contact__title { font-size: clamp(48px, 6.67vw, 96px); line-height: 1.25; }
  .nsh-rotator { width: 100%; max-width: 520px; height: calc(1.25em + 32px); font-size: clamp(48px, 6.67vw, 96px); --nsh-rotator-h: 1.25em; }
  .nsh-footer__row { flex-wrap: wrap; row-gap: 12px; }
  .nsh-contact__glow { display: none; }
  .nsh-form__row { flex-wrap: wrap; }
  .nsh-form__row .nsh-field { flex-basis: 200px; }
}

/* ---- mobile 440 (figma 9871:40643) ------------------------------------------ */
@media (max-width: 767px) {
  .nsh-contact { display: block; padding: 40px 20px 40px; min-height: 1117px; }
  .nsh-contact__glow {                       /* 185px circle, blur 83.66, centre x=30%-20.5 y=50%-284 */
    display: block;
    left: calc(30% - 20.5px);
    top: calc(50% - 284px);
    width: 185px;
    height: 185px;
    filter: blur(83.6563px);
  }
  .nsh-contact__top { display: block; position: relative; height: 327px; }   /* form starts at y=367 => 327 + 40 */
  .nsh-contact__head { align-items: flex-start; width: 288px; margin-inline-start: 0; gap: 16px; }
  .nsh-contact__title { display: block; font-size: 48px; line-height: 70px; width: 288px; }
  .nsh-contact__lead { display: inline; white-space: normal; }
  /* mobile shows a single static green word (no rotator in the mobile design) */
  .nsh-rotator { display: inline; position: static; width: auto; height: auto; font-size: inherit; overflow: visible; color: var(--nsh-green-soft, #64C07D); }
  .nsh-rotator__stack { display: inline; margin: 0; width: auto; animation: none; }
  .nsh-rotator__item { display: none; height: auto; }
  .nsh-rotator__item:first-child { display: inline; }
  .nsh-badge-wrap { position: absolute; top: 167.8px; left: 24.8px; }   /* page x=44.8 y=207.8, centre (111.7, 274.7), box 133.85 */
  .nsh-contact__form-block { gap: 16px; margin-top: 0; }   /* figma form title y=367 = 40 + 327 */
  .nsh-contact__form-title { font-size: var(--nsh-fs-xl, 20px); }
  .nsh-form__row { flex-direction: column; align-items: stretch; gap: 17px; flex-wrap: nowrap; }
  .nsh-form__row .nsh-field { flex: none; }
  .nsh-field { background: rgba(8, 7, 43, .7); }              /* mobile input fill 9871:40672 */
  .nsh-field--area { height: 180px; padding: 16px 20px; background: rgba(8, 7, 43, .5); }
  .nsh-field--area .nsh-field__label,
  .nsh-field--area textarea { font-size: 14px; }
  .nsh-form__actions { gap: 12px; }
  .nsh-btn-outline { flex: 1 0 0; width: auto; background: rgba(8, 7, 43, .7); }
  .nsh-btn-outline--send { border-color: var(--nsh-green, #41C465); color: var(--nsh-green, #41C465); padding-inline-start: 40px; padding-inline-end: 32px; }
  .nsh-btn-outline--upload { font-size: 14px; }
  .nsh-footer { gap: 16px; margin-top: 48px; }
  .nsh-footer__row { flex-direction: column; align-items: flex-start; gap: 16px; min-height: 0; font-size: 18px; }
  .nsh-footer__legal { display: contents; }
  .nsh-footer__privacy { order: 1; }
  .nsh-footer__social { order: 2; flex-direction: row-reverse; }   /* mobile visual order L->R: X, Instagram, LinkedIn */
  .nsh-footer__copy { order: 3; font-size: 16px; }
}

/* ===== whatsapp-fab ===== */
/* ==========================================================================
   nsh-fab: floating WhatsApp button — every page (services, archive, home).
   Figma: home page 9941:28152 (frame 95x95 glued to the bottom-right corner) → "Whatsapp Button" 9941:28153:
   48px circle #00E510, white glyph, shadow 0 0 14px rgba(0,0,0,.24), circle 23px from the right and bottom edges.
   Art = img/home/contact/whatsapp-button.svg (76x76 incl. the 14px shadow bleed).
   Physical RIGHT = inline-start in RTL. Mobile: not drawn in Figma → same art with 16px offsets (assumption).
   WP option: nsh_whatsapp_url (default https://wa.me/966501221161). On the live site Joinchat is hidden on our pages.
   ========================================================================== */
.nsh-fab {
  position: fixed;
  inset-block-end: 23px;
  inset-inline-start: 23px;
  z-index: 50;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: transform .2s ease;             /* hover: assumption, no state in Figma */
}
.nsh-fab__art {
  position: absolute;
  inset: -14px;                               /* 76 = 48 + 2*14 shadow bleed */
  width: 76px;
  height: 76px;
  max-width: none;
  pointer-events: none;
}
.nsh-fab:hover { transform: translateY(-2px); }
.nsh-fab:focus-visible { outline: 2px solid var(--nsh-white, #fff); outline-offset: 3px; }
@media (max-width: 767px) {
  .nsh-fab { inset-block-end: 16px; inset-inline-start: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .nsh-fab, .nsh-fab:hover { transition: none; transform: none; }
}

/* ===== mobile-menu ===== */
/* ==========================================================================
   nsh-menu: full-screen mobile navigation overlay
   Figma: Menu 10155:42707 (375x812, status bar 44px excluded: it is OS chrome)
   bg slate-200 #E2E8F0; text ink #090832.
   Toggle: add .is-open (or [hidden] removal) via a few lines of JS; see partial.
   ========================================================================== */
.nsh-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  background: var(--nsh-slate-200, #E2E8F0);
  color: var(--nsh-ink, #090832);
  overflow-y: auto;
}
.nsh-menu.is-open { display: flex; }

/* Nav 10155:42709: pt12 (44px below status bar in the mock), 343 wide in a 375 frame -> 16px sides */
.nsh-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 16px 0;
}
.nsh-menu__bar { display: flex; align-items: center; justify-content: space-between; }
.nsh-menu__logo { display: block; width: 42.965px; height: 36px; }
.nsh-menu__logo img { width: 100%; height: 100%; }
.nsh-menu__close { display: block; width: 24px; height: 24px; padding: 0; }
.nsh-menu__close img { width: 24px; height: 24px; }
.nsh-menu__rule { height: 1px; background: var(--nsh-slate-300, #CAD5E2); border: 0; margin: 0; }   /* Line 167 */

/* Links 10155:42736: top 136 (=44+12+36+12+1+... ), 327 wide -> 24px sides, gap 16, row py8 */
.nsh-menu__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 31px;                 /* 136 - (44 + 12 + 36 + 12 + 1) = 31 */
  padding-inline: 24px;
  list-style: none;
}
.nsh-menu__item + .nsh-menu__item { border-top: 1px solid var(--nsh-slate-300, #CAD5E2); padding-top: 16px; }  /* Line 162 + gap 16 */
.nsh-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 8px;
  font-weight: var(--nsh-fw-regular, 400);
  font-size: var(--nsh-fs-lg, 18px);
  line-height: 24px;
  color: var(--nsh-ink, #090832);
}
.nsh-menu__link img { width: 24px; height: 24px; flex: none; }   /* arrow-up-left 1.5px stroke */
.nsh-menu__link:hover,
.nsh-menu__link:focus-visible { color: var(--nsh-green, #41C465); }

/* Social row 10155:42756: top 764 => 24px above the bottom of the 812 frame, gap 32, Regular 16/24 */
.nsh-menu__social {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: auto;
  padding: 24px;
  list-style: none;
  font-weight: var(--nsh-fw-regular, 400);
  font-size: 16px;
  line-height: 24px;
}
.nsh-menu__social a:hover { color: var(--nsh-green, #41C465); }

/* only exists on mobile / tablet */
@media (min-width: 1024px) { .nsh-menu { display: none !important; } }

/* ===== case-study ===== */
/* ==========================================================================
   case-study — "دراسات الحالة": list page + single case study.
   Figma page "Case Studies" 10259:3198.
     list    desktop 10445:60318 (1440x2682)   mobile 10445:60244 (440x2998)
     detail  Fattin 10445:59890 / mobile 10445:60337      7ezma 10445:60066 / mobile 10445:60508
     card    component set 10266:53945 (web 610x402 / Mob 400x426, hover = image crop + pink link)
   Numbers below are Figma numbers (see code/docs/case-studies.md). Mobile = max-width 767px (Figma 440 frames).
   Requires: tokens.css, btn.css, eyebrow-tag.css, pattern-bg.css, header.css, mobile-menu.css, contact-footer.css.
   ========================================================================== */
.nsh-case-hero, .nsh-case-list, .nsh-case-main, .nsh-case-crumb { font-family: var(--nsh-font); }
.nsh-case-page { --nsh-navy: #081B42; --nsh-title-blue: #0A1F4B; --nsh-slate-600: #45556C; --nsh-slate-800: #1D293D; --nsh-green-700: #008236; position: relative; }

/* ---- shared bits ------------------------------------------------------- */
.nsh-tag--pink { color: var(--nsh-pink); }                      /* figma 10445:60321: pill label #E9426A (Light 16/20) */

/* link row (card "اقرأ دراسة الحالة" 10266:53956, CTA box link 10445:60021): label + arrow-right-sm mirrored to point left */
.nsh-case-link { position: relative; display: inline-flex; align-items: center; justify-content: center; border-radius: 99px; color: var(--nsh-ink); text-decoration: none; }
.nsh-case-link__label { font-size: 14px; line-height: 24px; white-space: nowrap; transition: color .3s ease-out; }
.nsh-case-link__arrow { position: relative; display: block; flex: none; width: 24px; height: 24px; }
.nsh-case-link__arrow-img { position: absolute; inset: 0; width: 24px; height: 24px; transform: scaleX(-1); transition: opacity .3s ease-out; }
.nsh-case-link__arrow-img--hover { opacity: 0; }

/* Figma hover of the green CTA (variant "defult, state=hover"): only the arrow slides; fill/colour never change.
   (.nsh-btn--solid:hover in btn.css is an inferred transparent state, so it is neutralised here.) */
.nsh-btn--keep:hover, .nsh-btn--keep:focus-visible { background: var(--nsh-green); color: var(--nsh-white); border-color: var(--nsh-green); --nsh-arrow-img: var(--nsh-icon-arrow-white); }

/* ======================================================================== LIST */
/* hero 10445:60320 (1440x448): header y16, text block y172, pill y124; bg #1A1733 + pattern; padding 16/0/72, gap 100 */
.nsh-case-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 100px;
  padding-block: 16px 72px;
  background: var(--nsh-dark); color: var(--nsh-white);
}
.nsh-case-hero > .nsh-pattern-bg { z-index: -1; }
.nsh-case-hero { z-index: 20; }
.nsh-case-hero:has(> .nsh-header--fixed) { padding-top: 172px; }   /* header is fixed (out of flow): 16 + 56 + gap 100 */
.nsh-case-hero__tag { position: absolute; top: 124px; inset-inline-start: 100px; z-index: 2; margin: 0; }
.nsh-case-hero__content { position: relative; z-index: 1; width: 100%; padding-inline: 100px; }
.nsh-case-hero__text { display: flex; flex-direction: column; gap: 16px; width: 869px; max-width: 100%; }
.nsh-case-hero__title { display: flex; flex-direction: column; gap: 8px; margin: 0; font-weight: var(--nsh-fw-medium); font-size: 48px; line-height: 58px; }
.nsh-case-hero__title > span { display: block; }
.nsh-case-hero__title-white { color: var(--nsh-white); }
.nsh-case-hero__title-green { color: var(--nsh-green); }
.nsh-case-hero__desc { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 18px; line-height: 32px; color: var(--nsh-slate-200); }

/* grid section 10445:60322 (bg #E2E8F0, 1240 container, padding 72, heading 30/50, gap 16, cards 610 gap 20) */
.nsh-case-list { background: var(--nsh-slate-200); padding: 72px 100px; }
.nsh-case-list__inner { max-width: var(--nsh-container, 1240px); margin-inline: auto; }
.nsh-case-list__title { margin: 0 0 16px; font-weight: var(--nsh-fw-medium); font-size: 30px; line-height: 50px; color: var(--nsh-ink); }
.nsh-case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nsh-case-list__rule { height: 0; margin: 64px 0 63px; border: 0; border-top: 1px solid var(--nsh-slate-300); }   /* Line 163: y604, #CAD5E2 */

/* card (component 10266:53945) */
.nsh-case-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; color: inherit; text-decoration: none; cursor: pointer; }
.nsh-case-card__media { position: relative; display: block; height: 224px; border-radius: 16px; overflow: hidden; }
.nsh-case-card__media picture { display: contents; }
.nsh-case-card__img {
  position: absolute; max-width: none; object-fit: cover;
  left: 0; top: 0; width: 100%; height: 100%;
  transition: transform .3s ease-out;
}
/* hover: subtle zoom-in (client 2026-12-01: Figma's crop geometry was far too strong on the real photos) */
.nsh-case-card:hover .nsh-case-card__img, .nsh-case-card:focus-visible .nsh-case-card__img { transform: scale(1.05); }
.nsh-case-card__body { display: flex; flex-direction: column; gap: 10px; padding: 12px 8px; }
.nsh-case-card__title { font-weight: var(--nsh-fw-medium); font-size: 18px; line-height: 24px; color: var(--nsh-ink); }
.nsh-case-card__desc { font-weight: var(--nsh-fw-regular); font-size: 16px; line-height: 24px; color: rgba(9, 8, 50, .8); }
.nsh-case-card__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nsh-case-chip { display: inline-flex; align-items: center; justify-content: center; padding: 2px 12px; border-radius: 24px; background: var(--nsh-slate-100, #F1F5F9); font-weight: var(--nsh-fw-regular); font-size: 14px; line-height: 24px; color: var(--nsh-slate-600, #45556C); white-space: nowrap; }
.nsh-case-chip--green { background: rgba(65, 196, 101, .1); color: #006045; }
.nsh-case-card__link { align-self: flex-start; font-weight: var(--nsh-fw-regular); }
.nsh-case-card:hover .nsh-case-link__label, .nsh-case-card:focus-visible .nsh-case-link__label { color: var(--nsh-pink); }
.nsh-case-card:hover .nsh-case-link__arrow-img:not(.nsh-case-link__arrow-img--hover), .nsh-case-card:focus-visible .nsh-case-link__arrow-img:not(.nsh-case-link__arrow-img--hover) { opacity: 0; }
.nsh-case-card:hover .nsh-case-link__arrow-img--hover, .nsh-case-card:focus-visible .nsh-case-link__arrow-img--hover { opacity: 1; }
.nsh-case-card:focus-visible { outline: 2px solid var(--nsh-green); outline-offset: 2px; }

/* closing block 10445:60330: column, centred, gap 20 */
.nsh-case-closing { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.nsh-case-closing__title { margin: 0; width: 633px; max-width: 100%; font-weight: var(--nsh-fw-medium); font-size: 30px; line-height: 36px; color: var(--nsh-ink); }
.nsh-case-closing__text { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 18px; line-height: 24px; color: var(--nsh-ink); }
.nsh-case-closing__tagline { margin: 0; font-weight: var(--nsh-fw-medium); font-size: 24px; line-height: 32px; color: var(--nsh-green); }

/* ====================================================================== DETAIL */
/* top bar 10445:59891 (1440x84, #1A1733): on desktop only the header lives here and it is sticky (figma: sticky top-0, py16);
   on mobile it is the hero with eyebrow / title / lead (10445:60341). */
.nsh-case-hero--detail { gap: 0; padding-block: 0; }
.nsh-case-hero__content--detail { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 64px 20px 96px; }
.nsh-case-hero__eyebrow { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 14px; line-height: 20px; color: var(--nsh-pink); }
.nsh-case-hero__title--detail { display: block; margin: 0; font-weight: var(--nsh-fw-medium); font-size: 36px; line-height: 43px; color: var(--nsh-green); }
.nsh-case-hero__lead { margin: 0; font-weight: var(--nsh-fw-light); font-size: 16px; line-height: 1.5; color: var(--nsh-slate-200); }

/* breadcrumb 10445:59923 (1440x60, #E2E8F0, items 12/20, gap 8, separators 20 box / 14 chevron) */
.nsh-case-crumb { display: flex; align-items: center; gap: 8px; height: 60px; padding-inline: 150px; background: var(--nsh-slate-200); }
.nsh-case-crumb__home { display: flex; width: 20px; height: 20px; }
.nsh-case-crumb__sep { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
.nsh-case-crumb__item { font-size: 12px; line-height: 20px; text-decoration: none; white-space: nowrap; }
.nsh-case-crumb__item--parent { color: #647598; }
.nsh-case-crumb__item--current { color: #0C275E; }
.nsh-case-crumb__item--parent:hover { color: #0C275E; }

/* article 10445:59926: bg #E2E8F0, column gap 48 at 1040 wide, padding 24/0/64, next/prev link 34 below */
.nsh-case-main { background: var(--nsh-slate-200); }
.nsh-case-article { display: flex; flex-direction: column; gap: 34px; width: 1040px; max-width: 100%; margin-inline: auto; padding: 24px 0 64px; }
.nsh-case-article__main { display: flex; flex-direction: column; }

/* head 10445:59930: eyebrow 16/24 pink, title 30/40 #0A1F4B, lead 18/28 slate-600, meta cells */
.nsh-case-head { display: flex; flex-direction: column; gap: 16px; }
.nsh-case-head__top { display: flex; flex-direction: column; gap: var(--nsh-head-gap, 12px); }   /* Fattin 12, 7ezma 14 (figma 10445:60107 V14) */
.nsh-case-head__text { display: flex; flex-direction: column; gap: 16px; }
.nsh-case-head__eyebrow { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 16px; line-height: 24px; color: var(--nsh-pink); }
.nsh-case-head__title { margin: 0; font-weight: var(--nsh-fw-medium); font-size: 30px; line-height: 40px; color: var(--nsh-title-blue); }
.nsh-case-head__lead { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 18px; line-height: 28px; color: var(--nsh-slate-600); }
.nsh-case-meta { display: flex; gap: 12px; }
.nsh-case-meta__cell { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 8px; background: rgba(244, 247, 251, .4); }
.nsh-case-meta__label { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 14px; line-height: 22px; color: var(--nsh-green-700); }
.nsh-case-meta__value { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 16px; line-height: 26px; color: var(--nsh-navy); }

/* cover 10445:59950: 1140/342, radius 8; share buttons overlay bottom-left (left 10, bottom 10, 266 wide) */
.nsh-case-cover { position: relative; margin-top: 24px; aspect-ratio: 1140 / 342; border-radius: 8px; overflow: hidden; }
.nsh-case-cover__pic, .nsh-case-cover__img { display: block; width: 100%; height: 100%; }
.nsh-case-cover__img { object-fit: cover; border-radius: 8px; }
.nsh-case-share { direction: ltr; display: flex; align-items: center; justify-content: space-between; width: 266px; }
.nsh-case-share--cover { position: absolute; left: 10px; bottom: 10px; }
.nsh-case-share--row { display: none; }
.nsh-case-rule-m { display: none; }
.nsh-case-share__icons { display: flex; align-items: center; gap: 8px; }
.nsh-case-share__btn {
  display: flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box;
  width: 36px; height: 36px; padding: 8px; border: 1px solid var(--nsh-slate-200); border-radius: 6px;
  background: rgba(241, 245, 249, .85); box-shadow: 0 1px 2px rgba(105, 81, 255, .05);
  font-family: var(--nsh-font); font-weight: var(--nsh-fw-regular); font-size: 14px; line-height: 20px; color: var(--nsh-slate-500);
  text-decoration: none; cursor: pointer; transition: background-color .2s ease;
}
.nsh-case-share__btn:hover, .nsh-case-share__btn:focus-visible { background: rgba(241, 245, 249, 1); }
.nsh-case-share__copy { width: auto; padding: 8px 16px; }
.nsh-case-share__btn img { display: block; flex: none; width: 20px; height: 20px; }

/* sections wrapper 10445:59951: column gap 40; section: H2 24/36 Regular #081B42, gap 16 */
.nsh-case-sections { display: flex; flex-direction: column; gap: 40px; margin-top: 48px; }
.nsh-case-sec { display: flex; flex-direction: column; gap: 16px; }
.nsh-case-sec--groups { gap: 24px; }
.nsh-case-sec__title { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 24px; line-height: 36px; color: var(--nsh-navy); }
.nsh-case-p { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 16px; line-height: 24px; color: var(--nsh-slate-500); }
.nsh-case-p--lead { font-size: 18px; line-height: 28px; color: var(--nsh-ink); }
.nsh-case-list-ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nsh-case-list-ul > li { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 16px; line-height: 24px; color: var(--nsh-slate-500); }
.nsh-case-list-ul > li::before { content: "•  "; white-space: pre; }          /* figma text "•  …" (bullet + 2 spaces, no hanging indent) */

/* quote 10445:59972: 2px #0F3176 bar (left) + panel rgba(100,192,125,.1) padding 16 gap 16 */
.nsh-case-quote { display: flex; align-items: stretch; }
.nsh-case-quote__body { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 16px; background: rgba(100, 192, 125, .1); }
.nsh-case-quote__label { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 18px; line-height: 28px; color: #187047; }
.nsh-case-quote__text { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 20px; line-height: 28px; color: var(--nsh-slate-800); }
.nsh-case-quote__bar { flex: none; width: 2px; border-radius: 6px; background: #0F3176; }

/* 06 groups: sub heading 20/28 Medium green-700, items gap 10 / paragraph gap 16 */
.nsh-case-group { display: flex; flex-direction: column; gap: 16px; }
.nsh-case-group--items { gap: 10px; }
.nsh-case-sub { margin: 0; font-weight: var(--nsh-fw-medium); font-size: 20px; line-height: 28px; color: var(--nsh-green-700); }
.nsh-case-item { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 16px; line-height: 24px; color: var(--nsh-slate-500); }
.nsh-case-item__label { color: var(--nsh-ink); }
.nsh-case-item--dark { color: var(--nsh-ink); }                  /* 7ezma 10445:60169..: the whole item is #090832 */

/* CTA box 10445:60018: #F4F7FB, radius 12, padding 24, gap 12 */
.nsh-case-cta { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 12px; background: #F4F7FB; }
.nsh-case-cta__title { margin: 0; font-weight: var(--nsh-fw-medium); font-size: 26px; line-height: 36px; color: var(--nsh-navy); }
.nsh-case-cta__text { margin: 0; font-weight: var(--nsh-fw-regular); font-size: 18px; line-height: 28px; color: var(--nsh-slate-500); }
.nsh-case-cta__tagline { margin: 0; font-weight: var(--nsh-fw-medium); font-size: 16px; line-height: 24px; color: var(--nsh-navy); }
.nsh-case-cta__link { align-self: flex-start; font-weight: var(--nsh-fw-medium); color: var(--nsh-green); }
.nsh-case-cta__link .nsh-case-link__label { font-size: 16px; line-height: 24px; }

/* next / previous study 10445:60047 (310 wide: chevron 20 + gap 4 + text 286, sub 12/16 Medium slate-500, 4 below) */
.nsh-case-nav { display: flex; flex-direction: column; gap: 4px; align-self: flex-start; width: 310px; max-width: 100%; color: var(--nsh-ink); text-decoration: none; }
.nsh-case-nav__row { display: flex; align-items: center; gap: 4px; }
.nsh-case-nav__row img { flex: none; width: 20px; height: 20px; }
.nsh-case-nav__label { font-weight: var(--nsh-fw-regular); font-size: 16px; line-height: 24px; color: #000; }
.nsh-case-nav__sub { padding-inline-start: 24px; font-weight: var(--nsh-fw-medium); font-size: 12px; line-height: 16px; color: var(--nsh-slate-500); }
.nsh-case-nav:hover .nsh-case-nav__label { color: var(--nsh-green); }
/* previous (7ezma 10445:60226): block sits on the LEFT, chevron points left, text left-aligned */
.nsh-case-nav--prev { align-self: flex-end; direction: ltr; text-align: left; }
.nsh-case-nav--prev .nsh-case-nav__label, .nsh-case-nav--prev .nsh-case-nav__sub { unicode-bidi: plaintext; }
.nsh-case-nav__chev--flip { transform: scaleX(-1); }

/* desktop: dark bar 84 (figma "About us" 10445:59891) behind the fixed header; the page starts below it */
@media (min-width: 768px) {
  .nsh-case-top, .nsh-case-hero--detail { display: contents; }
  .nsh-case-page { padding-top: 84px; }
  .nsh-case-page::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 84px; background: var(--nsh-dark); z-index: 0; }
  .nsh-case-hero--detail > .nsh-pattern-bg, .nsh-case-hero__content--detail { display: none; }
  .nsh-header--case:not(.is-scrolled) .nsh-header__nav { background: none; }   /* figma 10445:59921 Nav on the detail bar: no fill (blur 7.5 only) */
  .nsh-case-main { position: relative; z-index: 1; }
}

/* ===================================================================== TABLET */
@media (max-width: 1279px) {
  .nsh-case-hero__tag { inset-inline-start: 40px; }
  .nsh-case-hero__content { padding-inline: 40px; }
  .nsh-case-list { padding-inline: 40px; }
  .nsh-case-crumb { padding-inline: 40px; }
  .nsh-case-article { width: auto; margin-inline: 40px; }
}
@media (max-width: 1023px) {
  .nsh-case-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===================================================================== MOBILE (440 frames) */
@media (max-width: 767px) {
  /* list hero 10445:60248 (440x537): header 60, pill y72, title y160 (36/120%), lead 18/32 (408 wide) */
  .nsh-case-hero { gap: 0; padding-block: 0 95px; }
  .nsh-case-hero:has(> .nsh-header--fixed) { padding-top: 61px; }
  .nsh-case-hero__tag { top: 116px; inset-inline-start: 20px; }
  .nsh-case-hero__content { padding: 100px 20px 0; }
  .nsh-case-hero__text { width: 100%; }
  .nsh-case-hero__title { font-size: 36px; line-height: 43px; }
  .nsh-case-hero__desc { width: 408px; max-width: calc(100% + 8px); margin-inline-end: -8px; }
  .nsh-case-hero--detail { display: block; padding-block: 61px 0; min-height: 396px; }
  .nsh-case-hero--detail .nsh-case-hero__content--detail { padding: 64px 20px 56px; }

  /* list 10445:60250 (bg #E2E8F0, padding 48/20, cards 400x426, gap 20) */
  .nsh-case-list { padding: 48px 20px; }
  .nsh-case-grid { gap: 20px; }
  .nsh-case-card__title { font-size: 18px; }
  .nsh-case-list__rule { margin: 32px 0 31px; }
  .nsh-case-closing__title { font-size: 20px; line-height: 24px; width: 100%; }
  .nsh-case-closing__text { font-size: 16px; }
  .nsh-case-closing__tagline { font-size: 20px; line-height: 28px; }
  .nsh-case-closing { gap: 10px; }
  .nsh-case-closing .nsh-btn { margin-top: 0; }

  /* detail 10445:60339: content padding 24 (below hero) / 20, cover 224, cells column gap 12, share row, sections after 64 */
  .nsh-case-crumb { display: none; }
  .nsh-case-main { padding: 24px 20px 32px; }
  .nsh-case-article { width: auto; margin: 0; padding: 0; gap: 32px; }
  .nsh-case-head { display: contents; }
  .nsh-case-head__top { display: none; }
  .nsh-case-meta { order: 2; flex-direction: column; margin-top: 16px; }
  .nsh-case-cover { order: 1; margin-top: 0; aspect-ratio: 400 / 224; }
  .nsh-case-share--cover { display: none; }
  .nsh-case-share--row { order: 3; display: flex; margin-top: 16px; align-self: flex-start; }
  .nsh-case-rule-m { order: 3; display: block; width: 100%; height: 0; margin: 32px 0 0; border: 0; border-top: 1px solid var(--nsh-slate-300); }   /* hairline between the share row and 01 */
  .nsh-case-sections { order: 4; margin-top: 31px; }
  .nsh-case-article__main { display: flex; }
  .nsh-case-nav { width: 100%; }
  .nsh-case-nav--next .nsh-case-nav__sub { padding-inline-start: 0; }
  .nsh-case-nav--prev .nsh-case-nav__sub { padding-inline-start: 24px; }
}

/* WordPress-only additions (appended to nashe.css by build_plugin.py) — not part of the Figma components */

/* our templates own the whole page */
body.nsh-page { margin: 0; }

/* honeypot */
.nsh-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* form result message */
.nsh-form__status { margin: 0 0 16px; padding: 12px 16px; border-radius: 8px; font-size: 16px; line-height: 24px; color: var(--nsh-white, #fff); }
.nsh-form__status--ok  { background: rgba(65, 196, 101, .18); border: 1px solid var(--nsh-green, #41C465); }
.nsh-form__status--err { background: rgba(233, 66, 106, .16); border: 1px solid var(--nsh-pink, #E9426A); }

/* long file names must not break the button row */
.nsh-btn-outline--upload [data-nsh-file-label] { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* logged-in admin bar: keep the fixed mobile menu below it */
.admin-bar .nsh-menu { top: var(--wp-admin--admin-bar--height, 0); }
