/* ==========================================================================
   COMP-AUDIT CONSULTING — Design system
   Tokens · base · layout · components · pages · RTL
   Logical properties (margin-inline, inset-inline…) are used so that the
   Arabic RTL layout mirrors automatically.
   ========================================================================== */

:root {
  /* Brand */
  --navy: #061347;
  --navy-deep: #071442;
  --navy-900: #040d33;
  --navy-700: #1a2a66;
  --gold: #C58A00;
  --gold-light: #D9B35C;
  --gold-ink: #8A5F00;          /* gold for text on white — WCAG AA (5.6:1) */
  --gold-soft: #F7EED9;
  --ink: #253147;
  --ink-soft: #4E5A70;          /* 6.4:1 on white */
  --grey: #F3F5F8;
  --grey-2: #E9EDF3;
  --border: #E1E5EC;
  --white: #FFFFFF;
  --success: #16815C;
  --error: #C33535;
  --info: #1F4E9C;

  /* Type */
  --font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --fs-h1: clamp(2.125rem, 1.35rem + 3.1vw, 3.75rem);   /* 34 → 60 */
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem);    /* 28 → 44 */
  --fs-h3: clamp(1.25rem, 1.12rem + .5vw, 1.5rem);
  --fs-body: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --fs-small: .875rem;
  --lh-tight: 1.12;

  /* Spacing — 8px system */
  --s-1: .5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-5: 2.5rem; --s-6: 3rem; --s-8: 4rem; --s-10: 5rem; --s-12: 6rem;
  --section: clamp(4rem, 3rem + 4vw, 6.5rem);
  --container: 1240px;
  --gutter: clamp(1rem, .5rem + 2vw, 2rem);

  --radius-sm: 6px; --radius: 10px; --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(6, 19, 71, .06);
  --shadow: 0 6px 24px rgba(6, 19, 71, .08);
  --shadow-lg: 0 18px 48px rgba(6, 19, 71, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 88px;
}

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65; color: var(--ink); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[dir="rtl"] body { font-family: var(--font-ar); line-height: 1.8; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: var(--lh-tight); margin: 0 0 var(--s-2); font-weight: 800; letter-spacing: -.02em; }
html[dir="rtl"] :is(h1, h2, h3, h4) { font-family: var(--font-ar); letter-spacing: 0; line-height: 1.35; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }
p { margin: 0 0 var(--s-2); }
ul, ol { padding-inline-start: 1.25rem; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold-soft); color: var(--navy); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 1000; background: var(--gold); color: var(--navy); padding: .75rem 1rem; font-weight: 700; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
html[dir="rtl"] .icon-dir { transform: scaleX(-1); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--grey { background: var(--grey); }
.section--tight { padding-block: calc(var(--section) * .6); }
.grid { display: grid; gap: var(--s-3); }
.stack > * + * { margin-top: var(--s-2); }
.muted { color: var(--ink-soft); }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); line-height: 1.6; }

/* ---------------------------------------------------------------- Eyebrow & section heads */
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 var(--s-2); font: 700 .8125rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-family: var(--font-ar); font-size: .9375rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--gold); flex: none; }
.on-dark .eyebrow, .eyebrow--light { color: var(--gold-light); }
.highlight { color: var(--gold); }
.on-dark .highlight { color: var(--gold-light); }
.section-head { display: grid; gap: var(--s-2) var(--s-6); align-items: end; margin-bottom: var(--s-5); }
.section-head h2 { margin: 0; max-width: 17ch; }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 56ch; }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center h2 { max-width: 22ch; }
@media (min-width: 900px) { .section-head:not(.section-head--center) { grid-template-columns: 1.1fr 1fr; } }

/* ---------------------------------------------------------------- Buttons */
.btn { --btn-bg: var(--gold); --btn-fg: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .75rem 1.4rem; border: 2px solid transparent; border-radius: var(--radius-sm); background: var(--btn-bg); color: var(--btn-fg); font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); white-space: nowrap; }
html[dir="rtl"] .btn { font-family: var(--font-ar); }
.btn:hover { --btn-bg: var(--gold-light); color: var(--navy); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(197, 138, 0, .28); }
.btn:active { transform: translateY(0); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255, 255, 255, .85); }
.btn--outline-light:hover { --btn-bg: var(--white); color: var(--navy); box-shadow: none; }
.btn--navy { --btn-bg: var(--navy); --btn-fg: var(--white); }
.btn--navy:hover { --btn-bg: var(--navy-700); color: var(--white); box-shadow: var(--shadow); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--border); }
.btn--ghost:hover { --btn-bg: var(--grey); color: var(--navy); box-shadow: none; }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.link-arrow .icon { color: var(--gold); transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
html[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(3px); }

/* ---------------------------------------------------------------- Top utility bar */
.container--header { max-width: calc(1400px + 2 * var(--gutter)); }
.topbar { background: var(--navy); color: rgba(255, 255, 255, .88); font-size: .8125rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-height: 38px; }
.topbar__info { display: flex; align-items: center; gap: 1.25rem; flex-wrap: nowrap; white-space: nowrap; }
.topbar a { color: inherit; text-decoration: none; transition: color .18s var(--ease); }
.topbar a:hover { color: var(--gold-light); }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.topbar__item .icon { width: 14px; height: 14px; color: var(--gold-light); }
.topbar__right { display: flex; align-items: center; gap: var(--s-2); }
.social { display: flex; gap: .25rem; }
.social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.social .icon { width: 15px; height: 15px; }
@media (max-width: 960px) { .topbar__item--hide-md { display: none; } }
@media (max-width: 767px) { .topbar__item--hide-sm, .topbar .social { display: none; } }

/* Language switcher */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: .35rem; height: 28px; padding: 0 .65rem; border: 1px solid rgba(255, 255, 255, .32); border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--white); font-size: .75rem; font-weight: 700; cursor: pointer; transition: border-color .2s, background-color .2s; }
.lang__btn:hover { border-color: var(--gold-light); background: rgba(255, 255, 255, .12); }
.lang__btn .icon { width: 14px; height: 14px; }
.lang__menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 60; min-width: 160px; padding: .35rem; margin: 0; list-style: none; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lang__menu[hidden] { display: none; }
.lang__menu a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .75rem; border-radius: 4px; color: var(--ink); font-size: .875rem; }
.lang__menu a:hover, .lang__menu a[aria-current="true"] { background: var(--grey); color: var(--navy); }
.lang__menu a[aria-current="true"] { font-weight: 700; }

