/* law6 — مكتب فاخر داكن (كحلي × ذهبي) — 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(--navy-deep); color: #EDF3F8; 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: 120px; }
.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 36px; 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); }
.hrow1 { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 14px; direction: ltr; }
.hrow1 > * { direction: rtl; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 46px; height: 46px; color: var(--gold); flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; stroke-width: 2.2; }
.brand-txt { text-align: center; }
.brand-txt b { display: block; font-size: 15.5px; font-weight: 900; color: #fff; white-space: nowrap; }
.brand-txt small { display: block; font-size: 10px; color: var(--gold-light); letter-spacing: 2px; font-weight: 700; }
.brand-txt .rule { color: #9DB3AD; letter-spacing: 3px; font-size: 8.5px; }
.header-acts { display: flex; align-items: center; gap: 10px; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 800; font-size: 13px; }
.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 { background: transparent; border: 0; color: #fff; font-size: 30px; cursor: pointer; width: 48px; }
.main-links { display: flex; gap: 24px; align-items: center; justify-content: center; font-weight: 700; font-size: 13.5px; color: #fff; padding-bottom: 12px; }
.main-links a { position: relative; padding: 6px 2px; white-space: nowrap; }
.main-links a::after { content: ''; position: absolute; bottom: 0; right: 0; left: 0; height: 2px; background: var(--gold); border-radius: 99px; transform: scaleX(0); transition: .3s; }
.main-links a:hover::after, .main-links a.active::after { transform: scaleX(1); }
.main-links a.active { color: var(--gold-light); }

/* الهيرو */
.hero { min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: #0A1628; color: #fff; padding: 160px 0 60px; }
.hero-bgimg { position: absolute; inset: 0; }
.hero-bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero-bgimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(-90deg, rgba(6,13,26,.35) 0%, rgba(6,13,26,.9) 70%); }
.hero-statue { position: absolute; bottom: 0; right: 1%; height: 94%; max-width: 34%; object-fit: cover; object-position: top center; z-index: 1; filter: brightness(.82);
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 42%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 62% at 50% 42%, #000 58%, transparent 100%);
}
.hero-en { position: absolute; z-index: 2; top: 30%; transform: translateY(-50%); left: 26px; direction: ltr; color: #EDE4CE; font-weight: 700; font-size: 12px; letter-spacing: 2px; line-height: 2.2; display: flex; flex-direction: column; opacity: .85; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; position: relative; z-index: 3; direction: ltr; }
.hero-grid > * { direction: rtl; }
.hero-text { max-width: 560px; text-align: left; padding-left: 46px; }
.hero-text h1 { font-size: clamp(42px,5.4vw,72px); font-weight: 900; line-height: 1.5; text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.hero-text h1 .gold-w { color: var(--gold-light); }
.hero-sub { color: #E8EFF6; font-weight: 600; font-size: clamp(14px,1.5vw,17px); margin: 12px 0 24px; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-weight: 800; font-size: 14px; }
.avatars { display: flex; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); margin-inline-end: -12px; background: #14263F; }
.hand-note { position: absolute; z-index: 3; top: 32%; right: 21%; font-family: 'Aref Ruqaa','Cairo',serif; font-size: 19px; line-height: 2; color: var(--gold-light); transform: rotate(-6deg); text-shadow: 0 2px 14px rgba(0,0,0,.6); display: flex; flex-direction: column; white-space: nowrap; }
.marble-card { position: absolute; z-index: 3; bottom: 12%; right: 5%; direction: ltr; background: linear-gradient(135deg, #2a2a2e, #101014); border: 1px solid rgba(201,162,75,.5); border-radius: 8px; padding: 16px 22px; color: var(--gold-light); font-weight: 900; font-size: 15px; letter-spacing: 2px; line-height: 1.9; display: flex; flex-direction: column; box-shadow: 0 18px 40px rgba(0,0,0,.5); }

/* الخدمات */
.serv-sec { background: #0A1628; padding: 20px 0 56px; }
.svc-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.svc-card { border: 1px solid rgba(201,162,75,.4); border-radius: 16px; padding: 26px 10px 22px; text-align: center; background: rgba(255,255,255,.02); transition: .3s; }
.svc-card:hover { transform: translateY(-6px); border-color: var(--gold); background: rgba(201,162,75,.07); }
.svc-ic { width: 50px; height: 50px; margin: 0 auto 10px; color: var(--gold-light); 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; color: #fff; }
.svc-card p { font-size: 11.5px; color: #9DB3AD; font-weight: 600; }

/* العدادات */
.stats-sec { background: #0A1628; border-top: 1px solid rgba(201,162,75,.25); border-bottom: 1px solid rgba(201,162,75,.25); }
.stats-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr; gap: 10px; align-items: center; padding: 34px 24px; }
.stats-script { font-family: 'Aref Ruqaa','Cairo',serif; font-size: 24px; line-height: 1.9; color: #fff; }
.stat { text-align: center; padding: 4px 8px; }
.stat + .stat { border-inline-start: 1px solid rgba(255,255,255,.12); }
.stat-ic { width: 40px; height: 40px; color: var(--gold-light); margin: 0 auto 4px; display: block; }
.stat-ic svg { width: 100%; height: 100%; }
.stat-tx b { display: block; font-size: 24px; font-weight: 900; color: var(--gold-light); }
.stat-tx small { font-size: 12px; color: #D7E3EE; font-weight: 700; }

/* عن المكتب */
.about-sec { background: #0A1628; padding: 56px 0 60px; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.about-photo { position: relative; overflow: hidden; min-height: 460px; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-wall { position: absolute; z-index: 2; top: 34px; left: 30px; direction: ltr; color: rgba(255,255,255,.85); font-weight: 900; font-size: 15px; letter-spacing: 2px; line-height: 2; display: flex; flex-direction: column; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.about-cream { background: #F5EFE2; color: var(--ink); border-radius: 0 28px 28px 0; padding: 50px 46px; position: relative; margin-inline-start: -30px; box-shadow: var(--shadow); }
.about-cream::before { content: ''; position: absolute; top: 30px; bottom: 30px; inset-inline-start: -3px; width: 5px; border-radius: 99px; background: var(--gold); }
.en-label { direction: ltr; font-size: 11px; letter-spacing: 3px; color: #8a6d2f; font-weight: 700; }
.en-label.gold { color: var(--gold); }
.about-cream h2 { font-size: clamp(26px,3vw,38px); font-weight: 900; margin: 4px 0 8px; }
.office-name { display: block; color: #8a6d2f; font-weight: 800; font-size: 16px; margin-bottom: 10px; }
.about-cream .rich { color: var(--muted); font-weight: 600; margin-bottom: 20px; }
.about-side { position: absolute; bottom: 40px; inset-inline-end: 30px; font-family: 'Aref Ruqaa','Cairo',serif; font-size: 19px; color: var(--ink); text-align: center; line-height: 1.9; }
.about-side::after { content: ''; display: block; width: 44px; height: 3px; background: var(--gold); border-radius: 99px; margin: 6px auto 0; }

/* آراء */
.testi-sec { background: #0A1628; padding: 50px 0 56px; text-align: center; }
.testi-sec h2 { font-size: clamp(24px,3vw,34px); font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 26px; }
.testi-sec h2 i { display: block; width: 54px; height: 3px; background: var(--gold); border-radius: 99px; }
.testi-wrap { display: flex; align-items: center; gap: 16px; max-width: 900px; margin: 0 auto; }
.testi-card { flex: 1; border: 1px solid rgba(201,162,75,.4); border-radius: 20px; padding: 30px 28px; background: rgba(255,255,255,.02); }
.testi-card p { font-size: 15.5px; font-weight: 700; margin-bottom: 12px; }
.t-who { display: flex; align-items: center; justify-content: center; gap: 12px; }
.t-who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.t-who .stars { color: var(--gold-light); letter-spacing: 3px; }
.t-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(201,162,75,.55); background: transparent; color: var(--gold-light); font-size: 22px; cursor: pointer; flex-shrink: 0; transition: .3s; display: inline-flex; align-items: center; justify-content: center; }
.t-arrow:hover { background: var(--gold); color: #0A1628; }

/* CTA */
.cta-sec { position: relative; overflow: hidden; }
.cta-bgimg { position: absolute; inset: 0; }
.cta-bgimg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bgimg::after { content: ''; position: absolute; inset: 0; background: rgba(6,13,26,.72); }
.cta-in { position: relative; z-index: 2; text-align: center; padding: 60px 24px; color: #fff; }
.cta-in h2 { font-size: clamp(24px,3vw,36px); font-weight: 900; margin-bottom: 20px; line-height: 1.8; }

/* الفوتر */
.site-footer { background: #0A1628; color: #D7E3EE; padding: 30px 0 0; border-top: 1px solid rgba(201,162,75,.25); }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-contact { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-contact a, .foot-contact span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.fic { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fic.gold { border: 1.5px solid var(--gold); color: var(--gold-light); }
.fic.green { border: 1.5px solid #25D366; color: #25D366; }
.fic svg { width: 18px; height: 18px; }
.foot-social { text-align: center; font-size: 13px; font-weight: 800; }
.socials { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.socials a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.socials a:hover { background: var(--gold); color: #0A1628; }
.foot-copy { text-align: center; font-size: 12px; color: #9DB3AD; padding: 14px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 20px; }

/* كتل إضافية (داكنة) */
.xblock { padding: 44px 0; background: #0C1E38; }
.xblock:nth-of-type(even) { background: #0A1628; }
.xhead { text-align: center; max-width: 720px; margin: 0 auto 24px; }
.xhead h2 { font-size: clamp(22px,2.8vw,32px); font-weight: 900; color: #fff; }
.xhead p { color: #9DB3AD; 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 rgba(201,162,75,.35); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.03); }
.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: #fff; font-family: inherit; }
.faq-q .plus { color: var(--gold-light); font-size: 22px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .rich { padding: 0 18px 16px; color: #C9D6E2; }
.xtestis { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.xtesti { border: 1px solid rgba(201,162,75,.35); border-radius: 16px; padding: 22px; background: rgba(255,255,255,.03); }
.xtesti b, .xtesti p { color: #EDF3F8; }
.xtesti small { color: #9DB3AD; }
.xpages { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.xpage { border: 1px solid rgba(201,162,75,.35); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.03); }
.xpage img { width: 100%; height: 180px; object-fit: cover; }
.xpage h3 { padding: 14px 16px 0; font-size: 16px; color: #fff; }
.xpage p { padding: 0 16px 16px; }
.xpage a { color: var(--gold-light); 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-en { display: none; }
  .marble-card { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { order: -1; max-width: 640px; margin: 0 auto; }
  .hero-statue { position: relative; right: auto; max-width: 420px; height: 420px; margin: 0 auto; }
  .hand-note { position: static; transform: none; align-items: center; margin: 0 auto 10px; text-align: center; }
  .about-split { grid-template-columns: 1fr; }
  .about-photo { min-height: 320px; }
  .about-cream { border-radius: 0 0 28px 28px; margin-inline-start: 0; }
  .xtestis, .xpages, .xgallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-links { position: absolute; top: 130px; right: 16px; left: 16px; background: #0C1E38; flex-direction: column; padding: 20px; border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.4); display: none; z-index: 99; border: 1px solid rgba(201,162,75,.35); }
  .main-links.open { display: flex; }
  .burger { display: block; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stats-script { grid-column: 1/-1; text-align: center; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hrow1 { min-height: 64px; }
  .brand-txt b { font-size: 12px; }
  .lang-btn { display: none; }
  .btn-book { padding: 0 14px; font-size: 12px; height: 42px; }
  .hero { padding-top: 170px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .about-side { display: none; }
  .xtestis, .xpages, .xgallery { grid-template-columns: 1fr; }
  .foot-top { flex-direction: column; text-align: center; }
  .foot-contact { justify-content: center; }
  .foot-copy { text-align: center; }
}
