/* =========================================================
   extra-ar2.css — page-specific styles for
   services.html · sectors.html · clients.html (Arabic)
   Uses design tokens from style.css only.
   ========================================================= */

/* ---------- Shared ---------- */
.page-hero h1, .sec-head h2, .cta-band h2 { text-wrap: balance; }
/* keep gold headline accents readable on light backgrounds */
.section--white .gold-text, .section--ivory .gold-text { background-image: linear-gradient(100deg, var(--gold-700) 0%, var(--gold-500) 45%, var(--gold-700) 100%); }
.section--white .cta-band .gold-text, .section--ivory .cta-band .gold-text { background-image: var(--grad-gold-text); }
.section--deep .note, .section--dark .note { color: #93a5ba; }
.section--deep .note .ico, .section--dark .note .ico { color: var(--gold-400); }

/* =========================================================
   SERVICES
   ========================================================= */

/* Sticky quick index */
.svc-index {
  position: sticky; top: 72px; z-index: 80;
  background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-light), 0 14px 30px -22px rgba(2, 15, 31, 0.3);
  transition: top .45s var(--ease);
}
.svc-index.is-flush { top: 0; }
.svc-index-inner { position: relative; display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; -ms-overflow-style: none; }
.svc-index-inner::-webkit-scrollbar { display: none; }
.svc-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--ink-soft); white-space: nowrap;
  background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line-light); transition: background .3s, color .3s, box-shadow .3s;
}
.svc-chip b { font-weight: 800; color: var(--gold-600); transition: color .3s; }
.svc-chip:hover, .svc-chip.is-active { background: var(--navy-900); color: var(--gold-300); box-shadow: none; }
.svc-chip:hover b, .svc-chip.is-active b { color: var(--gold-400); }

/* Service block */
.svc-block { scroll-margin-top: 100px; overflow: hidden; }
.svc-block .split { align-items: start; }
.svc-num {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(4.2rem, 8vw, 6.8rem); line-height: .9; margin-bottom: 14px;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.svc-block h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--navy-900); margin-bottom: 14px; }
.svc-promise { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; color: var(--gold-700); margin-bottom: 18px; padding-inline-start: 18px; border-inline-start: 3px solid var(--gold-500); }
.svc-desc { color: var(--ink-soft); margin-bottom: 26px; }
.svc-sub { font-family: var(--font-head); font-size: 1.02rem; color: var(--navy-900); margin: 0 0 4px; }
.svc-block .check-list { display: grid; gap: 11px; margin: 14px 0 26px; }
.svc-for { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.svc-for p { margin: 0; font-size: .94rem; color: var(--ink-soft); flex: 1 1 260px; }
.svc-outcome {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(201, 154, 61, .18), rgba(201, 154, 61, .05));
  box-shadow: inset 0 0 0 1px rgba(201, 154, 61, .45);
}
.svc-outcome .ico-badge { width: 46px; height: 46px; border-radius: 14px; }
.svc-outcome .ico-badge .ico { width: 23px; height: 23px; }
.svc-outcome strong { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--gold-700); margin-bottom: 4px; }
.svc-outcome p { margin: 0; color: var(--ink); font-size: .96rem; line-height: 1.75; }

