/* ==========================================================================
   مكتب د. عبدالعظيم توفيق شمس الدين — editorial / legal-document style
   Sharp corners, thin & double rules, no gradients.
   ========================================================================== */
:root {
  --ink: #16131A; --ink-2: #100E13; --paper: #EFE8DA; --paper-2: #F7F2E8; --paper-3: #FBF8F2;
  --ox: #7A1F1F; --ox-d: #4E1212; --gold: #C9A45C; --sand: #F2D9A8;
  --mute: #5A5247; --mute-2: #4A443B; --body: #3A342C; --mute-d: #A89F90; --mute-d2: #BFB6A7; --cream: #EADFD0;
  --rule: rgba(22, 19, 26, .25); --rule-soft: rgba(22, 19, 26, .15); --rule-d: rgba(239, 232, 218, .16);
  --wrap: 1280px; --gut: 40px; --hdr: 92px;
  --f-head: 'Noto Kufi Arabic', 'Tajawal', sans-serif; --f-body: 'Tajawal', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.8 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ox); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ox-d); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--ox); outline-offset: 3px; }
.sec--ink :focus-visible, .sec--ox :focus-visible, .cta :focus-visible, .ftr :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
::selection { background: var(--ox); color: var(--paper-2); }
[id] { scroll-margin-top: calc(var(--hdr) + 12px); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 900px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; color: var(--paper); }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ico { display: inline-flex; width: 1.15em; height: 1.15em; flex-shrink: 0; }
.ico svg { width: 100%; height: 100%; }
.rule2 { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); height: 3px; }
.acc--ox { color: var(--ox); }
.acc--gold { color: var(--gold); }
.lbl { font-size: 14px; color: var(--mute); }

/* buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 32px; border: 0; font-weight: 600; font-size: 17px; cursor: pointer; transition: background .25s, color .25s; white-space: nowrap; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn--ox { background: var(--ox); color: var(--paper-2); }
.btn--ox:hover { background: var(--ox-d); color: var(--paper-2); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2b2630; color: var(--paper); }
.btn--paper { background: var(--paper-2); color: var(--ink); font-weight: 700; min-height: 52px; padding: 0 26px; }
.btn--paper:hover { background: #fff; color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--ink); font-weight: 700; }
.btn--gold:hover { background: #d9b874; color: var(--ink); }
.btn--line { border: 1px solid var(--ink); color: var(--ink); background: transparent; min-height: 48px; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; }
.link-ul { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-weight: 700; font-size: 17px; border-bottom: 1.5px solid var(--ink); width: max-content; }
.link-ul svg { transition: transform .3s var(--ease); }
.link-ul:hover { color: var(--ox); border-color: var(--ox); }
.link-ul:hover svg { transform: translateX(-4px); }
.link-ul--light { color: var(--paper); border-color: rgba(239, 232, 218, .6); }
.link-ul--light:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- header ---------- */
.progress { position: fixed; inset-inline: 0; top: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--ox); transform: scaleX(var(--p, 0)); transform-origin: right; }
.hdr { position: sticky; top: 0; z-index: 50; background: var(--paper); transition: transform .45s var(--ease), box-shadow .3s; }
.hdr.is-scrolled { box-shadow: 0 10px 30px -22px rgba(22, 19, 26, .5); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 18px; padding-bottom: 16px; }
.brand { display: block; line-height: 0; flex-shrink: 0; }
.brand img { width: 250px; height: auto; transition: width .3s var(--ease); }
.hdr.is-scrolled .brand img { width: 210px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; font-size: 16px; font-weight: 500; }
.nav a { color: var(--ink); padding: 10px 0; position: relative; }
.nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 4px; height: 1.5px; background: var(--ox); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a:hover, .nav a.is-active { color: var(--ox); }
.nav .nav-call { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--ink); color: var(--paper); font-weight: 600; }
.nav .nav-call::after { display: none; }
.nav .nav-call:hover { background: var(--ox); color: var(--paper-2); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: 11px; cursor: pointer; }
@media (max-width: 1180px) { .nav { gap: 0 18px; font-size: 15px; } .brand img { width: 210px; } }
@media (max-width: 1060px) { .nav { display: none; } .burger { display: inline-flex; } }
@media (max-width: 560px) { :root { --hdr: 74px; } .brand img, .hdr.is-scrolled .brand img { width: 180px; } .hdr-in { padding-top: 12px; padding-bottom: 12px; } }

