/* ──────────────────────────────────────────────────────────────
   Mohammad Hasan Ghaith · Sarah Olayyan — Attorneys & Legal Consultants
   Light-only system from the brand guidelines: ivory grounds, navy type,
   gold as an accent only, bronze for small text on light grounds.
   Lora + Poppins (EN) · Amiri + Tajawal (AR).
   ────────────────────────────────────────────────────────────── */

:root {
  --navy: #0E1A2B; --ink: #15263D; --slate: #5B6472; --bronze: #7A5C2B; --mist: #C9CFD8;
  --gold: #C9A86A; --gold-2: #D8BE8B; --gold-soft: rgba(201, 168, 106, .16);
  --ivory: #F6F1E7; --ivory-2: #EFE8DA; --paper: #FFFFFF;
  --line: rgba(14, 26, 43, .14); --line-soft: rgba(14, 26, 43, .08);
  --ease: cubic-bezier(.32, .72, 0, 1); --ease-out: cubic-bezier(.16, 1, .3, 1); --dur: .5s;
  --r: 6px;
  --nav-h: 4.5rem;
  --wrap: 1180px; --gutter: clamp(1rem, 4vw, 2.5rem);
  --z-nav: 70; --z-menu: 60;
}
html[lang="en"] { --display: "Lora", Georgia, "Times New Roman", serif; --body: "Poppins", ui-sans-serif, system-ui, sans-serif; }
html[lang="ar"] { --display: "Amiri", "Noto Naskh Arabic", "Times New Roman", serif; --body: "Tajawal", "Noto Sans Arabic", system-ui, sans-serif; }

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 15px; line-height: 1.7; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: clip; }
html[lang="ar"] body { font-size: 16px; line-height: 1.8; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.2; color: var(--navy); text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { font-weight: 700; line-height: 1.45; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -100px; inset-inline-start: 1rem; z-index: 100; background: var(--navy); color: var(--ivory); padding: .6rem 1rem; border-radius: var(--r); transition: top .3s var(--ease); }
.skip:focus { top: 1rem; }
.nav-sentinel { position: absolute; top: 0; height: 60px; width: 1px; pointer-events: none; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(4rem, 7vw, 6rem); }
.section--paper { background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* Label: Poppins Medium, tracked, bronze (guideline p.20). Arabic: Tajawal bold, no tracking. */
.label { display: block; font-family: var(--body); font-weight: 500; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); margin-bottom: .9rem; }
html[lang="ar"] .label { font-weight: 700; font-size: .9rem; letter-spacing: 0; text-transform: none; }

.head h2 { font-size: clamp(1.8rem, 3.1vw, 2.5rem); font-weight: 500; }
html[lang="ar"] .head h2 { font-weight: 700; }
.head--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: end; padding-bottom: 1.6rem; border-bottom: 1px solid var(--gold); margin-bottom: 2.4rem; }
.head__intro { color: var(--slate); max-width: 48ch; }
.head--split .head__intro { padding-bottom: .3rem; }
.head:not(.head--split) .head__intro { margin-top: 1rem; }

/* ───────── Buttons (strict, squared) ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .7rem 1.5rem; border-radius: var(--r); font-family: var(--body); font-weight: 500; font-size: .92rem; letter-spacing: .02em; line-height: 1.2; white-space: nowrap; border: 1px solid transparent; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
html[lang="ar"] .btn { letter-spacing: 0; font-weight: 700; }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); box-shadow: 0 10px 24px -14px rgba(122, 92, 43, .5); }
.btn--outline { border-color: var(--gold); color: var(--bronze); background: transparent; }
.btn--outline:hover { background: var(--gold-soft); color: var(--navy); }
.btn--sm { min-height: 2.5rem; padding: .45rem 1.1rem; font-size: .85rem; }
.btn--icon svg { width: 1.1rem; height: 1.1rem; }

/* ───────── Header bar ───────── */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: var(--z-nav); background: rgba(246, 241, 231, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.nav.is-scrolled { background: rgba(246, 241, 231, .97); box-shadow: 0 10px 30px -24px rgba(14, 26, 43, .35); }
.nav__bar { display: flex; align-items: center; gap: 1.5rem; min-height: var(--nav-h); }
.nav__brand { display: flex; align-items: center; gap: .8rem; margin-inline-end: auto; }
.nav__brand img { width: 2.6rem; height: 2.6rem; }
.nav__names { font-family: var(--display); font-weight: 500; font-size: .95rem; color: var(--navy); white-space: nowrap; display: inline-flex; align-items: baseline; gap: .55rem; }
html[lang="ar"] .nav__names { font-weight: 700; font-size: 1.15rem; }
.nav__names i { font-style: normal; color: var(--gold); }
.nav__links { display: flex; gap: .25rem; }
.nav__links a { position: relative; padding: .55rem .7rem; font-size: .9rem; font-weight: 500; color: var(--slate); transition: color var(--dur) var(--ease); }
.nav__links a:hover { color: var(--navy); }
.nav__links a[aria-current="page"] { color: var(--navy); }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; background: var(--gold); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__lang { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .4rem .85rem; border: 1px solid var(--line); border-radius: var(--r); font-family: var(--body); font-size: .85rem; font-weight: 500; color: var(--navy); transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.nav__lang { font-family: var(--body), "Segoe UI", Tahoma, sans-serif; }
.nav__lang:hover { border-color: var(--gold); background: var(--gold-soft); }
.nav__burger { display: none; position: relative; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line); border-radius: var(--r); color: var(--navy); }
.nav__burger span { position: absolute; left: 50%; top: 50%; width: 1.05rem; height: 1.5px; background: currentColor; transform: translate(-50%, -50%) translateY(-3.5px); transition: transform var(--dur) var(--ease); }
.nav__burger span:last-child { transform: translate(-50%, -50%) translateY(3.5px); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

/* ───────── Full-screen menu (light) ───────── */
.menu { position: fixed; inset: 0; z-index: var(--z-menu); background: rgba(246, 241, 231, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu__inner { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 2.5rem; padding-top: var(--nav-h); }
.menu__links { list-style: none; display: grid; gap: .15rem; }
.menu__links a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 6vw, 2.5rem); color: var(--navy); opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 60ms); }
html[lang="ar"] .menu__links a { font-weight: 700; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu__links a small { font-family: var(--body); font-size: .72rem; font-weight: 500; letter-spacing: .15em; color: var(--bronze); }
.menu__foot { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--slate); font-size: .92rem; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease) .35s, transform .6s var(--ease) .35s; }
.menu.is-open .menu__foot { opacity: 1; transform: none; }

/* ───────── Hero ───────── */
.hero { padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(2rem, 4vw, 3rem); background: var(--ivory); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero__title { font-size: clamp(2.3rem, 4.6vw, 3.5rem); line-height: 1.15; margin: 0 0 1.2rem; }
html[lang="ar"] .hero__title { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.4; }
.hero__lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--slate); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__facts { list-style: none; margin-top: 2.4rem; padding-top: 1.3rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .88rem; color: var(--slate); }
.hero__facts li { display: flex; align-items: center; gap: .5rem; }
.hero__facts svg { width: .9rem; height: .9rem; color: var(--bronze); flex: none; }
.hero { overflow-x: clip; }
.hero__seal { justify-self: center; width: min(100%, 480px); }
/* Cover-style lockup: seal on a soft halo with concentric gold rings, a rule and the two names */
.lockup { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2.4rem 3% 1rem; }
.lockup__rings { position: absolute; top: 2.4rem; left: 50%; width: min(300px, 62%); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, #fff 0 46%, rgba(255, 255, 255, 0) 74%); pointer-events: none; }
.lockup__rings::before, .lockup__rings::after { content: ""; position: absolute; inset: -9%; border-radius: 50%; border: 1px solid rgba(201, 168, 106, .45); }
.lockup__rings::after { inset: -18%; border-color: rgba(201, 168, 106, .2); }
.lockup__seal { position: relative; width: min(100%, 300px); filter: drop-shadow(0 16px 22px rgba(14, 26, 43, .14)); }
.lockup__rule { display: block; width: 3.25rem; height: 1px; background: var(--gold); margin: 2.1rem 0 1.1rem; }
.lockup__names { font-family: var(--display); font-weight: 500; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem .7rem; }
.lockup__names b { white-space: nowrap; font-weight: inherit; }
html[lang="ar"] .lockup__names { letter-spacing: 0; text-transform: none; font-size: 1.35rem; font-weight: 700; }
.lockup__names i { font-style: normal; color: var(--gold); }
.lockup__line { margin-top: .55rem; font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); }
html[lang="ar"] .lockup__line { font-size: .85rem; letter-spacing: 0; text-transform: none; font-weight: 700; }