/* dark variant */
.section--deep.svc-block h2 { color: var(--white); }
.section--deep .svc-promise { color: var(--gold-300); }
.section--deep .svc-desc, .section--deep .svc-for p { color: #b6c4d4; }
.section--deep .svc-sub { color: var(--white); }
.section--deep .svc-outcome p { color: #dfe7f0; }
.section--deep .svc-outcome strong { color: var(--gold-300); }

/* Visual column */
.svc-visual { position: relative; padding-block-start: 28px; }
@media (min-width: 861px) { .svc-visual { position: sticky; top: 150px; } }
.svc-float {
  position: absolute; top: 0; inset-inline-start: -20px; z-index: 2; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center;
  background: var(--grad-gold); color: var(--navy-950); box-shadow: var(--shadow-gold);
}
.svc-float .ico { width: 40px; height: 40px; stroke-width: 1.7; }
@media (max-width: 860px) { .svc-float { inset-inline-start: 14px; width: 68px; height: 68px; border-radius: 20px; } .svc-float .ico { width: 32px; height: 32px; } }
.svc-mock {
  position: relative; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); padding-top: clamp(40px, 5vw, 52px); color: #dfe7f0; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(201, 154, 61, .32), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.svc-mock::after { content: ""; position: absolute; width: 300px; height: 300px; inset-inline-end: -110px; bottom: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 154, 61, .22), transparent 65%); z-index: -1; }
.svc-mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.svc-mock-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--white); font-size: .95rem; }
.svc-mock-title .ico { color: var(--gold-400); width: 20px; height: 20px; }
.svc-tag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: .74rem; color: var(--gold-300); background: rgba(201, 154, 61, .14); }
.mrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 13px; background: rgba(255, 255, 255, .045); font-size: .88rem; margin-top: 10px; }
.svc-mock-head + .mrow, .svc-mock-head + .mbar { margin-top: 0; }
.mrow .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: rgba(255, 255, 255, .07); color: #93a5ba; font-family: var(--font-head); font-size: .78rem; font-weight: 700; }
.mrow .dot .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.mrow .txt { flex: 1; min-width: 0; }
.mrow em { font-style: normal; font-size: .74rem; color: #93a5ba; text-align: end; }
.mrow.is-done .dot { background: var(--grad-gold); color: var(--navy-950); }
.mrow.is-active { background: rgba(201, 154, 61, .09); box-shadow: inset 0 0 0 1px rgba(201, 154, 61, .45); }
.mrow.is-active .dot { background: transparent; box-shadow: inset 0 0 0 2px var(--gold-400); color: var(--gold-300); }
.mrow.is-active em { color: var(--gold-300); }
.mrow .to { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--gold-300); padding: 4px 10px; border-radius: 999px; background: rgba(201, 154, 61, .12); text-align: start; }
.mrow .to .ico { width: 13px; height: 13px; }
html[dir="rtl"] .mrow .to .i-arrow { transform: scaleX(-1); }
@media (max-width: 560px) { .mrow.has-to { flex-wrap: wrap; row-gap: 8px; } .mrow.has-to .txt { flex: 1 1 calc(100% - 48px); } .mrow.has-to .to { margin-inline-start: 40px; } }
.mbar { margin-top: 14px; }
.mbar-label { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; margin-bottom: 7px; color: #c3d0de; }
.mbar-label em { font-style: normal; color: #93a5ba; font-size: .74rem; }
.mbar-track { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.mbar-fill { display: block; height: 100%; width: var(--w, 50%); border-radius: 999px; background: var(--grad-gold); }
.mbar-fill.is-soft { background: linear-gradient(90deg, rgba(201, 154, 61, .55), rgba(201, 154, 61, .25)); }
.mseg { display: flex; gap: 4px; height: 16px; border-radius: 999px; overflow: hidden; margin: 4px 0 12px; }
.mseg i { display: block; height: 100%; }
.mseg i:nth-child(1) { width: 52%; background: var(--grad-gold); }
.mseg i:nth-child(2) { width: 30%; background: rgba(217, 176, 90, .5); }
.mseg i:nth-child(3) { width: 18%; background: rgba(255, 255, 255, .18); }
.mlegend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; font-size: .8rem; color: #b6c4d4; }
.mlegend span { display: inline-flex; align-items: center; gap: 8px; }
.mlegend span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-400); }
.mlegend span:nth-child(2)::before { background: rgba(217, 176, 90, .5); }
.mlegend span:nth-child(3)::before { background: rgba(255, 255, 255, .3); }
.svc-mock-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .76rem; color: #93a5ba; }
.svc-mock-foot .ico { width: 15px; height: 15px; color: var(--gold-400); flex-shrink: 0; }
.svc-alert { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--white); color: var(--ink); font-size: .82rem; box-shadow: var(--shadow-soft); }
.svc-alert .ico-badge { width: 38px; height: 38px; border-radius: 12px; background: rgba(201, 154, 61, .16); }
.svc-alert .ico-badge .ico { width: 19px; height: 19px; }
.svc-alert b { display: block; font-family: var(--font-head); font-size: .88rem; color: var(--navy-900); }