/* ---------------------------------------------------------------- Header & Aligned Desktop Navbar */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .98); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(11, 31, 106, .08); transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.header.is-scrolled { box-shadow: 0 8px 28px rgba(6, 19, 71, .09); border-color: var(--border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: .85rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.brand img { width: 172px; height: auto; }
@media (max-width: 480px) { .brand img { width: 152px; } }

.nav { display: none; flex: 1; justify-content: center; }
.nav__list { display: flex; align-items: center; justify-content: center; gap: .2rem; margin: 0; padding: 0; list-style: none; flex-wrap: nowrap; }
.nav__item { position: relative; flex: none; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: .38rem; padding: .55rem .68rem; border: 0; background: transparent; color: var(--navy); font: 600 .875rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; border-radius: 8px; white-space: nowrap; transition: background-color .18s var(--ease), color .18s var(--ease); }
html[dir="rtl"] .nav__link { font-family: var(--font-ar); font-size: .925rem; }
.nav__icon { width: 15px; height: 15px; color: var(--gold-ink); opacity: .88; transition: transform .2s var(--ease), color .2s var(--ease); flex: none; }
.nav__chev { width: 13px; height: 13px; color: var(--ink-soft); opacity: .75; transition: transform .2s var(--ease); flex: none; }
.nav__label { white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; inset-inline: .68rem; bottom: .18rem; height: 2.5px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .22s var(--ease); }
.nav__link:hover, .nav__item.is-active > .nav__link, .nav__link[aria-current="page"] { background: rgba(11, 31, 106, .045); color: var(--navy); }
.nav__link:hover .nav__icon, .nav__item.is-active > .nav__link .nav__icon { color: var(--gold); transform: translateY(-1px); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__item.is-open > .nav__link .nav__chev { transform: rotate(180deg); color: var(--navy); }

/* Dropdowns */
.dropdown { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; z-index: 55; min-width: 290px; padding: .55rem; background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 42px rgba(6, 19, 71, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.dropdown--wide { min-width: 580px; inset-inline-start: -80px; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1180px) {
  .nav__item[data-dropdown]:hover > .dropdown { opacity: 1; visibility: visible; transform: none; }
  .nav__item[data-dropdown]:hover > .nav__link .nav__chev { transform: rotate(180deg); }
}
.dropdown a { display: flex; gap: .75rem; align-items: flex-start; padding: .65rem .75rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.35; transition: background-color .15s var(--ease); }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--grey); color: var(--navy); }
.dropdown__icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(197, 138, 0, .12); color: var(--gold-ink); flex: none; margin-top: 1px; transition: background-color .18s, color .18s; }
.dropdown a:hover .dropdown__icon { background: var(--navy); color: var(--gold-light); }
.dropdown__icon .icon { width: 18px; height: 18px; }
.dropdown strong { display: block; color: var(--navy); font-weight: 700; margin-bottom: .1rem; }
.dropdown small { display: block; color: var(--ink-soft); font-size: .78rem; line-height: 1.35; }
.dropdown__all { grid-column: 1 / -1; border-top: 1px solid var(--border); margin-top: .25rem; padding-top: .35rem; }
.dropdown__all a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); font-size: .85rem; }

.header__cta { display: none; min-height: 42px; padding: .55rem 1.05rem; font-size: .875rem; border-radius: 8px; flex: none; white-space: nowrap; }
.header__cta .icon { width: 16px; height: 16px; }
.burger { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-inline-end: -4px; border: 1px solid var(--border); background: var(--grey); color: var(--navy); cursor: pointer; border-radius: 10px; }
.burger .icon { width: 24px; height: 24px; }
@media (min-width: 1180px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(4, 13, 51, .55); opacity: 0; transition: opacity .25s var(--ease); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(400px, 100%); display: flex; flex-direction: column; background: var(--white); transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 84px; }
html[dir="rtl"] .drawer__panel { transform: translateX(-100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); border-bottom: 1px solid var(--border); }
.drawer__head img { width: 148px; }
.drawer__nav { padding: .5rem var(--gutter) 1rem; }
.drawer__nav > ul { list-style: none; margin: 0; padding: 0; }
.drawer__nav > ul > li { border-bottom: 1px solid var(--border); }
.drawer__nav a, .drawer__nav summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: .45rem 0; color: var(--navy); font: 700 1rem/1.3 var(--font-head); text-decoration: none; cursor: pointer; list-style: none; }
.drawer__item-label { display: inline-flex; align-items: center; gap: .65rem; }
.drawer__icon { width: 18px; height: 18px; color: var(--gold-ink); flex: none; }
.drawer__subicon { width: 15px; height: 15px; color: var(--gold-ink); margin-inline-end: .45rem; flex: none; }
html[dir="rtl"] .drawer__nav :is(a, summary) { font-family: var(--font-ar); }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav details[open] summary > .icon { transform: rotate(180deg); }
.drawer__nav details ul { list-style: none; margin: 0 0 .75rem; padding: 0; }
.drawer__nav details a { justify-content: flex-start; min-height: 42px; font: 500 .9rem/1.3 var(--font-body); color: var(--ink); padding-inline-start: .85rem; border-inline-start: 2px solid var(--gold-soft); }
.drawer__foot { margin-top: auto; padding: 1.25rem var(--gutter) 2rem; background: var(--grey); display: grid; gap: .75rem; }
.drawer__foot a.contact-line { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-size: .9375rem; }
.drawer__foot .icon { color: var(--gold-ink); }
.drawer__langs { display: flex; gap: .5rem; }
.drawer__langs a { flex: 1; text-align: center; padding: .55rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); color: var(--navy); font-weight: 700; text-decoration: none; }
.drawer__langs a[aria-current="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
body.no-scroll { overflow: hidden; }

/* ---------------------------------------------------------------- Mobile App-Style Bottom Navigation Bar */
.mobile-bottom-nav {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 75;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(11, 31, 106, .1);
  box-shadow: 0 -6px 24px rgba(6, 19, 71, .08);
  padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom, 0px));
}
.mobile-bottom-nav__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .15rem;
  max-width: 540px;
  margin-inline: auto;
}
.mobile-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  min-height: 54px;
  padding: .3rem .1rem;
  border-radius: 12px;
  color: #5b6478;
  text-decoration: none;
  font: 600 .66rem/1.15 var(--font-body);
  letter-spacing: -.01em;
  text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
