/* =========================================================
   home-modern.css — الواجهة الحديثة البديلة للصفحة الرئيسية (/new/)
   نفس هوية الموقع (كحلي/تركوازي + أزرق فاتح/لافندر) بتصميم عصري:
   هيدر زجاجي بعناصر الهيدر الأصلي، هيرو بخلفية متحركة، بطاقات تفاعلية،
   أيقونات SVG موحّدة، Bento، خط زمني، وفوتر متكامل.
   كل الحركات transform/opacity فقط وتتوقف مع prefers-reduced-motion.
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap");

/* ---------- المتغيرات ---------- */
.page-home-modern {
  --n-navy: #07425c;          /* = --c-heading */
  --n-navy-2: #0b6a93;
  --n-deep: #09212a;          /* = --c-footer */
  --n-deeper: #061920;
  --n-sky: #03a9f4;           /* = --c-primary */
  --n-sky-soft: #7dd3fc;
  --n-link: #0a6d9c;          /* أزرق بتباين كافٍ للنصوص الصغيرة */
  --n-lav: #9888c8;           /* لافندر الهيرو الأصلي */
  --n-lav-soft: #c4b5fd;
  --n-ink: #10242c;
  --n-text: #46707f;          /* = --c-text */
  --n-muted: #557784;
  --n-line: rgba(7, 66, 92, .1);
  --n-red: #b3123a;           /* = --c-red */
  --n-wa: #25d366;
  --n-ease: cubic-bezier(.22, 1, .36, 1);
  --n-shadow: 0 1px 2px rgba(9, 33, 42, .05), 0 18px 40px -20px rgba(9, 33, 42, .3);
  --n-shadow-lg: 0 2px 6px rgba(9, 33, 42, .05), 0 40px 80px -34px rgba(7, 66, 92, .45);
  --n-gut: clamp(16px, 4vw, 40px);
  --n-font: "Tajawal", "Geeza Pro", "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;

  font-family: var(--n-font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--n-text);
  background: #fbfdff;
}
.page-home-modern main { display: block; }
.page-home-modern h1, .page-home-modern h2, .page-home-modern h3, .page-home-modern h4 { color: var(--n-ink); font-weight: 700; line-height: 1.3; }
.page-home-modern input, .page-home-modern button { font-family: inherit; }
.page-home-modern .container { max-width: 1280px; padding-inline: var(--n-gut); }
.page-home-modern [id] { scroll-margin-top: 104px; }
.page-home-modern a:focus-visible,
.page-home-modern button:focus-visible,
.page-home-modern input:focus-visible { outline: 3px solid var(--n-sky); outline-offset: 3px; }

.n-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mi {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- عناصر مشتركة ---------- */
.n-sec { position: relative; padding-block: clamp(72px, 9vw, 128px); overflow-x: clip; }

.n-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 52px); }
.n-head--center { margin-inline: auto; text-align: center; }
.n-head h2 { margin: 0 0 .35em; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); line-height: 1.25; }
.n-head > p:not(.n-kicker) { margin: 0; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--n-muted); }

.n-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; padding: 5px 14px;
  border-radius: 999px; border: 1px solid rgba(3, 169, 244, .22);
  background: rgba(3, 169, 244, .08);
  font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--n-link);
}
.n-kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--n-sky); box-shadow: 0 0 0 4px rgba(3, 169, 244, .18);
}
.n-kicker--alert { color: var(--n-red); background: rgba(179, 18, 58, .07); border-color: rgba(179, 18, 58, .2); }
.n-kicker--alert::before { display: none; }
.n-kicker--light { color: var(--n-sky-soft); background: rgba(125, 211, 252, .1); border-color: rgba(125, 211, 252, .28); }

.n-grad {
  background: linear-gradient(to left, #07425c 0%, #0a83b8 55%, #7b6fc0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.n-grad--light { background-image: linear-gradient(to left, #7dd3fc, #c4b5fd); }

/* الأزرار */
.n-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 16px; font-weight: 700; line-height: 1.25; text-align: center; color: #fff;
  transition: transform .4s var(--n-ease), box-shadow .4s var(--n-ease), background-color .3s, border-color .3s, color .3s;
}
.n-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .32) 50%, transparent 70%);
  transform: translateX(110%); transition: transform .9s var(--n-ease);
}
.n-btn:hover { color: #fff; transform: translateY(-2px); }
.n-btn:hover::after { transform: translateX(-110%); }
.n-btn:active { transform: translateY(0) scale(.98); }
.n-btn .ico { width: 1.2em; height: 1.2em; }
.n-btn--sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.n-btn--lg { min-height: 58px; padding: 0 28px; font-size: 17px; }
.n-btn--primary { background: linear-gradient(135deg, #07425c 0%, #0b6a93 100%); box-shadow: 0 16px 32px -14px rgba(7, 66, 92, .7); }
.n-btn--primary:hover { box-shadow: 0 22px 40px -14px rgba(7, 66, 92, .75); }
.n-btn--wa { background: linear-gradient(135deg, #0a8040 0%, #06612f 100%); box-shadow: 0 14px 28px -14px rgba(6, 97, 47, .85); }
.n-btn--glass {
  color: var(--n-navy); background: rgba(255, 255, 255, .72); border-color: rgba(7, 66, 92, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -18px rgba(7, 66, 92, .5);
}
.n-btn--glass:hover { color: var(--n-navy); background: #fff; }
.n-btn--glass::after, .n-btn--light::after { background: linear-gradient(100deg, transparent 30%, rgba(3, 169, 244, .14) 50%, transparent 70%); }
.n-btn--light { color: var(--n-navy); background: #fff; }
.n-btn--light:hover { color: var(--n-navy); }
.n-btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .06); }
.n-btn--outline-light:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .12); }
.n-btn--text-light { min-height: 44px; padding-inline: 6px; color: #bfe6f7; }
.n-btn--text-light::after { display: none; }
.n-btn--text-light:hover { color: #fff; }
.n-btn--text-light .mi, .n-btn--light .mi { transition: transform .4s var(--n-ease); }
.n-btn--text-light:hover .mi, .n-btn--light:hover .mi { transform: translateX(-5px); }
.n-btn__wa {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; margin-inline-start: -12px;
  border-radius: 50%; background: var(--n-wa); color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .22);
}
.n-btn--lg .n-btn__wa { width: 40px; height: 40px; margin-inline-start: -18px; }
.n-btn__wa .ico { width: 20px; height: 20px; }
.n-num { font-weight: 500; font-size: .92em; opacity: .8; }
.n-btnrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.n-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--n-link);
}
.n-more:hover { color: var(--n-navy); }
.n-more .mi { transition: transform .4s var(--n-ease); }
.n-more:hover .mi { transform: translateX(-5px); }

.n-checks { display: grid; gap: 8px; margin: 0 0 18px; }
.n-checks li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.65; color: var(--n-ink); }
.n-checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: rgba(3, 169, 244, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6d9c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.5 17 19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* بقعة الضوء التي تتبع المؤشر داخل البطاقات */
.n-glow {
  position: absolute; z-index: -1; top: 0; left: 0;
  width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(3, 169, 244, .16), rgba(152, 136, 200, .1) 55%, transparent);
  transform: translate(var(--mx, 50%), var(--my, 0px));
  opacity: 0; transition: opacity .4s; pointer-events: none;
}

/* إطار الصور الفوتوغرافية: نسبة أبعاد ثابتة + قص تلقائي (تُستبدل الصورة دون أي تعديل) */
.n-photo {
  position: relative; isolation: isolate; overflow: hidden; margin: 0;
  background: linear-gradient(160deg, #dcecf9 0%, #e6e1f6 100%);
}
.n-photo > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
}
.n-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
/* مؤقت: للصور التوضيحية (إنفوجراف) إلى أن تُستبدل بصورة فوتوغرافية — احذف الصنف عندها */

/* ---------- شريط تقدّم القراءة ---------- */
.n-progress {
  position: fixed; top: 0; right: 0; left: 0; z-index: 90; height: 3px;
  background: linear-gradient(to left, var(--n-sky), var(--n-lav));
  transform: scaleX(0); transform-origin: 100% 50%; pointer-events: none;
}

/* =========================================================
   الهيدر — عناصر الهيدر الأصلي وترتيبه (القائمة، واتساب مباشر،
   الروابط السريعة، الشعار) في شريط زجاجي ثابت بلا حركة دخول
   ========================================================= */
.n-hdr {
  position: fixed; top: 0; right: 0; left: 0; z-index: 80;
  padding: 12px clamp(8px, 2vw, 24px) 0;
  pointer-events: none;
}
.n-hdr__bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  max-width: 1280px; height: 76px; margin-inline: auto; padding-inline: 14px 20px;
  border-radius: 24px; border: 1px solid rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .56);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 6px 18px -16px rgba(7, 66, 92, .3);
  transition: background-color .35s, box-shadow .35s, border-color .35s;
}
.n-hdr.is-scrolled .n-hdr__bar {
  border-color: rgba(255, 255, 255, .92); background: rgba(255, 255, 255, .84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 18px 40px -22px rgba(7, 66, 92, .5);
}

/* زر القائمة */
.n-hdr__menu {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 16px;
  color: #fff; background: linear-gradient(135deg, #0b3a52 0%, var(--n-navy) 50%, #0b6a93 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 22px -12px rgba(7, 66, 92, .85);
  transition: transform .4s var(--n-ease), box-shadow .4s var(--n-ease);
}
.n-hdr__menu:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 14px 26px -12px rgba(7, 66, 92, .9); }
.n-hdr__lines { display: grid; justify-items: start; gap: 4px; }
.n-hdr__lines span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: width .4s var(--n-ease); }
.n-hdr__lines span:nth-child(2) { width: 13px; }
.n-hdr__menu:hover .n-hdr__lines span:nth-child(2) { width: 20px; }