/* ───────── Services: editorial rows grouped by audience ───────── */
.sgroup { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.4rem, 4vw, 3.5rem); padding-block: clamp(1.8rem, 3vw, 2.6rem); border-top: 1px solid var(--line); }
.head + .sgroup, .services--index .wrap > .sgroup:first-child { border-top: 0; padding-top: 0; }
.sgroup__head { align-self: start; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.sgroup__n { display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--gold); margin-bottom: .8rem; }
.sgroup__head h2, .sgroup__head h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 500; }
html[lang="ar"] .sgroup__head h2, html[lang="ar"] .sgroup__head h3 { font-weight: 700; }
.sgroup__head p { color: var(--slate); margin-top: .6rem; max-width: 34ch; font-size: .95rem; }
.srows { list-style: none; border-top: 1px solid var(--line); }
.srow { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.1rem 1.4rem; align-items: center; padding: 1.25rem .4rem; border-bottom: 1px solid var(--line); transition: background-color var(--dur) var(--ease), padding var(--dur) var(--ease); }
.srow::before { content: ""; position: absolute; inset-inline-start: 0; top: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease); }
html[dir="rtl"] .srow::before { transform-origin: right center; }
.srow:hover, .srow:focus-visible { background: var(--paper); padding-inline: 1rem; }
.srow:hover::before, .srow:focus-visible::before { transform: scaleX(1); }
.srow__icon { width: 3rem; height: 3rem; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex: none; }
.srow__icon svg { width: 1.35rem; height: 1.35rem; }
.srow__body { display: grid; gap: .15rem; min-width: 0; }
.srow__title { font-family: var(--display); font-size: 1.28rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
html[lang="ar"] .srow__title { font-weight: 700; }
.srow__blurb { color: var(--slate); font-size: .92rem; line-height: 1.6; }
.srow__go { display: inline-flex; align-items: center; gap: .55rem; color: var(--bronze); font-size: .84rem; font-weight: 500; white-space: nowrap; }
html[lang="ar"] .srow__go { font-weight: 700; }
.arrow { width: 1rem; height: 1rem; flex: none; transition: transform var(--dur) var(--ease); }
html[dir="rtl"] .arrow { transform: scaleX(-1); }
.srow:hover .arrow, .more:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .srow:hover .arrow, html[dir="rtl"] .more:hover .arrow { transform: scaleX(-1) translateX(4px); }
.services--index { padding-top: clamp(2rem, 4vw, 3rem); }
.services__more { margin-top: 2rem; display: flex; justify-content: center; }
.note { color: var(--slate); font-size: .85rem; margin-bottom: 1.2rem; }

/* ───────── Inner page header, breadcrumbs, CTA band ───────── */
.phead { position: relative; padding: calc(var(--nav-h) + clamp(1.6rem, 3.5vw, 2.8rem)) 0 clamp(2rem, 4vw, 3rem); background: var(--ivory); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.phead::after { content: ""; position: absolute; top: 50%; inset-inline-end: -120px; width: 420px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(201, 168, 106, .35); translate: 0 -50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 255, 255, .8) 0 55%, rgba(255, 255, 255, 0) 72%); }
.phead > .wrap { position: relative; z-index: 1; }
.phead h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; max-width: 24ch; line-height: 1.2; margin-bottom: 1rem; }
html[lang="ar"] .phead h1 { font-weight: 700; line-height: 1.4; max-width: 26ch; }
.phead__intro { color: var(--slate); max-width: 62ch; font-size: clamp(1rem, 1.3vw, 1.1rem); }
.phead__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.phead__row { display: flex; gap: 1.2rem; align-items: center; margin-bottom: 1.2rem; }
.phead__row h1 { margin-bottom: 0; }
.phead__icon { width: 4rem; height: 4rem; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex: none; }
.phead__icon svg { width: 1.8rem; height: 1.8rem; }
.crumbs { margin-bottom: 1.4rem; font-size: .82rem; color: var(--slate); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .5rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .5rem; }
.crumbs li + li::before { content: "/"; color: var(--gold); }
html[dir="rtl"] .crumbs li + li::before { content: "\\"; }
.crumbs a { color: var(--bronze); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color var(--dur) var(--ease); }
.crumbs a:hover { text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--navy); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cta { background: var(--paper); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--line-soft); padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.cta__inner { display: flex; flex-wrap: wrap; gap: 1.6rem 3rem; align-items: center; justify-content: space-between; }
.cta h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; max-width: 30ch; }
html[lang="ar"] .cta h2 { font-weight: 700; }
.cta p { color: var(--slate); margin-top: .5rem; max-width: 58ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.helpband { padding-block: clamp(2.4rem, 5vw, 3.4rem); }
.helpband .head--split, .areas .head--split { margin: 0; padding: 0; border: 0; align-items: center; }
.helpband h2, .areas h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; }
html[lang="ar"] .helpband h2, html[lang="ar"] .areas h2 { font-weight: 700; }
.areas { padding-block: clamp(2rem, 4vw, 3rem); }
.btn--block { width: 100%; }

/* ───────── Situations (home) ───────── */
.sits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.sit { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 1.5rem 1.4rem; }
.sit h3 { font-size: 1.15rem; padding-bottom: .9rem; border-bottom: 1px solid var(--gold); margin-bottom: .5rem; }
.sit ul { list-style: none; }
.sit li + li { border-top: 1px solid var(--line-soft); }
.sit a { display: flex; flex-direction: column; gap: .05rem; padding: .7rem 0; font-size: .92rem; color: var(--ink); transition: color var(--dur) var(--ease), padding var(--dur) var(--ease); }
.sit a small { color: var(--bronze); font-size: .74rem; font-weight: 500; }
html[lang="ar"] .sit a small { font-size: .8rem; font-weight: 700; }
.sit a:hover { color: var(--bronze); padding-inline-start: .4rem; }

/* ───────── Article cards, blog tools ───────── */
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.acard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.acard:hover { border-color: var(--gold); box-shadow: 0 18px 36px -28px rgba(14, 26, 43, .45); transform: translateY(-2px); }
.acard[hidden] { display: none; }
.acard__cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.cover { width: 100%; height: 100%; display: block; }
.acard__body { display: flex; flex-direction: column; gap: .7rem; padding: 1.3rem 1.3rem 1.4rem; flex: 1; }
.acard__meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; align-items: center; font-size: .78rem; color: var(--slate); }
.tag { display: inline-block; padding: .12rem .6rem; border: 1px solid var(--gold); border-radius: var(--r); color: var(--bronze); font-weight: 500; font-size: .74rem; background: var(--gold-soft); }
html[lang="ar"] .tag { font-weight: 700; font-size: .8rem; }
a.tag:hover { background: var(--gold); color: var(--navy); }
.acard h3 { font-size: 1.22rem; line-height: 1.35; font-weight: 600; }
html[lang="ar"] .acard h3 { font-weight: 700; line-height: 1.55; }
.acard h3 a:hover { color: var(--bronze); }
.acard__excerpt { color: var(--slate); font-size: .92rem; }
.more { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .3rem; color: var(--bronze); font-size: .86rem; font-weight: 500; min-height: 2.5rem; }
html[lang="ar"] .more { font-weight: 700; }
.more em { font-style: normal; color: var(--slate); font-weight: 400; }
.acard--featured { grid-column: 1 / -1; flex-direction: row; }
.acard--featured .acard__cover { flex: 0 0 46%; aspect-ratio: auto; border-bottom: 0; border-inline-end: 1px solid var(--line-soft); }
.acard--featured .acard__body { padding: clamp(1.4rem, 3vw, 2.4rem); justify-content: center; }
.acard--featured h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.agrid.is-filtered .acard--featured { grid-column: auto; flex-direction: column; }
.agrid.is-filtered .acard--featured .acard__cover { flex: none; aspect-ratio: 16 / 9; border-inline-end: 0; border-bottom: 1px solid var(--line-soft); }
.agrid.is-filtered .acard--featured .acard__body { padding: 1.3rem 1.3rem 1.4rem; }
.agrid.is-filtered .acard--featured h3 { font-size: 1.22rem; }
.blogtools { display: grid; gap: 1.2rem; margin-bottom: 1.4rem; }
.search label { display: block; font-size: .78rem; font-weight: 500; margin-bottom: .4rem; }
.search__box { position: relative; max-width: 28rem; }
.search__box svg { position: absolute; inset-inline-start: .9rem; top: 50%; translate: 0 -50%; width: 1rem; height: 1rem; color: var(--bronze); pointer-events: none; }
.search__box input { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: .75rem .95rem; padding-inline-start: 2.6rem; outline: none; min-height: 3rem; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.search__box input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.chipsbar { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 2.5rem; padding: .35rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: .85rem; font-weight: 500; color: var(--ink); transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
html[lang="ar"] .chip { font-weight: 700; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.blogcount { color: var(--slate); font-size: .85rem; margin-bottom: 1rem; }
.blognone { text-align: center; padding: 2.5rem 1rem; color: var(--slate); }
.blognone[hidden] { display: none; }
.related { padding-top: clamp(2.5rem, 5vw, 4rem); }
.related .head h2 { margin-bottom: 1.4rem; }
.relsvc { margin-top: 1.8rem; font-size: .92rem; color: var(--slate); }
.relsvc a { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }

/* ───────── FAQ accordion (native <details>) ───────── */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: 1.1rem .2rem; min-height: 3.5rem; cursor: pointer; font-family: var(--display); font-size: 1.08rem; font-weight: 600; color: var(--navy); line-height: 1.5; }
html[lang="ar"] .faq__item summary { font-weight: 700; font-size: 1.1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 1rem; height: 1rem; flex: none; color: var(--bronze); transition: transform var(--dur) var(--ease); }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--bronze); }
.faq__a { padding: 0 .2rem 1.3rem; color: var(--slate); max-width: 68ch; }
.faqsec__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faqpage { max-width: 52rem; }