html[dir="rtl"] .mobile-bottom-nav__item { font-family: var(--font-ar); font-size: .72rem; letter-spacing: 0; }
.mobile-bottom-nav__icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 22px;
}
.mobile-bottom-nav__icon .icon {
  width: 20px;
  height: 20px;
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.mobile-bottom-nav__label {
  display: block;
  max-width: 100%;
  white-space: nowrap;
}
.mobile-bottom-nav__item:hover {
  color: var(--navy);
  background: rgba(11, 31, 106, .04);
}
.mobile-bottom-nav__item.is-active,
.mobile-bottom-nav__item[aria-current="page"] {
  background: rgba(11, 31, 106, .09);
  color: var(--navy);
  font-weight: 700;
}
.mobile-bottom-nav__item.is-active .mobile-bottom-nav__icon .icon,
.mobile-bottom-nav__item[aria-current="page"] .mobile-bottom-nav__icon .icon {
  color: var(--gold-ink);
  transform: translateY(-1px);
}
@media (max-width: 1179px) {
  body { padding-bottom: 72px; overflow-x: clip; }
}
@media (min-width: 1180px) {
  .mobile-bottom-nav { display: none; }
}

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero__content { position: relative; z-index: 1; min-width: 0; width: 100%; padding: clamp(2.25rem, 2rem + 3vw, 6rem) var(--gutter) clamp(2.25rem, 2rem + 3vw, 5rem); }
.hero h1 { color: var(--white); margin-bottom: var(--s-3); max-width: 15ch; overflow-wrap: break-word; }
.hero__text { font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); color: rgba(255, 255, 255, .86); max-width: 54ch; margin-bottom: var(--s-4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .65rem; width: 100%; }
.hero__media { position: relative; min-height: 260px; background: var(--navy-deep); min-width: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero__media figcaption { position: absolute; inset-inline-end: .75rem; bottom: .5rem; font-size: .6875rem; color: rgba(255, 255, 255, .7); }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 560px; }
  .hero__content { padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)) var(--s-6); display: flex; flex-direction: column; justify-content: center; }
  .hero__media { min-height: 100%; }
  .hero__media::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--gold); z-index: 1; }
}
@media (max-width: 959px) {
  .hero__actions .btn { flex: 1 1 100%; width: 100%; max-width: 100%; padding-inline: 1rem; }
  .hero__media { aspect-ratio: 16 / 10; min-height: 240px; }
  .hero .eyebrow { font-size: .72rem; letter-spacing: .09em; flex-wrap: wrap; }
  .hero .eyebrow::before { width: 18px; }
}

/* Trust strip */
.trust { position: relative; z-index: 2; margin-top: calc(var(--s-5) * -1); }
.trust__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.trust__item { display: flex; gap: .9rem; padding: 1.5rem 1.5rem; border-inline-end: 1px solid var(--border); }
.trust__item:last-child { border-inline-end: 0; }
.trust__item .icon { width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.trust__item h3, .trust__item .trust__title { font-size: 1.0625rem; margin: 0 0 .25rem; }
.trust__item p { margin: 0; font-size: .875rem; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 959px) { .trust { margin-top: 0; padding-top: var(--s-4); } .trust__item { border-inline-end: 0; border-bottom: 1px solid var(--border); } }

/* ---------------------------------------------------------------- Service cards */
.service-grid { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
@media (min-width: 1100px) { .service-grid--six { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 640px) and (max-width: 1099px) { .service-grid--six { grid-template-columns: repeat(3, 1fr); } }
.svc-card { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem 1.25rem 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--ink); text-align: center; align-items: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.svc-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--gold); border-radius: var(--radius) var(--radius) 0 0; transform: scaleX(0); transition: transform .3s var(--ease); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__icon { display: grid; place-items: center; width: 60px; height: 60px; color: var(--gold); }
.svc-card__icon .icon { width: 44px; height: 44px; stroke-width: 1.5; }
.svc-card h3 { font-size: 1.125rem; margin: 0; }
.svc-card p { margin: 0; font-size: .875rem; color: var(--ink-soft); line-height: 1.5; flex: 1; }
.svc-card__arrow { align-self: flex-end; color: var(--gold); }
@media (max-width: 639px) {
  /* Mobile: list rows, as in the reference board */
  .service-grid--six .svc-card { flex-direction: row; text-align: start; align-items: center; padding: 1rem 1rem; gap: 1rem; }
  .service-grid--six .svc-card__icon { width: 44px; height: 44px; }
  .service-grid--six .svc-card__icon .icon { width: 34px; height: 34px; }
  .service-grid--six .svc-card__body { flex: 1; }
  .service-grid--six .svc-card__arrow { align-self: center; }
}
.svc-card__body { display: flex; flex-direction: column; gap: .35rem; flex: 1; }

/* Large expertise cards (Expertises page) */
.pillar { display: grid; gap: var(--s-3); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: box-shadow .25s var(--ease); }
.pillar:hover { box-shadow: var(--shadow); }
.pillar__head { display: flex; gap: 1rem; align-items: center; }
.pillar__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-ink); flex: none; }
.pillar__icon .icon { width: 34px; height: 34px; }
.pillar h2 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); margin: 0; }
.pillar__cols { display: grid; gap: var(--s-3); }
@media (min-width: 900px) { .pillar { grid-template-columns: 1.2fr 1fr; align-items: start; } .pillar__head, .pillar__summary { grid-column: 1; } .pillar__cols { grid-column: 2; grid-row: 1 / span 3; } }
.pillar h3 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .5rem; font-family: var(--font-body); }
html[dir="rtl"] .pillar h3 { letter-spacing: 0; font-family: var(--font-ar); font-size: .9375rem; }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0 0 var(--s-2); display: grid; gap: .6rem; }
.checklist li { position: relative; padding-inline-start: 1.9rem; }
.checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5F00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------------------------------------------------------------- About split */
.split { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); } .split--reverse > :first-child { order: 2; } }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 38%; height: 5px; background: var(--gold); }
.about-card { position: relative; padding: clamp(1.5rem, 1rem + 2vw, 3rem); background: linear-gradient(180deg, var(--grey), var(--white)); border-radius: var(--radius-lg); overflow: hidden; }
.about-card::after { content: ""; position: absolute; inset-inline-end: -10px; bottom: 0; width: 70%; height: 120px; background: url("../images/skyline.svg") right bottom / contain no-repeat; opacity: .55; pointer-events: none; }
html[dir="rtl"] .about-card::after { transform: scaleX(-1); }
.about-card > * { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- Feature list (why) */
.features { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.feature { padding: 1.5rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); }
.feature .icon { width: 32px; height: 32px; color: var(--gold); margin-bottom: 1rem; }
.feature h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }
.on-dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.on-dark .feature h3 { color: var(--white); }
.on-dark .feature p { color: rgba(255, 255, 255, .78); }

/* Dark section */
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .86); position: relative; overflow: hidden; }
.section--navy :is(h2, h3) { color: var(--white); }
.section--navy .section-head p { color: rgba(255, 255, 255, .78); }

/* ---------------------------------------------------------------- Sector tiles */
.sector-grid { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.sector-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.sector-tile:hover { border-color: var(--gold-light); box-shadow: var(--shadow); color: var(--ink); }
.sector-tile .icon { width: 30px; height: 30px; color: var(--gold); }
.sector-tile h3 { font-size: 1.0625rem; margin: 0 0 .25rem; }
.sector-tile p { margin: 0; color: var(--ink-soft); font-size: .875rem; line-height: 1.5; }

/* ---------------------------------------------------------------- Method steps */
.steps { display: grid; gap: var(--s-3); counter-reset: step; margin: 0; padding: 0; list-style: none; }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(5, 1fr); gap: var(--s-2); } }
.step { position: relative; padding-top: 3.5rem; }
.step__num { position: absolute; top: 0; inset-inline-start: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font: 800 1rem var(--font-head); box-shadow: 0 0 0 6px var(--white); z-index: 1; }
.section--grey .step__num { box-shadow: 0 0 0 6px var(--grey); }
@media (min-width: 960px) { .step::before { content: ""; position: absolute; top: 22px; inset-inline: 44px -1rem; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-light) 0 6px, transparent 6px 12px); } .step:last-child::before { display: none; } }
.step h3 { font-size: 1.125rem; margin-bottom: .4rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }

/* ---------------------------------------------------------------- Articles */
.article-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.article-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.article-card__media { aspect-ratio: 16 / 9; background: var(--navy) url("../images/pattern.svg") center / cover; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 1.25rem 1.5rem; flex: 1; }
.article-card__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .8125rem; color: var(--ink-soft); }
.article-card h3 { font-size: 1.1875rem; margin: 0; }
.article-card h3 a { color: var(--navy); text-decoration: none; }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card { position: relative; }
.article-card p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .65rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-size: .75rem; font-weight: 700; text-decoration: none; letter-spacing: .02em; }
a.chip:hover { background: var(--gold-light); color: var(--navy); }
.chip--navy { background: var(--grey-2); color: var(--navy); }

/* Empty state */
.empty { display: grid; justify-items: center; gap: .75rem; padding: clamp(2rem, 1.5rem + 3vw, 4rem) 1.5rem; text-align: center; background: var(--white); border: 1px dashed var(--border); border-radius: var(--radius-lg); }
.empty > .icon { width: 44px; height: 44px; color: var(--gold); }
.empty h3 { margin: 0; font-size: 1.25rem; }
.empty p { margin: 0; color: var(--ink-soft); max-width: 52ch; }
.empty__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: .5rem; }

/* ---------------------------------------------------------------- CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem, 1.5rem + 3vw, 4rem); display: grid; gap: var(--s-3); align-items: center; }
.cta-band::before { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 320px; height: 320px; border: 1px solid rgba(217, 179, 92, .35); border-radius: 50%; }
.cta-band::after { content: ""; position: absolute; inset-inline-end: 40px; bottom: -120px; width: 260px; height: 260px; border: 1px solid rgba(217, 179, 92, .2); border-radius: 50%; }
.cta-band h2 { color: var(--white); margin: 0 0 .5rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .82); max-width: 60ch; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------------------------------------------------------------- Contact blocks */
.contact-cards { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.contact-card { display: flex; gap: 1rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-card .icon { width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.contact-card h3 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 .35rem; font-family: var(--font-body); }
html[dir="rtl"] .contact-card h3 { letter-spacing: 0; font-family: var(--font-ar); font-size: .9375rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--navy); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--gold-ink); text-decoration: underline; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy) url("../images/map-placeholder.svg") center / cover; min-height: 320px; display: grid; place-items: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__overlay { position: relative; z-index: 1; display: grid; gap: .75rem; justify-items: center; text-align: center; padding: 1.5rem; max-width: 380px; color: var(--white); }
.map__overlay p { margin: 0; font-size: .8125rem; color: rgba(255, 255, 255, .8); }

/* ---------------------------------------------------------------- Page hero (inner pages) */
.page-hero { position: relative; background: var(--navy); color: var(--white); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset-inline-end: 0; bottom: 0; width: min(60%, 760px); height: 70%; background: url("../images/skyline-light.svg") right bottom / contain no-repeat; opacity: .14; pointer-events: none; }
html[dir="rtl"] .page-hero::after { transform: scaleX(-1); }
.page-hero h1 { color: var(--white); max-width: 22ch; margin-bottom: var(--s-2); }
.page-hero .lead { color: rgba(255, 255, 255, .84); max-width: 64ch; margin: 0; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: rgba(217, 179, 92, .14); color: var(--gold-light); margin-bottom: var(--s-2); }
.page-hero__icon .icon { width: 34px; height: 34px; }

/* Breadcrumb */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0 0 var(--s-3); padding: 0; list-style: none; font-size: .8125rem; color: rgba(255, 255, 255, .72); }
.breadcrumb li { display: inline-flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; color: var(--gold-light); }
.breadcrumb a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------------------------------------------------------------- Content layout + prose */
.layout { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .layout { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-8); align-items: start; } .layout__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); margin: 2.5rem 0 .9rem; padding-top: 1rem; position: relative; }
.prose h2::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 40px; height: 3px; background: var(--gold); border-radius: 2px; }
.prose h3 { font-size: 1.1875rem; margin: 1.75rem 0 .6rem; }
.prose p, .prose li { color: var(--ink); }
.prose ul:not(.checklist) li { margin-bottom: .4rem; }
.prose ul:not(.checklist) li::marker { color: var(--gold); }
.prose em { color: var(--ink-soft); }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-inline-start: 4px solid var(--gold); background: var(--grey); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .65rem .75rem; border-bottom: 1px solid var(--border); text-align: start; }
.prose th { background: var(--grey); color: var(--navy); }
.prose img { border-radius: var(--radius); }
.prose .note, .prose .callout { padding: 1rem 1.25rem; background: var(--gold-soft); border-radius: var(--radius-sm); }
.pending-info { display: inline-block; padding: 0 .4rem; border-radius: 4px; background: var(--gold-soft); color: var(--gold-ink); font-style: italic; font-size: .9em; }

/* Aside cards */
.aside-card { padding: 1.5rem; border-radius: var(--radius-lg); background: var(--grey); border: 1px solid var(--border); }
.aside-card + .aside-card { margin-top: var(--s-2); }
.aside-card h2, .aside-card h3 { font-size: 1.125rem; margin-bottom: .75rem; }
.aside-card--navy { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .85); }
.aside-card--navy :is(h2, h3) { color: var(--white); }
.aside-card--navy .btn { width: 100%; }
.aside-card p { font-size: .9375rem; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.aside-links a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .25rem; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .9375rem; border-bottom: 1px solid var(--border); }
.aside-links a:hover { color: var(--gold-ink); }
.aside-links .icon { width: 16px; height: 16px; color: var(--gold); }

