:root{
  --bg:#EFF0F2; --card:#FFFFFF; --ink:#1B1E24; --muted:#5B6470;
  --line:rgba(20,24,32,.08); --charcoal:#1E2126; --charcoal-ink:#EDF0F4;
  --gold:#C9A24B; --wa:#1FAF57;
  --shadow:0 12px 34px rgba(20,24,32,.08);
  --r:26px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:"Manrope","Helvetica Neue",Arial,sans-serif;
  line-height:1.55;
}
html[dir="rtl"] body{font-family:"Tajawal","Helvetica Neue",Arial,sans-serif}
html[dir="rtl"] .eyebrow,html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] .btn{letter-spacing:0}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
.wrap{max-width:1120px; margin:0 auto; padding:0 18px}

/* ---------- header ---------- */
.topbar{
  margin:18px auto 0; max-width:1120px; padding:12px 20px;
  background:var(--card); border-radius:999px; box-shadow:var(--shadow);
  display:flex; align-items:center; gap:18px;
  position:sticky; top:12px; z-index:50;
}
.topbar .logo{height:34px; width:auto; flex:none}
.topbar .logo-mark{height:46px; width:auto; flex:none; margin-inline-end:-6px}
.topbar nav{display:flex; gap:4px; margin-inline-start:8px}
.topbar nav a{
  font-size:14px; font-weight:600; color:var(--muted);
  padding:8px 14px; border-radius:999px;
}
.topbar nav a:hover{background:var(--bg); color:var(--ink)}
.topbar .spacer{flex:1}
.btn{
  display:inline-flex; align-items:center; gap:9px;
  border-radius:999px; padding:12px 22px;
  font-size:14px; font-weight:700; letter-spacing:.02em;
  border:1px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-1px); box-shadow:0 8px 22px rgba(20,24,32,.16)}
.btn svg{flex:none}
.btn-dark{background:var(--charcoal); color:var(--charcoal-ink)}
.btn-ghost{background:transparent; border-color:var(--line); color:var(--ink)}
.btn-wa{background:var(--wa); color:#fff}
.lang{font-size:13px; font-weight:700; color:var(--muted); padding:8px 12px; border-radius:999px; border:1px solid var(--line)}
.lang:hover{color:var(--ink); background:var(--card)}

/* ---------- hero ---------- */
.hero{display:grid; grid-template-columns:1.1fr .9fr; gap:22px; margin-top:26px}
.hero-card{
  background:var(--card); border-radius:var(--r); box-shadow:var(--shadow);
  padding:46px 44px; display:flex; flex-direction:column; justify-content:center; gap:18px;
}
.eyebrow{font-size:12px; font-weight:800; letter-spacing:.3em; text-transform:uppercase; color:var(--gold)}
h1{font-size:clamp(30px,4vw,46px); line-height:1.12; margin:0; font-weight:800; text-wrap:balance}
.lead{color:var(--muted); font-size:16px; max-width:52ch; margin:0}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:6px}
.hero-photo{border-radius:var(--r); overflow:hidden; box-shadow:var(--shadow); min-height:420px}
.hero-photo img{width:100%; height:100%; object-fit:cover}
.stats{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:10px}
.stat{background:var(--bg); border-radius:18px; padding:16px 18px}
.stat b{display:block; font-size:17px; font-weight:800}
.stat span{font-size:12.5px; color:var(--muted)}

/* ---------- sections ---------- */
section{margin-top:64px}
h2{font-size:clamp(24px,3vw,34px); font-weight:800; margin:0 0 8px; text-wrap:balance}
.sub{color:var(--muted); margin:0 0 26px; max-width:60ch}

.services{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px}
.service{
  background:var(--card); border-radius:var(--r); box-shadow:var(--shadow);
  overflow:hidden; display:flex; flex-direction:column;
}
.service img{height:210px; width:100%; object-fit:cover}
.service .body{padding:20px 22px 24px}
.service h3{margin:0 0 6px; font-size:17px; font-weight:800}
.service p{margin:0; font-size:14px; color:var(--muted)}

/* ---------- gallery ---------- */
.tabs{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px}
.tab{
  border:1px solid var(--line); background:var(--card); color:var(--muted);
  border-radius:999px; padding:9px 18px; font-size:13.5px; font-weight:700; cursor:pointer;
}
.tab.active{background:var(--charcoal); color:var(--charcoal-ink); border-color:var(--charcoal)}
.gallery{display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:14px}
.gallery figure{margin:0; border-radius:20px; overflow:hidden; box-shadow:var(--shadow); background:var(--card)}
.gallery img{width:100%; height:260px; object-fit:cover; transition:transform .3s ease}
.gallery figure:hover img{transform:scale(1.04)}
.gallery .hidden{display:none}

/* ---------- steps ---------- */
.steps{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px}
.step{background:var(--card); border-radius:var(--r); box-shadow:var(--shadow); padding:26px}
.step .n{
  width:44px; height:44px; border-radius:14px; background:var(--bg);
  display:flex; align-items:center; justify-content:center;
  font-weight:800; color:var(--gold); font-size:18px; margin-bottom:14px;
}
.step h3{margin:0 0 6px; font-size:16.5px; font-weight:800}
.step p{margin:0; font-size:14px; color:var(--muted)}