/* ───────── About page ───────── */
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.6rem, 5vw, 4.5rem); align-items: start; }
.prose-sm { display: grid; gap: 1.1rem; color: var(--ink); max-width: 62ch; }
.prose-sm .firm__mv { margin-top: .8rem; }
.principles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.principles li { border-top: 1px solid var(--gold); padding-top: 1.1rem; }
.principles__n { font-family: var(--display); font-size: 1.5rem; color: var(--gold); display: block; margin-bottom: .5rem; }
.principles h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.principles p { color: var(--slate); font-size: .92rem; }
.values--row { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.6rem; }
.section--paper .card { background: var(--ivory); }

/* ───────── Practice page ───────── */
.pagegrid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.pagegrid__aside { position: sticky; top: calc(var(--nav-h) + 1.2rem); display: grid; gap: 1rem; }
.block { padding-bottom: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: clamp(1.8rem, 3vw, 2.6rem); border-bottom: 1px solid var(--line-soft); }
.block h2 { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 500; margin-bottom: 1.1rem; }
html[lang="ar"] .block h2 { font-weight: 700; }
.block__note { color: var(--slate); font-size: .84rem; margin-top: 1rem; }
.ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.8rem; }
.ticks li { position: relative; padding-inline-start: 1.5rem; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .85em; width: .6rem; height: 1px; background: var(--gold); box-shadow: 0 0 0 .5px var(--gold); }
.ticks--plain { grid-template-columns: 1fr; }
.numbered { list-style: none; counter-reset: n; display: grid; gap: 1rem; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 2.4rem 1fr; gap: .9rem; align-items: baseline; }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--display); font-size: 1.25rem; color: var(--gold); }
html[lang="ar"] .numbered li::before { content: counter(n, arabic-indic); }
.aside-card { background: var(--paper); border: 1px solid var(--line-soft); border-top: 2px solid var(--gold); border-radius: var(--r); padding: 1.4rem; display: grid; gap: .9rem; }
.aside-card--plain { border-top-width: 1px; }
.aside-card h2 { font-size: 1.1rem; font-weight: 600; }
html[lang="ar"] .aside-card h2 { font-weight: 700; }
.aside-card p { color: var(--slate); font-size: .9rem; }
.aside-contact { list-style: none; display: grid; gap: .1rem; }
.aside-contact a { display: flex; align-items: center; gap: .6rem; min-height: 2.5rem; font-size: .9rem; color: var(--navy); }
.aside-contact svg { width: 1rem; height: 1rem; color: var(--bronze); }
.aside-links { list-style: none; display: grid; }
.aside-links li + li { border-top: 1px solid var(--line-soft); }
.aside-links a { display: flex; align-items: center; gap: .7rem; padding: .65rem 0; min-height: 2.75rem; font-size: .92rem; color: var(--ink); transition: color var(--dur) var(--ease); }
.aside-links a:hover { color: var(--bronze); }
.aside-links svg { width: 1.2rem; height: 1.2rem; color: var(--bronze); flex: none; }
.aside-links--text a { align-items: flex-start; line-height: 1.5; }
.nf { margin-top: 1.6rem; max-width: 24rem; }

