:root{
  --bg:#070912;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --text:#eaf0ff;
  --muted:#9aa7c2;
  --line:rgba(255,255,255,.10);

  --a1:#7c3aed;
  --a2:#22d3ee;
  --a3:#10b981;

  --shadow: 0 22px 70px rgba(0,0,0,.45);
  --radius:20px;
  --max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background: radial-gradient(900px 500px at 75% -20%, rgba(124,58,237,.35), transparent 55%),
              radial-gradient(800px 450px at 10% 20%, rgba(34,211,238,.25), transparent 55%),
              radial-gradient(700px 420px at 90% 60%, rgba(16,185,129,.18), transparent 55%),
              var(--bg);
  color:var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height:1.75;
  overflow-x:hidden;
}

.wrap{max-width:var(--max); margin:0 auto; padding:0 18px}
a{color:inherit; text-decoration:none}
code{background:rgba(255,255,255,.08); border:1px solid var(--line); padding:2px 6px; border-radius:10px}

/* subtle grid overlay */
.grid-noise{
  position:fixed; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity:.07;
  pointer-events:none;
  z-index:-3;
}

/* decorative blobs */
.blob{
  position:fixed;
  width:520px; height:520px;
  filter: blur(55px);
  opacity:.55;
  pointer-events:none;
  z-index:-4;
}
.b1{left:-160px; top:90px; background: radial-gradient(circle, rgba(34,211,238,.75), transparent 60%)}
.b2{right:-220px; top:-120px; background: radial-gradient(circle, rgba(124,58,237,.75), transparent 60%)}

/* ===== Top strip ===== */
.topstrip{
  border-bottom:1px solid var(--line);
  background:rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
}
.topstrip-inner{
  display:flex; justify-content:space-between; align-items:center;
  gap:12px; padding:10px 0; flex-wrap:wrap;
}
.top-left{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.top-right{display:flex; gap:10px; align-items:center; flex-wrap:wrap}

.pill{
  display:inline-flex; align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(34,211,238,.25);
  background:rgba(34,211,238,.10);
  font-weight:900;
}
.top-title{font-weight:900; opacity:.95}
.phone{
  font-weight:1000;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
}

/* ===== Header ===== */
.header{
  position:sticky; top:0; z-index:60;
  background:rgba(7,9,18,.62);
  backdrop-filter: blur(18px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

/* Brand (LOGO) */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:260px;
}

.brand-logo{
  width: 120px;          /* حجم مناسب للترويسة */
  height: 56px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.brand-text strong{display:block; font-size:1.08rem}
.brand-text em{display:block; font-style:normal; color:var(--muted); font-size:.92rem}

/* Nav */
.nav{display:flex; gap:10px; align-items:center}
.nav a{
  padding:10px 12px;
  border-radius:14px;
  color:var(--muted);
  border:1px solid transparent;
  transition:.2s ease;
}
.nav a:hover{
  color:var(--text);
  border-color:rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
}
.nav-cta{
  color:var(--text) !important;
  border-color:rgba(34,211,238,.25) !important;
  background:linear-gradient(135deg, rgba(34,211,238,.14), rgba(124,58,237,.16));
  font-weight:1000;
}

/* Mobile menu button */
.menuBtn{
  display:none;
  width:46px; height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  cursor:pointer;
}
.menuBtn span{
  display:block;
  width:18px; height:2px;
  background:rgba(234,240,255,.9);
  margin:4px auto;
  border-radius:2px;
}

/* ===== Hero ===== */
.hero{padding:38px 0 10px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  padding:8px 12px;
  border-radius:999px;
  margin-bottom:12px;
}
.dot{
  width:9px; height:9px;
  border-radius:99px;
  background: radial-gradient(circle, rgba(34,211,238,1), rgba(124,58,237,1));
  box-shadow: 0 0 18px rgba(34,211,238,.35);
}
.hero-copy h1{
  margin:0 0 12px;
  font-size: clamp(1.9rem, 2.9vw, 2.8rem);
  letter-spacing:.2px;
}
.hero-copy .sub{font-weight:800; color:rgba(234,240,255,.82)}
.grad{
  background: linear-gradient(90deg, rgba(34,211,238,1), rgba(124,58,237,1), rgba(16,185,129,1));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  margin:0 0 16px;
  color:rgba(234,240,255,.86);
}

.hero-actions{
  display:flex; gap:10px; flex-wrap:wrap;
  margin:16px 0 14px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:var(--text);
  font-weight:1000;
  cursor:pointer;
  transition:.2s ease;
}
.btn:hover{transform:translateY(-1px); box-shadow:var(--shadow)}
.btn.primary{
  border-color:rgba(34,211,238,.25);
  background:linear-gradient(135deg, rgba(34,211,238,.16), rgba(124,58,237,.18));
}
.btn.ghost{background:rgba(255,255,255,.03)}
.btn.outline{background:transparent}
.btn.small{padding:10px 12px; border-radius:14px}

.mini-stats{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  margin-top:12px;
}
.stat{
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:12px;
  background:rgba(255,255,255,.04);
}
.stat .k{display:block; color:var(--muted); font-weight:900; font-size:.9rem}
.stat .v{display:block; font-weight:1000}

/* ===== Hero card ===== */
.hero-card{
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius:26px;
  padding:18px;
  box-shadow: var(--shadow);
}
.tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(16,185,129,.22);
  background:rgba(16,185,129,.10);
  font-weight:1000;
  margin-bottom:10px;
}
.card-top h2{margin:0 0 6px; font-size:1.15rem}
.card-top p{margin:0 0 14px}

.card-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:10px;
}
.chipCard{
  display:flex; gap:10px; align-items:center;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
}
.chipIcon{
  width:38px; height:38px;
  border-radius:14px;
  display:grid; place-items:center;
  border:1px solid rgba(34,211,238,.22);
  background:rgba(34,211,238,.10);
}
.chipCard strong{display:block; font-weight:1000}
.chipCard span{display:block; color:var(--muted); font-size:.9rem}

.card-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}

