/* law5 — التشطيبات والديكور (بيج دافئ × بني داكن) — Cairo RTL */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #1B1512; --navy-deep: #100C09; --cream: #EFE7D6; --cream-lt: #F6F1E5;
  --gold: #C9A24B; --gold-light: #E8C876; --gold-btn: linear-gradient(135deg, #E8C876, #C9A24B);
  --ink: #2E2418; --muted: #7A6E5C; --line: #DCD2BC; --white: #fff;
  --shadow-sm: 0 8px 24px rgba(27,21,18,.1); --shadow: 0 24px 55px -18px rgba(27,21,18,.35);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Cairo', Tahoma, sans-serif; background: var(--cream-lt); 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: 110px; }
.rich { line-height: 2; }
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--gold-btn); color: #1B1512 !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,.55);
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-gold.sm { height: 46px; padding: 0 28px; font-size: 14px; }

/* الهيدر */
.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 110; background: transparent; transition: background .35s, box-shadow .35s; }
.site-header.scrolled { background: rgba(16,12,9,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.hrow1 { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 14px; direction: ltr; }
.hrow1 > * { direction: rtl; }
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1.5; }
.brand-mono { font-family: Georgia, serif; font-size: 34px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.brand-mono.sm { font-size: 40px; }
.brand-txt { text-align: center; }
.brand-txt b { display: block; font-size: 13px; font-weight: 800; color: #fff; letter-spacing: 3px; }
.brand-txt small { display: block; font-size: 9px; color: #D8CDB4; letter-spacing: 2px; }
.brand-txt .moto { font-family: 'Aref Ruqaa','Cairo',serif; font-size: 13px; letter-spacing: 0; color: var(--gold-light); }
.call-pill { border: 1.5px solid var(--gold); color: #fff !important; border-radius: 999px; padding: 9px 26px; font-weight: 800; font-size: 14px; white-space: nowrap; }
.call-pill:hover { background: var(--gold); color: #1B1512 !important; }
.burger { background: transparent; border: 0; color: #fff; font-size: 30px; cursor: pointer; width: 48px; }
.main-links { display: flex; gap: 26px; 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: #1B1512; color: #fff; padding: 150px 0 70px; }
.hero-bgimg { position: absolute; inset: 0; }
.hero-bgimg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bgimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(-90deg, rgba(16,12,9,.25) 0%, rgba(16,12,9,.82) 70%); }
.hero-en { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); right: 26px; direction: ltr; color: #EDE4CE; font-weight: 700; font-size: 12px; letter-spacing: 2px; line-height: 2.2; display: flex; flex-direction: column; }
.hero-en b { font-weight: 900; font-size: 17px; letter-spacing: 1px; line-height: 1.8; margin-top: 8px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; direction: ltr; position: relative; z-index: 3; }
.hero-grid > * { direction: rtl; }
.hero-text { max-width: 520px; }
.hero-text h1 { font-size: clamp(40px,5.2vw,68px); 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: #EDE4CE; font-weight: 600; font-size: clamp(14px,1.5vw,17px); margin: 12px 0 24px; }
.hero-feats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 26px 0; max-width: 480px; }
.feat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.feat + .feat { border-inline-start: 1px solid rgba(255,255,255,.2); padding-inline-start: 10px; }
.feat-ic { width: 42px; height: 42px; color: var(--gold-light); }
.feat-ic svg { width: 100%; height: 100%; }
.feat span:last-child { font-size: 12px; font-weight: 700; color: #F3ECDB; line-height: 1.9; }
.hero-script { margin-top: 22px; font-family: 'Aref Ruqaa','Cairo',serif; font-size: 30px; line-height: 1.7; color: var(--gold-light); transform: rotate(-5deg); text-shadow: 0 2px 14px rgba(0,0,0,.5); }

/* الخدمات */
.serv-sec { background: var(--cream-lt); padding: 54px 0 58px; }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 30px; }
.sec-head h2 { font-size: clamp(26px,3.2vw,38px); font-weight: 900; color: var(--ink); }
.sec-head p { color: var(--muted); font-weight: 600; }
.svc-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 8px; }
.svc-card { text-align: center; padding: 10px 6px; }
.svc-card + .svc-card { border-inline-start: 1px solid var(--line); }
.svc-ic { width: 52px; height: 52px; margin: 0 auto 10px; color: var(--ink); 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; }
.svc-card p { font-size: 11.5px; color: var(--muted); font-weight: 600; }

/* الأعمال */
.works-sec { background: var(--navy); color: #fff; padding: 54px 0 60px; }
.works-grid { display: grid; grid-template-columns: .9fr 1fr 1fr 1fr 1fr; gap: 16px; align-items: stretch; }
.works-side { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.en-label { direction: ltr; font-size: 11px; letter-spacing: 3px; color: var(--gold); font-weight: 700; }
.en-label.gold { color: var(--gold); }
.works-side h2 { font-size: clamp(28px,3.4vw,44px); font-weight: 900; }
.works-side p { color: #D8CDB4; font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.work-card { position: relative; border-radius: 14px; overflow: hidden; min-height: 300px; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.work-card:hover img { transform: scale(1.06); }
.work-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(16,12,9,.8)); }
.work-card span { position: absolute; z-index: 2; bottom: 14px; right: 0; left: 0; text-align: center; font-weight: 800; font-size: 14.5px; }

/* لماذا نحن */
.why-sec { background: var(--cream); padding: 60px 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.why-txt h2 { font-size: clamp(28px,3.4vw,42px); font-weight: 900; margin-bottom: 22px; }
.why-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.wfeat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13.5px; font-weight: 800; }
.wic { width: 48px; height: 48px; color: var(--ink); }
.wic svg { width: 100%; height: 100%; }
.why-photo { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); min-height: 420px; position: relative; }
.why-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* رأي عميل */
.testi-sec { background: var(--navy-deep); color: #fff; }
.testi-grid { display: grid; grid-template-columns: .7fr 1.3fr .7fr; gap: 26px; align-items: center; padding: 50px 24px; }
.testi-photo img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); margin: 0 auto; }
.testi-body { text-align: center; }
.testi-body p { font-size: 16.5px; font-weight: 700; }
.testi-body .stars { color: var(--gold-light); letter-spacing: 4px; font-size: 18px; margin: 8px 0; }
.testi-body b { color: var(--gold-light); }
.testi-script { font-family: 'Aref Ruqaa','Cairo',serif; font-size: 34px; line-height: 1.6; color: var(--gold-light); text-align: center; transform: rotate(-4deg); }

/* 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(16,12,9,.72); }
.cta-in { position: relative; z-index: 2; text-align: center; padding: 56px 24px; color: #fff; }
.cta-in h2 { font-size: clamp(22px,2.8vw,34px); font-weight: 900; margin-bottom: 18px; }

/* الفوتر */
.site-footer { background: var(--cream); padding: 30px 0 0; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-contact { display: flex; gap: 34px; flex-wrap: wrap; }
.foot-contact a, .foot-contact span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.fic { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fic svg { width: 19px; height: 19px; }
.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: var(--ink); color: var(--cream); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.socials a:hover { background: var(--gold); color: #1B1512; }
.foot-copy { text-align: center; font-size: 12px; color: var(--muted); padding: 14px; border-top: 1px solid var(--line); margin-top: 20px; }

/* كتل إضافية */
.xblock { padding: 44px 0; background: var(--cream-lt); }
.xblock:nth-of-type(even) { background: var(--cream); }
.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: #1B1512; 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: #1B1512; 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); gap: 26px 8px; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .works-side { grid-column: 1/-1; text-align: center; align-items: center; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-en { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-photo { min-height: 320px; }
  .testi-grid { grid-template-columns: 1fr; text-align: center; }
  .testi-photo img { margin: 0 auto; }
}
@media (max-width: 900px) {
  .main-links { position: absolute; top: 130px; right: 16px; left: 16px; background: #1B1512; 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,.4); }
  .main-links.open { display: flex; }
  .hero-feats { grid-template-columns: repeat(3,1fr); }
  .foot-top { flex-direction: column; text-align: center; }
  .foot-contact { justify-content: center; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hrow1 { min-height: 66px; }
  .brand-mono { font-size: 26px; }
  .call-pill { padding: 8px 16px; font-size: 12px; }
  .hero { padding-top: 170px; }
  .hero-btns, .hero-feats { justify-content: center; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .why-feats { grid-template-columns: 1fr 1fr; }
  .xtestis, .xpages, .xgallery { grid-template-columns: 1fr; }
}
