/* law3 — العصري بالمقالات (كحلي × ذهبي) — Cairo RTL */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #0A1628; --navy-deep: #060D1A; --navy-soft: #14263F;
  --gold: #C9A24B; --gold-light: #E8C876; --gold-btn: linear-gradient(135deg, #E8C876, #C9A24B);
  --ink: #101828; --muted: #5B6B82; --line: #E6EAF0; --white: #fff;
  --shadow-sm: 0 8px 24px rgba(10,22,40,.08); --shadow: 0 24px 55px -18px rgba(10,22,40,.3);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Cairo', Tahoma, sans-serif; background: var(--white); color: var(--ink); overflow-x: hidden; line-height: 1.9; -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
a { color: inherit; text-decoration: none; transition: .3s; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
section { position: relative; }
section[id] { scroll-margin-top: 84px; }
.rich { line-height: 2; }
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--gold-btn); color: #0A1628 !important; font-weight: 800; font-size: 15px;
  height: 52px; padding: 0 34px; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap;
  box-shadow: 0 14px 28px -10px rgba(201,162,75,.6);
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* الهيدر */
.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 110; background: rgba(8,18,34,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(201,162,75,.2); transition: background .35s; }
.site-header.scrolled { background: rgba(6,13,26,.96); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mono { font-family: Georgia, serif; font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1; flex-shrink: 0; }
.brand-mono.sm { font-size: 40px; }
.brand-txt b { display: block; font-size: 16.5px; font-weight: 900; color: #fff; white-space: nowrap; }
.brand-txt small { display: block; font-size: 10.5px; color: #C9D6E2; font-weight: 700; white-space: nowrap; }
.main-links { display: flex; gap: 22px; align-items: center; font-weight: 700; font-size: 14px; color: #fff; }
.main-links a { position: relative; padding: 8px 2px; white-space: nowrap; }
.main-links a::after { content: ''; position: absolute; bottom: 2px; right: 0; left: 0; height: 2.5px; background: var(--gold); border-radius: 99px; transform: scaleX(0); transform-origin: right; transition: .3s; }
.main-links a:hover::after, .main-links a.active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.search-btn { width: 42px; height: 42px; border-radius: 50%; background: transparent; border: 1.5px solid rgba(255,255,255,.3); color: #fff; font-size: 18px; cursor: pointer; }
.search-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-book { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--gold-btn); color: #0A1628 !important; font-weight: 800; font-size: 14px; height: 46px; padding: 0 26px; border-radius: 999px; white-space: nowrap; box-shadow: 0 10px 22px -8px rgba(201,162,75,.6); }
.btn-book:hover { transform: translateY(-2px); }
.burger { display: none; background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.4); width: 44px; height: 44px; border-radius: 12px; font-size: 22px; cursor: pointer; }

/* الهيرو */
.hero { background: linear-gradient(135deg, #0B1D33 0%, #0A1628 55%, #060D1A 100%); overflow: hidden; padding: 112px 0 0; color: #fff; }
.hero-bgimg { position: absolute; inset: 0; }
.hero-bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.hero-bgimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(-90deg, rgba(6,13,26,.35), rgba(6,13,26,.92) 65%); }
.hero-statue { position: absolute; bottom: 60px; left: 2%; width: 200px; opacity: .55; z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 45%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 55% 60% at 50% 45%, #000 55%, transparent 100%);
}
.hero-wall { position: absolute; z-index: 1; top: 120px; left: 26px; direction: ltr; color: rgba(255,255,255,.28); font-weight: 900; font-size: 15px; letter-spacing: 2px; line-height: 2.2; display: flex; flex-direction: column; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 24px; align-items: center; position: relative; z-index: 2; direction: ltr; }
.hero-grid > * { direction: rtl; }
.hero-media { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 520px; }
.doc-img { position: relative; z-index: 3; width: 100%; max-width: 400px; height: 500px; object-fit: cover; object-position: top center;
  -webkit-mask-image: radial-gradient(ellipse 52% 52% at 50% 40%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 52% at 50% 40%, #000 55%, transparent 100%);
}
.hero-text { text-align: center; padding-bottom: 26px; }
.hero-badge { color: #D7E3EE; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.hero-text h1 { font-size: clamp(44px,5.6vw,76px); font-weight: 900; line-height: 1.4; text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.hero-spec { color: var(--gold-light); font-weight: 800; font-size: clamp(21px,2.4vw,30px); }
.hero-sub { color: #D7E3EE; font-weight: 600; font-size: clamp(13.5px,1.4vw,16px); margin: 10px auto 22px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }
.btn-play { display: inline-flex; align-items: center; justify-content: center; padding: 0 32px; height: 52px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); color: #fff; font-weight: 800; font-size: 15px; }
.btn-play:hover { border-color: var(--gold); color: var(--gold-light); }
.hero-hand { margin-top: 20px; font-family: 'Aref Ruqaa','Cairo',serif; font-size: 19px; color: #EDF3F8; line-height: 2; }
.hero-hand .sign { display: block; font-family: Georgia, serif; font-style: italic; color: var(--gold-light); font-size: 21px; }
.hero-wave { margin-top: -6px; line-height: 0; position: relative; z-index: 5; }
.hero-wave svg { width: 100%; height: 60px; display: block; fill: #fff; }

/* شريط العدادات */
.stats-strip { background: #fff; padding: 26px 0 6px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); max-width: 1000px; margin: 0 auto; }
.stat { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 6px 14px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat-ic { width: 46px; height: 46px; color: #8a6d2f; flex-shrink: 0; }
.stat-ic svg { width: 100%; height: 100%; }
.stat-tx b { display: block; font-size: 21px; font-weight: 900; color: var(--ink); }
.stat-tx small { font-size: 12px; color: var(--muted); font-weight: 700; }

/* الخدمات */
.serv-sec { background: #fff; padding: 30px 0 56px; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.sec-head h2 { font-size: clamp(24px,3vw,34px); font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 14px; }
.sec-head h2 i { display: block; width: 44px; height: 3px; background: var(--gold); border-radius: 99px; }
.sec-head p { color: var(--muted); font-weight: 600; }
.svc-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 10px 20px; text-align: center; box-shadow: var(--shadow-sm); transition: .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.svc-ic { width: 52px; height: 52px; margin: 0 auto 10px; color: #8a6d2f; display: block; }
.svc-ic svg { width: 100%; height: 100%; }
.svc-ic .ic-emoji { font-size: 38px; }
.svc-card h3 { font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.svc-card p { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.svc-more { color: var(--gold); font-weight: 800; font-size: 12.5px; }
.svc-more:hover { color: var(--ink); }

/* عن المكتب */
.about-sec { padding: 0; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.about-dark { position: relative; background: #0A1628; color: #fff; padding: 54px 44px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.about-dark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.about-dark::after { content: ''; position: absolute; inset: 0; background: linear-gradient(-90deg, rgba(6,13,26,.25), rgba(6,13,26,.88)); }
.about-quote, .about-minis { position: relative; z-index: 2; }
.about-quote { font-size: 19px; font-weight: 800; line-height: 2.1; margin-bottom: 26px; }
.about-minis { display: flex; gap: 26px; }
.amini { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; text-align: center; }
.amini span:first-child { width: 44px; height: 44px; color: var(--gold-light); display: block; }
.amini span:first-child svg { width: 100%; height: 100%; }
.about-white { background: #fff; padding: 54px 44px; display: flex; flex-direction: column; justify-content: center; text-align: right; }
.about-white .sec-label { color: #8a6d2f; font-weight: 800; }
.about-white h2 { font-size: clamp(24px,2.8vw,34px); font-weight: 900; margin-bottom: 10px; }
.about-white .rich { color: var(--muted); font-weight: 600; margin-bottom: 20px; }

/* CTA */
.cta-sec { position: relative; background: #0A1628; overflow: hidden; }
.cta-bgimg { position: absolute; inset: 0; }
.cta-bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta-bgimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(-90deg, rgba(6,13,26,.55), rgba(6,13,26,.92)); }
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: center; padding: 54px 24px; color: #fff; }
.cta-main h2 { font-size: clamp(22px,2.6vw,32px); font-weight: 900; margin-bottom: 4px; }
.cta-main p { color: #D7E3EE; font-weight: 600; margin-bottom: 18px; }
.cta-minis { display: flex; flex-direction: column; gap: 12px; }
.cmini { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14.5px; }
.cmini span:first-child { width: 34px; height: 34px; color: var(--gold-light); flex-shrink: 0; display: block; }
.cmini span:first-child svg { width: 100%; height: 100%; }

/* المقالات */
.arts-sec { background: #fff; padding: 54px 0 60px; }
.arts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.art-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: .3s; }
.art-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.art-photo { height: 200px; overflow: hidden; }
.art-photo img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.art-card:hover .art-photo img { transform: scale(1.06); }
.art-date { font-size: 12px; color: var(--muted); font-weight: 700; padding: 14px 18px 0; }
.art-card h3 { font-size: 16.5px; font-weight: 800; padding: 2px 18px 10px; }
.art-card a { display: block; padding: 0 18px 18px; color: var(--gold); font-weight: 800; font-size: 13.5px; }
.art-card a:hover { color: var(--ink); }

/* الفوتر */
.site-footer { background: #0A1628; color: #D7E3EE; padding: 44px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr .8fr .8fr; gap: 26px; }
.f-brand b { display: block; color: #fff; font-size: 17px; }
.f-brand small { font-size: 12px; color: #9DB3AD; display: block; }
.f-brand .moto { color: var(--gold-light); font-weight: 700; }
.f-block b { display: block; color: #fff; margin-bottom: 10px; font-size: 15px; }
.f-block span { display: block; font-size: 13px; margin-bottom: 6px; }
.f-block a:hover { color: var(--gold-light); }
.socials { display: flex; gap: 8px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.socials a:hover { border-color: var(--gold); color: var(--gold-light); }
.foot-copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 26px; padding: 14px 24px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: #9DB3AD; max-width: 1200px; margin-inline: auto; }

/* كتل إضافية */
.xblock { padding: 44px 0; background: #fff; }
.xblock:nth-of-type(even) { background: #F7F5EF; }
.xhead { text-align: center; max-width: 720px; margin: 0 auto 24px; }
.xhead h2 { font-size: clamp(22px,2.8vw,32px); font-weight: 900; }
.xhead p { color: var(--muted); font-weight: 600; }
.xvideo { max-width: 860px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/9; background: #000; }
.xvideo iframe, .xvideo video { width: 100%; height: 100%; border: 0; }
.xgallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.xgallery img, .xgallery video { width: 100%; height: 200px; object-fit: cover; border-radius: 16px; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; background: none; border: 0; padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 15px; cursor: pointer; color: var(--ink); font-family: inherit; }
.faq-q .plus { color: #8a6d2f; font-size: 22px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .rich { padding: 0 18px 16px; color: var(--muted); }
.xtestis { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.xtesti { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.xtesti b { color: #8a6d2f; }
.xpages { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.xpage { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.xpage img { width: 100%; height: 180px; object-fit: cover; }
.xpage h3 { padding: 14px 16px 0; font-size: 16px; }
.xpage p { padding: 0 16px 16px; }
.xpage a { color: #8a6d2f; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(26px); transition: .7s cubic-bezier(.4,0,.2,1); }
.reveal.vis { opacity: 1; transform: none; }
.float-wa { position: fixed; bottom: 22px; left: 22px; z-index: 99; background: #25D366; color: #fff; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.to-top { position: fixed; bottom: 22px; right: 22px; z-index: 99; width: 48px; height: 48px; border-radius: 50%; background: #0A1628; color: #fff; border: 1px solid rgba(255,255,255,.2); font-size: 20px; cursor: pointer; opacity: 0; pointer-events: none; transition: .3s; display: flex; align-items: center; justify-content: center; }
.to-top.show { opacity: 1; pointer-events: auto; }
.pwa-banner { position: fixed; z-index: 999; bottom: 90px; right: 18px; left: 18px; margin-inline: auto; max-width: 430px; background: #fff; color: #0f172a; border-radius: 20px; padding: 16px; box-shadow: 0 25px 70px rgba(0,0,0,.35); display: none; gap: 12px; align-items: center; }
.pwa-app-icon { width: 56px; height: 56px; border-radius: 14px; background: #0A1628; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; overflow: hidden; flex-shrink: 0; }
.pwa-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.pwa-banner .t { font-weight: 900; font-size: 14.5px; }
.pwa-banner small { color: #64748b; font-size: 12px; }
.pwa-banner .row { display: flex; gap: 8px; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 800; border: 0; cursor: pointer; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 13px; }
.btn-ghost { background: #f1f5f9; color: #475569; }

@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(3,1fr); }
  .hero-wall { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { order: -1; }
  .hero-media { min-height: 420px; }
  .doc-img { height: 410px; max-width: 340px; }
  .hero-statue { display: none; }
  .about-split { grid-template-columns: 1fr; }
  .about-dark { min-height: 380px; }
  .cta-grid { grid-template-columns: 1fr; text-align: center; }
  .arts-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .xtestis, .xpages, .xgallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-links { position: absolute; top: 74px; right: 16px; left: 16px; background: #fff; flex-direction: column; padding: 20px; border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.3); display: none; z-index: 99; }
  .main-links a { color: var(--ink); }
  .main-links.open { display: flex; }
  .burger { display: block; }
  .search-btn { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat + .stat { border-inline-start: 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-in { min-height: 64px; }
  .brand-mono { font-size: 24px; }
  .brand-txt b { font-size: 13.5px; }
  .btn-book { padding: 0 14px; font-size: 12px; height: 42px; }
  .hero { padding-top: 96px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-gold { width: 100%; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .arts-grid { grid-template-columns: 1fr; }
  .about-minis { flex-direction: column; gap: 14px; }
  .xtestis, .xpages, .xgallery { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; text-align: center; }
  .socials { justify-content: center; }
  .foot-copy { flex-direction: column; text-align: center; }
}
