/* أقسام الصفحة الرئيسية (2.2) — تُحمَّل بعد home-light.css في الرئيسية فقط */

/* ---------- لماذا النخبة (بدون صف الأرقام المكرر) ---------- */
.credentials-section.nk-light .achievements-grid { margin-top: 0; }

/* ---------- قبل / بعد ---------- */
.ba-section { padding: 90px 0; }
.ba-head { text-align: center; margin-bottom: 36px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba-grid--one { grid-template-columns: minmax(0, 760px); justify-content: center; }
.ba { margin: 0; }
.ba__frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden;
  box-shadow: var(--lt-shadow-h); background: #0d2035;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__img--before { clip-path: inset(0 0 0 var(--pos)); filter: saturate(.55) brightness(.8) sepia(.25); }
.ba__tag {
  position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-weight: 800; font-size: .82rem; color: #fff;
}
.ba__tag--before { right: 14px; background: rgba(13,32,53,.75); }
.ba__tag--after { left: 14px; background: #229ebc; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none;
  box-shadow: 0 0 12px rgba(0,0,0,.35);
}
.ba__handle::after {
  content: '⇆'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #0d2035; display: grid; place-items: center;
  font-weight: 900; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; direction: ltr; }
.ba figcaption { text-align: center; margin-top: 12px; font-weight: 700; color: var(--lt-ink); }

/* ---------- حاسبة التكلفة ---------- */
.calc-card {
  background: linear-gradient(150deg, #0d2035 0%, #134a73 100%); color: #fff; border-radius: 24px; padding: 30px;
  box-shadow: 0 30px 60px rgba(13,32,53,.25);
}
.calc-card__title { font-size: 1.6rem; font-weight: 900; margin: 0 0 4px; color: #fff; }
.calc-card__sub { color: #9fd9e8; margin: 0 0 20px; font-weight: 600; }
.calc-f { display: block; margin-bottom: 14px; }
.calc-f > span { display: block; font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.75); margin-bottom: 6px; }
.calc-f select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08); color: #fff; font-family: inherit; font-size: 1rem; font-weight: 700;
}
.calc-f select option { color: #0d2035; }
.calc-seg { display: flex; gap: 6px; background: rgba(255,255,255,.06); padding: 5px; border-radius: 12px; }
.calc-seg button {
  flex: 1; padding: 10px 6px; border: 0; border-radius: 9px; background: transparent; color: rgba(255,255,255,.8);
  font-family: inherit; font-weight: 800; font-size: .92rem; cursor: pointer;
}
.calc-seg button.is-on { background: #fff; color: #0d2035; }
.calc-out {
  display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 16px; padding: 16px 18px;
  border-radius: 14px; background: rgba(217,174,76,.12); border: 1px solid rgba(217,174,76,.4);
}
.calc-out span { font-weight: 700; color: rgba(255,255,255,.8); }
.calc-out b { font-size: 1.15rem; color: #d9ae4c; }
.calc-out em { font-style: normal; font-size: 1.7rem; font-weight: 900; }
.calc-send {
  display: block; text-align: center; padding: 15px; border-radius: 14px; background: #fc8503; color: #fff !important;
  font-weight: 800; text-decoration: none; box-shadow: 0 8px 22px rgba(252,133,3,.35);
}
.calc-send:hover { background: #d96e00; }
.calc-note { margin: 12px 0 0; text-align: center; font-size: .82rem; color: rgba(255,255,255,.6); }

/* ---------- تقييمات جوجل ---------- */
.rv-section { padding: 90px 0; }
.rv-head { text-align: center; margin-bottom: 34px; }
.rv-score { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--lt-line); border-radius: 999px; padding: 8px 18px 8px 10px; margin-bottom: 14px; box-shadow: var(--lt-shadow); }
.rv-score b { display: block; color: var(--lt-ink); font-size: .95rem; }
.rv-g {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 900 1.1rem Arial, sans-serif;
  background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); color: #fff;
}
.rv-g--sm { width: 24px; height: 24px; font-size: .75rem; margin-right: auto; }
.rv-stars { color: #fbbc05; letter-spacing: 2px; font-size: 1rem; }
.rv-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rv-card { background: #fff; border: 1px solid var(--lt-line); border-radius: 18px; padding: 22px; box-shadow: var(--lt-shadow); }
.rv-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rv-card__top b { display: block; color: var(--lt-ink); }
.rv-card__top small { color: var(--lt-muted); }
.rv-av { width: 40px; height: 40px; border-radius: 50%; background: #229ebc; color: #fff; display: grid; place-items: center; font-weight: 800; }
.rv-card p { margin: 8px 0 0; color: var(--lt-body); line-height: 1.8; }
.rv-cta { text-align: center; margin-top: 26px; }
.rv-cta a { font-weight: 800; color: #13809b; text-decoration: none; border-bottom: 2px solid #bfe3ec; padding-bottom: 2px; }

/* ---------- المناطق بالأحياء ---------- */
.areas2 { padding: 90px 0; }
.areas2__head { text-align: center; margin-bottom: 28px; }
.areas2__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.areas2__tabs button {
  border: 1px solid var(--lt-line); background: #fff; color: var(--lt-ink); border-radius: 999px; padding: 10px 20px;
  font-family: inherit; font-weight: 800; cursor: pointer;
}
.areas2__tabs button.is-on { background: #0d2035; color: #fff; border-color: #0d2035; }
.areas2__panel { display: none; flex-wrap: wrap; justify-content: center; gap: 10px; }
.areas2__panel.is-on { display: flex; }
.areas2__chip {
  padding: 10px 16px; border-radius: 12px; background: var(--lt-bg-2); border: 1px solid var(--lt-line);
  color: var(--lt-ink); text-decoration: none; font-weight: 700; font-size: .92rem;
}
.areas2__chip:hover { border-color: #229ebc; color: #13809b; background: #fff; }

/* ---------- المعدات: فاتح ---------- */
section.sc-tech-section.nk-light { background: var(--lt-bg-2); }
.sc-tech-section.nk-light .sc-tech-heading { color: var(--lt-ink); }
.sc-tech-section.nk-light .sc-tech-subheading { color: var(--lt-body); }
.sc-tech-section.nk-light .sc-tech-card { background: #fff; border-color: var(--lt-line); box-shadow: var(--lt-shadow); border-radius: 18px; }
.sc-tech-section.nk-light .sc-tech-name { color: var(--lt-ink); }
.sc-tech-section.nk-light .sc-tech-partner-badge { display: none; } /* الأرقام مكررة في الترويسة */
.sc-tech-section.nk-light::after { display: none; }

/* ---------- الأسئلة: عمودان ---------- */
.faq-2col { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; max-width: 1100px; margin: 0 auto; }
.faq-section.nk-light .faq-container { max-width: 1140px; }
.faq-aside {
  position: sticky; top: 100px; background: linear-gradient(160deg, #0d2035, #134a73); color: #fff;
  border-radius: 22px; padding: 28px 24px; text-align: center; box-shadow: 0 24px 50px rgba(13,32,53,.22);
}
.faq-aside__ic { font-size: 2rem; }
.faq-aside h3 { color: #fff; font-size: 1.35rem; margin: 8px 0 6px; }
.faq-aside p { color: rgba(255,255,255,.75); margin: 0 0 18px; line-height: 1.7; }
.faq-aside__wa { display: block; padding: 13px; border-radius: 12px; background: #25d366; color: #fff !important; font-weight: 800; text-decoration: none; }
.faq-aside__call { display: block; margin-top: 12px; color: #9fd9e8; text-decoration: none; font-weight: 700; }

/* ---------- شريط التواصل الأخير ---------- */
.cband { background: linear-gradient(135deg, #0d2035 0%, #123352 60%, #134a73 100%); padding: 80px 0; }
.cband__in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.cband__eyebrow { color: #d9ae4c; font-weight: 800; font-size: .9rem; }
.cband h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 900; line-height: 1.3; margin: 10px 0 18px; }
.cband h2 span { color: #5fd0ea; }
.cband__phone { display: inline-block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: #fff; text-decoration: none; letter-spacing: .02em; margin-bottom: 18px; }
.cband__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cband__wa, .cband__call { padding: 14px 26px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.cband__wa { background: #fc8503; color: #fff !important; box-shadow: 0 8px 22px rgba(252,133,3,.35); }
.cband__call { border: 2px solid rgba(255,255,255,.3); color: #fff !important; }
.cband__mapbox {
  height: 240px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: #0d2035; text-align: center;
  background:
    linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)),
    repeating-linear-gradient(45deg, #dfe9f0 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, #dfe9f0 0 2px, transparent 2px 34px), #eef4f8;
}
.cband__maplink { margin-top: 10px; font-weight: 800; color: #13809b; text-decoration: none; }
.cband__pin { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: #fc8503; transform: rotate(-45deg); margin-bottom: 6px; }

/* ---------- الجوال ---------- */
@media (max-width: 768px) {
  .ba-grid, .ba-grid--one { grid-template-columns: 1fr; }
  .rv-track { grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .rv-card { scroll-snap-align: start; }
  .faq-2col { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .cband__in { grid-template-columns: 1fr; }
  .ba-section, .rv-section, .areas2 { padding: 64px 0; }
}

/* ==================== لماذا النخبة (2.3) ==================== */
section.why2 { padding: 96px 0 90px; }
.why2__split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why2__text .section-badge { margin-bottom: 14px; }
.why2__title { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 900; color: var(--lt-ink); line-height: 1.25; margin: 0 0 14px; }
.why2__title span { color: #229ebc; }
.why2__lead { color: var(--lt-body); font-size: 1.08rem; line-height: 1.9; margin: 0 0 22px; }
.why2__checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.why2__checks li { position: relative; padding-right: 32px; font-weight: 700; color: var(--lt-ink); line-height: 1.5; }
.why2__checks li::before {
  content: ''; position: absolute; right: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #e6f5f9;
}
.why2__checks li::after {
  content: ''; position: absolute; right: 7px; top: 7px; width: 9px; height: 5px;
  border-left: 2px solid #229ebc; border-bottom: 2px solid #229ebc; transform: rotate(-45deg);
}
.why2__btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.why2__wa {
  background: #fc8503; color: #fff !important; font-weight: 800; padding: 14px 26px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 24px rgba(252,133,3,.3); transition: transform .2s, background .2s;
}
.why2__wa:hover { background: #d96e00; transform: translateY(-2px); }
.why2__call { color: var(--lt-ink) !important; font-weight: 700; text-decoration: none; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--lt-line); background: #fff; }
.why2__call b { color: #13809b; }

.why2__media { position: relative; min-height: 470px; }
.why2__img { position: absolute; object-fit: cover; border-radius: 26px; box-shadow: var(--lt-shadow-h); }
.why2__img--main { inset: 0 0 60px 70px; width: calc(100% - 70px); height: calc(100% - 60px); }
.why2__img--small { left: 0; bottom: 0; width: 46%; height: 46%; border: 6px solid #fff; border-radius: 22px; }
.why2__badge { position: absolute; background: #fff; border-radius: 18px; box-shadow: 0 14px 34px rgba(13,32,53,.16); }
.why2__badge--years {
  top: 26px; right: -18px; display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  background: #0d2035; color: #fff;
}
.why2__badge--years b { font-size: 2.4rem; font-weight: 900; color: #d9ae4c; line-height: 1; }
.why2__badge--years span { font-size: .85rem; font-weight: 700; line-height: 1.35; }
.why2__badge--projects { right: 28px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.why2__badge--projects b { display: block; font-size: 1.5rem; font-weight: 900; color: var(--lt-ink); line-height: 1.1; }
.why2__badge--projects span { font-size: .82rem; color: var(--lt-muted); font-weight: 700; }
.why2__badge-ic { width: 40px; height: 40px; border-radius: 12px; background: #fff1e2; color: #e07400; display: grid; place-items: center; font-weight: 900; }

.why2__feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.why2__feat {
  position: relative; background: #fff; border: 1px solid var(--lt-line); border-radius: 20px; padding: 26px 22px 22px;
  box-shadow: var(--lt-shadow); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden;
}
.why2__feat::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: #229ebc; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.why2__feat:nth-child(even)::before { background: #fc8503; }
.why2__feat:hover { transform: translateY(-6px); box-shadow: var(--lt-shadow-h); border-color: #d6eaf1; }
.why2__feat:hover::before { transform: scaleX(1); }
.why2__feat-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: #e6f5f9; color: #13809b; margin-bottom: 16px; }
.why2__feat:nth-child(even) .why2__feat-ic { background: #fff1e2; color: #e07400; }
.why2__feat-ic svg { width: 26px; height: 26px; }
.why2__feat h3 { font-size: 1.1rem; font-weight: 800; color: var(--lt-ink); margin: 0 0 8px; }
.why2__feat p { margin: 0; color: var(--lt-body); font-size: .93rem; line-height: 1.75; }

/* ==================== خطوات العمل: خط زمني متعرّج (2.3) ==================== */
section.steps2 { padding: 96px 0; background: linear-gradient(180deg, #fff 0%, #f6fafc 100%); }
.steps2__head { text-align: center; margin-bottom: 56px; }
.steps2__list { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; position: relative; }
.steps2__list::before {
  content: ''; position: absolute; top: 10px; bottom: 10px; left: 50%; width: 2px; margin-left: -1px;
  background: repeating-linear-gradient(180deg, #bfe3ec 0 10px, transparent 10px 18px);
}
.steps2__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 26px; }
.steps2__item:last-child { margin-bottom: 0; }
.steps2__dot {
  position: absolute; left: 50%; top: 22px; transform: translateX(-50%); z-index: 2;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #13809b; border: 2px solid #229ebc; box-shadow: 0 0 0 7px #fff, 0 8px 20px rgba(13,32,53,.12);
}
.steps2__item:nth-child(even) .steps2__dot { color: #e07400; border-color: #fc8503; }
.steps2__dot svg { width: 26px; height: 26px; }
.steps2__card {
  position: relative; grid-column: 1; margin-left: 56px; background: #fff; border: 1px solid var(--lt-line); border-radius: 22px;
  padding: 24px 26px; box-shadow: var(--lt-shadow); overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.steps2__item:nth-child(even) .steps2__card { grid-column: 2; margin-left: 0; margin-right: 56px; }
.steps2__card:hover { transform: translateY(-4px); box-shadow: var(--lt-shadow-h); }
.steps2__num {
  position: absolute; left: 18px; top: 6px; font-family: Georgia, 'Times New Roman', serif; font-style: italic;
  font-size: 4.2rem; line-height: 1; color: rgba(217,174,76,.22); pointer-events: none;
}
.steps2__chip {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800;
  background: #e6f5f9; color: #13809b; margin-bottom: 10px;
}
.steps2__item:nth-child(even) .steps2__chip { background: #fff1e2; color: #e07400; }
.steps2__card h3 { font-size: 1.2rem; font-weight: 900; color: var(--lt-ink); margin: 0 0 8px; position: relative; }
.steps2__card p { margin: 0; color: var(--lt-body); line-height: 1.8; font-size: .96rem; position: relative; }
.steps2__cta {
  max-width: 980px; margin: 44px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: #0d2035; color: #fff; border-radius: 22px; padding: 22px 28px; box-shadow: 0 20px 44px rgba(13,32,53,.2);
}
.steps2__cta b { display: block; font-size: 1.25rem; font-weight: 900; }
.steps2__cta span { color: #9fd9e8; font-weight: 600; }
.steps2__cta a {
  background: #fc8503; color: #fff !important; font-weight: 800; padding: 13px 24px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 20px rgba(252,133,3,.35);
}
.steps2__cta a:hover { background: #d96e00; }

/* الجوال / الأجهزة اللوحية */
@media (max-width: 960px) {
  .why2__split { grid-template-columns: 1fr; gap: 40px; }
  .why2__media { min-height: 380px; }
  .why2__feats { grid-template-columns: 1fr 1fr; margin-top: 44px; }
}
@media (max-width: 768px) {
  section.why2, section.steps2 { padding: 64px 0; }
  .why2__checks { grid-template-columns: 1fr; }
  .why2__media { min-height: 320px; }
  .why2__img--main { inset: 0 0 50px 40px; width: calc(100% - 40px); height: calc(100% - 50px); }
  .why2__badge--years { right: 8px; top: 14px; padding: 10px 14px; }
  .why2__badge--years b { font-size: 1.8rem; }
  .why2__badge--projects { right: 14px; bottom: 10px; padding: 10px 14px; }
  .why2__feats { grid-template-columns: 1fr; gap: 10px; }
  .why2__feat { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 16px; align-items: start; }
  .why2__feat-ic { width: 46px; height: 46px; margin: 0; grid-row: span 2; }
  .why2__feat h3 { margin: 2px 0 4px; font-size: 1.02rem; }
  .why2__feat p { font-size: .88rem; line-height: 1.65; }
  .steps2__list::before { left: auto; right: 28px; margin: 0; }
  .steps2__item { grid-template-columns: 1fr; }
  .steps2__dot { left: auto; right: 28px; transform: translateX(50%); top: 18px; width: 50px; height: 50px; }
  .steps2__card, .steps2__item:nth-child(even) .steps2__card { grid-column: 1; margin: 0 72px 0 0; padding: 20px; }
  .steps2__num { font-size: 3.2rem; }
  .steps2__cta { text-align: center; justify-content: center; }
}