/* Notice banners */
.notice { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: #EEF3FB; color: #13306A; font-size: .9375rem; border: 1px solid #D5E1F5; }
.notice .icon { width: 20px; height: 20px; margin-top: 2px; }
.notice--warn { background: var(--gold-soft); color: #5C4000; border-color: #EBD9AE; }
.notice-bar { background: var(--gold-soft); color: #5C4000; font-size: .875rem; }
.notice-bar .container { display: flex; gap: .6rem; align-items: center; padding-block: .6rem; }
.notice-bar a { color: #5C4000; font-weight: 700; }

/* ---------------------------------------------------------------- Accordion */
.accordion { display: grid; gap: .75rem; }
.acc { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.acc[open] { box-shadow: var(--shadow-sm); border-color: var(--gold-light); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; font: 700 1.0625rem/1.4 var(--font-head); color: var(--navy); }
html[dir="rtl"] .acc summary { font-family: var(--font-ar); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { color: var(--gold); transition: transform .2s var(--ease); }
.acc[open] summary .icon { transform: rotate(45deg); }
.acc__body { padding: 0 1.25rem 1.25rem; color: var(--ink-soft); }
.acc__body p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: var(--s-5); }
.faq-group h2 { font-size: 1.375rem; display: flex; align-items: center; gap: .6rem; }
.faq-group h2 .icon { color: var(--gold); }

/* ---------------------------------------------------------------- Forms */
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 600; color: var(--navy); font-size: .9375rem; }
.field .req { color: var(--error); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; background: var(--white); border: 1px solid #C9D0DB; border-radius: var(--radius-sm); color: var(--ink); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.textarea { min-height: 150px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23061347' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right .8rem center; padding-inline-end: 2.5rem; }
html[dir="rtl"] .select { background-position: left .8rem center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(197, 138, 0, .28); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: .875rem; font-weight: 500; }
.field__hint { color: var(--ink-soft); font-size: .8125rem; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--navy); flex: none; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.radios legend { margin-bottom: .4rem; padding: 0; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem 1rem; border: 1px solid #C9D0DB; border-radius: 999px; cursor: pointer; font-size: .9375rem; color: var(--ink); }
.radio-pill span .icon { width: 18px; height: 18px; color: var(--gold-ink); }
.radio-pill input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.radio-pill input:checked + span .icon { color: var(--gold-light); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-weight: 500; }
.alert .icon { width: 22px; height: 22px; flex: none; }
.alert--success { background: #E7F5EF; color: #0D5C40; border: 1px solid #BFE3D3; }
.alert--error { background: #FBECEC; color: #8E2222; border: 1px solid #F1C9C9; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.form-foot small { color: var(--ink-soft); }

/* Steps list (appointment) */
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.mini-steps li { display: flex; gap: .9rem; align-items: flex-start; }
.mini-steps b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--navy); flex: none; font-family: var(--font-head); }

/* ---------------------------------------------------------------- Resources toolbar & pagination */
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-pill { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem 1rem; border: 1px solid var(--border); border-radius: 999px; color: var(--navy); background: var(--white); text-decoration: none; font-size: .875rem; font-weight: 600; }
.filter-pill:hover { border-color: var(--gold-light); color: var(--navy); }
.filter-pill[aria-current="true"], .filter-pill.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.searchbox { display: flex; align-items: center; gap: .5rem; min-width: min(100%, 320px); padding: 0 .4rem 0 .9rem; background: var(--white); border: 1px solid #C9D0DB; border-radius: 999px; }
.searchbox input { flex: 1; min-height: 44px; border: 0; background: transparent; outline: none; min-width: 0; }
.searchbox:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(197, 138, 0, .28); }
.searchbox button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--navy); color: var(--white); cursor: pointer; }
.searchbox button .icon { width: 18px; height: 18px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: var(--s-5); flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--navy); text-decoration: none; font-weight: 600; }
.pagination [aria-current="page"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pagination a:hover { border-color: var(--gold-light); }

/* Article page */
.article-head__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: var(--s-2); color: rgba(255, 255, 255, .82); font-size: .9375rem; }
.article-head__meta span { display: inline-flex; gap: .4rem; align-items: center; }
.article-head__meta .icon { width: 16px; height: 16px; color: var(--gold-light); }
.share { display: flex; flex-wrap: wrap; gap: .5rem; }
.share a, .share button { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); color: var(--navy); cursor: pointer; }
.share a:hover, .share button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.share .icon { width: 18px; height: 18px; }
.cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--s-4); }

/* ---------------------------------------------------------------- Calendar */
.cal-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: var(--s-3); }
.cal-nav { display: flex; align-items: center; gap: .5rem; }
.cal-nav h2 { font-size: 1.5rem; margin: 0 .5rem; min-width: 12ch; text-align: center; text-transform: capitalize; }
.cal-nav a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; color: var(--navy); }
.cal-nav a:hover { background: var(--grey); }
.segmented { display: inline-flex; padding: 4px; background: var(--grey); border-radius: 999px; }
.segmented a { padding: .45rem 1rem; border-radius: 999px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .875rem; }
.segmented a[aria-current="true"] { background: var(--white); box-shadow: var(--shadow-sm); }
.calendar { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.calendar th { padding: .7rem .25rem; background: var(--navy); color: var(--white); font-size: .8125rem; font-weight: 600; }
.calendar td { height: 104px; vertical-align: top; padding: .4rem; border-top: 1px solid var(--border); border-inline-start: 1px solid var(--border); }
.calendar td:first-child { border-inline-start: 0; }
.calendar td.is-out { background: #FAFBFC; color: #A3ABBA; }
.calendar td.is-today .cal-day { background: var(--gold); color: var(--navy); }
.cal-day { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: .8125rem; font-weight: 700; }
.cal-ev { display: block; width: 100%; margin-top: .25rem; padding: .25rem .4rem; border: 0; border-radius: 4px; background: var(--gold-soft); color: #5C4000; font-size: .75rem; line-height: 1.3; text-align: start; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.cal-ev--social { background: #E6F0FB; color: #13306A; }
.cal-ev--legal { background: #EDE9F8; color: #3D2A7A; }
.cal-ev--other { background: var(--grey-2); color: var(--ink); }
@media (max-width: 767px) { .calendar-wrap { display: none; } .calendar-list-mobile { display: block !important; } }
.calendar-list-mobile { display: none; }
.deadline-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.deadline { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; padding: 1rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); scroll-margin-top: calc(var(--header-h) + 24px); }
.deadline:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 138, 0, .22); }
.deadline__date { display: grid; place-items: center; align-content: center; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); padding: .5rem; text-align: center; line-height: 1.1; }
.deadline__date b { font: 800 1.5rem var(--font-head); color: var(--gold-light); }
.deadline__date span { font-size: .75rem; text-transform: uppercase; }
.deadline h3 { font-size: 1.0625rem; margin: 0 0 .3rem; }
.deadline p { margin: 0 0 .4rem; font-size: .9375rem; color: var(--ink-soft); }
.deadline__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .8125rem; color: var(--ink-soft); }

/* Search results */
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.result { padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.result h2 { font-size: 1.1875rem; margin: .4rem 0; }
.result h2 a { text-decoration: none; }
.result p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }

/* Team */
.team-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.member { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.member__body { padding: 1rem 1.25rem 1.25rem; }
.member h3 { font-size: 1.0625rem; margin: 0 0 .2rem; }
.member p { margin: 0; font-size: .875rem; color: var(--ink-soft); }

/* Values grid */
.values { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.mv { display: grid; gap: var(--s-3); }
@media (min-width: 800px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv__card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--gold); }
.mv__card .icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: 1rem; }