/* ---------- contact ---------- */
.contact{
  background:var(--charcoal); color:var(--charcoal-ink);
  border-radius:var(--r); box-shadow:var(--shadow);
  padding:52px 44px; display:flex; flex-wrap:wrap; align-items:center; gap:26px;
}
.contact h2{color:#fff; margin:0 0 6px}
.contact p{color:#B9C0CA; margin:0; max-width:48ch}
.contact .grow{flex:1; min-width:260px}
.contact .actions{display:flex; flex-direction:column; gap:12px}
.phone{font-size:15px; font-weight:700; color:#fff; display:flex; align-items:center; gap:9px; justify-content:center}

footer{margin:56px 0 34px; display:flex; align-items:center; gap:14px; flex-wrap:wrap; color:var(--muted); font-size:13.5px}
footer img{height:26px; opacity:.9}
footer .logo-mark{height:38px}
footer .spacer{flex:1}

/* ---------- language popup ---------- */
.langpop{
  position:fixed; inset:0; z-index:100;
  background:rgba(16,18,22,.55); backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center; padding:20px;
}
.langpop[hidden]{display:none}
.langpop-card{
  background:var(--card); border-radius:26px; box-shadow:var(--shadow);
  padding:38px 34px; max-width:430px; width:100%;
  display:flex; flex-direction:column; align-items:center; gap:18px; text-align:center;
}
.langpop-card img{height:30px}
.langpop-card .logo-mark{height:88px}
.langpop-card p{margin:0; color:var(--muted); font-weight:600; font-size:15px}
.langpop .choices{display:flex; gap:12px; flex-wrap:wrap; justify-content:center}
.langpop .btn{min-width:140px; justify-content:center; font-size:16px}

/* ---------- lightbox ---------- */
.gallery figure{cursor:pointer}
.lightbox{
  position:fixed; inset:0; z-index:110;
  background:rgba(12,14,17,.92); backdrop-filter:blur(8px);
  display:flex; align-items:center; justify-content:center; padding:26px;
}
.lightbox[hidden]{display:none}
.lightbox img{max-width:100%; max-height:88vh; border-radius:18px; box-shadow:0 20px 60px rgba(0,0,0,.5)}
.lightbox .close{
  position:absolute; top:18px; inset-inline-end:18px;
  width:44px; height:44px; border-radius:999px; border:none; cursor:pointer;
  background:rgba(255,255,255,.12); color:#fff; font-size:22px; line-height:1;
}
.lightbox .navbtn{
  position:absolute; top:50%; transform:translateY(-50%);
  width:46px; height:46px; border-radius:999px; border:none; cursor:pointer;
  background:rgba(255,255,255,.12); color:#fff; font-size:22px; line-height:1;
}
.lightbox .prev{inset-inline-start:14px}
.lightbox .next{inset-inline-end:14px}

/* ---------- mobile CTA bar ---------- */
.mobile-cta{display:none}

@media (max-width:860px){
  body{padding-bottom:88px}
  .topbar{position:static; margin:12px 14px 0; padding:10px 16px; gap:10px}
  .topbar nav{display:none}
  .topbar .logo{height:26px}
  .topbar .logo-mark{height:36px}
  .topbar .btn-dark{display:none}

  .hero{grid-template-columns:1fr; gap:14px; margin-top:16px}
  .hero-card{padding:30px 22px; gap:14px}
  h1{font-size:27px}
  .lead{font-size:14.5px}
  .hero-actions .btn-ghost{display:none}
  .stats{grid-template-columns:1fr; gap:8px; margin-top:4px}
  .stat{display:flex; align-items:baseline; gap:10px; padding:12px 16px; border-radius:14px}
  .stat b{font-size:15px}
  .stat span{font-size:13px}
  .hero-photo{min-height:0; height:280px}

  section{margin-top:46px}
  h2{font-size:23px}
  .sub{font-size:14px; margin-bottom:18px}
  .services{gap:14px}
  .service img{height:170px}
  .tabs{gap:6px; margin-bottom:14px}
  .tab{padding:8px 14px; font-size:13px}
  .gallery{grid-template-columns:1fr 1fr; gap:10px}
  .gallery figure{border-radius:14px}
  .gallery img{height:172px}
  .steps{gap:12px}
  .step{padding:22px}
  .contact{padding:32px 22px; gap:18px}
  footer{margin:40px 0 20px}

  .mobile-cta{
    position:fixed; left:0; right:0; bottom:0; z-index:60;
    display:flex; gap:10px;
    padding:10px 14px calc(12px + env(safe-area-inset-bottom));
    background:rgba(239,240,242,.9); backdrop-filter:blur(12px);
    border-top:1px solid var(--line);
  }
  .mobile-cta .btn{flex:1; justify-content:center; padding:14px 10px}
  .mobile-cta .btn-ghost{background:var(--card)}
}