.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-bg { position: absolute; inset: 0; background: rgba(22, 19, 26, .5); opacity: 0; transition: opacity .3s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(400px, 90vw); background: var(--paper); border-inline-start: 1px solid var(--ink); padding: 18px 24px 28px; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .4s var(--ease); overflow-y: auto; }
.drawer.is-open .drawer-bg { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 3px double var(--ink); }
.drawer-top img { width: 170px; }
.drawer-x { width: 44px; height: 44px; border: 1px solid var(--ink); background: none; color: var(--ink); padding: 11px; cursor: pointer; }
.drawer-nav { display: flex; flex-direction: column; padding: 10px 0; flex: 1; }
.drawer-nav a { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); color: var(--ink); font-family: var(--f-head); font-size: 20px; font-weight: 700; }
.drawer-nav .dn { font-family: var(--f-body); font-size: 13px; color: var(--ox); }
.drawer-foot { display: flex; flex-direction: column; gap: 8px; }
.drawer-tel { display: block; padding: 14px; background: var(--ink); color: var(--paper); text-align: center; font-family: var(--f-head); font-size: 20px; font-weight: 700; }
html.lock, html.lock body { overflow: hidden; }

/* ---------- sections ---------- */
.sec { padding-block: 112px; position: relative; }
.sec--tight { padding-block: 80px; }
.sec--paper { background: var(--paper); }
.sec--p2 { background: var(--paper-2); }
.sec--light { background: var(--paper-3); border-top: 1px solid var(--rule-soft); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--ox { background: var(--ox); color: var(--paper-2); }
.h2 { font-weight: 700; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.55; }
.h2--sm { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 36px; }
.h3 { font-family: var(--f-head); font-size: 24px; font-weight: 700; margin: 36px 0 18px; }
.sec-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 56px; }
.sec-top--rule { padding-bottom: 24px; border-bottom: 2px solid var(--ink); margin-bottom: 48px; }
.sec-intro { max-width: 380px; color: var(--mute); }
.sec-intro--sm { font-size: 15px; max-width: 360px; }
.sec--ink .sec-intro { color: var(--mute-d2); }
.sec-more { margin-top: 40px; }
.eb { display: block; font-size: 15px; font-weight: 700; color: var(--ox); margin-bottom: 8px; }
.eb--light { color: var(--sand); }

