:root{
  --bg:#0b1220;
  --text:#e9edf6;
  --muted:#b7c0d6;
  --brand:#22c55e;
  --brand2:#16a34a;
  --border:rgba(255,255,255,.10);
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "DejaVu Sans", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(34,197,94,.14), transparent 60%),
    radial-gradient(900px 500px at 90% 30%, rgba(22,163,74,.10), transparent 65%),
    linear-gradient(180deg, #070c16, #0b1220 45%, #070c16);
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(7,12,22,.65);
  border-bottom:1px solid var(--border);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{display:flex; align-items:center; gap:12px; min-width:220px}
.logo-mark{
  width: 44px;      /* ↓ نقصنا الحجم */
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.35));
}
.brand-text{display:flex; flex-direction:column; line-height:1}
.brand-title{font-size:20px; font-weight:900; letter-spacing:.5px}
.brand-sub{font-size:12px; font-weight:800; color:var(--muted); margin-top:2px}

.nav{display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.nav a{
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  font-weight:800;
  border:1px solid transparent;
}
.nav a:hover{color:var(--text); border-color:var(--border); background:rgba(255,255,255,.06)}
.lang{display:flex; gap:8px; align-items:center}
.lang-btn{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:900;
  cursor:pointer;
}
.lang-btn.active{background:rgba(34,197,94,.18); border-color:rgba(34,197,94,.28)}

.section{padding:34px 0}
.hero{padding-top:44px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap:16px;
  align-items:stretch;
}
.hero-card{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:22px;
  overflow:hidden;
  position:relative;
}
.hero-card:before{
  content:"";
  position:absolute; inset:-120px -120px auto auto;
  width:260px; height:260px;
  background: radial-gradient(circle at 30% 30%, rgba(34,197,94,.55), transparent 62%);
  opacity:.28;
  transform: rotate(18deg);
}
.hero-side:before{inset:auto auto -140px -140px; transform: rotate(-22deg)}

.badge{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 12px; border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}

.h1{
  font-size: clamp(28px, 3.3vw, 44px);
  line-height:1.06;
  margin: 12px 0 10px;
  letter-spacing:-.02em;
}
.h2{
  font-size:24px;
  margin:0 0 14px;
  letter-spacing:-.01em;
}
.lead{color: var(--muted); font-size:16px; line-height:1.65; margin:0 0 14px}
.muted{color:var(--muted); line-height:1.6}
.small{font-size:13px}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius:999px; border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--text); font-weight:800;
  transition:.2s transform, .2s background, .2s border-color;
  cursor:pointer;
}
.btn:hover{transform:translateY(-1px); background:rgba(255,255,255,.10); border-color:rgba(255,255,255,.18)}
.btn.primary{
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  border-color: transparent;
  color:#062410;
}
.actions{display:flex; gap:10px; flex-wrap:wrap; margin:12px 0 14px}

.kpis{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
  margin-top:14px;
}
.kpi{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  padding:12px;
}
.kpi b{display:block; font-size:18px}
.kpi span{color:var(--muted); font-weight:700; font-size:13px}

.side-title{margin:0 0 8px; font-size:18px}
.side-box{
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  border-radius:16px;
  padding:14px;
  margin:12px 0 14px;
}
.side-row{display:flex; gap:10px; align-items:center; margin:10px 0}
.dot{width:10px; height:10px; border-radius:99px; background:rgba(34,197,94,.75)}

.card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:16px;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.icon{
  width:42px; height:42px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.25);
  margin-bottom:10px;
  font-weight:900;
}

.points{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:14px;
}
.point{display:flex; gap:10px; align-items:flex-start}
.ico{
  width:36px; height:36px; border-radius:14px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
}

.catalog{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding:16px;
}
.filters{
  display:flex; gap:10px; flex-wrap:wrap;
  align-items:center; justify-content:space-between;
  margin-bottom:12px;
}
.filters .left{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.filter{display:flex; gap:8px; align-items:center}
.label{font-weight:900; color:var(--muted); font-size:13px}

select, input, textarea{
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 14px;
  padding:10px 12px;
  outline:none;
}
#searchBox{border-radius:999px; min-width: 240px}
#typeFilter{border-radius:999px}

.catalog-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}
.p-card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height: 220px;
}
.p-img{
  width:100%;
  height:120px;
  object-fit:cover;
  display:block;
  background: rgba(255,255,255,.03);
}
.p-body{
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}
.p-top{display:flex; justify-content:space-between; gap:10px; align-items:flex-start}
.p-name{font-weight:900}
.tag{
  font-size:12px; font-weight:900;
  padding:6px 10px; border-radius:999px;
  background: rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.25);
  color:#d9ffe7;
  white-space:nowrap;
}
.p-meta{color:var(--muted); font-size:13px; line-height:1.45}
.p-foot{margin-top:auto; display:flex; gap:8px; flex-wrap:wrap}
.chip{
  font-size:12px; font-weight:800; color:var(--muted);
  padding:6px 10px; border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.field{display:flex; flex-direction:column; gap:8px; margin-bottom:12px}

.footer{
  padding:22px 0 40px;
  color: var(--muted);
  border-top:1px solid var(--border);
  margin-top: 30px;
  text-align:center;
}

/* RTL */
.rtl{direction:rtl}
.rtl .nav{justify-content:flex-start}
.rtl .filters{flex-direction:row-reverse}
.rtl .filters .left{flex-direction:row-reverse}
.rtl .filter{flex-direction:row-reverse}
.rtl .p-top{flex-direction:row-reverse}
.rtl .points{direction:rtl}
.rtl .point{flex-direction:row-reverse}
.rtl .brand{min-width:auto}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .catalog-grid{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .grid-3{grid-template-columns:1fr}
  .points{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
}
@media (max-width: 520px){
  .catalog-grid{grid-template-columns: 1fr}
  #searchBox{min-width: 0; width:100%}
}

.logo-img{
  height:60px;
  width:auto;
  object-fit:contain;
}

/* responsive */
@media (max-width:600px){
  .logo-img{
    height:50px;
  }
}

/* === BACKGROUND ICONS === */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Ctext x='10' y='60' font-size='48'%3E🍃%3C/text%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Ctext x='10' y='80' font-size='52'%3E🍎%3C/text%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Ctext x='10' y='80' font-size='52'%3E🥬%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 220px 220px;
  opacity: 0.05;
}