/* ───────── Article reading layout ───────── */
.phead--article h1 { max-width: 30ch; }
.statusline { display: flex; align-items: center; gap: .6rem; margin-top: 1.2rem; font-size: .82rem; color: var(--slate); flex-wrap: wrap; }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); flex: none; }
.article__layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2rem, 4vw, 3.4rem); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 1.2rem); font-size: .88rem; }
.toc h2 { font-family: var(--body); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); margin-bottom: .8rem; font-weight: 500; }
html[lang="ar"] .toc h2 { font-size: .9rem; letter-spacing: 0; text-transform: none; font-weight: 700; }
.toc ol { list-style: none; border-inline-start: 1px solid var(--line); }
.toc a { display: block; padding: .45rem .9rem; margin-inline-start: -1px; border-inline-start: 2px solid transparent; color: var(--slate); line-height: 1.5; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.toc a:hover, .toc a.is-current { color: var(--navy); border-inline-start-color: var(--gold); }
.prose { max-width: 44rem; font-size: 1.04rem; }
html[lang="ar"] .prose { font-size: 1.12rem; line-height: 2; }
.article__cover { margin: 0 0 2rem; border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 7; }
.prose__lead { font-family: var(--display); font-size: 1.25em; line-height: 1.8; color: var(--navy); margin-bottom: 2rem; }
.prose section { scroll-margin-top: calc(var(--nav-h) + 1rem); }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 500; margin: 2.4rem 0 .9rem; }
html[lang="ar"] .prose h2 { font-weight: 700; }
.prose p { margin-bottom: 1.1rem; color: var(--ink); }
.prose ul { margin: 0 0 1.2rem; padding-inline-start: 1.4rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--gold); }
.takeaways { margin-top: 2.6rem; background: var(--paper); border: 1px solid var(--line-soft); border-inline-start: 3px solid var(--gold); border-radius: var(--r); padding: 1.4rem 1.6rem; }
.takeaways h2 { margin-top: 0; font-size: 1.2rem; }
.takeaways ul { margin-bottom: 0; }
.sources { margin-top: 2.2rem; }
.sources ul { list-style: none; padding: 0; gap: .9rem; font-size: .92em; }
.sources__name { color: var(--navy); font-weight: 500; }
html[lang="ar"] .sources__name { font-weight: 700; }
.sources a { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; font-size: .9em; }
.pill { display: inline-block; font-size: .72rem; padding: .08rem .55rem; border-radius: var(--r); border: 1px solid var(--line); color: var(--slate); background: var(--paper); margin-inline-start: .3rem; }
.pill--official-to-check { border-color: #b4463c; color: #8c2f26; }
.disclaimer { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--slate); font-size: .86rem !important; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.4rem; font-size: .88rem; }
.share span { color: var(--slate); }
.share a, .share button { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: .3rem .9rem; border: 1px solid var(--line); border-radius: var(--r); color: var(--navy); background: var(--paper); font-size: .84rem; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.share a:hover, .share button:hover { border-color: var(--gold); background: var(--gold-soft); }
.share svg { width: 1rem; height: 1rem; color: var(--bronze); }

/* ───────── Legal pages ───────── */
.legal { max-width: 46rem; }
.legal section { margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; font-weight: 500; margin-bottom: .6rem; }
html[lang="ar"] .legal h2 { font-weight: 700; }
.legal p { color: var(--ink); margin-bottom: .8rem; }
.legal .legal__draft { padding: .9rem 1.1rem; background: var(--gold-soft); border: 1px solid rgba(201, 168, 106, .5); border-radius: var(--r); font-size: .86rem; color: #5E4710; margin-bottom: 2rem; }

/* ───────── Form additions ───────── */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.form__status { padding: .8rem 1rem; border: 1px solid #b4463c; border-radius: var(--r); background: #fbefed; color: #7d2a22; font-size: .88rem; }
.form__status[hidden], .form__success[hidden], .form[hidden] { display: none; }
.check a { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.prepare { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.prepare h2 { font-size: 1.1rem; margin-bottom: .8rem; }
.prepare ul { list-style: none; display: grid; gap: .5rem; color: var(--slate); font-size: .92rem; }
.prepare li { padding-inline-start: 1.3rem; position: relative; }
.prepare li::before { content: ""; position: absolute; inset-inline-start: 0; top: .8em; width: .5rem; height: 1px; background: var(--gold); }

/* ───────── Menu current page ───────── */
.menu__links a[aria-current="page"] { color: var(--bronze); }
.menu__foot .btn { min-height: 2.75rem; }

/* ───────── The firm ───────── */
.card { background: var(--ivory); border: 1px solid var(--line-soft); border-radius: var(--r); }
.section:not(.section--paper) .card { background: var(--paper); }
.firm__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.1rem; margin-top: 2.4rem; }
.firm__statement { padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.8rem; }
.firm__lead { font-family: var(--display); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.45; color: var(--navy); }
html[lang="ar"] .firm__lead { line-height: 1.7; }
.firm__lead .w { opacity: .3; transition: opacity .45s var(--ease); }
.firm__lead .w.is-on { opacity: 1; }
.firm__mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); margin-top: auto; }
.firm__mv .label { margin-bottom: .4rem; }
.firm__mv p { color: var(--slate); font-size: .92rem; }
.values { list-style: none; display: grid; gap: 1.1rem; }
.value { padding: 1.4rem 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.1rem; align-items: baseline; }
.value__num { grid-row: 1 / 3; font-family: var(--display); font-size: 1.6rem; color: var(--gold); line-height: 1; padding-top: .15rem; }
.value h3 { font-size: 1.2rem; }
.value p { color: var(--slate); font-size: .9rem; }
.firm__attlabel { margin: 3rem 0 1.2rem; }
.attorneys { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.attorney { padding: clamp(1.5rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 1rem; }
.attorney__head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.attorney__head img { width: 3.5rem; height: 3.5rem; flex: none; }
.attorney h3 { font-size: 1.45rem; }
.attorney__role { font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); margin-top: .2rem; }
html[lang="ar"] .attorney__role { letter-spacing: 0; text-transform: none; font-size: .9rem; font-weight: 700; }
.attorney > p { color: var(--slate); font-size: .92rem; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.2rem; margin: .4rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); font-size: .88rem; align-items: baseline; }
.meta dt { font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
html[lang="ar"] .meta dt { font-size: .85rem; letter-spacing: 0; text-transform: none; font-weight: 700; }
.meta dd { margin: 0; }
.chips { display: inline-flex; flex-wrap: wrap; gap: .35rem; }
.chips span { padding: .22rem .6rem; border: 1px solid var(--line); border-radius: var(--r); font-size: .78rem; background: var(--paper); }
.attorney__links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: auto; padding-top: 1rem; font-size: .9rem; font-weight: 500; color: var(--navy); }
.attorney__links a { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .3rem 0; transition: color var(--dur) var(--ease); }
.attorney__links a:hover { color: var(--bronze); }
.attorney__links svg { width: 1rem; height: 1rem; color: var(--bronze); }

/* Scroll-linked cascade for the firm section (JS sets --k per card; without JS all visible) */
[data-cascade] .card { opacity: var(--k, 1); transform: translateY(calc((1 - var(--k, 1)) * 28px)); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), border-color var(--dur) var(--ease); }
[data-cascade].is-static .card { opacity: 1; transform: none; }
[data-cascade].is-static .firm__lead .w { opacity: 1; }

/* ───────── How we work (timeline draws itself with the scroll; JS sets --p) ───────── */
.steps-wrap { position: relative; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem 1.6rem; position: relative; }
.steps__track { position: absolute; top: 2.3rem; left: 0; right: 0; height: 1px; background: var(--line); }
.steps__fill { position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: left center; will-change: transform; }
html[dir="rtl"] .steps__fill { transform-origin: right center; }
.steps__runner { position: absolute; top: 50%; left: 0; width: 100%; height: 0; transform: translateX(calc((var(--p, 0) - 1) * 100%)); will-change: transform; }
html[dir="rtl"] .steps__runner { transform: translateX(calc((1 - var(--p, 0)) * 100%)); }
.steps__runner b { position: absolute; top: 0; inset-inline-end: 0; width: 9px; height: 9px; margin-top: -4.5px; margin-inline-end: -4.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); opacity: var(--dot, 1); }
.step { position: relative; padding-top: .4rem; }
.step__num { font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--mist); display: inline-block; background: var(--paper); padding-inline-end: .9rem; transition: color .6s var(--ease); }
html[lang="ar"] .step__num { font-size: 3rem; }
.step h3 { font-size: 1.15rem; margin: 1rem 0 .5rem; }
.step p { color: var(--slate); font-size: .88rem; max-width: 28ch; }
.step h3, .step p { opacity: .35; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.step p { transition-delay: 70ms; }
.step.is-lit .step__num { color: var(--gold); }
.step.is-lit h3, .step.is-lit p { opacity: 1; transform: none; }
.steps-wrap.is-static .step__num { color: var(--gold); }
.steps-wrap.is-static .step h3, .steps-wrap.is-static .step p { opacity: 1; transform: none; }
.steps-wrap.is-static .steps__fill { transform: none; }
.steps-wrap.is-static .steps__runner { display: none; }

/* ───────── Contact ───────── */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.details { list-style: none; display: grid; gap: 1.2rem; margin-top: 2rem; }
.details li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start; }
.details i { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; color: var(--bronze); }
.details i svg { width: 1.05rem; height: 1.05rem; }
.details b { display: block; font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin-bottom: .2rem; }
html[lang="ar"] .details b { font-size: .85rem; letter-spacing: 0; text-transform: none; font-weight: 700; }
.details span { color: var(--ink); }
.details small { color: var(--slate); font-size: .8rem; margin-inline-start: .3rem; }
.details a { transition: color var(--dur) var(--ease); }
.details a:hover, .details__link { color: var(--bronze); }
.details__link { font-size: .86rem; }
.contact__wa { margin-top: 2rem; }
.contact__card { padding: clamp(1.4rem, 3vw, 2.2rem); }
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: .78rem; font-weight: 500; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: .75rem .95rem; outline: none; resize: vertical; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: var(--mist); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b4463c; }
.field__err { display: none; font-size: .78rem; color: #a2382f; margin-top: .35rem; }
.is-invalid .field__err { display: block; }
.select { position: relative; }
.select svg { position: absolute; inset-inline-end: .9rem; top: 50%; translate: 0 -50%; width: .9rem; height: .9rem; pointer-events: none; color: var(--bronze); }
.select select { -webkit-appearance: none; appearance: none; padding-inline-end: 2.4rem; cursor: pointer; }
.check { position: relative; display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-start; font-size: .82rem; color: var(--slate); cursor: pointer; line-height: 1.5; }
.check > span:last-of-type { flex: 1; min-width: 0; }
.check .field__err { width: 100%; margin: 0; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 1.15rem; height: 1.15rem; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); display: grid; place-items: center; margin-top: .15rem; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.check__box svg { width: .7rem; height: .7rem; opacity: 0; transition: opacity .3s var(--ease); }
.check input:checked + .check__box { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 3px var(--gold-soft); }
.check.is-invalid .check__box { border-color: #b4463c; }
.form__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .3rem; }
.form__note { font-size: .78rem; color: var(--slate); }
.form__success { text-align: center; padding: 2rem 1rem; }
.form__success h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.form__success p { color: var(--slate); margin-bottom: 1.4rem; }
.form__success a { color: var(--bronze); }
.form__success:focus { outline: none; }

/* ───────── Footer (light) ───────── */
.footer { background: var(--ivory-2); color: var(--slate); padding: 4rem 0 1.8rem; border-top: 1px solid var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 2.5rem; }
.footer__brand img { width: 6.5rem; }
.footer__names { margin-top: 1rem; font-family: var(--display); font-weight: 500; color: var(--navy); display: flex; flex-wrap: wrap; gap: .5rem; }
.footer__names i { font-style: normal; color: var(--gold); }
.footer__brand > p:last-child { margin-top: .3rem; font-size: .85rem; }
.footer__h { font-family: var(--body); font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); margin-bottom: .9rem; }
html[lang="ar"] .footer__h { font-size: .88rem; letter-spacing: 0; text-transform: none; font-weight: 700; }
.footer ul { list-style: none; display: grid; gap: .45rem; font-size: .9rem; }
.footer small { color: var(--slate); font-size: .78rem; }
.footer a { transition: color var(--dur) var(--ease); }
.footer a:hover { color: var(--navy); }
.footer__bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .8rem 2.5rem; justify-content: space-between; font-size: .78rem; }
.footer__bottom p { max-width: 68ch; }

/* ───────── Motion ───────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
/* Above-the-fold copy never waits for JavaScript: it is visible at once and only slides up */
.hero .reveal, .phead .reveal { opacity: 1; transform: none; transition: none; animation: rise .8s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { transform: translateY(14px); } }