/* واتساب مباشر */
.n-hdr__wa {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  height: 48px; padding-inline: 6px 18px;
  border-radius: 999px; color: #fff;
  font-size: 16px; font-weight: 700; line-height: 1; white-space: nowrap;
  background: linear-gradient(135deg, #0b3a52 0%, var(--n-navy) 45%, #0b6a93 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 24px -14px rgba(7, 66, 92, .9);
  transition: transform .4s var(--n-ease), box-shadow .4s var(--n-ease);
}
.n-hdr__wa:hover { color: #fff; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 16px 28px -14px rgba(7, 66, 92, .95); }
.n-hdr__wa-ico {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--n-wa); box-shadow: 0 0 0 3px rgba(37, 211, 102, .22);
}
.n-hdr__wa-ico .ico { width: 19px; height: 19px; }

/* الروابط السريعة */
.n-hdr__links { display: flex; align-items: center; gap: 2px; margin-inline-start: 10px; }
.n-hdr__links a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--n-ink);
  transition: color .25s, background-color .25s;
}
.n-hdr__links a::after {
  content: ""; position: absolute; bottom: 5px; left: 50%; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px;
  background: linear-gradient(to left, var(--n-sky), var(--n-lav));
  transform: scaleX(0); transition: transform .35s var(--n-ease);
}
.n-hdr__links a:hover { color: var(--n-navy); background: rgba(7, 66, 92, .06); }
.n-hdr__links a:hover::after, .n-hdr__links a:focus-visible::after { transform: scaleX(1); }

/* الشعار */
.n-hdr__logo { display: block; flex: none; margin-inline-start: auto; border-radius: 12px; transition: opacity .25s; }
.n-hdr__logo:hover { opacity: .85; }
.n-hdr__logo img { width: 104px; height: auto; }

/* =========================================================
   الهيرو
   ========================================================= */
.n-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(124px, 12vw, 156px) 0 clamp(100px, 10vw, 140px);
  background: linear-gradient(-225deg, #f6feff 22%, #e8effc 58%, #d9d3f0 100%);
}
.n-hero::after {
  content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; height: 140px;
  background: linear-gradient(to bottom, rgba(251, 253, 255, 0), #fbfdff);
}
.n-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.n-blob { position: absolute; border-radius: 50%; }
.n-blob--1 { width: 640px; height: 640px; top: -220px; left: -160px; background: radial-gradient(closest-side, rgba(152, 136, 200, .5), rgba(152, 136, 200, 0)); animation: n-drift-a 19s ease-in-out infinite alternate; }
.n-blob--2 { width: 560px; height: 560px; bottom: -260px; left: 32%; background: radial-gradient(closest-side, rgba(3, 169, 244, .28), rgba(3, 169, 244, 0)); animation: n-drift-b 23s ease-in-out infinite alternate; }
.n-blob--3 { width: 460px; height: 460px; top: 6%; right: -180px; background: radial-gradient(closest-side, rgba(125, 226, 252, .42), rgba(125, 226, 252, 0)); animation: n-drift-c 17s ease-in-out infinite alternate; }
.n-hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(7, 66, 92, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 66, 92, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 25%, transparent 75%);
}
@keyframes n-drift-a { to { transform: translate(140px, 90px) scale(1.12); } }
@keyframes n-drift-b { to { transform: translate(-120px, -70px) scale(.9); } }
@keyframes n-drift-c { to { transform: translate(-90px, 120px) scale(1.15); } }

.n-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center; gap: clamp(28px, 4vw, 64px);
}
.n-hero__text { max-width: 640px; }
.n-chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 7px 16px 7px 14px;
  border-radius: 999px; border: 1px solid rgba(7, 66, 92, .1);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -16px rgba(7, 66, 92, .45);
  font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--n-navy);
}
.n-chip__dot, .n-live { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.n-chip__dot::after, .n-live::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e;
  animation: n-ping 2.2s var(--n-ease) infinite;
}
@keyframes n-ping { 0% { transform: scale(1); opacity: .65; } 80%, 100% { transform: scale(3); opacity: 0; } }

