/* =========================================================
   extra-ar1.css — page-specific additions for
   about.html · methodology.html · compliance.html (Arabic)
   Loaded AFTER style.css. Uses design tokens only.
   ========================================================= */

/* ---- shared: readable notes on dark sections ---- */
.section--dark .note, .section--deep .note { color: #93a5ba; }
.section--dark .note .ico, .section--deep .note .ico { color: var(--gold-400); }
.note--center { justify-content: center; text-align: center; }
/* legibility: gold-500 eyebrow is ~2.4:1 on ivory/white — use the deeper gold there */
.section--ivory .eyebrow, .section--white .eyebrow { color: var(--gold-700); }

/* ---- about: leadership statement ---- */
.leader { position: relative; text-align: center; max-width: 940px; margin-inline: auto; }
.leader .q-ico { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 30px; background: var(--grad-gold); color: var(--navy-950); box-shadow: var(--shadow-gold), 0 0 0 10px rgba(201,154,61,.1); }
.leader .q-ico .ico { width: 34px; height: 34px; }
.leader blockquote { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem, 2.3vw, 1.85rem); line-height: 2.05; color: var(--white); }
.leader .sig { margin-top: 36px; display: inline-flex; align-items: center; gap: 16px; color: var(--gold-300); font-family: var(--font-head); font-weight: 600; }
.leader .sig::before, .leader .sig::after { content: ""; width: 44px; height: 2px; border-radius: 2px; background: var(--grad-gold); }

/* about: goal cards keep number + icon tidy */
.goal-card h3 { margin-top: 22px; }

/* ---- methodology: detailed step content ---- */
.mstep > div:first-child { align-self: start; }
.mstep-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.mstep-box { padding: 22px 24px; border-radius: var(--radius); background: var(--ivory); border-inline-start: 3px solid var(--gold-500); }
.mstep-box h4 { font-size: .86rem; letter-spacing: .04em; color: var(--gold-700); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.mstep-box h4 .ico { width: 18px; height: 18px; }
.mstep-box p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.mstep .meta .chip { border-radius: 14px; padding: 9px 16px; line-height: 1.6; align-items: flex-start; }
.mstep .meta .chip .ico { margin-top: 3px; flex-shrink: 0; }
@media (max-width: 860px) { .mstep-cols { grid-template-columns: 1fr; } }

/* methodology: debt lifecycle stage cards (gold progress bar on top) */
.stage-card { position: relative; padding: 46px 30px 30px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, rgba(20,56,88,.55), rgba(4,28,51,.25)); box-shadow: inset 0 0 0 1px rgba(201,154,61,.26); transition: transform .45s var(--ease), box-shadow .4s; display: flex; flex-direction: column; }
.stage-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 6px; background: rgba(201,154,61,.16); }
.stage-card::after { content: ""; position: absolute; inset-inline-start: 0; top: 0; height: 6px; width: var(--w, 100%); background: var(--grad-gold); box-shadow: 0 0 18px rgba(201,154,61,.6); border-radius: 0 6px 6px 0; }
html[dir="rtl"] .stage-card::after { border-radius: 6px 0 0 6px; }
.stage-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(201,154,61,.6), 0 30px 60px -30px rgba(0,0,0,.7); }
.stage-card .stage-no { font-family: var(--font-head); font-size: .82rem; letter-spacing: .08em; color: var(--gold-400); font-weight: 600; }
.stage-card .days { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.3; margin: 6px 0 4px; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stage-card .days-sub { font-size: .82rem; color: #93a5ba; margin-bottom: 18px; }
.stage-card h3 { color: var(--white); font-size: 1.25rem; margin: 0 0 10px; }
.stage-card p { color: #b6c4d4; font-size: .95rem; }
.stage-card .goal { margin-top: auto; padding-top: 16px; border-top: 1px dashed rgba(201,154,61,.32); color: var(--gold-200); font-size: .93rem; }
.stage-card .goal strong { color: var(--gold-300); font-family: var(--font-head); }

/* methodology: KPI cards */
.kpi-card h3 { font-size: 1.08rem; margin-top: 18px; }
.kpi-en { display: block; font-family: var(--font-head); font-size: .76rem; letter-spacing: .08em; color: var(--gold-700); margin: -6px 0 10px; }
.kpi-card .ico-badge { width: 52px; height: 52px; }

/* ---- compliance: ethical code (two-column numbered list) ---- */
.code-list { counter-reset: code; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 5vw, 76px); }
.code-list li { counter-increment: code; position: relative; padding: 24px 0; padding-inline-start: 72px; border-bottom: 1px solid rgba(201,154,61,.2); }
.code-list li::before { content: counter(code, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 22px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--gold-300); background: rgba(201,154,61,.08); box-shadow: inset 0 0 0 1.5px rgba(201,154,61,.5); }
.code-list strong { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--white); margin-bottom: 4px; }
.code-list span { display: block; color: #b6c4d4; font-size: .94rem; line-height: 1.85; }
.code-list li:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 860px) { .code-list { grid-template-columns: 1fr; } .code-list li:nth-last-child(2) { border-bottom: 1px solid rgba(201,154,61,.2); } }
@media (max-width: 420px) { .code-list li { padding-inline-start: 62px; } .code-list li::before { width: 44px; height: 44px; font-size: .9rem; } }

/* compliance: complaints mini process (4 steps) */
.process--4 { grid-template-columns: repeat(4, 1fr); }
.process--4::before { inset-inline: 12.5%; }
.process--4 .pline { inset-inline-start: 12.5%; }
.process--4.in-view .pline { width: 75%; }
@media (max-width: 980px) {
  .process--4 { grid-template-columns: 1fr; }
  .process--4::before { inset-inline-start: 34px; inset-inline-end: auto; }
  .process--4 .pline { inset-inline-start: 34px; }
}
.contact-line { display: inline-flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 30px; }
.contact-line .chip { font-size: .9rem; padding: 10px 18px; }

/* compliance: rich check-list (bold lead-in + sentence) */
.check-list--rich { display: grid; gap: 20px; }
.check-list--rich li { padding-inline-start: 36px; font-size: .97rem; }
.check-list--rich li::before { top: .5em; }
.check-list--rich strong { display: block; font-family: var(--font-head); color: var(--navy-900); font-size: 1.02rem; }