/* Sitemap page */
.sitemap-cols { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.sitemap-cols h2 { font-size: 1.125rem; }
.sitemap-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.sitemap-cols a { text-decoration: none; }

/* Error page */
.error-page { text-align: center; padding-block: clamp(4rem, 3rem + 5vw, 8rem); }
.error-page__code { font: 800 clamp(4rem, 3rem + 6vw, 8rem)/1 var(--font-head); color: var(--gold); margin-bottom: 1rem; }
.error-page .searchbox { margin: 1.5rem auto 0; max-width: 420px; }

/* ---------------------------------------------------------------- Footer */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .78); font-size: .9375rem; }
.footer__top { display: grid; gap: var(--s-5); padding-block: var(--s-8) var(--s-6); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.35fr 1fr 1fr 1.2fr; } }
.footer__logo { display: inline-block; padding: .75rem 1rem; background: var(--white); border-radius: var(--radius-sm); line-height: 0; margin-bottom: 1.25rem; }
.footer__logo img { width: 180px; }
.footer h2 { font: 700 .8125rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.1rem; }
html[dir="rtl"] .footer h2 { letter-spacing: 0; font-family: var(--font-ar); font-size: .9375rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--gold-light); margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom .container { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center; padding-block: 1.25rem; font-size: .8125rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer .social a { background: rgba(255, 255, 255, .08); }

/* Mobile sticky CTA */
.mobile-cta { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: flex; gap: .5rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(6, 19, 71, .08); transform: translateY(110%); transition: transform .3s var(--ease); }
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 46px; }
.mobile-cta .btn--ghost { flex: 0 0 52px; padding: 0; }
@media (min-width: 1100px) { .mobile-cta { display: none; } }
@media (max-width: 1099px) { .footer__bottom { padding-bottom: 70px; } }

/* Cookie notice */
.cookie { position: fixed; inset-inline-start: 1rem; bottom: 1rem; z-index: 90; max-width: 420px; padding: 1rem 1.15rem; background: var(--navy); color: rgba(255, 255, 255, .9); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .875rem; display: grid; gap: .75rem; }
.cookie[hidden] { display: none; }
.cookie a { color: var(--gold-light); }
.cookie__actions { display: flex; gap: .75rem; align-items: center; }
@media (max-width: 1099px) { .cookie { inset-inline: .75rem; bottom: 84px; max-width: none; } }

/* Reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .header, .footer, .mobile-cta, .cookie, .drawer, .hero__media, form { display: none !important; }
  .page-hero, .hero { background: none; color: #000; }
  .page-hero h1, .hero h1 { color: #000; }
}

/* ---------------------------------------------------------------- Utilities */
.m-0 { margin: 0 !important; }
.mt-1 { margin-top: .5rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.h3 { font-size: var(--fs-h3); }
.w-full { width: 100%; flex: 1 1 100%; }
.text-center { text-align: center; }
.checklist--light li { color: rgba(255, 255, 255, .88); }
.checklist--light li::before { background-color: rgba(217, 179, 92, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9B35C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.contact-cards--stack { grid-template-columns: 1fr; }
.searchbox__icon { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink-soft); }
.searchbox__icon .icon { width: 18px; height: 18px; }
.aside-card .eyebrow { font-size: .75rem; margin-bottom: .4rem; margin-top: .75rem; }
.error-page .empty__actions { justify-content: center; display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.sector-tile--cta { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.86); }
.sector-tile--cta h3 { color: var(--white); }
.sector-tile--cta p { color: rgba(255,255,255,.78); }
.sector-tile--cta .icon { color: var(--gold-light); }
.sector-tile--cta:hover { border-color: var(--gold); color: var(--white); }
@media (max-width: 599px) { .btn { white-space: normal; text-align: center; } }
.page-hero__icon { display: grid; }
.aside-card .checklist li { font-size: .9375rem; line-height: 1.5; }
.mb-6 { margin-bottom: 2.5rem; }
.h4 { font-size: 1.125rem; }

/* ---------------------------------------------------------------- Founder Section (Dr. Ali DAOUDI) */
.founder-card { display: grid; gap: clamp(1.75rem, 3vw, 3.25rem); align-items: center; padding: clamp(1.5rem, 2.5vw, 3rem); background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (min-width: 920px) { .founder-card { grid-template-columns: 360px 1fr; } }
.founder-portrait-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.founder-portrait-wrap img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; display: block; }
.founder-badge { display: flex; gap: .75rem; align-items: center; padding: 1rem 1.15rem; background: var(--navy); color: var(--white); border-top: 2px solid var(--gold); }
.founder-badge .icon { width: 28px; height: 28px; color: var(--gold-light); flex: none; }
.founder-badge strong { display: block; font-size: 1.0625rem; color: var(--white); }
.founder-badge span { display: block; font-size: .8125rem; color: rgba(255,255,255,.82); }
.founder-quote { margin: 1.25rem 0; padding: 1rem 1.25rem; border-inline-start: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--navy); }
.founder-quote p { margin: 0; font-size: 1.02rem; line-height: 1.65; }
.founder-bio { color: var(--ink-soft); margin-bottom: 1.25rem; }
.founder-diplomas { padding: 1.25rem 1.5rem; background: var(--grey); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.5rem; }
.founder-diplomas h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .85rem; color: var(--navy); }
.founder-diplomas h3 .icon { color: var(--gold-ink); width: 22px; height: 22px; }
.founder-footer { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; justify-content: space-between; padding-top: .5rem; }
.founder-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.founder-phones { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; font-weight: 700; font-size: .9375rem; color: var(--navy); }
.founder-phones span { display: inline-flex; align-items: center; gap: .4rem; }
.founder-phones .icon { width: 18px; height: 18px; color: var(--gold-ink); }
.founder-phones a { color: var(--navy); text-decoration: none; }
.founder-phones a:hover { color: var(--gold-ink); text-decoration: underline; }

/* ---------------------------------------------------------------- Simulators Hub & Workspace */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; min-height: 42px; padding: .45rem 1.15rem; border-radius: 999px; border: 1px solid var(--border); background: var(--white); color: var(--navy); font-weight: 600; font-size: .9375rem; text-decoration: none; transition: all .15s var(--ease); }
.chip:hover { border-color: var(--gold); color: var(--navy); }
.chip.is-active, .chip[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.sim-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); }
.sim-grid--four { grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr)); }
.sim-card { display: flex; flex-direction: column; padding: 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.sim-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.sim-card__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.sim-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--gold-soft); color: var(--gold-ink); }
.sim-card__icon .icon { width: 24px; height: 24px; }
.sim-card__badge { display: inline-block; padding: .25rem .65rem; border-radius: 999px; background: var(--grey); color: var(--navy); font-size: .75rem; font-weight: 700; }
.sim-card h2, .sim-card h3 { margin: 0 0 .6rem; font-size: 1.15rem; line-height: 1.35; }
.sim-card h2 a, .sim-card h3 a { color: var(--navy); text-decoration: none; }
.sim-card h2 a:hover, .sim-card h3 a:hover { color: var(--gold-ink); }
.sim-card p { color: var(--ink-soft); font-size: .9375rem; flex: 1; margin-bottom: 1.25rem; }
.sim-card__foot { margin-top: auto; }

