/* A&A Intellectual Property — site stylesheet
   One file for every page, English (LTR) and Arabic (RTL).
   Uses logical properties (inline/block) so RTL needs almost no overrides. */

:root {
  --navy: #102749;
  --navy-deep: #0C2040;
  --navy-line: #25406A;
  --navy-soft: #2B4561;
  --ink: #1B2430;
  --text: #3E4957;
  --muted: #4A5564;
  --subtle: #5A6675;
  --on-navy: #B9C6D4;
  --on-navy-strong: #E8EDF3;
  --gold: #B8893A;
  --gold-text: #8A6420;   /* gold that passes 4.5:1 on white */
  --gold-light: #E6C88A;  /* gold that passes on navy */
  --paper: #ffffff;
  --mist: #F7F8FA;
  --cloud: #EEF1F6;
  --sand: #F6F3EC;
  --line: #DDE3EA;
  --input: #8A96A6;
  --success: #1F7A4D;
  --error: #B42318;
  --wa: #1F8F55;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: 24px;
  --radius: 2px;
}
html[lang="ar"] {
  --font-display: 'Cairo', system-ui, sans-serif;
  --font-body: 'Cairo', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
html[lang="ar"] body { font-size: 17px; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

.visually-hidden { 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: 16px; top: -60px; z-index: 100; background: var(--gold); color: #fff; padding: 12px 18px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 104px); }
.section--mist { background: var(--mist); }
.section--cloud { background: var(--cloud); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #fff; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-block-end: clamp(32px, 4vw, 48px); }
.section-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); }
html[lang="ar"] .eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0; }
.section--navy .eyebrow, .hero .eyebrow { color: var(--gold-light); }

.h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.1; color: var(--navy); }
html[lang="ar"] .h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.35; }
.section--navy .h2 { color: #fff; }
.lead { font-size: 17px; line-height: 1.8; color: var(--text); }
html[lang="ar"] .lead { font-size: 18px; line-height: 2; }
.link-arrow { font-weight: 600; font-size: 15px; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 26px; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0.03em; text-decoration: none; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
html[lang="ar"] .btn { letter-spacing: 0; font-weight: 700; font-size: 16px; }
/* Navy text on gold: 4.7:1 contrast (white on this gold is only 3.1:1) */
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #CDA052; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost { border-color: #5F7590; color: #fff; }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Top bar */
.topbar { background: var(--navy-deep); color: #C3CFDC; font-size: 13px; }
html[lang="ar"] .topbar { font-size: 14px; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-block: 9px; }
.topbar a { color: #C3CFDC; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.topbar__lang { color: var(--gold-light) !important; font-weight: 700; }
.topbar__lang[lang="ar"] { font-family: 'Cairo', sans-serif; }
.topbar__lang[lang="en"] { font-family: 'Inter', sans-serif; }

/* Header + navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-block-end: 1px solid var(--navy-line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand img { width: auto; height: 50px; }
.brand__text { display: flex; flex-direction: column; gap: 1px; }
.brand__name { font-weight: 700; font-size: 14px; letter-spacing: 0.14em; }
.brand__tag { font-size: 12px; letter-spacing: 0.12em; color: #D4AF5F; }
html[lang="ar"] .brand__name { font-size: 17px; font-weight: 800; letter-spacing: 0; }
html[lang="ar"] .brand__tag { font-size: 12.5px; letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav__list { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; }
.nav__link { color: #E3E9F1; text-decoration: none; font-size: 14.5px; font-weight: 500; padding-block: 8px; display: inline-block; }
html[lang="ar"] .nav__link { font-size: 16px; font-weight: 600; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold-light); }
.nav__sub { position: absolute; inset-inline-start: -16px; top: 100%; min-width: 290px; background: #fff; border-top: 3px solid var(--gold); box-shadow: 0 18px 40px rgba(8, 24, 42, .18); list-style: none; margin: 0; padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__list > li:hover > .nav__sub, .nav__list > li:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 10px 20px; color: var(--navy); text-decoration: none; font-size: 14.5px; }
html[lang="ar"] .nav__sub a { font-size: 16px; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--mist); color: var(--gold-text); }
.nav__caret { font-size: 10px; margin-inline-start: 5px; opacity: .8; }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; background: transparent; color: #fff; border: 1px solid #5F7590; border-radius: var(--radius); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.menu-toggle__bars { width: 18px; height: 12px; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after, .menu-toggle__bars span { content: ""; position: absolute; inset-inline: 0; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle__bars::before { top: 0; } .menu-toggle__bars span { top: 5px; } .menu-toggle__bars::after { bottom: 0; }
.site-header.is-open .menu-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.site-header.is-open .menu-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }
.site-header.is-open .menu-toggle__bars span { opacity: 0; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--navy); border-block-start: 1px solid var(--navy-line); padding: 8px var(--gutter) 24px; flex-direction: column; align-items: stretch; gap: 16px; max-height: calc(100vh - 80px); overflow-y: auto; box-shadow: 0 20px 30px rgba(0,0,0,.25); }
  .site-header.is-open .nav { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-block-end: 1px solid var(--navy-line); }
  .nav__link { display: flex; align-items: center; min-height: 48px; padding-block: 12px; font-size: 17px; }
  .nav__caret { display: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px; min-width: 0; }
  .nav__sub a { color: #C9D4E0; padding: 9px 16px; font-size: 15.5px; display: flex; align-items: center; min-height: 44px; }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: transparent; color: var(--gold-light); }
  .nav .btn { width: 100%; }
}
@media (max-width: 520px) {
  .brand__text { display: none; }
  .brand img { height: 44px; }
}

/* Hero */
.hero { background: var(--navy); color: #fff; }
.hero__inner { padding-block: clamp(64px, 10vw, 120px) clamp(56px, 8vw, 96px); display: flex; flex-direction: column; gap: 28px; }
.hero__kicker { display: flex; align-items: center; gap: 14px; }
.hero__kicker::before { content: ""; width: 48px; height: 1px; background: var(--gold); flex: none; }
.hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 6.2vw, 76px); line-height: 1.04; max-width: 980px; }
html[lang="ar"] .hero h1 { font-weight: 800; font-size: clamp(32px, 5vw, 60px); line-height: 1.3; }
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75; color: var(--on-navy); max-width: 680px; }
html[lang="ar"] .hero__lead { line-height: 1.95; }
.hero__proof { border-block-start: 1px solid #22384F; }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-block: 34px; list-style: none; margin: 0; padding-inline: 0; }
.proof-grid li { display: flex; flex-direction: column; gap: 6px; border-inline-start: 2px solid var(--gold); padding-inline-start: 16px; }
.proof-grid strong { font-size: 16px; color: #fff; font-weight: 600; }
.proof-grid span { font-size: 13.5px; line-height: 1.55; color: var(--on-navy); }
html[lang="ar"] .proof-grid strong { font-size: 17px; font-weight: 700; }
html[lang="ar"] .proof-grid span { font-size: 15px; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .proof-grid { grid-template-columns: 1fr; gap: 20px; } }

.breadcrumb { font-size: 14px; color: #9FB0C3; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 8px; color: #5F7590; }
html[dir="rtl"] .breadcrumb li + li::before { content: "\2190"; }
.breadcrumb a { color: #9FB0C3; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: var(--gold-light); }

/* Facts strip on service pages */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 24px; padding-block: 34px; list-style: none; margin: 0; padding-inline: 0; }
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; color: var(--gold-light); overflow-wrap: anywhere; }
html[lang="ar"] .facts strong { font-weight: 800; font-size: clamp(24px, 2.8vw, 34px); }
.facts--small strong { font-family: var(--font-body); font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); }
.facts span { font-size: 13.5px; color: var(--on-navy); }
.facts strong span { font-size: inherit; color: inherit; }
html[lang="ar"] .facts span { font-size: 15px; }

/* Client logos */
.logos { background: var(--mist); border-block-end: 1px solid #E5E9EF; }
.logos .container { padding-block: 36px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.logos__label { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--subtle); }
html[lang="ar"] .logos__label { font-size: 15px; letter-spacing: 0; font-weight: 700; }
.marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; width: max-content; animation: aa-marquee 110s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 60px; padding-inline-end: 60px; list-style: none; margin: 0; padding-inline-start: 0; }
.marquee__group img { height: 52px; width: auto; max-width: 160px; object-fit: contain; }
@keyframes aa-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; }
  .marquee__group { flex-wrap: wrap; justify-content: center; gap: 28px 40px; padding: 0; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* Generic grids and cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.grid--gap-lg { gap: 36px 40px; }
.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); }
.split > * { flex: 1 1 380px; min-width: 0; }
.split > .split__wide { flex: 1.3 1 480px; }

.card { background: #fff; border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card--top { border: 0; border-block-start: 3px solid var(--gold); }
.card__title { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.35; }
html[lang="ar"] .card__title { font-size: 19px; }
.card__text { font-size: 15px; line-height: 1.65; color: var(--muted); }
html[lang="ar"] .card__text { font-size: 16px; line-height: 1.85; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.service { background: #fff; display: flex; }
.service a, .service > div { flex: 1; padding: 32px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.service a:hover { background: var(--mist); }
.service a:hover .service__title { color: var(--gold-text); }
.service__num { font-family: var(--font-display); font-size: 22px; color: var(--gold-text); }
html[lang="ar"] .service__num { font-weight: 700; font-size: 18px; }
.service__title { font-size: 20px; font-weight: 600; color: var(--navy); line-height: 1.3; }
html[lang="ar"] .service__title { font-size: 20px; font-weight: 700; }
.service__text { font-size: 15px; line-height: 1.65; color: var(--muted); flex: 1; }
html[lang="ar"] .service__text { font-size: 16px; line-height: 1.85; }
.service__more { font-size: 14px; font-weight: 600; color: var(--navy); }
.service__more--muted { color: var(--subtle); font-weight: 500; }

.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.points li { border-block-start: 2px solid var(--gold); padding-block-start: 14px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 10px; border-block-start: 2px solid var(--gold); padding-block-start: 18px; }
.steps__num { font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--gold-text); }
html[lang="ar"] .steps__num { font-weight: 800; font-size: 26px; }

.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.65; color: var(--text); }
html[lang="ar"] .checklist li { font-size: 16px; line-height: 1.85; }
.checklist li::before { content: "\2713"; color: var(--success); font-weight: 700; flex: none; }
.checklist--dot li::before { content: "\2022"; color: var(--gold); font-size: 20px; line-height: 1.2; }
.checklist--plus li::before { content: "+"; color: var(--gold-text); }
.checklist--x li::before { content: "\2715"; color: var(--error); }

.matters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.matter { border: 1px solid var(--navy-soft); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.matter__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); }
html[lang="ar"] .matter__tag { font-size: 14px; letter-spacing: 0; font-weight: 700; }
.matter__text { font-size: 16px; line-height: 1.7; color: var(--on-navy-strong); }
html[lang="ar"] .matter__text { font-size: 17px; line-height: 1.9; }
.matter__outcome { font-size: 14px; color: var(--gold-light); border-block-start: 1px solid var(--navy-soft); padding-block-start: 12px; }
.note { font-size: 13.5px; color: var(--on-navy); }
html[lang="ar"] .note { font-size: 15px; }

.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 36px; }
.region__title { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); border-block-end: 1px solid var(--line); padding-block-end: 12px; margin-block-end: 14px; }
html[lang="ar"] .region__title { font-size: 17px; letter-spacing: 0; font-weight: 800; }
.region__list { list-style: none; padding: 0; margin: 0; font-size: 15px; line-height: 2; color: var(--text); }
html[lang="ar"] .region__list { font-size: 16px; }
.region__text { font-size: 15px; line-height: 1.8; color: var(--text); }