/* hero */
.hero { background: var(--paper); }
.hero-in { display: flex; flex-wrap: wrap; }
.hero-copy { flex: 1 1 600px; min-width: 0; padding: 56px 0 64px; padding-inline-end: 56px; display: flex; flex-direction: column; gap: 36px; }
.hero-labels { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--mute); font-weight: 500; }
.hero-h { font-weight: 800; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.45; color: var(--ink); }
.hero-row { display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule); }
.hero-intro { flex: 1 1 280px; padding: 20px 0 0; padding-inline-end: 28px; font-size: 18px; line-height: 1.85; color: var(--body); }
.hero-calls { flex: 1 1 220px; padding: 20px 0 0; padding-inline-start: 28px; border-inline-start: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.big-tel { font-family: var(--f-head); font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1.3; width: max-content; }
.big-tel:hover { color: var(--ox); }
.big-tel--light { color: var(--paper-2); }
.big-tel--light:hover { color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.hero-visual { flex: 1 1 420px; min-width: 0; display: flex; padding-bottom: 48px; }
.hero-side { flex: 0 0 44px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.hero-side span { writing-mode: vertical-rl; font-size: 13px; color: var(--mute); font-weight: 500; white-space: nowrap; }
.hero-fig { flex: 1 1 auto; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.hero-img { height: 660px; background: #2A2420; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 20%; }
.hero-fig figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--mute); border-top: 1px solid var(--rule); padding-top: 10px; }

/* strip */
.strip { background: var(--ink); color: var(--paper); }
.strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding-top: 22px; padding-bottom: 22px; font-family: var(--f-head); font-size: 16px; font-weight: 600; }
.strip .dia { color: var(--gold); font-size: 12px; }

/* profile */
.prof-h { max-width: 900px; margin-bottom: 56px; }
.prof { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.prof-fig { flex: 0 1 260px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.prof-img { height: 330px; overflow: hidden; background: #2A2420; }
.prof-img img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 22%; filter: grayscale(1) contrast(1.08); }
.prof-fig figcaption { font-size: 13px; color: var(--mute); }
.prof-body { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 19px; line-height: 2; color: #2E2924; }
.dropcap { float: right; font-family: var(--f-head); font-size: 64px; line-height: 1.1; color: var(--ox); margin: 8px 0 0 14px; font-weight: 700; }
.idcard { flex: 1 1 340px; min-width: 0; border: 1px solid var(--ink); padding: 6px; }
.idcard-in { border: 1px solid rgba(22, 19, 26, .4); padding: 26px 28px; }
.idcard-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.idcard-t { font-family: var(--f-head); font-size: 24px; font-weight: 700; }
.idcard-s { font-size: 13px; color: var(--mute); }
.idrow { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px dotted rgba(22, 19, 26, .45); }
.idrow:last-child { border-bottom: 0; padding-bottom: 0; }
.idrow-l { font-size: 13px; color: var(--mute); }
.idrow-v { font-size: 17px; font-weight: 600; line-height: 1.7; }

/* specialty (oxblood) */
.spec { display: flex; flex-wrap: wrap; gap: 56px; }
.spec-a { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.spec-a .h2 { font-weight: 800; }
.spec-p { font-size: 18px; color: var(--cream); max-width: 420px; }
.spec-a .btn { margin-top: 8px; }
.spec-list { flex: 2 1 600px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid rgba(247, 242, 232, .35); }
.spec-list li { padding: 26px 0; display: flex; gap: 18px; border-bottom: 1px solid rgba(247, 242, 232, .2); }
.spec-list li:nth-child(odd) { padding-inline-end: 28px; }
.spec-list li:nth-child(even) { padding-inline-start: 28px; }
.spec-n { font-family: var(--f-head); font-size: 15px; font-weight: 700; color: var(--sand); flex: 0 0 28px; }
.spec-list h3 { font-size: 19px; font-weight: 700; line-height: 1.6; }
.spec-list p { font-size: 16px; color: var(--cream); margin-top: 4px; }

/* practice (ink): articles of law */
.prac { display: flex; flex-wrap: wrap; gap: 56px; }
.prac-a { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.prac-a .link-ul { margin-top: 8px; }
.prac-p { color: var(--mute-d2); font-weight: 300; max-width: 380px; }
.prac-list { flex: 2 1 640px; min-width: 0; display: flex; flex-direction: column; }
.law { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 26px 0; border-top: 1px solid var(--rule-d); }
.law--first { padding: 32px 0; border-top-color: var(--gold); }
.law--last { border-bottom: 1px solid var(--gold); }
.law-n { flex: 0 0 110px; font-family: var(--f-head); font-size: 20px; color: var(--gold); }
.law-b { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.law-h { font-weight: 700; font-size: 24px; line-height: 1.6; }
.law--first .law-h { font-size: 34px; line-height: 1.5; }
.law-h a { color: var(--paper); }
.law-h a:hover { color: var(--gold); }
.law-b p { color: var(--mute-d2); }
.law-b strong { color: var(--paper); font-weight: 600; }
.law-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--gold); opacity: .8; width: max-content; }
.law-more:hover { opacity: 1; color: var(--gold); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.team-grid--few { grid-template-columns: repeat(2, minmax(0, 340px)); }
.tm { display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--rule); }
.tm-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #2A2420; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .8s var(--ease); }
.tm:hover .tm-photo img { transform: scale(1.04); }
.tm-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); background: linear-gradient(var(--ink), var(--ink)); }
.tm-ph svg { width: 46%; opacity: .55; }
.tm-temp { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--paper); color: var(--ox); font-size: 12px; font-weight: 700; padding: 4px 10px; border: 1px solid var(--ox); }
.tm-b { padding: 22px 22px 24px; border-top: 3px double var(--ink); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tm h3 { font-size: 19px; font-weight: 700; line-height: 1.6; }
.tm-role { font-size: 15px; font-weight: 700; color: var(--ox); }
.tm ul { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.tm li { font-size: 15px; color: var(--mute-2); padding-inline-start: 16px; position: relative; line-height: 1.7; }
.tm li::before { content: '◆'; position: absolute; inset-inline-start: 0; top: 0; font-size: 8px; color: var(--ox); }
.tm--lead { border-color: var(--ink); }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid, .team-grid--few { grid-template-columns: 1fr; } .tm-photo { aspect-ratio: 4 / 4.4; } }

/* journey */
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 0; }
.journey li { display: flex; flex-direction: column; gap: 14px; padding-inline-end: 24px; }
.journey li.is-last { padding-inline-end: 0; }
.jr-top { display: flex; align-items: center; }
.jr-n { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--ink); color: var(--paper-2); display: flex; align-items: center; justify-content: center; font-family: var(--f-head); font-weight: 700; font-size: 17px; }
.is-last .jr-n { background: var(--ox); }
.jr-line { flex: 1 1 auto; height: 1px; background: var(--ink); }
.journey h3 { font-size: 20px; font-weight: 700; line-height: 1.6; }
.journey p { font-size: 16px; color: var(--mute-2); }

/* guide: five rules */
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 2px solid var(--ink); }
.rules li { padding: 28px 24px 32px; border-inline-end: 1px solid rgba(22, 19, 26, .2); display: flex; flex-direction: column; gap: 14px; }
.rule-n { font-family: var(--f-head); font-size: 44px; line-height: 1.2; font-weight: 700; color: var(--ox); }
.rule-t { font-size: 19px; font-weight: 600; line-height: 1.6; }
.rules .rule--dark { background: var(--ink); color: var(--paper); border-inline-end: 0; }
.rule--dark .rule-n, .rule-tel { color: var(--gold); }
.rule-tel { margin-top: auto; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.rule-tel:hover { color: #e3c483; }

/* articles */
.arts { display: flex; flex-wrap: wrap; gap: 48px; }
.art-feat { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.art-feat-img { position: relative; height: 340px; background: var(--ink); color: var(--paper-2); padding: 32px 36px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.art-feat-img > img, .art-block > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.afi-top { position: relative; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--mute-d2); }
.afi-hook { position: relative; font-family: var(--f-head); font-size: clamp(40px, 5vw, 76px); font-weight: 800; line-height: 1.3; color: var(--gold); }
.art-cat { font-size: 14px; font-weight: 700; color: var(--ox); }
.art-feat-t { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; line-height: 1.6; }
.art-feat-t a, .art-line h3 a, .art-card h3 a { color: var(--ink); }
.art-feat-t a:hover, .art-line h3 a:hover, .art-card h3 a:hover { color: var(--ox); }
.art-feat-p { font-size: 18px; color: var(--mute-2); max-width: 680px; }
.art-mins { font-size: 14px; color: var(--mute); margin-top: auto; }
.arts-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(22, 19, 26, .2); }
.art-line { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; border-bottom: 1px solid rgba(22, 19, 26, .2); }
.art-line h3, .art-card h3 { font-size: 21px; font-weight: 700; line-height: 1.65; }
.art-line p, .art-card p { font-size: 16px; color: var(--mute-2); }
.art-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 32px; margin-top: 48px; }
.sec--tight .art-cards, .h2--sm + .art-cards { margin-top: 0; }
.art-card { display: flex; flex-direction: column; gap: 16px; }
.art-block { position: relative; height: 170px; background: var(--cat, var(--ox)); color: var(--paper-2); padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.art-feat-img { background: var(--ink); }
.ab-l { position: relative; font-size: 14px; font-weight: 500; color: var(--cream); }
.ab-c { position: relative; font-family: var(--f-head); font-size: 40px; font-weight: 800; line-height: 1.3; }
.art-block:hover, .art-feat-img:hover { color: var(--paper-2); }

/* faq */
.faq { display: flex; flex-wrap: wrap; gap: 56px; }
.faq-a { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--hdr) + 30px); align-self: flex-start; }
.faq-list { flex: 2 1 620px; min-width: 0; border-top: 2px solid var(--ink); }
.faq-i { border-bottom: 1px solid rgba(22, 19, 26, .2); }
.faq-i summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i h3 { font-size: 21px; font-weight: 600; line-height: 1.6; }
.faq-ic { width: 16px; height: 16px; position: relative; flex-shrink: 0; }
.faq-ic::before, .faq-ic::after { content: ''; position: absolute; inset: 50% 0 auto; height: 1.5px; background: var(--ox); transition: transform .3s var(--ease); }
.faq-ic::after { transform: rotate(90deg); }
.faq-i[open] .faq-ic::after { transform: rotate(0); }
.faq-i p { padding: 0 0 26px; color: var(--body); max-width: 680px; }

/* cta */
.cta { background: var(--ink); color: var(--paper-2); border-bottom: 1px solid rgba(201, 164, 92, .25); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding-block: 96px; }
.cta-h { flex: 1 1 560px; font-weight: 800; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.5; }
.cta-btns { flex: 0 1 380px; display: flex; flex-direction: column; gap: 14px; }
.cta-call, .cta-wa { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 24px; font-weight: 700; }
.cta-call { background: var(--gold); color: var(--ink); }
.cta-call:hover { background: #d9b874; color: var(--ink); }
.cta-num { font-family: var(--f-head); font-size: 22px; font-weight: 800; }
.cta-wa { border: 1px solid rgba(247, 242, 232, .4); color: var(--paper-2); }
.cta-wa:hover { border-color: var(--gold); color: var(--gold); }

/* contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-a { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.addr { font-family: var(--f-head); font-size: 26px; line-height: 1.7; border-inline-start: 2px solid var(--gold); padding-inline-start: 24px; }
.tels { display: flex; flex-wrap: wrap; border-top: 1px solid rgba(239, 232, 218, .2); }
.tels a { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; padding: 20px 0 0; color: var(--paper); }
.tels a + a { padding-inline-start: 20px; border-inline-start: 1px solid rgba(239, 232, 218, .2); }
.tels a:first-child { padding-inline-end: 20px; }
.tels .lbl, .hours .lbl { color: var(--mute-d); font-size: 13px; }
.tel-n { font-family: var(--f-head); font-size: 30px; font-weight: 700; text-align: start; }
.tels a:hover .tel-n { color: var(--gold); }
.hours { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-block: 1px solid rgba(239, 232, 218, .2); font-size: 16px; }
.map { position: relative; height: 260px; border: 1px solid rgba(201, 164, 92, .4); background: #1d1a21; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.15); }
.map--ph { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--mute-d); font-size: 15px; text-align: center; padding: 0 16px; border-style: dashed; height: 220px; }
.map--ph .ico { color: var(--gold); width: 24px; height: 24px; }
.map--ph a { color: var(--gold); }
.cform { flex: 1 1 420px; min-width: 0; background: var(--paper-2); color: var(--ink); padding: 40px; display: flex; flex-direction: column; gap: 20px; align-self: flex-start; }
.cform-h { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.cform-h h3 { font-size: 32px; font-weight: 700; line-height: 1.4; }
.cform-h p { color: var(--mute); font-size: 15px; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f > span { font-size: 15px; font-weight: 600; }
.f input, .f select, .f textarea { height: 50px; padding: 0 14px; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; font-size: 17px; color: var(--ink); border-radius: 0; }
.f textarea { height: auto; padding: 10px 14px; resize: vertical; }
.f input[type=tel] { text-align: right; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom-color: var(--ox); background: rgba(122, 31, 31, .04); }
.f input[aria-invalid="true"] { border-bottom-color: #B3412F; }
.cform .btn { margin-top: 8px; min-height: 56px; }
.f-msg { min-height: 1.5em; font-size: 15px; color: var(--ox); font-weight: 600; }
.f-msg.is-err { color: #B3412F; }
.f-msg.is-ok { color: #1F5A3A; padding: 12px 14px; border: 1px solid rgba(31, 90, 58, .35); background: rgba(31, 90, 58, .07); }
.f-consent { font-size: 13px; color: var(--mute); text-align: center; }
.f-consent a { text-decoration: underline; text-underline-offset: 3px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { min-width: 86px; height: 42px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font: 600 15px var(--f-body); }
.slot.is-on, .slot:hover { background: var(--ink); color: var(--paper); }
.slots-msg { color: var(--mute); font-size: 14.5px; }

/* footer */
.ftr { background: var(--ink-2); color: var(--mute-d); }
.ftr > .wrap { padding-top: 72px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 48px; }
.ftr-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.ftr-brand { flex: 2 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ftr-logo img { width: 320px; max-width: 100%; height: auto; }
.ftr-brand p { font-size: 15px; max-width: 360px; }
.ftr nav, .ftr-contact { flex: 1 1 170px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.ftr-h { font-family: var(--f-head); font-weight: 700; color: var(--paper-2); padding-bottom: 8px; }
.ftr nav a, .ftr-contact a { color: #D9D1C2; padding: 6px 0; width: max-content; }
.ftr nav a:hover, .ftr-contact a:hover { color: var(--gold); }
.ftr-contact address, .ftr-contact span { line-height: 1.8; padding-top: 6px; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(201, 164, 92, .3); font-size: 13px; }
.credit a { color: var(--gold); font-weight: 700; letter-spacing: .06em; font-family: 'Tajawal', sans-serif; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(201, 164, 92, .4); display: grid; place-items: center; color: var(--gold); padding: 10px; }
.social a:hover { background: var(--gold); color: var(--ink); }

/* floating WhatsApp (mobile) */
.wa-fab { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 40; width: 56px; height: 56px; display: none; place-items: center; background: var(--ox); color: var(--paper-2); box-shadow: 0 14px 30px -12px rgba(22, 19, 26, .7); }
.wa-fab:hover { color: var(--paper-2); background: var(--ox-d); }
@media (max-width: 900px) { .wa-fab { display: grid; } }

/* ---------- inner pages ---------- */
.phead { background: var(--paper); padding-top: 56px; }
.phead .wrap:first-child { padding-bottom: 40px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--mute); margin-bottom: 22px; }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: '◆'; font-size: 8px; color: var(--ox); }
.crumbs a { color: var(--ink); }
.crumbs a:hover { color: var(--ox); }
.h1p { font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.45; }
.phead-lead { margin-top: 16px; font-size: 19px; color: var(--body); max-width: 720px; }
.asearch { display: flex; gap: 8px; margin-top: 28px; max-width: 540px; }
.asearch input { flex: 1; min-height: 46px; padding: 0 14px; border: 1px solid var(--ink); background: var(--paper-2); font-size: 16px; }
.asearch input:focus { outline: none; border-color: var(--ox); }
.asearch-r { margin-bottom: 28px; color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { padding: 8px 18px; border: 1px solid var(--rule); color: var(--ink); font-size: 15px; font-weight: 500; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 56px; color: var(--mute); }
.empty { text-align: center; color: var(--mute); padding: 40px 0; }

/* service page */
.svc { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.svc .law-n { color: var(--ox); display: block; margin-bottom: 16px; }
.svc-points { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.svc-points li { padding: 16px 0; padding-inline-start: 26px; border-bottom: 1px solid var(--rule-soft); position: relative; font-size: 18px; font-weight: 500; }
.svc-points li::before { content: '◆'; position: absolute; inset-inline-start: 0; top: 18px; font-size: 10px; color: var(--ox); }
.svc-side { position: sticky; top: calc(var(--hdr) + 24px); }
.svc-card { background: var(--ink); color: var(--paper-2); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.svc-card h2 { font-size: 24px; font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid rgba(201, 164, 92, .4); }
.svc-card .btn { margin-top: 8px; }
.svc-others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--gold); }
.svc-others li { display: flex; border-bottom: 1px solid var(--rule-d); }
.svc-others a { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 22px 0; padding-inline-end: 24px; color: var(--paper); align-items: center; }
.so-n { grid-column: 1 / -1; font-family: var(--f-head); font-size: 14px; color: var(--gold); }
.so-t { font-family: var(--f-head); font-size: 19px; font-weight: 700; line-height: 1.6; }
.svc-others a:hover .so-t { color: var(--gold); }
.svc-others svg { color: var(--gold); }
@media (max-width: 960px) { .svc { grid-template-columns: 1fr; gap: 40px; } .svc-side { position: static; } .svc-others { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-others { grid-template-columns: 1fr; } }

/* article page */
.post-h { padding-top: 56px; background: var(--paper); }
.post-h > .wrap:first-child { padding-bottom: 32px; }
.post-t { font-weight: 800; font-size: clamp(30px, 4vw, 52px); line-height: 1.55; margin: 10px 0 18px; }
.post-ex { font-size: 20px; color: var(--body); line-height: 1.9; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 22px; font-size: 14px; color: var(--mute); }
.post-meta strong { color: var(--ink); }
.post-cover { margin: 40px auto 0; }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.post .wrap--narrow:last-child { padding-top: 48px; }
.prose { font-size: 19px; line-height: 2; color: #2E2924; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; font-weight: 700; margin-top: 1.8em; line-height: 1.6; }
.prose h3 { font-size: 23px; font-weight: 700; margin-top: 1.5em; color: var(--ox); }
.prose a { text-decoration: underline; text-underline-offset: 4px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin-inline: 0; padding: 4px 0; padding-inline-start: 24px; border-inline-start: 3px solid var(--ox); font-family: var(--f-head); font-size: 1.1em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul li { list-style: none; position: relative; }
.prose ul li::before { content: '◆'; position: absolute; inset-inline-start: -1.2em; font-size: 9px; color: var(--ox); top: .7em; }
.prose ol li { list-style: arabic-indic; }
.prose li + li { margin-top: .4em; }
.prose img { margin-block: 1.4em; }
.prose hr { border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); height: 3px; margin-block: 2.2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9em; }
.prose th, .prose td { border: 1px solid var(--rule); padding: 10px 14px; text-align: start; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-justify { text-align: justify; }
.toc { margin-bottom: 40px; border: 1px solid var(--ink); padding: 6px; }
.toc > * { margin-inline: 22px; }
.toc-h { font-family: var(--f-head); font-weight: 700; padding: 16px 0 10px; border-bottom: 1px solid var(--ink); }
.toc ol { padding: 12px 0 16px; counter-reset: t; display: grid; gap: 6px; }
.toc li.toc-h2 { counter-increment: t; }
.toc-h2 a::before { content: counter(t, arabic-indic) ' — '; color: var(--ox); font-weight: 700; }
.toc-h3 { padding-inline-start: 26px; font-size: .95em; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--ox); }
.post-note { margin-top: 40px; padding: 16px 20px; border-inline-start: 3px solid var(--gold); background: var(--paper-2); font-size: 15px; color: var(--mute); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.share > span { font-weight: 700; margin-inline-end: 8px; }
.share a, .share button { height: 42px; min-width: 42px; border: 1px solid var(--ink); display: inline-grid; place-items: center; padding: 10px; color: var(--ink); background: none; cursor: pointer; font-weight: 700; font-size: 14px; }
.share button { padding: 0 16px; }
.share a:hover, .share button:hover { background: var(--ink); color: var(--paper); }
.back { display: inline-flex; align-items: center; gap: 10px; margin: 36px 0 90px; font-weight: 700; color: var(--ink); }
.back svg { transform: scaleX(-1); }
.pv-upd { color: var(--mute); font-size: 14px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }

/* protected reader (from the shared system, re-coloured) */
.book { margin-top: 56px; border: 1px solid var(--ink); background: var(--paper-2); }
.book-h { display: flex; gap: 18px; align-items: center; padding: 26px 28px; border-bottom: 1px solid var(--ink); }
.book-h .eb { margin: 0 0 4px; }
.book-h h2 { font-size: clamp(20px, 2vw, 26px); }
.book-ic { width: 58px; height: 58px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--ox); color: var(--ox); padding: 14px; }
.book-ic .ico { width: 100%; height: 100%; }
.book-meta { display: flex; align-items: center; gap: 6px; color: var(--mute); font-size: 14px; margin-top: 6px; }
.book-note { padding: 12px 28px; font-size: 14px; color: var(--mute); border-bottom: 1px solid var(--rule); }
.reader { position: relative; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.rd-bar { position: sticky; top: calc(var(--hdr) - 10px); z-index: 5; display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--ink); }
.rd-bar button { width: 40px; height: 40px; border: 1px solid rgba(239, 232, 218, .3); background: none; color: var(--paper); font-size: 20px; cursor: pointer; }
.rd-pg { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--mute-d2); font-size: 14px; }
.rd-pg input { width: 56px; height: 38px; background: var(--ink-2); border: 1px solid rgba(239, 232, 218, .3); color: var(--paper); text-align: center; font: inherit; }
.rd-sp { flex: 1; }
.rd-stage { position: relative; max-height: 82vh; overflow: auto; background: #2A2420; padding: 24px 14px; outline: none; overscroll-behavior: contain; }
.reader.is-full .rd-stage { max-height: none; height: calc(100vh - 61px); }
.rd-pages { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.rd-page { position: relative; background: #fff; box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .8); width: min(100%, calc(800px * var(--z, 1))); }
.rd-page canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.rd-page .rd-load { position: absolute; inset: 0; display: grid; place-items: center; color: #8a8478; font-size: 14px; background: #f3efe6; }
.rd-shield { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; background: rgba(22, 19, 26, .97); color: var(--gold); }
.rd-shield .ico { width: 40px; height: 40px; }
.rd-shield small { color: var(--mute-d2); }
body.is-guarded .rd-pages { filter: blur(24px); }
.reader.rd-away .rd-pages { filter: blur(18px) saturate(.4); transition: filter .25s; }
.reader.rd-away .rd-stage::after { content: attr(data-hint); position: sticky; bottom: 45%; display: block; margin: -40vh auto 0; width: max-content; max-width: 90%; padding: 12px 22px; background: var(--ink); color: var(--gold); font-weight: 700; font-size: 15px; z-index: 3; }
.rd-lensmask { position: absolute; inset-inline: 0; z-index: 6; pointer-events: none; -webkit-backdrop-filter: blur(10px) saturate(.5); backdrop-filter: blur(10px) saturate(.5); background: rgba(22, 19, 26, .35);
  -webkit-mask-image: linear-gradient(#000 0, #000 calc(32% - 24px), transparent 32%, transparent 68%, #000 calc(68% + 24px), #000 100%); mask-image: linear-gradient(#000 0, #000 calc(32% - 24px), transparent 32%, transparent 68%, #000 calc(68% + 24px), #000 100%); }
.rd-bandbox { position: absolute; inset-inline: 0; z-index: 7; pointer-events: none; }
.rd-band { position: absolute; inset-inline: 0; top: 32%; height: 36%; border-block: 1px solid rgba(201, 164, 92, .7); }
.rd-lens .rd-pages { padding-block: 30%; }
.print-block { display: none; }
@media print {
  body.has-reader > *:not(.print-block) { display: none !important; }
  body.has-reader .print-block { display: block !important; padding: 40px; font: 20px/1.6 sans-serif; }
  .hdr, .ftr, .wa-fab, .progress, .cform { display: none !important; }
}

/* 404 */
.nf { padding-block: 120px; text-align: center; }
.nf-n { font-family: var(--f-head); font-size: clamp(110px, 18vw, 200px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ox); margin-bottom: 10px; }
.nf .phead-lead { margin: 10px auto 30px; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- motion (enabled by motion.js only; off for reduced-motion users) ---------- */
.motion main { animation: pageIn .5s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }
.motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms), transform 1s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .14em .02em .2em; margin: -.14em -.02em -.2em; }
.w > i { display: inline-block; font-style: normal; transform: translateY(110%); transition: transform 1s cubic-bezier(.16, 1, .3, 1) calc(var(--wi) * 55ms + 80ms); }
.motion .is-in .w > i, .motion .w-split.is-in .w > i { transform: none; }
html:not(.motion) .w > i { transform: none; }
.motion .stagger > * { opacity: 0; transform: translateX(14px); transition: opacity .7s, transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--li) * 90ms + 200ms); }
.motion .is-in .stagger > *, .motion .stagger.is-in > * { opacity: 1; transform: none; }
.cwrap { display: block; position: relative; overflow: hidden; height: 100%; }
.motion .cwrap::after { content: ''; position: absolute; inset: 0; z-index: 2; background: var(--ox); transform-origin: left; transition: transform 1.1s cubic-bezier(.77, 0, .18, 1) .1s; pointer-events: none; }
.motion .cwrap > img { transform: scale(1.12); transition: transform 1.7s cubic-bezier(.16, 1, .3, 1) .25s; }
.motion .cwrap.is-in::after { transform: scaleX(0); }
.motion .cwrap.is-in > img { transform: scale(1); }
.secdots { display: none; }
@media (min-width: 1300px) {
  .secdots { position: fixed; z-index: 40; top: 50%; inset-inline-end: 18px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; }
  .secdots a { position: relative; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; }
  .secdots span { width: 7px; height: 7px; border: 1px solid var(--ox); transform: rotate(45deg); transition: background .3s, transform .3s; }
  .secdots a.is-on span { background: var(--ox); transform: rotate(45deg) scale(1.35); }
  .secdots b { position: absolute; inset-inline-end: 28px; white-space: nowrap; font-size: 12.5px; padding: 4px 10px; background: var(--ink); color: var(--paper); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .secdots a:hover b { opacity: 1; }
  .secdots.on-gold span { border-color: var(--gold); }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-copy { padding-inline-end: 32px; }
  .hero-img { height: 560px; }
}
@media (max-width: 900px) {
  :root { --gut: 24px; }
  .sec { padding-block: 80px; }
  .sec--tight { padding-block: 60px; }
  .hero-copy { flex-basis: 100%; padding: 36px 0 40px; gap: 26px; }
  .hero-visual { flex-basis: 100%; padding-bottom: 36px; }
  .hero-side { display: none; }
  .hero-img { height: min(560px, 115vw); }
  .hero-calls { padding-inline-start: 0; border-inline-start: 0; flex-basis: 100%; }
  .hero-intro { padding-inline-end: 0; }
  .big-tel { font-size: 26px; }
  .faq-a { position: static; }
  .spec-list li:nth-child(n) { padding-inline: 0; }
  .law-n { flex-basis: 100%; }
  .law--first .law-h { font-size: 28px; }
  .rules li { border-inline-end: 0; border-bottom: 1px solid rgba(22, 19, 26, .2); }
  .journey li { padding-inline-end: 0; }
  .jr-line { display: none; }
  .contact-a { gap: 28px; }
  .addr { font-size: 21px; }
  .cform { padding: 28px 22px; }
  .tel-n { font-size: 26px; }
  .cta-in { padding-block: 72px; }
  .art-feat-img { height: 260px; padding: 24px; }
}
@media (max-width: 560px) {
  .hero-h { font-size: clamp(36px, 11vw, 48px); }
  .hero-labels { font-size: 13px; }
  .prof-fig { flex-basis: 100%; }
  .prof-img { height: 360px; }
  .prof-body { font-size: 17.5px; }
  .idcard-in { padding: 20px; }
  .strip-in { justify-content: center; font-size: 14.5px; }
  .tels a + a { padding-inline-start: 0; border-inline-start: 0; }
  .h2 { font-size: clamp(28px, 8vw, 36px); }
  .sec-top { margin-bottom: 36px; }
}