.sim-workspace { display: grid; gap: var(--s-4); align-items: start; }
@media (min-width: 960px) { .sim-workspace { grid-template-columns: 1fr 1.08fr; } }
.sim-panel { padding: clamp(1.35rem, 2vw, 2.25rem); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.sim-panel--results { border-top: 4px solid var(--gold); }
.sim-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.sim-panel__head h2 { display: flex; align-items: center; gap: .55rem; }
.sim-panel__head .icon { color: var(--gold-ink); }
.sim-form { display: grid; gap: 1.15rem; }

.sim-kpi-highlight { padding: 1.35rem 1.5rem; border-radius: var(--radius); background: var(--navy); color: var(--white); margin-bottom: 1.25rem; }
.sim-kpi-highlight__label { display: block; font-size: .875rem; color: rgba(255,255,255,.82); margin-bottom: .35rem; }
.sim-kpi-highlight__value { display: block; font: 800 clamp(1.5rem, 2.5vw, 2.15rem)/1.2 var(--font-head); color: var(--gold-light); }
.sim-kpi-highlight__sub { display: block; margin-top: .45rem; font-size: .84rem; color: rgba(255,255,255,.86); }

.sim-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--grey-2); margin-bottom: 1.25rem; gap: 2px; }
.sim-bar__seg--navy { background: var(--navy); }
.sim-bar__seg--gold { background: var(--gold); }

.sim-breakdown { margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.sim-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .55rem .75rem; border-radius: var(--radius-sm); background: var(--grey); font-size: .9375rem; }
.sim-row dt { color: var(--ink-soft); font-weight: 500; }
.sim-row dd { margin: 0; font-weight: 700; color: var(--navy); text-align: end; white-space: nowrap; }

.sim-expert-box { padding: 1.25rem; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid #EBD9AE; }
.sim-expert-box__head { display: flex; align-items: center; gap: .85rem; margin-bottom: .75rem; }
.sim-expert-box__head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top center; border: 2px solid var(--gold); }
.sim-expert-box__head strong { display: block; color: var(--navy); font-size: 1rem; }
.sim-expert-box__head span { display: block; font-size: .8125rem; color: #5C4000; }
.sim-expert-box p { font-size: .875rem; color: #5C4000; margin: 0 0 1rem; }

.accordion__item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.accordion__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; font: 700 1.05rem/1.4 var(--font-head); color: var(--navy); }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary .icon { color: var(--gold); }
.accordion__body { padding: 0 1.25rem 1.25rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- Hero Enhancements & Floating Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.hero__pills { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; max-width: 100%; }
.hero__pill { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(217, 179, 92, .4); color: var(--white); font-size: .8125rem; font-weight: 600; text-decoration: none; backdrop-filter: blur(6px); transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); max-width: 100%; }
.hero__pill .icon { width: 15px; height: 15px; color: var(--gold-light); flex: none; }
.hero__pill:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
.hero__pill:hover .icon { color: var(--navy); }
@media (max-width: 639px) {
  .hero__pills { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin-top: 1.15rem; }
  .hero__pill { justify-content: flex-start; border-radius: 10px; padding: .5rem .65rem; font-size: .75rem; line-height: 1.25; }
}

.hero__media { min-height: 360px; }
@media (min-width: 960px) {
  .hero__media { min-height: 580px; }
}
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6, 19, 71, .35) 0%, rgba(6, 19, 71, .08) 60%, rgba(6, 19, 71, .45) 100%); pointer-events: none; }
.hero__floating-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: .75rem; padding: .85rem 1.15rem; border-radius: var(--radius); background: rgba(6, 19, 71, .92); border: 1px solid rgba(217, 179, 92, .55); color: var(--white); box-shadow: var(--shadow-lg); backdrop-filter: blur(8px); animation: floatSlow 5s ease-in-out infinite; max-width: 290px; }
.hero__floating-card--top { top: 1.75rem; inset-inline-start: 1.75rem; }
.hero__floating-card--bottom { bottom: 3.5rem; inset-inline-end: 1.75rem; animation-delay: 2.2s; }
.hero__floating-card .icon { width: 28px; height: 28px; color: var(--gold-light); flex: none; }
.hero__floating-card strong { display: block; font-size: .9375rem; color: var(--white); line-height: 1.25; }
.hero__floating-card span { display: block; font-size: .75rem; color: rgba(255, 255, 255, .82); margin-top: .15rem; }
@media (max-width: 639px) { .hero__floating-card { display: none; } }

/* ---------------------------------------------------------------- Procedures Cards & Detail Pages */
.proc-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.proc-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); }
.proc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold-light); }
.proc-card__media { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.proc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.proc-card:hover .proc-card__media img { transform: scale(1.04); }
.proc-card__badge { position: absolute; top: 1rem; inset-inline-start: 1rem; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px; background: rgba(6, 19, 71, .9); color: var(--gold-light); font-size: .75rem; font-weight: 700; border: 1px solid rgba(217, 179, 92, .45); backdrop-filter: blur(4px); }
.proc-card__badge .icon { width: 15px; height: 15px; }
.proc-card__body { display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.35rem, 2vw, 1.85rem); flex: 1; }
.proc-card__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .8125rem; color: var(--ink-soft); font-weight: 600; }
.proc-card__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.proc-card__meta .icon { width: 15px; height: 15px; color: var(--gold-ink); }
.proc-card h2, .proc-card h3 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.proc-card :is(h2, h3) a { color: var(--navy); text-decoration: none; }
.proc-card :is(h2, h3) a:hover { color: var(--gold-ink); }
.proc-card p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }
.proc-card__steps { list-style: none; margin: .25rem 0 .5rem; padding: .85rem 1rem; background: var(--grey); border-radius: var(--radius); display: grid; gap: .45rem; font-size: .84rem; color: var(--navy); font-weight: 600; }
.proc-card__steps li { display: flex; align-items: flex-start; gap: .5rem; }
.proc-card__steps .icon { width: 16px; height: 16px; color: var(--gold-ink); margin-top: 2px; flex: none; }
.proc-card__actions { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; gap: .65rem; }

.proc-hero-banner { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); border: 1px solid var(--border); }
.proc-hero-banner img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.proc-hero-banner__bar { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding: 1.15rem 1.5rem; background: var(--navy); color: var(--white); border-top: 3px solid var(--gold); }
.proc-hero-banner__bar strong { display: flex; align-items: center; gap: .4rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-light); margin-bottom: .2rem; }
.proc-hero-banner__bar span { font-size: .9375rem; font-weight: 600; color: var(--white); }