.insight { text-decoration: none; background: #fff; border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 180px; }
.insight:hover { border-color: var(--gold); }
.insight__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
html[lang="ar"] .insight__tag { font-size: 14px; letter-spacing: 0; }
.insight__title { font-size: 19px; font-weight: 700; line-height: 1.45; color: var(--navy); }
.insight__meta { margin-block-start: auto; font-size: 13px; color: var(--subtle); }

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding-block: 22px; padding-inline-end: 36px; position: relative; font-size: 18px; font-weight: 600; color: var(--navy); }
html[lang="ar"] .faq summary { font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--gold-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-block-end: 22px; font-size: 15.5px; line-height: 1.75; color: var(--muted); }
html[lang="ar"] .faq details p { font-size: 16.5px; line-height: 1.95; }

/* Associates band */
.assoc-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.fee-panel { background: var(--navy); color: #fff; padding: 36px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.fee-panel strong { font-size: 24px; color: var(--gold-light); }
.fee-panel span { color: #C9D4E0; line-height: 1.7; }

/* Contact details block */
.contact-lines { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-weight: 600; color: var(--navy); }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); padding: clamp(22px, 4vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.section--mist .form, .section--cloud .form { border-color: var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--navy); }
html[lang="ar"] .field label { font-size: 15px; font-weight: 700; }
.req { color: var(--error); margin-inline-start: 3px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--input); border-radius: var(--radius); }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 36px; }
html[dir="rtl"] .field select { background-position: 15px 21px, 20px 21px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(184, 137, 58, .45); outline-offset: 0; border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field__error { font-size: 13.5px; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; flex: none; accent-color: var(--navy); }
.field--check label { font-weight: 500; font-size: 14px; line-height: 1.6; color: var(--text); flex: 1 1 200px; }
.field--check .field__error { flex-basis: 100%; }
.form__hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__note { grid-column: 1 / -1; font-size: 13px; color: var(--subtle); }
.form__submit { grid-column: 1 / -1; }
.form__submit .btn { width: 100%; min-height: 52px; font-size: 16px; }
.form__status { grid-column: 1 / -1; padding: 14px 16px; font-size: 15px; line-height: 1.6; border-inline-start: 4px solid; }
.form__status:empty { display: none; }
.form__status--success { background: #EAF6EF; border-color: var(--success); color: #12462C; }
.form__status--error { background: #FDECEA; border-color: var(--error); color: #7A1810; }
.form__status--info { background: var(--mist); border-color: var(--navy); color: var(--navy); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Prose (privacy) */
.prose { max-width: 780px; display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 1.8; color: var(--text); }
.prose h2 { font-size: 22px; color: var(--navy); margin-block-start: 12px; }
.prose ul { padding-inline-start: 22px; display: flex; flex-direction: column; gap: 8px; }
.callout { background: var(--sand); border-inline-start: 4px solid var(--gold); padding: 16px 20px; font-size: 15px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 40px; }
.footer__brand img { width: 170px; border-radius: 6px; margin-block-end: 16px; }
.footer__brand p { font-size: 14.5px; line-height: 1.8; }
.footer__title { color: #fff; font-weight: 700; font-size: 15px; margin-block-end: 14px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
html[lang="ar"] .footer__list, html[lang="ar"] .footer__brand p { font-size: 15.5px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-block-start: 1px solid #1F3247; padding-block: 20px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Floating WhatsApp */
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-float:hover { background: #18764A; }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 640px) { .wa-float { width: 52px; height: 52px; inset-inline-end: 14px; bottom: 14px; } }

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .btn-row .btn { flex: 1 1 100%; }
  .card, .service a, .service > div, .matter { padding: 24px; }
}


/* ---------- Icons ---------- */
.icon { width: 28px; height: 28px; flex: none; color: var(--gold-text); }
.icon--lg { width: 36px; height: 36px; }
.section--navy .icon, .hero .icon { color: var(--gold-light); }
.service__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service__top .service__num { font-size: 18px; opacity: .9; }
.card > .icon { margin-block-end: 4px; }
.steps li.steps__item--icon { gap: 12px; }
.steps__item--icon .icon { margin-block-end: 2px; }

/* ---------- Home hero brand pattern ---------- */
.hero--home { position: relative; overflow: hidden; isolation: isolate; }
.hero--home > .container, .hero--home > .hero__proof { position: relative; z-index: 1; }
.hero__art { position: absolute; inset-inline-end: -40px; top: 24px; width: min(52vw, 640px); height: auto; color: var(--gold); opacity: .16; z-index: 0; pointer-events: none; }
@media (max-width: 760px) { .hero__art { width: 120vw; inset-inline-end: -30vw; top: auto; bottom: 120px; opacity: .08; } }

/* ---------- GCC map ---------- */
.ju-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.regions--side { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px 28px; }
@media (max-width: 960px) { .ju-layout { grid-template-columns: 1fr; } }
.gcc { margin: 0; background: var(--navy); color: #E7EDF3; padding: clamp(16px, 2.5vw, 28px); }
.gcc__svg { display: block; width: 100%; height: auto; }
.gcc__grid path { stroke: #22384F; stroke-width: 1; stroke-dasharray: 2 5; fill: none; }
.gcc__arcs path { stroke: var(--gold); stroke-width: 1.2; fill: none; opacity: .75; }
.gcc__dot { fill: var(--navy); stroke: var(--gold-light); stroke-width: 1.6; }
.gcc__hub { fill: var(--gold); }
.gcc__halo { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .5; }
.gcc__label { fill: #E7EDF3; font-family: var(--font-body); font-size: 14px; letter-spacing: .02em; }
.gcc__label--hub { fill: var(--gold-light); color: var(--gold-light); font-weight: 600; }
html[lang="ar"] .gcc__label { font-size: 15px; }
.gcc__cap { margin-block-start: 10px; font-size: 12px; color: var(--on-navy); letter-spacing: .04em; }

/* ---------- About page ---------- */
.hero--compact .hero__inner { padding-block: clamp(36px, 5.5vw, 64px) clamp(44px, 6vw, 72px); gap: 22px; }
.hero--compact h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.08; max-width: 860px; }
html[lang="ar"] .hero--compact h1 { font-size: clamp(28px, 4.1vw, 50px); line-height: 1.35; }
.hero--compact .hero__lead { max-width: 640px; }
.hero--compact .facts { padding-block: 28px; }

.who { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 72px); }
.who__head { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.who__body { grid-column: 2; }
.glance { grid-column: 2; }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 68ch; }
.prose p { font-size: 17px; line-height: 1.85; color: var(--text); }
.prose p:first-child { font-size: 19px; line-height: 1.75; color: var(--navy); }
html[lang="ar"] .prose p { line-height: 2; }
html[lang="ar"] .prose p:first-child { font-size: 19px; line-height: 1.95; }
.glance { border-block-start: 1px solid var(--line); padding-block-start: 24px; }
.glance__title { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-block-end: 8px; }
html[lang="ar"] .glance__title { letter-spacing: 0; font-size: 14px; }
.glance__list { margin: 0; display: grid; grid-template-columns: 1fr; }
.glance__list > div { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 16px; padding-block: 14px; border-block-end: 1px solid var(--line); }
.glance__list dt { font-weight: 700; font-size: 14px; color: var(--navy); }
.glance__list dd { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text); }
@media (max-width: 860px) {
  .who { grid-template-columns: 1fr; }
  .who__head, .who__body, .glance { grid-column: 1; grid-row: auto; }
}
@media (max-width: 480px) { .glance__list > div { grid-template-columns: 1fr; gap: 4px; } }

.office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .office { grid-template-columns: 1fr; } }
.office__photo { margin: 0; }
.office__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.office__card { background: var(--navy); color: #fff; padding: clamp(32px, 4.5vw, 52px); display: flex; flex-direction: column; gap: 18px; border-block-start: 3px solid var(--gold); }
.office__addr { font-style: normal; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.45; color: #fff; }
html[lang="ar"] .office__addr { font-family: var(--font-body); font-size: clamp(18px, 2vw, 22px); line-height: 1.9; font-weight: 600; }
.office__metro { font-size: 14px; color: var(--on-navy); border-block-start: 1px solid #22384F; padding-block-start: 16px; }

.principles__head { max-width: 720px; margin-block-end: clamp(36px, 5vw, 56px); }
.principles__lead { font-size: 17px; line-height: 1.8; color: var(--on-navy); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-block-start: 1px solid #22384F; }
.principle { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 8px; padding: clamp(24px, 3.5vw, 40px) clamp(0px, 2vw, 32px) clamp(24px, 3.5vw, 40px) 0; border-block-end: 1px solid #22384F; }
.principle:nth-child(odd) { border-inline-end: 1px solid #22384F; padding-inline-end: clamp(20px, 3.5vw, 48px); }
.principle:nth-child(even) { padding-inline-start: clamp(20px, 3.5vw, 48px); }
.principle .icon { grid-row: 1 / span 2; margin-block-start: 2px; }
.principle__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 26px); line-height: 1.25; color: #fff; }
html[lang="ar"] .principle__title { font-family: var(--font-body); font-weight: 700; font-size: 20px; line-height: 1.5; }
.principle__text { font-size: 15.5px; line-height: 1.8; color: #C9D4E0; }
html[lang="ar"] .principle__text { line-height: 2; }
@media (max-width: 760px) {
  .principles { grid-template-columns: 1fr; }
  .principle:nth-child(n) { border-inline-end: 0; padding-inline: 0; }
}
.serve-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px 32px; }


/* ---------- Insights (blog) ---------- */
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.post-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .15s; }
.post-card:hover { border-color: var(--gold); }
.post-card:hover .post-card__title { color: var(--gold-text); }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.post-card__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card__img--none { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.post-card__img--none img { opacity: .9; }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 28px; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--subtle); }
.post-card__lang { font-size: 12px; font-weight: 700; color: var(--gold-text); border: 1px solid var(--gold); padding: 2px 8px; }
.post-card__title { font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--navy); }
.post-card[lang="ar"] .post-card__title, html[lang="ar"] .post-card__title { font-size: 18px; line-height: 1.7; }
.post-card[lang="en"] .post-card__title { font-family: var(--font-body); }
.section-head .eyebrow:empty { display: none; }

.hero--article h1 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.15; max-width: 920px; }
html[lang="ar"] .hero--article h1 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.5; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--on-navy); }
.article__meta span + span::before { content: "·"; margin-inline-end: 22px; color: var(--gold); }
.article__section { padding-block-start: clamp(36px, 5vw, 56px); }
.article__wrap { max-width: 820px; display: flex; flex-direction: column; gap: 36px; }
.article__figure { margin: 0; }
.article__img { display: block; width: 100%; height: auto; border-block-start: 3px solid var(--gold); }
.article__body { font-size: 17px; line-height: 1.85; color: var(--text); overflow-wrap: anywhere; }
html[lang="ar"] .article__body { font-size: 18px; line-height: 2; }
.article__body > * + * { margin-block-start: 18px; }
.article__body h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; color: var(--navy); margin-block-start: 40px; }
html[lang="ar"] .article__body h2 { font-family: var(--font-body); font-weight: 700; font-size: 23px; line-height: 1.6; }
.article__body h3 { font-size: 19px; font-weight: 700; line-height: 1.45; color: var(--navy); margin-block-start: 30px; }
.article__body strong { color: var(--ink); }
.article__body a { color: var(--gold-text); text-underline-offset: 3px; }
.article__body ul, .article__body ol { padding-inline-start: 24px; display: flex; flex-direction: column; gap: 8px; }
.article__body li::marker { color: var(--gold-text); }
.article__body li > p { margin: 0; }
.article__body hr { border: 0; border-block-start: 1px solid var(--line); margin-block: 32px; }
.article__body blockquote { border-inline-start: 3px solid var(--gold); padding-inline-start: 20px; color: var(--navy); }
.article__body table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.article__body td, .article__body th { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
.article__note { font-size: 14px; line-height: 1.7; color: var(--subtle); border-block-start: 1px solid var(--line); padding-block-start: 20px; }
.article__cta { background: var(--navy); color: #fff; padding: clamp(28px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; border-block-start: 3px solid var(--gold); }
.article__cta > div:first-child { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.article__cta-title { font-family: var(--font-display); font-size: 26px; line-height: 1.2; color: #fff; }
html[lang="ar"] .article__cta-title { font-family: var(--font-body); font-weight: 700; font-size: 22px; }
.article__cta p:not(.article__cta-title) { color: #C9D4E0; line-height: 1.7; }

@media print {
  .topbar, .site-header, .wa-float, .form, .logos { display: none !important; }
  body { color: #000; }
}
.office__photo { position: relative; border-block-start: 3px solid var(--gold); }
.office__cap { display: flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; padding: 14px 20px; font-size: 14px; font-weight: 600; }
.office__cap .icon { width: 20px; height: 20px; color: var(--gold-light); }