/* Capabilities grid */
.cap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cap-grid .card { display: flex; flex-direction: column; }
.cap-grid .card p { margin-bottom: 0; }
@media (min-width: 1025px) {
  .cap-grid > .card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 24px; }
  .cap-grid > .card:last-child:nth-child(3n + 1) h3 { margin-top: 0; }
}
@media (max-width: 1024px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cap-grid > .card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .cap-grid { grid-template-columns: 1fr; } }

/* Engagement */
.eng-grid .card { display: flex; flex-direction: column; }
.eng-grid .card h3 { margin-top: 22px; }
.eng-grid .card .card-list { margin-top: auto; padding-top: 14px; }
.eng-tag { align-self: flex-start; margin-top: 4px; }
.svc-closing { max-width: 860px; margin: clamp(32px, 4vw, 48px) auto 0; align-items: center; }
.svc-closing p { font-family: var(--font-head); font-weight: 500; color: var(--navy-900); }

/* =========================================================
   SECTORS
   ========================================================= */
.sector-jump { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.jump-tile {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--ivory);
  box-shadow: inset 0 0 0 1px var(--line-light); font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--navy-900);
  transition: transform .4s var(--ease), background .3s, box-shadow .3s, color .3s;
}
.jump-tile .ico-badge { width: 44px; height: 44px; border-radius: 13px; }
.jump-tile .ico-badge .ico { width: 22px; height: 22px; }
.jump-tile:hover { transform: translateY(-3px); background: var(--navy-900); color: var(--gold-300); box-shadow: none; }
@media (max-width: 1024px) { .sector-jump { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .sector-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .sector-jump { grid-template-columns: 1fr; } }

.sector-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.sector-grid > .sector-card { grid-column: span 2; scroll-margin-top: 100px; }
@media (min-width: 1025px) {
  .sector-grid > .sector-card:nth-last-child(-n + 2) { grid-column: span 3; }
}
@media (max-width: 1024px) {
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-grid > .sector-card { grid-column: auto; }
  .sector-grid > .sector-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .sector-grid { grid-template-columns: 1fr; } }
.sector-card .sc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sector-card .card .num, .sector-card .num { position: static; }
.sector-card .challenge strong { color: var(--navy-900); font-family: var(--font-head); font-weight: 600; }
.sc-label { font-family: var(--font-head); font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--gold-700); margin: 0; }
.sector-card .card-list { margin-top: 10px; }

/* =========================================================
   CLIENTS
   ========================================================= */
.principles { display: grid; gap: 12px; margin-top: 22px; }
.logo-marquee { margin-top: 8px; padding-block: 8px; }
.logo-marquee .marquee-track .logo-slot { flex: 0 0 190px; }
.logo-note { max-width: 720px; margin: 26px auto 0; justify-content: center; text-align: center; align-items: center; }
.logo-note .ico { margin-top: 0; }
.disclaimer {
  display: flex; gap: 16px; align-items: flex-start; max-width: 860px; margin: 0 auto clamp(30px, 4vw, 48px); padding: 18px 22px; border-radius: var(--radius);
  background: rgba(201, 154, 61, .1); box-shadow: inset 0 0 0 1px rgba(201, 154, 61, .45); color: #dfe7f0; font-size: .95rem;
}
.disclaimer .ico { color: var(--gold-400); flex-shrink: 0; margin-top: 4px; }
.disclaimer p { margin: 0; }
.cases { display: grid; gap: clamp(24px, 3vw, 36px); }
.case-head .chip { background: rgba(201, 154, 61, .16); color: var(--gold-300); }
.case-head h3 { flex: 1 1 240px; }
.case-body h4 { display: flex; align-items: center; gap: 8px; font-size: .95rem; letter-spacing: 0; }
.case-body h4 .ico { width: 18px; height: 18px; }
.case-body p { line-height: 1.85; }