.proc-timeline { display: grid; gap: 1rem; margin: 1.5rem 0; }
.proc-step { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; padding: 1.25rem; background: var(--white); border: 1px solid var(--border); border-inline-start: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.proc-step:hover { transform: translateX(4px); box-shadow: var(--shadow); }
html[dir="rtl"] .proc-step:hover { transform: translateX(-4px); }
.proc-step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font: 800 1rem var(--font-head); }
.proc-step__body h3 { margin-bottom: .35rem !important; color: var(--navy); }
.proc-step__body p { color: var(--ink-soft); font-size: .9375rem; }

.proc-columns { display: grid; gap: var(--s-3); }
@media (min-width: 768px) { .proc-columns { grid-template-columns: 1fr 1fr; } }
.proc-box { padding: 1.5rem; border-radius: var(--radius-lg); background: var(--grey); border: 1px solid var(--border); }
.proc-box--gold { background: var(--gold-soft); border-color: #EBD9AE; }
.proc-box h2 { display: flex; align-items: center; gap: .55rem; font-size: 1.15rem; padding-top: 0; }
.proc-box h2::before { display: none; }
.proc-box h2 .icon { color: var(--gold-ink); width: 22px; height: 22px; }

/* ---------------------------------------------------------------- Visual Sector Cards */
.sector-grid--cards { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr)); }
.sector-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.sector-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold-light); color: var(--ink); }
.sector-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--navy); overflow: hidden; }
.sector-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.sector-card:hover .sector-card__media img { transform: scale(1.05); }
.sector-card__icon { position: absolute; bottom: .75rem; inset-inline-end: .75rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: var(--gold-light); border: 1px solid rgba(217, 179, 92, .5); box-shadow: var(--shadow); }
.sector-card__icon .icon { width: 22px; height: 22px; }
.sector-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.sector-card h3 { font-size: 1.15rem; margin: 0; color: var(--navy); }
.sector-card p { font-size: .875rem; color: var(--ink-soft); margin: 0 0 .5rem; line-height: 1.55; flex: 1; }
.sector-card__link { display: inline-flex; align-items: center; gap: .35rem; font-size: .875rem; font-weight: 700; color: var(--gold-ink); margin-top: auto; }
.sector-card--cta { background: var(--navy); border-color: var(--navy); color: var(--white); justify-content: center; }
.sector-card--cta h3 { color: var(--white); }
.sector-card--cta p { color: rgba(255, 255, 255, .82); }
.sector-card--cta .sector-card__link { color: var(--gold-light); }
.sector-card--cta:hover { color: var(--white); border-color: var(--gold); }

/* ---------------------------------------------------------------- Client Reviews Section */
.reviews-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.review-card { display: flex; flex-direction: column; justify-content: space-between; gap: 1.15rem; padding: 1.6rem; background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-card__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.review-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; line-height: 1; }
.review-card__tag { display: inline-block; padding: .25rem .65rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-size: .75rem; font-weight: 700; }
.review-card__quote { margin: 0; font-style: italic; color: var(--ink); font-size: .95rem; line-height: 1.65; }
.review-card__quote p { margin: 0; }
.review-card__author { display: flex; align-items: center; gap: .85rem; padding-top: .85rem; border-top: 1px solid var(--border); }
.review-card__author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); flex: none; }
.review-card__author strong { display: block; font-size: .9375rem; color: var(--navy); }
.review-card__author span { display: block; font-size: .8125rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- Modern Contact Cards & Footer CTA Upgrade */
.contact-cards--modern {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
@media (min-width: 1120px) {
  .contact-cards--modern {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.contact-card--modern {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.contact-card--modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.contact-card__head {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.contact-card__icon-box {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold-light);
  box-shadow: 0 6px 16px rgba(6, 19, 71, .14);
  flex: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.contact-card--modern:hover .contact-card__icon-box {
  background: var(--gold);
  color: var(--navy);
}
.contact-card__icon-box .icon {
  width: 22px;
  height: 22px;
  color: inherit;
  margin: 0;
}
.contact-card--modern h3 {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0;
}
.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.contact-card__main {
  font-size: .98rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  text-decoration: none;
}
.contact-card__sub {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.contact-card__foot {
  padding-top: .85rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.contact-card__action {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .84rem;
  font-weight: 700;
  color: var(--navy) !important;
  text-decoration: none !important;
  transition: color .18s var(--ease), gap .18s var(--ease);
}
.contact-card__action .icon {
  width: 15px !important;
  height: 15px !important;
  color: var(--gold-ink) !important;
  margin: 0 !important;
}
.contact-card--modern:hover .contact-card__action {
  color: var(--gold-ink) !important;
  gap: .6rem;
}

.footer__cta-strip {
  background: linear-gradient(135deg, #040d33 0%, var(--navy) 55%, #0e277a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding-block: 2.25rem;
}
.footer__cta-card {
  display: grid;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: clamp(1.35rem, 2.5vw, 2.15rem) clamp(1.35rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(217, 179, 92, .38);
  border-inline-start: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(3, 10, 38, .28);
  backdrop-filter: blur(8px);
}
@media (min-width: 1024px) {
  .footer__cta-card {
    grid-template-columns: minmax(0, 1.15fr) auto;
    justify-content: space-between;
  }
}
.footer__cta-lead {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.footer__cta-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2.5px solid var(--gold);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  flex: none;
}
.footer__cta-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold-light);
  margin-bottom: .35rem;
}
.footer__cta-badge .icon { width: 15px; height: 15px; }
.footer__cta-text h3 {
  color: var(--white);
  font-size: clamp(1.08rem, 1rem + .45vw, 1.32rem);
  line-height: 1.35;
  margin: 0;
  max-width: 48ch;
}
.footer__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}
.footer__cta-buttons .btn {
  min-height: 44px;
  padding: .6rem 1.1rem;
  font-size: .875rem;
}
@media (max-width: 639px) {
  .footer__cta-lead {
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
  }
  .footer__cta-buttons {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .footer__cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .footer__top { grid-template-columns: 1.35fr .9fr 1.05fr .95fr 1.25fr; gap: var(--s-4); }
}
.footer__tagline { font-size: .875rem; line-height: 1.6; color: rgba(255, 255, 255, .78); margin-bottom: 1rem; }
.footer__founder-mini { display: flex; align-items: center; gap: .75rem; padding: .65rem .85rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(217, 179, 92, .3); }
.footer__founder-mini img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top center; border: 2px solid var(--gold); flex: none; }
.footer__founder-mini strong { display: block; color: var(--white); font-size: .875rem; line-height: 1.2; }
.footer__founder-mini span { display: block; color: var(--gold-light); font-size: .75rem; margin-top: .15rem; }
.footer__phones, .footer__emails { display: grid; gap: .25rem; }
.footer__phones a { white-space: nowrap; font-weight: 600; color: var(--white); }
.footer__emails a { word-break: break-all; }