/* ===== Sections ===== */
.section{padding:44px 0}
.section.alt{
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 70%);
}
.sec-head{margin-bottom:16px}
.sec-head h2{margin:0 0 6px; font-size:1.55rem}

.cols{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.panel{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  border-radius:22px;
  padding:18px;
}
.panel h3{margin:0 0 8px}
.panel p{margin:0; color:rgba(234,240,255,.84)}

.steps{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.step{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  border-radius:22px;
  padding:18px;
  position:relative;
  overflow:hidden;
}
.step::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(90deg, rgba(34,211,238,.14), rgba(124,58,237,.14), rgba(16,185,129,.12));
  opacity:.30;
  filter: blur(18px);
  z-index:-1;
}
.num{
  width:44px; height:44px;
  border-radius:16px;
  display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  font-weight:1000;
  margin-bottom:10px;
}

/* ===== Gallery ===== */
.gallery{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
}
.shot{
  margin:0;
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  overflow:hidden;
  background:rgba(255,255,255,.04);
  cursor:pointer;
  transition:.2s ease;
  outline:none;
}
.shot:hover{transform: translateY(-2px); box-shadow: var(--shadow)}
.shot:focus{box-shadow: 0 0 0 4px rgba(34,211,238,.18), var(--shadow)}
.shot img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}
.shot figcaption{
  padding:10px 12px;
  color:var(--muted);
  font-weight:900;
  font-size:.92rem;
}

/* ===== Contact ===== */
.contact-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:14px;
  align-items:start;
}
.form{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  border-radius:24px;
  padding:18px;
}
.row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.field{display:grid; gap:6px; margin-bottom:12px}
label{font-weight:1000}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus{
  border-color:rgba(34,211,238,.25);
  box-shadow: 0 0 0 4px rgba(34,211,238,.10);
}
.err{min-height:16px; color:#ffb4b4}
.actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:6px}
.status{margin-top:10px; color:var(--muted); font-weight:900}

.asideCard{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  border-radius:24px;
  padding:18px;
  box-shadow: var(--shadow);
}
.infoLine{
  display:flex; justify-content:space-between; gap:10px;
  padding:10px 0;
  border-bottom:1px dashed rgba(255,255,255,.12);
}
.infoLine:last-child{border-bottom:none}
.link{border-bottom:1px dashed rgba(255,255,255,.35)}
.map{
  margin-top:12px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
}
.map iframe{width:100%; height:240px; border:0}
.smallNote{margin-top:12px; font-size:.92rem}

/* ===== Footer ===== */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:18px 0;
}
.footer-inner{display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap}
.muted{color:var(--muted)}

/* ===== Lightbox ===== */
.lightbox{
  position:fixed; inset:0;
  display:none;
  align-items:center; justify-content:center;
  background:rgba(0,0,0,.72);
  padding:18px;
  z-index:200;
}
.lightbox.open{display:flex}
.lightbox img{
  max-width:min(980px, 96vw);
  max-height:75vh;
  border-radius:18px;
  box-shadow: var(--shadow);
  border:1px solid rgba(255,255,255,.18);
}
.lbClose{
  position:absolute;
  top:14px; left:14px;
  width:46px; height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:26px;
  cursor:pointer;
}
.lbCap{color:#fff; margin-top:10px; font-weight:1000; text-align:center}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .mini-stats{grid-template-columns:1fr}
  .card-grid{grid-template-columns:1fr}
  .cols{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2, 1fr)}
  .contact-grid{grid-template-columns:1fr}
}

@media (max-width: 720px){
  .menuBtn{display:inline-block}

  .nav{
    position:absolute;
    right:0; left:0; top:100%;
    display:none;
    flex-direction:column;
    gap:8px;
    padding:10px;
    background:rgba(7,9,18,.92);
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .nav.open{display:flex}

  .row{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr}

  /* logo smaller on mobile */
  .brand-logo{
    width: 104px;
    height: 50px;
  }
}