/* ───────── Responsive ───────── */
@media (max-width: 1139px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__seal { width: min(100%, 360px); }
  .head--split { grid-template-columns: 1fr; gap: .6rem; }
  .firm__grid, .attorneys, .contact__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps__track { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav__names { display: none; }
  .lockup__names { flex-direction: column; gap: .15rem; }
  .lockup__names i { display: none; }
  .firm__mv { grid-template-columns: 1fr; }
  .value { grid-template-columns: 1fr; }
  .value__num { grid-row: auto; }
  .meta { grid-template-columns: 1fr; gap: .25rem 0; }
  .meta dd { margin-bottom: .6rem; }
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .steps-wrap { padding-inline-start: 1.5rem; }
  .steps__track { display: block; top: 1rem; bottom: 1rem; inset-inline-start: 0; left: auto; right: auto; width: 1px; height: auto; }
  .steps__fill { transform: scaleY(var(--p, 0)); transform-origin: center top; }
  html[dir="rtl"] .steps__fill { transform-origin: center top; }
  .steps__runner, html[dir="rtl"] .steps__runner { top: 0; left: 50%; width: 0; height: 100%; transform: translateY(calc((var(--p, 0) - 1) * 100%)); }
  .steps__runner b { top: auto; bottom: 0; inset-inline-end: auto; left: 0; margin: 0 0 -4.5px -4.5px; }
  .step__num { font-size: 2.6rem; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 1100px) {
  .sgroup { grid-template-columns: 1fr; }
  .sgroup__head { position: static; }
  .sgroup__head p { max-width: 60ch; }
  .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sits { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .pagegrid, .article__layout, .story__grid, .faqsec__grid { grid-template-columns: 1fr; }
  .pagegrid__aside, .toc { position: static; }
  .toc { border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--paper); padding: 1.1rem 1.2rem; }
  .acard--featured { flex-direction: column; }
  .acard--featured .acard__cover { flex: none; aspect-ratio: 16 / 9; border-inline-end: 0; border-bottom: 1px solid var(--line-soft); }
  .values--row { grid-template-columns: 1fr; }
  .phead::after { width: 300px; inset-inline-end: -140px; }
}
@media (max-width: 700px) {
  .agrid { grid-template-columns: 1fr; }
  .principles, .ticks { grid-template-columns: 1fr; }
  .srow { grid-template-columns: auto minmax(0, 1fr); }
  .srow__go { display: none; }
  .srow:hover, .srow:focus-visible { padding-inline: .4rem; }
  .cta__actions .btn { flex: 1 1 100%; }
  .phead::after { display: none; }
  .phead__row { align-items: flex-start; }
  .phead__icon { width: 3.2rem; height: 3.2rem; }
  .crumbs [aria-current] { max-width: 24ch; }
}

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

/* ══════════════════════════════════════════════════════════════════════════
   THEME 2: black · gold · white (identity taken from the supplied logo: metallic
   gold monogram on black). Dark sections re-map the colour tokens (.dark), so every
   component works on both grounds.
   ══════════════════════════════════════════════════════════════════════════ */
.dark {
  --navy: #FFFFFF; --ink: #E8E6E0; --slate: #A9B0BD; --bronze: #DDBB63; --mist: #C9CFD8;
  --line: rgba(255, 255, 255, .17); --line-soft: rgba(255, 255, 255, .09);
  --ivory: #06080C; --paper: #0D1420; --gold-soft: rgba(212, 175, 79, .15);
  color: var(--ink); color-scheme: dark;
  background: radial-gradient(1200px 520px at 85% -10%, rgba(212, 175, 79, .12), transparent 60%), linear-gradient(180deg, #06080C, #090D15);
}
.dark--deep { background: radial-gradient(900px 500px at 10% 0%, rgba(212, 175, 79, .10), transparent 60%), radial-gradient(900px 600px at 100% 100%, rgba(30, 58, 110, .28), transparent 60%), linear-gradient(180deg, #06080C 0%, #0A1220 55%, #06080C 100%); }
.dark ::selection { background: var(--gold); color: #06080C; }
.dark .head--split { border-bottom-color: rgba(212, 175, 79, .5); }
.dark :focus-visible { outline-color: var(--gold-2); }

/* ───────── Buttons ───────── */
.btn--gold { background: linear-gradient(135deg, #F2DC96 0%, #D4AF4F 42%, #B58A2B 100%); color: #0A0F18; border-color: transparent; box-shadow: 0 10px 26px -12px rgba(181, 138, 43, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--gold:hover { background: linear-gradient(135deg, #F8E7AE 0%, #E2BF65 45%, #C79A33 100%); border-color: transparent; box-shadow: 0 16px 34px -12px rgba(212, 175, 79, .75), inset 0 1px 0 rgba(255, 255, 255, .55); transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: #F2DC96; border: 1px solid rgba(212, 175, 79, .65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(212, 175, 79, .16); color: #fff; border-color: var(--gold-2); transform: translateY(-2px); }
.btn--outline { color: var(--bronze); border-color: rgba(181, 138, 43, .75); }
.btn--outline:hover { background: rgba(181, 138, 43, .12); color: var(--navy); }
.dark .btn--outline { color: #F2DC96; border-color: rgba(212, 175, 79, .65); }
.dark .btn--outline:hover { background: rgba(212, 175, 79, .16); color: #fff; }
.btn--lg { min-height: 3.4rem; padding-inline: 1.5rem; font-size: 1rem; }
.btn--xl { min-height: 3.9rem; padding-inline: 1.7rem; font-size: 1.05rem; gap: .7rem; }
.btn--xl svg, .btn--lg svg { width: 1.35rem; height: 1.35rem; }
.btn--wa { font-weight: 700; }
.btn--pulse { position: relative; isolation: isolate; }
.btn--pulse::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1; border: 2px solid rgba(212, 175, 79, .7); animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.18, 1.45); opacity: 0; } }

/* ───────── Header on black ───────── */
.nav.dark { background: rgba(6, 8, 12, .86); border-bottom: 1px solid rgba(212, 175, 79, .22); color-scheme: normal; }
.nav.dark.is-scrolled { background: rgba(6, 8, 12, .92); box-shadow: 0 14px 36px -22px #000; }
.nav__brand img { width: 3rem; height: auto; filter: drop-shadow(0 0 14px rgba(212, 175, 79, .35)); }
.nav__names { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.15; }
.nav__names b { font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: #fff; }
.nav__names small { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
html[lang="ar"] .nav__names small { font-size: .78rem; letter-spacing: 0; text-transform: none; font-weight: 700; }
html[lang="ar"] .nav__names b { font-size: 1.3rem; }
.nav.dark .nav__links a { color: #B6BDC9; }
.nav.dark .nav__links a:hover, .nav.dark .nav__links a[aria-current="page"] { color: #fff; }
.nav.dark .nav__links a[aria-current="page"]::after { background: linear-gradient(90deg, transparent, var(--gold), transparent); height: 2px; }
.nav__cta svg { width: 1.05rem; height: 1.05rem; }
.menu.dark { background: rgba(6, 8, 12, .97); color-scheme: normal; }
.menu__foot .btn { width: 100%; }

/* ───────── Floating WhatsApp ───────── */
.wa-float { position: fixed; z-index: 55; inset-inline-end: 1.1rem; bottom: 1.1rem; display: inline-flex; align-items: center; gap: .6rem; min-height: 3.5rem; padding: .5rem 1.3rem; border-radius: 999px; background: linear-gradient(135deg, #F2DC96, #D4AF4F 45%, #B58A2B); color: #0A0F18; font-weight: 700; font-size: .95rem; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 0 32px -6px rgba(212, 175, 79, .6); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(212, 175, 79, .8); animation: ring 2.6s var(--ease-out) infinite; pointer-events: none; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 1.5rem; height: 1.5rem; flex: none; }
body.menu-open .wa-float { display: none; }

/* ───────── Hero ───────── */
.hero.dark { position: relative; padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 0; overflow: hidden; min-height: min(100svh, 920px); display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(900px 600px at 78% 40%, rgba(212, 175, 79, .16), transparent 62%), radial-gradient(700px 500px at 0% 100%, rgba(30, 58, 110, .35), transparent 60%), #05070A; }
html[dir="rtl"] .hero.dark { background: radial-gradient(900px 600px at 22% 40%, rgba(212, 175, 79, .16), transparent 62%), radial-gradient(700px 500px at 100% 100%, rgba(30, 58, 110, .35), transparent 60%), #05070A; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__lines { position: absolute; inset: -20%; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(212, 175, 79, .055) 46px 47px); -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0, transparent 70%); mask-image: radial-gradient(circle at 50% 45%, #000 0, transparent 70%); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.orb--a { width: 420px; height: 420px; background: rgba(212, 175, 79, .35); top: -120px; inset-inline-end: 8%; animation: drift 16s ease-in-out infinite alternate; }
.orb--b { width: 360px; height: 360px; background: rgba(40, 80, 160, .35); bottom: 10%; inset-inline-start: -80px; animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 50px) scale(1.12); } }
.hero.dark .hero__grid { position: relative; z-index: 1; padding-bottom: clamp(2rem, 5vw, 4rem); flex: 1; }
.hero .label { color: var(--gold-2); }
.hero__title { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.12; margin: 0 0 1.3rem; color: #fff; }
html[lang="ar"] .hero__title { font-size: clamp(2.6rem, 5.6vw, 4.7rem); line-height: 1.35; }
.hero__title em { font-style: normal; background: linear-gradient(100deg, #F6E4A6 0%, #D4AF4F 30%, #B58A2B 55%, #F6E4A6 80%, #D4AF4F 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #D4AF4F; animation: gold-flow 7s linear infinite; display: inline-block; }
@keyframes gold-flow { to { background-position: -220% 0; } }
.hero__lead { color: #B9C0CC; max-width: 52ch; font-size: clamp(1.02rem, 1.35vw, 1.18rem); }
.hero__cta { margin-top: 2.2rem; gap: 1rem; }
.hero__facts { border-top-color: rgba(255, 255, 255, .14); color: #A9B0BD; }
.hero__facts svg { color: var(--gold); }
.hero__stage { position: relative; justify-self: center; width: min(100%, 560px); aspect-ratio: 1; perspective: 1100px; display: grid; place-items: center; }
.stage__logo { position: relative; width: 82%; height: auto;  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .65)) drop-shadow(0 0 40px rgba(212, 175, 79, .28)); }
@keyframes floaty { 50% { translate: 0 -14px; } }
.stage__glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 79, .38), transparent 66%); filter: blur(24px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; transform: scale(1.08); } }
.stage__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(212, 175, 79, .4); }
.stage__ring--1 { inset: 4%; border-style: dashed; border-color: rgba(212, 175, 79, .35); animation: spin 60s linear infinite; }
.stage__ring--2 { inset: 13%; border-color: rgba(212, 175, 79, .22); animation: spin 90s linear infinite reverse; }
.stage__ring--3 { inset: -3%; border-color: rgba(212, 175, 79, .14); }
.stage__ring::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 14px 3px rgba(212, 175, 79, .8); }
.stage__ring--3::before { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage__shine { position: absolute; width: 82%; aspect-ratio: 760 / 715; -webkit-mask: url(/assets/img/mark-gold.png) center / contain no-repeat; mask: url(/assets/img/mark-gold.png) center / contain no-repeat; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%) 130% 0 / 260% 100% no-repeat; mix-blend-mode: overlay; animation: shine 5.5s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 35% { background-position: 130% 0; } 75%, 100% { background-position: -30% 0; } }
.marquee { position: relative; z-index: 1; border-top: 1px solid rgba(212, 175, 79, .35); border-bottom: 1px solid rgba(212, 175, 79, .12); background: rgba(6, 8, 12, .6); overflow: hidden; direction: ltr; padding-block: .95rem; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 1.6rem; padding-inline-end: 1.6rem; }
.marquee b { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: #D9C58E; white-space: nowrap; letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .marquee b { letter-spacing: 0; text-transform: none; font-weight: 700; font-size: 1.15rem; }
.marquee i { font-style: normal; color: var(--gold); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── 3D service cards ───────── */
.svcgrid { list-style: none; display: grid; gap: 1.4rem; grid-template-columns: repeat(4, minmax(0, 1fr)); perspective: 1400px; }
.svcgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svcgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 62%; }
.svc3d { position: relative; display: flex; }
.svc3d__in { position: relative; flex: 1; display: flex; flex-direction: column; gap: .8rem; padding: 1.7rem 1.45rem 1.5rem; border-radius: 14px; background: linear-gradient(165deg, #131D2E 0%, #0B111C 55%, #080C14 100%); border: 1px solid rgba(212, 175, 79, .26); box-shadow: 0 34px 60px -34px #000, 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 1px 0 rgba(255, 255, 255, .08) inset; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transform-style: preserve-3d; transition: transform .35s var(--ease-out), border-color .4s var(--ease), box-shadow .4s var(--ease); overflow: hidden; }
.svc3d__in::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ang, 0deg), rgba(212, 175, 79, 0), rgba(242, 220, 150, .9), rgba(212, 175, 79, 0) 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; animation: angle 5s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes angle { to { --ang: 360deg; } }
.svc3d:hover .svc3d__in, .svc3d:focus-within .svc3d__in { border-color: rgba(212, 175, 79, .75); box-shadow: 0 44px 70px -30px #000, 0 0 50px -12px rgba(212, 175, 79, .45), 0 1px 0 rgba(255, 255, 255, .12) inset; }
.svc3d:hover .svc3d__in::before, .svc3d:focus-within .svc3d__in::before { opacity: 1; }
.svc3d__glow { position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(212, 175, 79, .2), transparent 55%); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.svc3d:hover .svc3d__glow { opacity: 1; }
.svc3d__num { position: absolute; top: .6rem; inset-inline-end: 1rem; font-family: var(--display); font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(212, 175, 79, .35); transform: translateZ(10px); pointer-events: none; }
.svc3d__icon { width: 3.7rem; height: 3.7rem; border-radius: 50%; display: grid; place-items: center; color: #0A0F18; background: linear-gradient(145deg, #F6E4A6, #D4AF4F 55%, #A47A22); box-shadow: 0 14px 24px -10px rgba(0, 0, 0, .8), 0 0 0 5px rgba(212, 175, 79, .12), inset 0 2px 0 rgba(255, 255, 255, .5); transform: translateZ(46px); transition: transform .4s var(--ease-out); }
.svc3d__icon svg { width: 1.7rem; height: 1.7rem; }
.svc3d__tag { font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: .4rem; transform: translateZ(24px); }
html[lang="ar"] .svc3d__tag { font-size: .82rem; letter-spacing: 0; text-transform: none; font-weight: 700; }
.svc3d__title { font-size: 1.5rem; font-weight: 600; color: #fff; line-height: 1.25; transform: translateZ(34px); }
html[lang="ar"] .svc3d__title { font-weight: 700; }
.svc3d__title a { background: linear-gradient(#F2DC96, #F2DC96) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.svc3d__title a:hover { background-size: 100% 1px; }
.svc3d__title a::after { content: ""; position: absolute; inset: 0; }              /* the whole card opens the service page… */
.svc3d__actions a { position: relative; z-index: 2; }                              /* …except the two actions below */
.svc3d__blurb { color: #AEB5C2; font-size: .93rem; transform: translateZ(16px); }
.svc3d__points { list-style: none; display: grid; gap: .4rem; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #D5D8DF; transform: translateZ(12px); }
.svc3d__points li { display: flex; gap: .55rem; align-items: flex-start; }
.svc3d__points li::before { content: ""; flex: none; width: .45rem; height: .45rem; margin-top: .55rem; transform: rotate(45deg); background: var(--gold); }
.svc3d__actions { margin-top: auto; padding-top: 1rem; display: grid; gap: .7rem; transform: translateZ(40px); }
.svc3d__more { display: inline-flex; align-items: center; gap: .5rem; color: #F2DC96; font-size: .88rem; font-weight: 500; min-height: 2.5rem; }
html[lang="ar"] .svc3d__more { font-weight: 700; }
.svc3d__more:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .svc3d__more:hover .arrow { transform: scaleX(-1) translateX(4px); }
.svc3d__actions .btn { width: 100%; }
.services.dark { padding-block: clamp(4.5rem, 8vw, 7rem); }
.services.dark .head h2 { color: #fff; }
.services--index { padding-top: clamp(2rem, 4vw, 3rem); }
.sgroup2 + .sgroup2 { margin-top: clamp(3rem, 6vw, 5rem); }
.sgroup2__head { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.2rem; align-items: baseline; padding-bottom: 1.2rem; margin-bottom: 1.6rem; border-bottom: 1px solid rgba(212, 175, 79, .45); }
.sgroup2__n { grid-row: 1 / 3; font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--gold); }
.sgroup2__head h2, .sgroup2__head h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; color: #fff; }
html[lang="ar"] .sgroup2__head h2, html[lang="ar"] .sgroup2__head h3 { font-weight: 700; }
.sgroup2__head p { color: var(--slate); grid-column: 2; }

/* ───────── Dark page heads, CTA band, footer ───────── */
.phead.dark { background: radial-gradient(800px 400px at 90% -20%, rgba(212, 175, 79, .2), transparent 60%), linear-gradient(180deg, #05070A, #0A1220); border-bottom: 1px solid rgba(212, 175, 79, .35); }
.phead.dark::after { border-color: rgba(212, 175, 79, .35); background: radial-gradient(circle, rgba(212, 175, 79, .12) 0 50%, transparent 72%); }
.phead.dark h1 { color: #fff; }
.phead.dark .phead__intro { color: #B9C0CC; }
.phead__icon { background: linear-gradient(145deg, #F6E4A6, #D4AF4F 55%, #A47A22); color: #0A0F18; box-shadow: 0 0 0 6px rgba(212, 175, 79, .14), 0 18px 30px -12px #000; }
.crumbs a { color: var(--bronze); }
.cta.dark { background: radial-gradient(700px 300px at 85% 0%, rgba(212, 175, 79, .18), transparent 60%), #06080C; border-top: 1px solid rgba(212, 175, 79, .5); border-bottom: 0; }
.cta.dark h2 { color: #fff; }
.footer.dark { background: #05070A; border-top: 1px solid rgba(212, 175, 79, .5); color: var(--slate); }
.footer.dark a:hover { color: #fff; }
.footer.dark .footer__names { color: #fff; }
.footer__brand img { width: 11rem; height: auto; }
.footer.dark .footer__bottom { border-top-color: rgba(255, 255, 255, .12); }

/* ───────── Light sections on white ───────── */
:root { --ivory: #F7F6F2; --paper: #FFFFFF; --navy: #0B1626; --ink: #14213A; --slate: #566072; --bronze: #8A6A1F; --gold: #D4AF4F; --gold-2: #E8CD7F; --gold-soft: rgba(212, 175, 79, .16); }
.dark { --navy: #FFFFFF; --ink: #E8E6E0; --slate: #A9B0BD; --bronze: #DDBB63; --ivory: #06080C; --paper: #0D1420; }
.approach.dark { background: radial-gradient(800px 400px at 50% 0%, rgba(212, 175, 79, .12), transparent 60%), #06080C; }
.approach.dark .step__num { background: transparent; color: rgba(255, 255, 255, .22); -webkit-text-stroke: 0; }
.approach.dark .step.is-lit .step__num, .approach.dark .steps-wrap.is-static .step__num { color: var(--gold); text-shadow: 0 0 24px rgba(212, 175, 79, .45); }
.approach.dark .steps__track { background: rgba(255, 255, 255, .16); }
.approach.dark .steps__fill { background: linear-gradient(90deg, #B58A2B, #F2DC96); box-shadow: 0 0 14px rgba(212, 175, 79, .7); }
.contact.dark { background: radial-gradient(800px 500px at 100% 0%, rgba(212, 175, 79, .14), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(30, 58, 110, .3), transparent 60%), #06080C; }
.contact.dark .card { background: linear-gradient(165deg, #131D2E, #0B111C); border-color: rgba(212, 175, 79, .35); box-shadow: 0 40px 70px -40px #000; }
.contact.dark .field input, .contact.dark .field select, .contact.dark .field textarea { background: rgba(255, 255, 255, .05); color: #fff; border-color: rgba(255, 255, 255, .22); }
.contact.dark .field input::placeholder, .contact.dark .field textarea::placeholder { color: #8892A3; }
.contact.dark .field label { color: #DCE0E8; }
.contact.dark .field__err { color: #FF9C93; }
.contact.dark .field.is-invalid input, .contact.dark .field.is-invalid textarea { border-color: #FF7B70; }
.contact.dark .form__status { background: rgba(180, 70, 60, .16); border-color: #FF7B70; color: #FFC9C3; }
.contact.dark .details i { border-color: rgba(212, 175, 79, .5); color: var(--gold-2); }
.contact.dark .check { color: #B9C0CC; }
.contact.dark .check__box { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); }
.contact.dark .check input:checked + .check__box { background: var(--gold); border-color: var(--gold); color: #06080C; }
.contact.dark .head h2 { color: #fff; }
.firm__lead { color: var(--navy); }
.firm__mv--one { grid-template-columns: 1fr; }
.firm__statement > .label { margin-bottom: -.8rem; }
.attorneys--one { grid-template-columns: minmax(0, 40rem); }
.section--paper { background: #fff; }
.contact__wa .btn { width: auto; }
.svc3d .btn--sm { min-height: 2.9rem; font-size: .92rem; }

/* ───────── Responsive ───────── */
@media (max-width: 1139px) { .nav.dark .nav__links, .nav__cta { display: none; } }
@media (max-width: 1100px) {
  .svcgrid, .svcgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svcgrid--2 { max-width: none; }
}
@media (max-width: 900px) {
  .hero.dark { min-height: 0; }
  .hero__stage { width: min(78%, 400px); order: -1; margin-bottom: -.5rem; }
  .hero__grid { gap: 1.5rem; }
}
@media (max-width: 640px) {
  .svcgrid, .svcgrid--3, .svcgrid--2 { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .btn--xl { padding-inline: 1.2rem; font-size: 1rem; }
  .wa-float { padding: 0; width: 3.7rem; min-height: 3.7rem; justify-content: center; }
  .wa-float span { display: none; }
  .nav__brand img { width: 2.6rem; }
  .nav__names { display: inline-flex; }
  .nav__names small { display: none; }
  .sgroup2__head { grid-template-columns: 1fr; }
  .sgroup2__n { grid-row: auto; font-size: 2.2rem; }
  .sgroup2__head p { grid-column: auto; }
}
@media (hover: none) { .svc3d__in { transform: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .orb, .stage__logo, .stage__glow, .stage__ring, .stage__shine, .marquee__track, .hero__title em, .btn--pulse::after, .wa-float::before, .svc3d__in::before { animation: none !important; }
  .svc3d__in { transform: none !important; }
}

/* shorthand backgrounds above leave the colour transparent; give every dark ground a solid base */
.dark, .dark--deep, .hero.dark, .phead.dark, .cta.dark, .approach.dark, .contact.dark { background-color: #06080C; }

.btn--gold, .svc3d__icon, .wa-float, .phead__icon { background-color: #D4AF4F; }
.svc3d__in { background-color: #0B111C; }
@media (max-width: 420px) { .nav__names { display: none; } }

.btn--wa, .btn--xl, .btn--lg, .cta .btn { white-space: normal; text-align: center; }
@media (max-width: 420px) { .btn--xl { font-size: .95rem; padding-inline: 1rem; } .cta__actions .btn, .phead__cta .btn { width: 100%; } }

/* ───────── Attorney photo cards ───────── */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: 1.4rem; }
.card.attorney--photo { padding: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; border-color: rgba(181, 138, 43, .45); box-shadow: 0 34px 60px -42px rgba(6, 8, 12, .55); background: #fff; }
.attorney__photo { position: relative; background: #0A0F18; min-height: 100%; }
.attorney__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.attorney__frame { position: absolute; inset: 10px; border: 1px solid rgba(212, 175, 79, .65); pointer-events: none; }
.attorney__body { padding: clamp(1.3rem, 2.4vw, 1.9rem); display: flex; flex-direction: column; gap: .9rem; }
.attorney__body h3 { font-size: 1.55rem; }
.attorney__actions { margin-top: auto; display: grid; gap: .6rem; }
.attorney__actions .btn { width: 100%; }
.attorney--photo .attorney__links { padding-top: 0; margin-top: 0; }
@media (max-width: 1100px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .card.attorney--photo { grid-template-columns: 1fr; }
  .attorney__photo { aspect-ratio: 4 / 4.4; }
  .attorney__photo img { position: absolute; inset: 0; }
}

/* ───────── Round 3: light, luxurious services ground; big mission & vision ───────── */
.services--light { background: radial-gradient(900px 420px at 12% 0%, rgba(212, 175, 79, .16), transparent 62%), radial-gradient(800px 480px at 100% 100%, rgba(212, 175, 79, .10), transparent 60%), linear-gradient(180deg, #FFFFFF 0%, #F6F1E6 52%, #FFFDF8 100%); border-block: 1px solid rgba(181, 138, 43, .28); padding-block: clamp(4.5rem, 8vw, 7rem); }
.services--light .svc3d__in { box-shadow: 0 34px 56px -30px rgba(11, 22, 38, .6), 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 1px 0 rgba(255, 255, 255, .1) inset; }
.services--light .head h2, .services--light .sgroup2__head h2, .services--light .sgroup2__head h3 { color: var(--navy); }
.services--light .sgroup2__n { color: #B58A2B; }
.services--light .sgroup2__head p, .services--light .head__intro { color: var(--slate); }
.services--light .sgroup2__head { border-bottom-color: rgba(181, 138, 43, .55); }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.mv__card { position: relative; padding: clamp(1.8rem, 4vw, 3.2rem); border-radius: 14px; border: 1px solid rgba(181, 138, 43, .35); border-top: 3px solid #D4AF4F; background: linear-gradient(170deg, #FFFFFF, #FBF8F0); box-shadow: 0 30px 60px -44px rgba(11, 22, 38, .5); overflow: hidden; }
.mv__card::after { content: ""; position: absolute; inset-inline-end: -50px; bottom: -50px; width: 190px; height: 190px; border-radius: 50%; border: 1px solid rgba(212, 175, 79, .35); box-shadow: 0 0 0 26px rgba(212, 175, 79, .05); pointer-events: none; }
.mv__card .label { font-size: .95rem; margin-bottom: 1.1rem; }
html[lang="en"] .mv__card .label { font-size: .8rem; }
.mv__text { font-family: var(--display); font-size: clamp(1.7rem, 2.9vw, 2.55rem); line-height: 1.5; font-weight: 500; color: var(--navy); }
html[lang="ar"] .mv__text { font-weight: 700; line-height: 1.75; }
html[lang="en"] .mv__text { line-height: 1.35; }
.values--row { margin-top: 1.4rem; }
.attorney__photo--empty { display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #1B2740, #06080C 72%); }
.attorney__photo--empty .attorney__mark { position: static; width: 56%; height: auto; object-fit: contain; filter: drop-shadow(0 0 26px rgba(212, 175, 79, .35)); }
@media (max-width: 800px) { .mv { grid-template-columns: 1fr; } }

.head + [data-cascade], .head + .mv { margin-top: 2.2rem; }

/* ───────── Mobile UX pass ───────── */
.nav { padding-top: env(safe-area-inset-top); }
.wa-float { bottom: max(1.1rem, env(safe-area-inset-bottom)); transition: transform var(--dur) var(--ease), opacity .35s var(--ease), box-shadow var(--dur) var(--ease); }
.wa-float.is-away { opacity: 0; transform: translateY(18px) scale(.9); pointer-events: none; }
@media (max-width: 640px) {
  .field input, .field select, .field textarea, .search__box input { font-size: 16px; }
  .hero__stage { width: min(62%, 270px); margin-bottom: -1rem; }
  .hero.dark { padding-top: calc(var(--nav-h) + 1.2rem); }
  /* services: compact cards stacked one under the other */
  .svcgrid, .svcgrid--3, .svcgrid--2, .svcgrid--home { display: grid; grid-template-columns: 1fr; gap: .7rem; perspective: none; }
  .svc3d__in { transform: none !important; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .9rem; row-gap: .3rem; align-items: center; padding: 1rem 1rem .9rem; border-radius: 12px; box-shadow: 0 18px 30px -22px rgba(0, 0, 0, .7); }
  .svc3d__icon { grid-row: 1 / 3; width: 2.9rem; height: 2.9rem; transform: none; box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .8), 0 0 0 3px rgba(212, 175, 79, .12), inset 0 2px 0 rgba(255, 255, 255, .5); }
  .svc3d__icon svg { width: 1.35rem; height: 1.35rem; }
  .svc3d__tag, .svc3d__points, .svc3d__glow { display: none; }
  .svc3d__title { font-size: 1.15rem; transform: none; grid-column: 2; }
  .svc3d__blurb { font-size: .84rem; line-height: 1.55; transform: none; grid-column: 2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .svc3d__actions { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; gap: .6rem; padding-top: .55rem; margin-top: .3rem; border-top: 1px solid rgba(255, 255, 255, .09); transform: none; }
  .svc3d__more { font-size: .84rem; min-height: 2.75rem; }
  .svc3d__actions .btn { width: auto; min-height: 2.5rem; padding: .4rem .9rem; font-size: .84rem; }
  .svcgrid--home .svc3d.reveal { opacity: 1; transform: none; }
  .services--light { padding-block: 3.2rem; }
  /* steps timeline: line sits on the edge, text clear of it */
  .steps__track { inset-inline-start: 0; inset-inline-end: auto; left: auto; right: auto; }
  html[dir="rtl"] .steps__track { right: 0; }
  html[dir="ltr"] .steps__track { left: 0; }
  .steps-wrap { padding-inline-start: 1.6rem; }
  .card.attorney--photo .attorney__photo { aspect-ratio: 1 / 1; }
  .team { gap: 1.1rem; }
  .mv__text { font-size: 1.55rem; }
  .cta__inner { gap: 1.2rem; }
}

/* ───────── Lawyer profile page ───────── */
.lawyer__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.lawyer__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: radial-gradient(circle at 50% 38%, #1B2740, #06080C 72%); box-shadow: 0 40px 70px -40px #000; display: grid; place-items: center; }
.lawyer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.lawyer__photo .attorney__mark { width: 58%; height: auto; object-fit: contain; }
.lawyer__areas b { font-weight: 700; color: var(--navy); }
.attorney__body h3 a:hover { color: var(--bronze); }
.footer__h--sub { margin-top: 1.4rem; }
@media (max-width: 900px) { .lawyer__head { grid-template-columns: 1fr; } .lawyer__photo { order: -1; max-width: 340px; width: 100%; } }

/* ───────── Footer credit ───────── */
.footer__credit { margin-inline-start: auto; color: var(--slate); }
.footer__credit b { color: #F2DC96; font-weight: 600; letter-spacing: .02em; }

/* ───────── Intro: the logo turns in 3D, then the site opens ───────── */
.intro { display: none; position: fixed; inset: 0; z-index: 300; background: #05070A; place-items: center; align-content: center; gap: 1.4rem; overflow: hidden; cursor: pointer; }
html.has-intro .intro, html.intro-exit .intro { display: grid; }
html.has-intro { overflow: hidden; }
.intro__glow { position: absolute; width: 90vmin; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 79, .42), rgba(212, 175, 79, .08) 45%, transparent 70%); filter: blur(30px); animation: introGlow 2.4s var(--ease-out) both; }
@keyframes introGlow { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.intro__stage { position: relative; width: min(64vw, 330px); aspect-ratio: 1; perspective: 1100px; display: grid; place-items: center; }
.intro__sway { position: absolute; inset: 0; transform-style: preserve-3d; animation: introSway 3.6s ease-in-out 2s infinite; }
@keyframes introSway { 0%, 100% { transform: rotateY(-10deg) rotateX(3deg); } 50% { transform: rotateY(10deg) rotateX(-3deg); } }
.intro__logo { position: absolute; inset: 0; transform-style: preserve-3d; animation: introSpin 2.2s cubic-bezier(.16, .84, .24, 1) both; }
@keyframes introSpin { 0% { transform: rotateY(-720deg) rotateX(18deg) scale(.4); opacity: 0; } 18% { opacity: 1; } 100% { transform: rotateY(0) rotateX(0) scale(1); opacity: 1; } }
.intro__logo img { position: absolute; inset: 4% 0; width: 100%; height: 92%; object-fit: contain; transform: translateZ(calc(var(--i) * -4px)); filter: sepia(1) saturate(2.4) brightness(calc(.78 - var(--i) * .045)); backface-visibility: visible; }
.intro__logo img:last-child { filter: drop-shadow(0 0 26px rgba(212, 175, 79, .5)) brightness(1.12); }
.intro__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(212, 175, 79, .5); opacity: 0; animation: introRing 2.6s var(--ease-out) both; }
.intro__ring--1 { inset: -6%; animation-delay: .1s; } .intro__ring--2 { inset: -22%; animation-delay: .35s; border-style: dashed; border-color: rgba(212, 175, 79, .3); } .intro__ring--3 { inset: -42%; animation-delay: .6s; border-color: rgba(212, 175, 79, .14); }
@keyframes introRing { from { opacity: 0; transform: scale(.3) rotate(-90deg); } 45% { opacity: 1; } to { opacity: .85; transform: scale(1) rotate(0); } }
.intro__shine { position: absolute; width: 100%; height: 92%; -webkit-mask: url(/assets/img/mark-gold.png) center / contain no-repeat; mask: url(/assets/img/mark-gold.png) center / contain no-repeat; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%) 130% 0 / 260% 100% no-repeat; mix-blend-mode: overlay; animation: introShine 1.4s ease-in-out 1.7s both; pointer-events: none; }
@keyframes introShine { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.intro__name { position: relative; font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 3.4vw, 1.5rem); letter-spacing: .1em; color: #F2DC96; opacity: 0; animation: introName .9s var(--ease-out) 1.5s both; text-align: center; }
html[lang="ar"] .intro__name { letter-spacing: 0; font-weight: 700; }
.intro__name i { font-style: normal; color: var(--gold); padding-inline: .5rem; }
@keyframes introName { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.intro__bar { position: relative; width: min(46vw, 220px); height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.intro__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, #B58A2B, #F6E4A6); transform-origin: left; animation: introBar 2.5s var(--ease) both; }
html[dir="rtl"] .intro__bar i { transform-origin: right; }
@keyframes introBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.intro.is-done { animation: introOut 1s var(--ease) forwards; pointer-events: none; }
.intro.is-done .intro__stage { transition: transform 1s var(--ease), opacity .8s var(--ease); transform: scale(2.4); opacity: 0; }
.intro.is-done .intro__name, .intro.is-done .intro__bar { transition: opacity .4s; opacity: 0; }
@keyframes introOut { 0% { opacity: 1; } 55% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
/* the hero waits for the curtain, then rises */
html.has-intro .hero .reveal, html.has-intro .phead .reveal { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .intro { display: none !important; } }

/* ───────── Licence line ───────── */
.chips .chip-licence { display: inline-flex; align-items: center; gap: .4rem; border-color: rgba(181, 138, 43, .7); background: rgba(212, 175, 79, .16); color: #6B5010; font-weight: 700; }
.chip-licence svg { width: .8rem; height: .8rem; color: #8A6A1F; flex: none; }
.licence-line { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem; margin-bottom: 1rem; border: 1px solid rgba(181, 138, 43, .6); border-radius: 8px; background: rgba(212, 175, 79, .14); color: #5E4710; font-weight: 700; }
.licence-line svg { width: 1.1rem; height: 1.1rem; color: #8A6A1F; flex: none; }

/* ───────── Attorney portraits: arch frame, golden halo, monogram behind ───────── */
.card.attorney--photo .attorney__photo:not(.attorney__photo--empty) { display: grid; place-items: center; padding: 1.6rem 1.1rem 1.4rem; overflow: hidden; background: radial-gradient(120% 90% at 50% 18%, #1E2C48 0%, #0A101C 58%, #05070A 100%); }
.attorney__bgmark { position: absolute; inset-inline: -18%; bottom: -8%; display: block; opacity: .13; pointer-events: none; }
.attorney__bgmark img { width: 100%; height: auto; }
.attorney__arch { position: relative; z-index: 1; width: 100%; max-width: 235px; aspect-ratio: 4 / 5.15; border-radius: 999px 999px 16px 16px; overflow: hidden; background: #0A101C; box-shadow: 0 0 0 1px rgba(242, 220, 150, .9), 0 0 0 9px #06080C, 0 0 0 10px rgba(212, 175, 79, .55), 0 0 60px -6px rgba(212, 175, 79, .45), 0 36px 50px -22px #000; }
.attorney__arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(6, 8, 12, .55)); pointer-events: none; }
.attorney__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; transition: transform 1.2s var(--ease-out); }
.attorney--photo:hover .attorney__arch img { transform: scale(1.05); }
.card.attorney--photo .attorney__photo img.attorney__mark + .attorney__frame { inset: 10px; }
.lawyer__photo:has(.attorney__arch) { background: none; box-shadow: none; aspect-ratio: auto; padding: 1.4rem 0 1.2rem; overflow: visible; }
.lawyer__photo .attorney__arch { max-width: 320px; margin-inline: auto; }
.lawyer__photo .attorney__bgmark { inset-inline: -10%; bottom: -4%; }
@media (max-width: 560px) {
  .card.attorney--photo .attorney__photo:not(.attorney__photo--empty) { aspect-ratio: auto; padding: 1.6rem 1rem 1.4rem; }
  .card.attorney--photo .attorney__photo .attorney__arch img { position: static; inset: auto; }
  .attorney__arch { max-width: 230px; }
}