.n-hero__title { margin: 0 0 18px; font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5rem); line-height: 1.12; color: var(--n-deep); font-weight: 800; }
.n-hero__pre { display: block; margin-bottom: .18em; font-size: .4em; font-weight: 500; line-height: 1.3; color: var(--n-link); }
.n-hero__title .n-grad { display: inline-block; padding-bottom: .1em; }
.n-hero__bio { max-width: 34em; margin: 0 0 12px; font-size: clamp(1.05rem, .95rem + .45vw, 1.28rem); line-height: 1.8; color: #29505e; font-weight: 400; }
.n-hero__en { max-width: 36em; margin: 0 0 30px; font-size: 14.5px; line-height: 1.6; color: #456b7b; text-align: right; }
.n-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.n-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px 4px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -26px rgba(7, 66, 92, .5);
}
.n-stats li { display: flex; flex-direction: column; gap: 2px; padding: 2px 14px; }
.n-stats li + li { border-inline-start: 1px solid rgba(7, 66, 92, .1); }
.n-stats strong { font-size: clamp(1.45rem, 1.1rem + .9vw, 1.95rem); font-weight: 800; line-height: 1.2; color: var(--n-navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.n-stats strong span, .n-companies__badge strong span { display: inline-block; text-align: center; }
.n-stats li > span { font-size: 12.5px; line-height: 1.5; color: var(--n-muted); }

/* الصورة + الشارات العائمة */
.n-hero__visual { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1 / 1.1; margin-inline: auto; }
.n-portrait { position: absolute; inset: 0; }
.n-portrait__ring {
  position: absolute; top: 4%; right: 3%; left: 3%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 90deg, rgba(3, 169, 244, 0) 0 52%, rgba(3, 169, 244, .9) 72%, rgba(152, 136, 200, .95) 88%, rgba(152, 136, 200, 0) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  animation: n-spin 16s linear infinite;
}
@keyframes n-spin { to { transform: rotate(1turn); } }
.n-portrait__arch {
  position: absolute; top: 28%; right: 9%; bottom: 0; left: 9%;
  border-radius: 999px 999px 36px 36px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, .65), rgba(255, 255, 255, 0) 60%),
    linear-gradient(170deg, #d4ecfb 0%, #bdb8e6 55%, #8e83c3 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 50px 90px -40px rgba(7, 66, 92, .6);
}
.n-portrait__img {
  position: absolute; bottom: 0; left: 9%; width: 82%;
  border-radius: 0 0 36px 36px;
}
.n-fbadge {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  max-width: 232px; padding-block: 10px; padding-inline: 10px 16px;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 22px 40px -22px rgba(7, 66, 92, .55);
}
.n-fbadge p { margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.5; color: var(--n-ink); }
.n-fbadge__ico {
  --duo: rgba(255, 255, 255, .2); --bg: #0a6a95;
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px;
  color: #fff; background: linear-gradient(135deg, var(--n-navy), #0a83b8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 18px -10px rgba(7, 66, 92, .8);
}
.n-fbadge__ico .mi { width: 24px; height: 24px; stroke-width: 1.7; }
.n-fbadge--clients .n-fbadge__ico { --bg: #0794d2; background: linear-gradient(135deg, #0a83b8, #03a9f4); }
.n-fbadge--care .n-fbadge__ico { background: linear-gradient(135deg, #5f53a8, #9888c8); }
.n-fbadge--clients { top: 13%; left: -5%; }
.n-fbadge--team { top: 55%; right: -7%; }
.n-fbadge--care { bottom: 7%; left: -3%; }

/* حركة دخول الهيرو عند التحميل (لا تحتاج JS) */
[data-a="0"] { --a: 0; } [data-a="1"] { --a: 1; } [data-a="2"] { --a: 2; } [data-a="3"] { --a: 3; } [data-a="4"] { --a: 4; }
[data-a="5"] { --a: 5; } [data-a="6"] { --a: 6; } [data-a="7"] { --a: 7; } [data-a="8"] { --a: 8; } [data-a="9"] { --a: 9; }
.n-anim { animation: n-rise .95s var(--n-ease) both; animation-delay: calc(var(--a, 0) * 90ms + 80ms); }
.n-anim--zoom { animation-name: n-zoom; animation-duration: 1.2s; }
.n-fbadge.n-anim { animation: n-rise .95s var(--n-ease) both, n-float 7s ease-in-out infinite; animation-delay: calc(var(--a, 0) * 90ms + 200ms), 1.6s; }
.n-fbadge--team.n-anim { animation-duration: .95s, 8s; }
.n-fbadge--care.n-anim { animation-duration: .95s, 6.5s; }
@keyframes n-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes n-zoom { from { opacity: 0; transform: scale(.93); } to { opacity: 1; transform: none; } }
@keyframes n-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* =========================================================
   روابط الأقسام الأربعة (تتداخل مع أسفل الهيرو)
   ========================================================= */
.n-quick { position: relative; z-index: 3; margin-top: clamp(-76px, -6vw, -48px); }
.n-quick__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.n-quick__list > li { display: flex; }
.n-quick__item {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 88px; padding: 16px 18px;
  border-radius: 22px; border: 1px solid rgba(255, 255, 255, .95);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--n-shadow);
  font-size: 16px; font-weight: 500; line-height: 1.45; color: var(--n-ink);
  transition: transform .5s var(--n-ease), box-shadow .5s var(--n-ease), color .25s;
}
.n-quick__item:hover { color: var(--n-navy); transform: translateY(-6px); box-shadow: var(--n-shadow-lg); }
.n-quick__ico {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 16px;
  color: #fff; background: linear-gradient(135deg, var(--n-navy), #0a83b8);
  box-shadow: 0 10px 20px -10px rgba(7, 66, 92, .75);
  transition: transform .6s var(--n-ease);
}
.n-quick__ico .mi { width: 24px; height: 24px; }
.n-quick__item:hover .n-quick__ico { transform: rotate(-10deg) scale(1.08); }
.n-quick__txt { flex: 1; }
.n-quick__go { width: 20px; height: 20px; color: var(--n-link); transition: transform .45s var(--n-ease); }
.n-quick__item:hover .n-quick__go { transform: translateX(-6px); }

/* =========================================================
   شريط المحاور — شريط داكن مائل قليلًا، نصوصه أفقية كاملة،
   متمركزة وتلتف على أكثر من سطر في الشاشات الضيقة
   ========================================================= */
.n-strip { position: relative; padding-block: clamp(48px, 6vw, 76px); overflow-x: clip; }
.n-strip__band {
  position: relative; isolation: isolate;
  padding-block: clamp(16px, 1.6vw, 22px);
  background:
    radial-gradient(40% 140% at 100% 50%, rgba(3, 169, 244, .22), rgba(3, 169, 244, 0) 70%),
    radial-gradient(35% 140% at 0% 50%, rgba(152, 136, 200, .24), rgba(152, 136, 200, 0) 70%),
    linear-gradient(to left, var(--n-deep), #0b3a52);
  box-shadow: 0 22px 40px -26px rgba(9, 33, 42, .7);
  transform: skewY(-1.4deg);
}
.n-strip__band::before {
  content: ""; position: absolute; inset: 6px 0; z-index: -1; pointer-events: none;
  border-block: 1px solid rgba(255, 255, 255, .07);
}
.n-strip__list {
  max-width: 1280px; margin-inline: auto; padding-inline: var(--n-gut);
  text-align: center; text-wrap: balance;
  transform: skewY(1.4deg);
}
.n-strip__list > li { display: inline-block; margin: 3px 2px; vertical-align: middle; }
.n-strip__list a {
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 14px; border-radius: 999px;
  font-size: clamp(15px, .82rem + .38vw, 19px); font-weight: 500; line-height: 1.5; color: #d6eef8; white-space: nowrap;
  transition: color .25s, background-color .25s;
}
.n-strip__list a::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px;
  background: var(--n-sky); box-shadow: 0 0 0 3px rgba(3, 169, 244, .18); transform: rotate(45deg);
}
.n-strip__list a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.n-strip__list a:focus-visible { outline-color: var(--n-sky-soft); outline-offset: 1px; }
.n-strip__geo a { color: var(--n-sky-soft); font-weight: 700; }
.n-strip__geo a::before { display: none; }
.n-strip__geo .mi { width: 20px; height: 20px; }
.n-strip__geo i { font-style: normal; opacity: .6; }

/* =========================================================
   بطاقات الخدمات (شعارات أيقونية بدل الصور)
   ========================================================= */
.n-services { padding-top: clamp(24px, 4vw, 56px); }
.n-scards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.n-scards > li, .n-mcards > li { display: flex; }
.n-scard, .n-mcard {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; width: 100%;
  border: 1px solid var(--n-line); box-shadow: var(--n-shadow);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .7s var(--n-ease), box-shadow .6s var(--n-ease), border-color .4s;
}
.n-scard.is-tilting, .n-mcard.is-tilting { transition: transform .18s linear, box-shadow .6s var(--n-ease), border-color .4s; }
.n-scard:hover, .n-mcard:hover { --ty: -8px; box-shadow: var(--n-shadow-lg); border-color: rgba(3, 169, 244, .3); }
.n-scard:hover .n-glow, .n-mcard:hover .n-glow { opacity: 1; }
.n-scard { padding: 14px 14px 24px; border-radius: 28px; background: linear-gradient(180deg, #fff 0%, #f2f7fe 100%); }
.n-scard > :not(.n-scard__media):not(.n-glow) { margin-inline: 6px; }
.n-scard__media {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; aspect-ratio: 1.45; margin-bottom: 20px; border-radius: 22px;
  background:
    radial-gradient(55% 70% at 50% 48%, rgba(3, 169, 244, .16), rgba(3, 169, 244, 0) 72%),
    linear-gradient(160deg, #eef8ff 0%, #ebe8fb 100%);
}
.n-scard__media::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: radial-gradient(rgba(7, 66, 92, .1) 1px, transparent 1.2px); background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent);
}
.n-scard__media::after {
  content: ""; position: absolute; z-index: -1; width: 136px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(7, 66, 92, .1);
  box-shadow: 0 0 0 22px rgba(255, 255, 255, .42), 0 0 0 23px rgba(7, 66, 92, .07);
}
.n-scard__wm {
  position: absolute; z-index: -1; bottom: -16%; inset-inline-end: -8%;
  width: 58%; height: auto; aspect-ratio: 1; color: rgba(7, 66, 92, .07); stroke-width: 1.1;
  transform: rotate(-10deg);
}
.n-emblem {
  --duo: rgba(125, 211, 252, .3); --bg: #0a5578;
  position: relative; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 28px;
  color: #fff; background: linear-gradient(140deg, #0b6a93 0%, var(--n-navy) 52%, #0a2f40 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 18px 34px -16px rgba(7, 66, 92, .85);
  transition: transform .7s var(--n-ease);
}
.n-emblem::after {
  content: ""; position: absolute; inset: 1px; border-radius: 27px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 52%);
}
.n-emblem .mi { width: 44px; height: 44px; stroke-width: 1.5; }
.n-scard:hover .n-emblem { transform: translateY(-4px) rotate(-6deg); }
.n-scard h3 { margin: 0 0 10px; font-size: 1.3rem; }
.n-scard h3 a { color: inherit; }
.n-scard h3 a:hover { color: var(--n-link); }
.n-scard p { flex: 1; margin: 0 0 18px; font-size: 14.5px; line-height: 1.85; color: var(--n-muted); }

/* =========================================================
   خدمات الزواج
   ========================================================= */
.n-marriage { background: linear-gradient(180deg, #fbfdff 0%, #f1f5fe 100%); }
.n-marriage__top {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center; gap: clamp(36px, 5vw, 80px); margin-bottom: clamp(56px, 7vw, 96px);
}
.n-lead { margin: 0 0 22px; font-size: clamp(1rem, .95rem + .3vw, 1.12rem); line-height: 1.95; color: var(--n-text); }
.n-quote {
  margin: 0 0 24px; padding: 18px 22px;
  border-inline-start: 4px solid var(--n-sky); border-radius: 18px;
  background: linear-gradient(to left, rgba(3, 169, 244, .09), rgba(152, 136, 200, .09));
}
.n-quote p { margin: 0; font-size: 1.08rem; font-weight: 500; line-height: 1.8; color: var(--n-navy); }
.n-marriage__p2 { margin: 0 0 14px; }
.n-marriage__p2 strong { color: var(--n-navy); }
.n-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.n-tags li {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--n-line); background: #fff;
  box-shadow: 0 6px 14px -10px rgba(7, 66, 92, .45);
  font-size: 14px; line-height: 1.5; color: var(--n-ink);
}

/* الكولاج: a عمودية ≈ 2:3، b و c أفقيتان 4:3، d دائرية 1:1 */
.n-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: 56px; }
.n-collage .n-photo { border-radius: 24px; box-shadow: var(--n-shadow); }
.n-collage .n-photo > img { transition: transform 1.1s var(--n-ease); }
.n-collage .n-photo:hover > img { transform: scale(1.06); }
.n-collage__a { grid-row: 1 / span 2; min-height: 100%; }
.n-collage__b, .n-collage__c { aspect-ratio: 4 / 3; }
.n-collage__d-wrap { position: absolute; bottom: 0; left: 31%; width: 38%; }
.n-collage .n-collage__d { aspect-ratio: 1; border: 6px solid #fff; border-radius: 50%; box-shadow: var(--n-shadow-lg); }
.n-collage__chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px;
  border-radius: 999px; background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--n-shadow);
  font-size: 13.5px; font-weight: 700; line-height: 1.4; color: var(--n-navy); white-space: nowrap;
  animation: n-float 6s ease-in-out infinite;
}
.n-collage__chip .mi { color: var(--n-sky); }
.n-collage__chip--1 { top: 7%; right: -12px; }
.n-collage__chip--2 { top: 48%; left: -12px; animation-delay: -3s; }

.n-subhead { display: flex; align-items: center; gap: 18px; margin: 0 0 28px; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); text-align: center; }
.n-subhead::before, .n-subhead::after { content: ""; flex: 1; height: 1px; background: linear-gradient(to left, rgba(7, 66, 92, 0), rgba(7, 66, 92, .22), rgba(7, 66, 92, 0)); }

.n-mcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 32px; }
.n-mcard { padding: 24px 20px 22px; border-radius: 26px; background: #fff; }
.n-mcard::before {
  content: ""; position: absolute; top: 0; right: 0; left: 0; height: 4px;
  background: linear-gradient(to left, var(--n-sky), var(--n-lav));
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .7s var(--n-ease);
}
.n-mcard:hover::before { transform: scaleX(1); }
.n-mcard__num {
  position: absolute; top: 14px; inset-inline-end: 18px;
  font-size: 3rem; font-weight: 800; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(7, 66, 92, .16);
}
.n-mcard__ico {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px;
  color: var(--n-navy); background: linear-gradient(135deg, #e0f2fe, #ede9fe);
  transition: transform .6s var(--n-ease);
}
.n-mcard__ico .mi { width: 26px; height: 26px; }
.n-mcard:hover .n-mcard__ico { transform: translateY(-3px) rotate(-8deg); }
.n-mcard h3 { margin: 0 0 10px; font-size: 1.12rem; }
.n-mcard p { margin: 0 0 14px; font-size: 14px; line-height: 1.85; color: var(--n-muted); }
.n-mcard .n-more { margin-top: auto; }

.n-contactbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px;
  padding: 22px 26px; border-radius: 26px; color: #d8eef7;
  background: radial-gradient(120% 140% at 100% 0%, rgba(3, 169, 244, .28), rgba(3, 169, 244, 0) 50%), linear-gradient(120deg, #07425c, #0a2f40);
  box-shadow: var(--n-shadow-lg);
}
.n-contactbar__note { flex: 1 1 320px; margin: 0; font-size: 15.5px; line-height: 1.85; }
.n-contactbar__note a { font-weight: 700; color: var(--n-sky-soft); text-decoration: underline; text-underline-offset: 4px; }
.n-contactbar__note a:hover { color: #fff; }
.n-contactbar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.n-callbox { display: flex; align-items: center; gap: 12px; }
.n-callbox p { margin: 0; font-size: 13px; line-height: 1.5; color: #a8cbd9; }
.n-callbox__num { font-size: 1.35rem; font-weight: 800; line-height: 1.3; color: #fff; }
.n-callbox__num:hover { color: var(--n-sky-soft); }
.n-callbox__icon {
  display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%;
  color: var(--n-navy); background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .12);
}
.n-callbox__icon:hover { color: var(--n-navy); }
.n-callbox__icon .ico { width: 22px; height: 22px; animation: n-ring 3.2s ease-in-out infinite; }
@keyframes n-ring { 0%, 55%, 100% { transform: rotate(0); } 60% { transform: rotate(-16deg); } 65% { transform: rotate(14deg); } 70% { transform: rotate(-10deg); } 75% { transform: rotate(6deg); } }

/* =========================================================
   تأسيس الشركات (قسم داكن)
   ========================================================= */
.n-companies { isolation: isolate; overflow: hidden; color: #b4cfdb; background: var(--n-deep); }
.n-companies__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 45% at 88% 6%, rgba(3, 169, 244, .22), rgba(3, 169, 244, 0) 70%),
    radial-gradient(45% 45% at 4% 92%, rgba(152, 136, 200, .26), rgba(152, 136, 200, 0) 70%);
}
.n-companies::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.n-companies__top {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: clamp(36px, 5vw, 80px); margin-bottom: clamp(56px, 7vw, 88px);
}
.n-head--dark h2 { color: #fff; }
.n-head--dark .n-kicker { color: var(--n-sky-soft); background: rgba(125, 211, 252, .1); border-color: rgba(125, 211, 252, .28); }
.n-head--dark .n-kicker::before { background: var(--n-sky-soft); box-shadow: 0 0 0 4px rgba(125, 211, 252, .18); }
.n-head--dark > p.n-companies__sub { color: #a6c6d3; font-size: 1.12rem; }
.n-hook { margin: 0 0 20px; font-size: clamp(1.35rem, 1rem + 1.5vw, 2.05rem); font-weight: 800; line-height: 1.6; color: #fff; }
.n-hook mark {
  padding: 0 .35em; border-radius: 10px; color: var(--n-deep);
  background: linear-gradient(to left, #7dd3fc, #c4b5fd);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.n-companies__intro { margin: 0 0 24px; line-height: 1.95; color: #a9c6d2; }
.n-companies__points { display: flex; flex-wrap: wrap; gap: 10px; }
.n-companies__points li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06);
  font-size: 14.5px; font-weight: 500; color: #e2f3fa;
}
.n-companies__points .mi { color: var(--n-sky-soft); }

/* صورتا الشركات: الكبيرة 4:5 عمودية، الصغيرة 16:9 أفقية */
.n-companies__media { position: relative; width: 100%; max-width: 440px; margin-inline: auto; padding: 0 0 64px 64px; }
.n-companies__big { aspect-ratio: 4 / 5; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65); }
.n-companies__small-wrap { position: absolute; bottom: 0; left: 0; width: 58%; }
.n-companies__small { aspect-ratio: 16 / 9; border: 5px solid var(--n-deep); border-radius: 20px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }
.n-companies__badge {
  position: absolute; z-index: 2; top: 28px; right: -18px;
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 18px;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(9, 33, 42, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; animation: n-float 7s ease-in-out infinite;
}
.n-companies__badge strong { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--n-sky-soft); font-variant-numeric: tabular-nums; }
.n-companies__badge > span { font-size: 13px; line-height: 1.45; }

.n-cotypes-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 20px; }
.n-cotypes-head h3 { margin: 0; font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); color: #fff; }
.n-cotypes-head p { margin: 0; font-size: 14.5px; color: #a6c6d3; }
.n-cotypes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 36px; }
.n-cotypes > li { display: flex; }
.n-cotypes a {
  display: flex; flex-direction: column; gap: 12px; width: 100%; min-height: 136px; padding: 18px;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  color: #e7f5fb;
  transition: transform .5s var(--n-ease), background-color .35s, border-color .35s, box-shadow .5s var(--n-ease);
}
.n-cotypes a:hover {
  color: #fff; transform: translateY(-5px); border-color: rgba(125, 211, 252, .5);
  background-color: rgba(3, 169, 244, .16); box-shadow: 0 24px 40px -26px rgba(3, 169, 244, .8);
}
.n-cotypes__n { font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--n-sky-soft); }
.n-cotypes__t { flex: 1; font-size: 15.5px; font-weight: 700; line-height: 1.55; }
.n-cotypes .mi { align-self: flex-end; width: 22px; height: 22px; color: var(--n-sky-soft); transition: transform .45s var(--n-ease); }
.n-cotypes a:hover .mi { transform: translateX(-6px); }
.n-companies__foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px;
  padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1);
}
.n-companies__foot > p { margin: 0; font-weight: 500; color: #cfe6ef; }

/* =========================================================
   الإقرارات الضريبية
   ========================================================= */
.n-tax { background: radial-gradient(45% 35% at 0% 0%, rgba(179, 18, 58, .05), rgba(179, 18, 58, 0) 70%), linear-gradient(180deg, #fff 0%, #f6f8ff 100%); }
.n-tax__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; gap: clamp(32px, 5vw, 72px); }
.n-tax h2 a { color: var(--n-ink); }
.n-tax h2 a:hover { color: var(--n-navy); }
.n-head > p.n-tax__head { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 700; line-height: 1.7; color: var(--n-ink); }
.n-tax__head u { color: var(--n-red); text-decoration-color: var(--n-red); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.n-tax__lead { margin: 0 0 14px; font-weight: 500; color: var(--n-ink); }
.n-deadlines, .n-fines { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.n-deadline {
  position: relative; overflow: hidden; padding: 20px;
  border-radius: 22px; border: 1px solid var(--n-line); background: #fff; box-shadow: var(--n-shadow);
}
.n-deadline::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: linear-gradient(to left, var(--n-red), #f59e0b); }
.n-deadline__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 14px; color: var(--n-red); background: rgba(179, 18, 58, .08); }
.n-deadline__ico .mi { width: 22px; height: 22px; }
.n-deadline__date { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 800; line-height: 1.25; color: var(--n-ink); }
.n-deadline__label { margin: 0; font-size: 15px; color: var(--n-muted); }
.n-deadline__left {
  display: inline-flex; align-items: baseline; gap: 6px; margin: 12px 0 0; padding: 4px 12px;
  border-radius: 999px; background: rgba(179, 18, 58, .07);
  font-size: 13.5px; font-weight: 500; color: var(--n-red);
}
.n-deadline__left b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.n-fines { margin-bottom: 18px; }
.n-fine { padding: 18px 20px; border-radius: 20px; border: 1px solid #fde3c3; background: #fff8ef; }
.n-fine--hot { border-color: #f9cdd7; background: #fff2f4; }
.n-fine__when { margin: 0 0 6px; font-size: 14px; line-height: 1.75; color: #5b4636; }
.n-fine--hot .n-fine__when { color: #5f2a37; }
.n-fine__amount { margin: 0; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 800; line-height: 1.4; color: #9a3412; font-variant-numeric: tabular-nums; }
.n-fine--hot .n-fine__amount { color: var(--n-red); }
.n-fine__amount small { font-size: .68em; font-weight: 500; opacity: .85; }
.n-tax__hint {
  display: flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 12px 16px;
  border-radius: 14px; background: rgba(3, 169, 244, .08); font-weight: 500; line-height: 1.6; color: var(--n-navy);
}
.n-tax__hint .mi { color: var(--n-link); }
.n-why { margin-bottom: 26px; padding: 22px 24px; border-radius: 22px; color: #c5dce5; background: linear-gradient(135deg, #0b2f3e, var(--n-deep)); }
.n-why h3 { margin: 0 0 14px; font-size: 1.2rem; color: #fff; }
.n-why ul { display: grid; gap: 10px; }
.n-why li { position: relative; padding-inline-start: 32px; font-size: 15px; line-height: 1.8; }
.n-why li::before {
  content: "!"; position: absolute; top: 4px; inset-inline-start: 0;
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--n-red); color: #fff; font-size: 12px; font-weight: 700; line-height: 1;
}
.n-tax__side { position: sticky; top: 112px; display: grid; gap: 18px; }
.n-taxcard { padding: 26px 24px; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .85); background: linear-gradient(160deg, #eef9ff, #ebe8fa); box-shadow: var(--n-shadow); }
.n-taxcard h3 { margin: 0 0 6px; font-size: 1.35rem; }
.n-taxcard__sub { margin: 0 0 16px; font-weight: 500; color: var(--n-link); }
.n-checks--lg li { font-size: 15px; }
/* صورتا الضرائب: الكبيرة 1:1، الصغيرة 5:4 */
.n-tax__imgs { position: relative; padding-bottom: 48px; }
.n-tax__img1 { width: 78%; aspect-ratio: 1; border-radius: 24px; box-shadow: var(--n-shadow); }
.n-tax__img2 { position: absolute; z-index: 2; bottom: 0; left: 0; width: 52%; aspect-ratio: 5 / 4; border: 5px solid #fff; border-radius: 18px; box-shadow: var(--n-shadow-lg); }

/* =========================================================
   نبذة عن المكتب (Bento)
   ========================================================= */
.n-bento {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  grid-template-areas:
    "intro intro intro digital"
    "hours hours reach reach"
    "perks perks perks perks";
}
.n-tile { position: relative; overflow: hidden; padding: clamp(22px, 2.6vw, 34px); border-radius: 28px; border: 1px solid var(--n-line); background: #fff; box-shadow: var(--n-shadow); }
.n-tile--intro {
  grid-area: intro;
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(152, 136, 200, .16), rgba(152, 136, 200, 0) 70%),
    radial-gradient(50% 60% at 100% 0%, rgba(3, 169, 244, .12), rgba(3, 169, 244, 0) 70%), #fff;
}
.n-tile--intro h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); line-height: 1.25; }
.n-tile--intro > p:not(.n-kicker) { margin: 0 0 18px; line-height: 1.95; }
.n-entities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.n-entities li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(to left, #eff7ff, #f3f1fd);
  font-size: 14.5px; font-weight: 500; line-height: 1.5; color: var(--n-ink);
}
.n-entities li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--n-sky), var(--n-lav)); transform: rotate(45deg); }
.n-tile--intro > p.n-tile__note { font-size: 14.5px; line-height: 1.9; color: var(--n-muted); margin-bottom: 22px; }
.n-tile--digital { grid-area: digital; display: flex; flex-direction: column; background: linear-gradient(180deg, #f2f8ff, #fff); }
/* صورة التحول الرقمي: 4:3 */
.n-tile__img { aspect-ratio: 4 / 3; margin: -6px -6px 18px; border-radius: 20px; }
.n-tile__img > img { transition: transform 1s var(--n-ease); }
.n-tile--digital:hover .n-tile__img > img { transform: scale(1.05); }
.n-tile--digital h3 { margin: 0 0 8px; font-size: 1.25rem; }
.n-tile--digital p { flex: 1; margin: 0 0 16px; font-size: 14.5px; line-height: 1.9; color: var(--n-muted); }
.n-tile--hours { grid-area: hours; display: flex; align-items: center; gap: 22px; border-color: transparent; color: #c9e3ee; background: radial-gradient(80% 120% at 0% 0%, rgba(3, 169, 244, .25), rgba(3, 169, 244, 0) 60%), linear-gradient(120deg, #07425c, #0b2f3e); }
.n-tile__emblem {
  display: grid; place-items: center; flex: none; width: 92px; height: 92px; border-radius: 26px;
  color: #bfe9fb; border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 18px 32px -16px rgba(0, 0, 0, .6);
  animation: n-float 6s ease-in-out infinite;
}
.n-tile__emblem .mi { width: 46px; height: 46px; stroke-width: 1.5; }
.n-tile--hours h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1.35rem; color: #fff; }
.n-tile--hours p { margin: 0; font-size: 14.5px; line-height: 1.9; }
.n-tile--reach {
  grid-area: reach; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px 22px;
  background: linear-gradient(160deg, #eef9ff, #ece9fa);
}
.n-tile--reach .n-channels { grid-row: span 2; }
.n-tile--reach .n-tile__title { align-self: end; }
.n-tile--reach .n-reach { align-self: start; justify-self: start; }
.n-channels { display: flex; align-items: center; }
.n-channels > span {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 3px solid #eef7ff; color: #fff; box-shadow: 0 10px 20px -10px rgba(7, 66, 92, .65);
}
.n-channels > span + span { margin-inline-start: -10px; }
.n-channels > span:nth-child(1) { background: linear-gradient(135deg, var(--n-navy), #0a83b8); }
.n-channels > span:nth-child(2) { background: linear-gradient(135deg, #25d366, #128c4a); }
.n-channels > span:nth-child(3) { --bg: #8576c2; background: linear-gradient(135deg, #6f62b8, #9888c8); }
.n-channels .ico { width: 19px; height: 19px; }
.n-channels .mi { width: 24px; height: 24px; }
.n-tile__title { margin: 0; font-weight: 700; line-height: 1.7; color: var(--n-ink); }
.n-reach {
  display: flex; align-items: center; gap: 10px; padding-block: 8px; padding-inline: 8px 14px;
  border-radius: 16px; background: #fff; box-shadow: var(--n-shadow);
  font-weight: 700; color: var(--n-navy);
  transition: transform .45s var(--n-ease), box-shadow .45s var(--n-ease);
}
.n-reach__ico {
  --duo: rgba(255, 255, 255, .22);
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px;
  color: #fff; background: linear-gradient(135deg, var(--n-navy), #0a83b8);
}
.n-reach__ico .mi { width: 20px; height: 20px; }
.n-reach > span:not(.n-reach__ico) { flex: 1; }
.n-reach:hover { color: var(--n-navy); transform: translateY(-3px); box-shadow: var(--n-shadow-lg); }
.n-reach > .mi { transition: transform .45s var(--n-ease); }
.n-reach:hover > .mi { transform: translateX(-5px); }
.n-perks { grid-area: perks; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.n-perks li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border-radius: 22px; border: 1px solid var(--n-line); background: #fff; box-shadow: var(--n-shadow);
  font-weight: 700; line-height: 1.5; color: var(--n-ink);
}
.n-perks__ico {
  --duo: rgba(3, 169, 244, .16); --bg: #e7effd;
  display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 18px;
  color: var(--n-navy); background: linear-gradient(135deg, #e0f2fe, #ede9fe);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85);
  transition: transform .6s var(--n-ease), color .35s, background-color .35s;
}
.n-perks__ico .mi { width: 28px; height: 28px; stroke-width: 1.7; }
.n-perks li:hover .n-perks__ico { --duo: rgba(255, 255, 255, .2); color: #fff; background: var(--n-navy); transform: rotate(-8deg) scale(1.06); }

/* =========================================================
   المكتب داخل مصر وخارجها + الخطوات
   ========================================================= */
.n-office { background: linear-gradient(180deg, #f3f1fd 0%, #eef8ff 100%); }
.n-office__top {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center; gap: clamp(32px, 5vw, 80px); margin-bottom: clamp(48px, 6vw, 80px);
}
.n-office__text > p { margin: 0; line-height: 1.95; }
.n-orbit { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; margin-inline: auto; }
.n-orbit__ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(7, 66, 92, .2); }
.n-orbit__ring--1 { inset: 0; animation: n-spin 70s linear infinite; }
.n-orbit__ring--2 { inset: 16%; border-style: solid; border-color: rgba(3, 169, 244, .22); }
.n-orbit__ring--3 { inset: 31%; border: 1px solid rgba(255, 255, 255, .9); background: radial-gradient(circle, #fff 40%, #eef6ff); box-shadow: var(--n-shadow-lg); }
.n-orbit__core { position: absolute; inset: 38%; display: grid; place-items: center; }
.n-orbit__core img { width: 100%; }
.n-orbit__node {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 999px; background: #fff; box-shadow: var(--n-shadow);
  font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--n-navy); white-space: nowrap;
  animation: n-float 6s ease-in-out infinite;
}
.n-orbit__node i { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--n-sky); }
.n-orbit__node i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--n-sky); animation: n-ping 2.4s var(--n-ease) infinite; }
.n-orbit__node--eg { top: 5%; right: 10%; }
.n-orbit__node--ae { top: 46%; left: -2%; animation-delay: -2s; }
.n-orbit__node--sa { bottom: 7%; right: 2%; animation-delay: -4s; }

.n-steps {
  padding: clamp(24px, 3.4vw, 44px); border-radius: 30px; border: 1px solid rgba(255, 255, 255, .95);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--n-shadow);
}
.n-steps__intro { margin: 0 0 30px; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); text-align: center; }
.n-steps__list { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.n-steps__list::before, .n-steps__list::after {
  content: ""; position: absolute; z-index: -1; top: 31px; right: 16.66%; left: 16.66%; height: 3px; border-radius: 3px;
}
.n-steps__list::after { background: rgba(7, 66, 92, .08); z-index: -2; }
.n-steps__list::before { background: linear-gradient(to left, var(--n-sky), var(--n-lav)); transform-origin: 100% 50%; }
.n-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.n-step__num {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%;
  font-size: 1.6rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--n-navy), #0a83b8);
  box-shadow: 0 0 0 8px #fff, 0 18px 30px -12px rgba(7, 66, 92, .75);
  transition: transform .45s var(--n-ease);
}
.n-step__num:hover { color: #fff; transform: scale(1.1); }
.n-step h4 { margin: 0 0 6px; font-size: 1.15rem; }
.n-step p { max-width: 30ch; margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--n-muted); }

/* =========================================================
   بطاقة «كن معنا الآن» — صورة مفرّغة مثبّتة على حافة البطاقة السفلية
   ========================================================= */
.n-final { padding: clamp(8px, 2vw, 24px) 0 clamp(72px, 9vw, 120px); background: linear-gradient(180deg, #eef8ff 0%, #fbfdff 100%); }
.n-final__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 390px); grid-template-areas: "text media";
  column-gap: clamp(24px, 4vw, 56px);
  padding-inline: clamp(24px, 4vw, 64px) clamp(16px, 3vw, 40px);
  border-radius: 36px; color: #cfe6f0;
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(152, 136, 200, .45), rgba(152, 136, 200, 0) 60%),
    radial-gradient(60% 80% at 100% 0%, rgba(3, 169, 244, .32), rgba(3, 169, 244, 0) 60%),
    linear-gradient(120deg, #07425c 0%, var(--n-deep) 100%);
  box-shadow: var(--n-shadow-lg);
}
.n-final__rings {
  position: absolute; z-index: -1; bottom: -280px; left: -60px; width: 560px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, .035), 0 0 0 120px rgba(255, 255, 255, .025), 0 0 0 180px rgba(255, 255, 255, .015);
}
.n-final__text { grid-area: text; align-self: center; padding-block: clamp(40px, 5vw, 64px); }
.n-final__text h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.35; color: #fff; }
.n-final__text > p:not(.n-kicker) { margin: 0 0 26px; font-size: 1.06rem; color: #bcd7e2; }
.n-final__media { grid-area: media; position: relative; align-self: end; padding-top: clamp(28px, 3vw, 40px); }
.n-final__media picture { display: block; }
.n-final__halo {
  position: absolute; z-index: -1; top: 6%; left: 50%; width: 92%; aspect-ratio: 1; border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(125, 211, 252, .38), rgba(152, 136, 200, .2) 55%, rgba(152, 136, 200, 0));
}
.n-final__portrait {
  display: block; width: 100%; height: auto;
  /* تذويب الحافتين الجانبيتين (الكتف الأيسر يلامس حافة الصورة) ليندمج الكتفان مع البطاقة كما يندمج الأسفل */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 82%, transparent 99%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 82%, transparent 99%);
}

/* =========================================================
   الفوتر الحديث — الأعمدة + خدمة الشريك المناسب في شبكة واحدة
   ========================================================= */
.n-foot { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 7vw, 88px) 0 28px; color: #a9c4cf; background: var(--n-deep); }
.n-foot__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 50% at 100% 0%, rgba(3, 169, 244, .14), rgba(3, 169, 244, 0) 70%),
    radial-gradient(40% 45% at 0% 62%, rgba(152, 136, 200, .16), rgba(152, 136, 200, 0) 70%);
}
.n-foot__grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 52px) 32px;
}
.n-foot__logo { display: inline-block; }
.n-foot__logo img { width: 80px; filter: brightness(0) invert(1); opacity: .95; }
.n-foot__word {
  margin: 12px 0 8px; direction: ltr; text-align: right;
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: .06em; white-space: nowrap;
  background: linear-gradient(to left, #fff, #7dd3fc 60%, #c4b5fd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.n-foot__en { max-width: 46ch; margin: 0 0 18px; font-size: 13.5px; line-height: 1.75; color: #8fb0bd; text-align: left; }
.n-foot__col h2 { position: relative; margin: 0 0 16px; padding-bottom: 10px; font-size: 16px; color: #fff; }
.n-foot__col h2::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(to left, var(--n-sky), var(--n-lav)); }
.n-foot__col ul { display: grid; gap: 10px; }
.n-foot__col li a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; line-height: 1.6; color: #a9c4cf;
  transition: color .25s, transform .35s var(--n-ease);
}
.n-foot__col li a::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: rgba(125, 211, 252, .55); }
.n-foot__col li a:hover { color: #fff; transform: translateX(-4px); }
.n-foot__col--wide { grid-column: span 2; }
.n-foot__col ul.n-foot__cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.n-search { position: relative; margin: 18px 0 14px; }
.n-search input[type="search"] {
  width: 100%; height: 46px; padding: 0 16px 0 50px;
  border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px;
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 14.5px;
  -webkit-appearance: none; appearance: none; outline: none;
  transition: border-color .25s, background-color .25s;
}
.n-search input::placeholder { color: #86a7b4; }
.n-search input:focus { border-color: var(--n-sky); background: rgba(255, 255, 255, .1); }
.n-search button {
  position: absolute; top: 5px; left: 5px; display: grid; place-items: center; width: 36px; height: 36px;
  border: 0; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #0a83b8, var(--n-navy));
}
.n-search button .ico { width: 16px; height: 16px; }

/* خدمة الشريك المناسب (بالتعاون مع منصة زواج دوت كوم): عمود من أعمدة الفوتر بلا بطاقة ولا فاصل */
.n-partner__by { display: flex; align-items: center; gap: 7px; margin: -4px 0 12px; font-size: 13px; line-height: 1.5; color: #8fb0bd; }
.n-partner__by .mi { width: 15px; height: 15px; color: var(--n-sky-soft); }
.n-partner__lead { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; line-height: 1.6; color: #e2f3fa; }
.n-partner__text { max-width: 46ch; margin: 0 0 18px; font-size: 14px; line-height: 1.9; color: #a9c4cf; }
.n-partner__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.n-partner__alt {
  font-size: 14px; font-weight: 500; line-height: 1.6; color: #cfe6ef;
  text-decoration: underline; text-decoration-color: rgba(125, 211, 252, .4); text-underline-offset: 5px;
  transition: color .25s, text-decoration-color .25s;
}
.n-partner__alt:hover { color: #fff; text-decoration-color: var(--n-sky-soft); }

.n-foot__bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px;
  margin-top: clamp(40px, 5vw, 56px); padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .08);
}
.n-social { display: flex; gap: 10px; }
.n-social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .06); color: #d2e7ef;
  transition: transform .4s var(--n-ease), background-color .3s, color .3s;
}
.n-social a:hover { color: #fff; background: var(--n-sky); transform: translateY(-3px); }
.n-social .ico { width: 18px; height: 18px; }
.n-foot__tel { display: inline-flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 700; color: #fff; }
.n-foot__tel:hover { color: var(--n-sky-soft); }
.n-foot__tel .ico { width: 16px; height: 16px; color: var(--n-sky-soft); }
.n-totop { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #a9c4cf; }
.n-totop:hover { color: #fff; }
.n-totop .mi { transition: transform .4s var(--n-ease); }
.n-totop:hover .mi { transform: translateY(-3px); }

/* فوتر الحقوق المشترك (يضيفه البنّاء بعد المحتوى) */
.page-home-modern .site-footer { padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .07); background: var(--n-deeper); color: #8fb0bd; font-size: 14px; }

/* زر واتساب العائم */
.n-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 70; isolation: isolate;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  color: #fff; background: linear-gradient(135deg, #25d366, #128c4a);
  box-shadow: 0 16px 30px -10px rgba(18, 140, 74, .75);
  transition: transform .5s var(--n-ease), opacity .35s, visibility .35s;
}
.n-fab::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25d366; animation: n-pulse 2.6s var(--n-ease) infinite; }
@keyframes n-pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.n-fab .ico { width: 28px; height: 28px; }
.n-fab:hover { color: #fff; transform: scale(1.08); }
.mjs .n-fab:not(.is-on) { opacity: 0; visibility: hidden; transform: translateY(20px) scale(.6); }

/* =========================================================
   الظهور عند التمرير (يُفعَّل فقط عندما يعمل JS)
   ========================================================= */
.mjs [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--n-ease), transform .9s var(--n-ease); transition-delay: var(--d, 0ms); }
.mjs [data-reveal="zoom"] { transform: scale(.94); }
.mjs [data-reveal].in { opacity: 1; transform: none; }
.mjs [data-reveal="stagger"] { opacity: 1; transform: none; }
.mjs [data-reveal="stagger"] > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--n-ease), transform .6s var(--n-ease); transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0ms)); }
.mjs [data-reveal="stagger"].in > * { opacity: 1; transform: none; }
.mjs .n-steps .n-steps__list::before { transform: scaleX(0); transition: transform 1.5s var(--n-ease) .35s; }
.mjs .n-steps.in .n-steps__list::before { transform: scaleX(1); }
.mjs .n-steps .n-step { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--n-ease), transform .7s var(--n-ease); }
.mjs .n-steps.in .n-step { opacity: 1; transform: none; }
.mjs .n-steps.in .n-step:nth-child(1) { transition-delay: .3s; }
.mjs .n-steps.in .n-step:nth-child(2) { transition-delay: .75s; }
.mjs .n-steps.in .n-step:nth-child(3) { transition-delay: 1.2s; }

/* =========================================================
   الاستجابة للشاشات
   ========================================================= */
@media (max-width: 1200px) {
  .n-hdr__links a { padding: 10px 12px; font-size: 16px; }
  .n-fbadge--team { right: -3%; }
  .n-fbadge--clients { left: -2%; }
}

@media (max-width: 1100px) {
  .n-quick__list, .n-scards, .n-mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n-cotypes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n-cotypes a { flex-direction: row; align-items: center; min-height: 0; gap: 14px; }
  .n-cotypes .mi { align-self: center; }
  .n-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "intro intro" "digital hours" "digital reach" "perks perks"; }
  .n-tile--reach { grid-template-columns: minmax(0, 1fr); }
  .n-tile--reach .n-channels { grid-row: auto; }
  .n-foot__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .n-foot__brand { grid-column: 1 / -1; }
  .n-partner { grid-column: span 2; }
  .n-foot__col--wide:last-child { grid-column: 1 / -1; }
  .n-foot__col--wide:last-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}

@media (max-width: 900px) {
  .n-entities { grid-template-columns: minmax(0, 1fr); }
  .n-tile--hours { flex-direction: column; align-items: flex-start; }
  .n-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .n-hdr__links { display: none; }
  .n-hdr__bar { justify-content: space-between; }
  .n-hdr__logo { margin-inline-start: 0; }
  .n-hero { padding-top: 112px; }
  .n-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .n-hero__visual { order: -1; max-width: 460px; }
  .n-portrait__arch { right: 15%; left: 15%; border-radius: 999px 999px 28px 28px; }
  .n-portrait__img { left: 15%; width: 70%; border-radius: 0 0 28px 28px; }
  .n-hero__text { max-width: 680px; margin-inline: auto; text-align: center; }
  .n-hero__en { margin-inline: auto; text-align: center; }
  .n-hero__bio { margin-inline: auto; }
  .n-hero__cta { justify-content: center; }
  .n-stats { text-align: right; }
  .n-fbadge--team { top: auto; right: -2%; bottom: 5%; }
  .n-fbadge--clients { top: 8%; left: 0; }
  .n-fbadge--care { bottom: 25%; left: -2%; }
  .n-marriage__top, .n-companies__top, .n-office__top, .n-tax__grid { grid-template-columns: minmax(0, 1fr); }
  .n-collage { width: 100%; max-width: 560px; margin-inline: auto; }
  .n-tax__side { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .n-final__card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "media"; padding-inline: clamp(20px, 4vw, 48px); text-align: center; }
  .n-final__text { padding-block: clamp(36px, 6vw, 56px) 0; }
  .n-final__text .n-btnrow { justify-content: center; }
  .n-final__media { justify-self: center; width: min(100%, 340px); padding-top: 18px; }
}

@media (max-width: 767px) {
  .n-hdr { padding-top: 8px; }
  .n-hdr__bar { height: 64px; padding-inline: 8px 12px; border-radius: 20px; }
  .n-hdr__menu { width: 44px; height: 44px; border-radius: 14px; }
  .n-hdr__wa { height: 44px; padding-inline: 5px 15px; gap: 8px; font-size: 15px; }
  .n-hdr__wa-ico { width: 34px; height: 34px; }
  .n-hdr__logo img { width: 84px; }
  .n-hero { padding: 96px 0 96px; }
  .n-hero__visual { max-width: 380px; }
  .n-fbadge { max-width: 172px; gap: 8px; padding-block: 8px; padding-inline: 8px 10px; border-radius: 14px; }
  .n-fbadge p { font-size: 12px; }
  .n-fbadge__ico { width: 34px; height: 34px; border-radius: 10px; }
  .n-fbadge__ico .mi { width: 19px; height: 19px; }
  .n-fbadge--clients { top: 6%; }
  .n-fbadge--care { bottom: 17%; left: 0; }
  .n-fbadge--team { right: 0; }
  .n-deadline { padding: 16px; }
  .n-deadline__left { font-size: 12px; white-space: nowrap; padding-inline: 10px; }
  .n-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .n-stats li:nth-child(3) { border-inline-start: 0; }
  .n-hero__cta .n-btn { flex: 1 1 220px; }
  .n-quick__list { gap: 10px; }
  .n-quick__item { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 14px; font-size: 14.5px; border-radius: 18px; }
  .n-quick__ico { width: 42px; height: 42px; border-radius: 13px; }
  .n-quick__go { display: none; }
  .n-strip__band { transform: skewY(-2deg); }
  .n-strip__list { transform: skewY(2deg); }
  .n-strip__list > li { margin: 2px 0; }
  .n-strip__list a { gap: 9px; padding: 5px 10px; }
  /* بطاقات الخدمات تصبح شريطًا أفقيًا قابلًا للسحب على الجوال */
  .n-scards, .n-mcards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(264px, 84%); gap: 14px;
    margin-inline: calc(-1 * var(--n-gut)); padding: 10px var(--n-gut) 26px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--n-gut);
    scrollbar-width: none;
  }
  .n-scards::-webkit-scrollbar, .n-mcards::-webkit-scrollbar { display: none; }
  .n-scards > li, .n-mcards > li { scroll-snap-align: start; }
  .mjs .n-scards > li[data-reveal], .mjs .n-mcards > li[data-reveal] { opacity: 1; transform: none; }
  .n-mcards { margin-bottom: 18px; }
  .n-scard__media { aspect-ratio: 1.6; }
  .n-emblem { width: 80px; height: 80px; border-radius: 26px; }
  .n-emblem::after { border-radius: 25px; }
  .n-emblem .mi { width: 40px; height: 40px; }
  .n-collage { padding-bottom: 44px; }
  .n-collage__chip--1 { right: 8px; }
  .n-collage__chip--2 { left: 8px; }
  .n-contactbar { padding: 20px; }
  .n-callbox__num { font-size: 1.2rem; }
  .n-companies__badge { right: 8px; top: 14px; }
  .n-companies__media { padding: 0 0 52px 40px; }
  .n-cotypes { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .n-cotypes a { padding: 14px 16px; }
  .n-fines { grid-template-columns: minmax(0, 1fr); }
  .n-tax__side { grid-template-columns: minmax(0, 1fr); }
  .n-tax__imgs { max-width: 420px; }
  .n-bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "hours" "reach" "digital" "perks"; }
  .n-tile__emblem { width: 76px; height: 76px; border-radius: 22px; }
  .n-tile__emblem .mi { width: 38px; height: 38px; }
  .n-perks { gap: 12px; }
  .n-perks li { flex-direction: column; text-align: center; padding: 16px 10px; font-size: 14.5px; }
  .n-orbit { max-width: 300px; }
  .n-orbit__node { font-size: 13px; padding: 6px 12px; }
  .n-steps__list { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .n-steps__list::before, .n-steps__list::after { top: 32px; bottom: 32px; right: 30.5px; left: auto; width: 3px; height: auto; }
  .n-steps__list::before { transform-origin: 50% 0; }
  .mjs .n-steps .n-steps__list::before { transform: scaleY(0); }
  .mjs .n-steps.in .n-steps__list::before { transform: scaleY(1); }
  .n-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; align-items: start; text-align: right; }
  .n-step__num { grid-row: 1 / span 2; margin: 0; }
  .n-step h4 { margin-top: 4px; }
  .n-step p { max-width: none; }
  .n-final__card { border-radius: 28px; }
  .n-final__media { width: min(100%, 300px); }
  .n-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .n-partner, .n-foot__col--wide, .n-foot__col--wide:last-child { grid-column: 1 / -1; }
  .n-foot__col--wide:last-child ul { grid-template-columns: minmax(0, 1fr); }
  .n-foot__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 56px; }
  .page-home-modern .site-footer { font-size: 12.5px; font-weight: 400; padding-bottom: 76px; }
  .n-fab { right: 12px; bottom: 12px; width: 52px; height: 52px; }
}

@media (max-width: 400px) {
  .n-hdr__bar { gap: 6px; }
  .n-hero__title { font-size: 2.35rem; }
  .n-stats li { padding-inline: 10px; }
  .n-fbadge--care { display: none; }
  .n-quick__item { font-size: 13.5px; }
  .n-strip__list a { font-size: 14.5px; }
}

@media (max-width: 359px) {
  .n-hdr__bar { padding-inline: 6px 10px; }
  .n-hdr__wa { gap: 6px; padding-inline: 4px 12px; font-size: 14px; }
  .n-hdr__wa-ico { width: 32px; height: 32px; }
  .n-hdr__logo img { width: 68px; }
  .n-strip__list a { white-space: normal; }
  .n-deadlines, .n-foot__grid { grid-template-columns: minmax(0, 1fr); }
  .n-foot__col ul.n-foot__cols2 { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   تقليل الحركة
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .n-anim, .n-fbadge.n-anim, .n-blob, .n-portrait__ring, .n-chip__dot::after, .n-live::after,
  .n-collage__chip, .n-companies__badge, .n-callbox__icon .ico, .n-tile__emblem,
  .n-orbit__ring--1, .n-orbit__node, .n-orbit__node i::after, .n-fab::before { animation: none; }
  .mjs [data-reveal], .mjs [data-reveal="stagger"] > *, .mjs .n-steps .n-step { opacity: 1; transform: none; transition: none; }
  .mjs .n-steps .n-steps__list::before { transform: none; transition: none; }
  .n-btn::after { display: none; }
  .n-hdr__bar, .n-hdr__menu, .n-hdr__wa, .n-emblem, .n-perks__ico { transition: none; }
}
