:root{
  --bg: #f6f1e8;        /* بيج فخم */
  --paper: #ffffff;
  --ink: #101010;
  --muted: rgba(16,16,16,.65);

  --gold: #c9a24d;
  --gold2: #b08d3c;

  --green1: #0f3d27;    /* أخضر ملكي */
  --green2: #1e5f3a;

  --line: rgba(16,16,16,.10);
  --shadow: 0 18px 45px rgba(0,0,0,.10);
  --shadow2: 0 10px 26px rgba(0,0,0,.08);
  --shadow3: 0 25px 60px rgba(0,0,0,.12);

  --r: 18px;            /* راديوس فخم */
}

*{
  box-sizing: border-box;
}

html,
body{
  height: 100%;
}

body{
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(201,162,77,.25), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(15,61,39,.18), transparent 55%),
    var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px;
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(246,241,232,.85);
  border-bottom: 1px solid var(--line);
}

.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand{
  font-weight: 900;
  letter-spacing: .5px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.brand-ar{
  font-size: 18px;
}

.brand-sep{
  opacity: .55;
}

.brand-en{
  font-size: 12px;
  opacity: .75;
  letter-spacing: 2px;
}

/* Nav */
.nav{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a{
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: .25s ease;
  background: transparent;
}

.nav a:hover{
  border-color: rgba(201,162,77,.5);
  background: rgba(201,162,77,.08);
  transform: translateY(-1px);
}

.nav a.active{
  background: rgba(201,162,77,.15);
  border-color: rgba(201,162,77,.35);
}

/* Page head */
.page{
  padding: 36px 0 56px;
}

.page-head{
  padding: 48px;
  border-radius: calc(var(--r) + 8px);
  background:
    radial-gradient(900px 400px at 70% 0%, rgba(201,162,77,.26), transparent 60%),
    radial-gradient(700px 340px at 5% 50%, rgba(15,61,39,.18), transparent 60%),
    rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: var(--shadow3);
}

.kicker{
  display: inline-block;
  font-weight: 800;
  color: var(--gold2);
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 13px;
  text-transform: uppercase;
}

.title{
  margin: 16px 0 14px;
  font-size: 42px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.subtitle{
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 16px;
}

/* Grid */
.grid{
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.cols-2{
  grid-template-columns: repeat(2, 1fr);
}

.cols-3{
  grid-template-columns: repeat(3, 1fr);
}

.cols-4{
  grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--r);
  padding: 32px 28px;
  box-shadow: var(--shadow2);
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}

.card::before{
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(201,162,77,.05), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}

.card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow3);
}

.card:hover::before{
  opacity: 1;
}

.card h2,
.card h3{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 15px;
}

/* Buttons */
.btn-group{
  display: flex;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,.92);
  transition: .25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  cursor: pointer;
}

.btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  background: rgba(255,255,255,.98);
}

.btn-gold{
  background: linear-gradient(180deg, rgba(201,162,77,1), rgba(176,141,60,1));
  border-color: rgba(176,141,60,.6);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(201,162,77,.25);
}

.btn-gold:hover{
  box-shadow: 0 20px 50px rgba(201,162,77,.35);
  transform: translateY(-3px);
}

.btn-outline{
  background: rgba(255,255,255,.65);
  border-color: rgba(201,162,77,.5);
}

/* Drawer (قائمة الجوال) */
.menu-btn{
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--ink);
  min-width: 44px;
  min-height: 44px;
}

.menu-btn:hover{
  background: rgba(255,255,255,.9);
  border-color: rgba(201,162,77,.3);
}

.menu-btn:active{
  background: rgba(255,255,255,.95);
  transform: scale(0.95);
}

.drawer{
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  padding: 0;
  z-index: 100;
  transition: grid-template-rows .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer > *{
  min-height: 0;
}

.drawer-inner{
  padding: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer a{
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.6);
  cursor: pointer;
  transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer a.active{
  background: rgba(201,162,77,.15);
  border-color: rgba(201,162,77,.35);
  font-weight: 800;
}

.drawer a:hover,
.drawer a:focus{
  background: rgba(201,162,77,.12);
  border-color: rgba(201,162,77,.35);
  transform: translateX(-4px);
  outline: none;
}

.drawer a:active{
  transform: translateX(-2px);
}

.drawer.open{
  grid-template-rows: 1fr;
}

/* Footer */
.footer{
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: rgba(246,241,232,.85);
}

.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.footer a{
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: .2s ease;
}

.footer a:hover{
  color: var(--gold2);
}

/* Mobile */
@media (max-width: 768px){
  .container{
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav{
    display: none;
  }

  .menu-btn{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page{
    padding: 28px 0 42px;
  }

  .page-head{
    padding: 32px 24px;
  }

  .title{
    font-size: 28px;
  }

  .subtitle{
    font-size: 15px;
  }

  .grid{
    gap: 20px;
    margin-top: 24px;
  }

  .card{
    padding: 24px 20px;
  }

  .cols-2,
  .cols-3,
  .cols-4{
    grid-template-columns: 1fr;
  }

  .btn-group{
    flex-direction: column;
  }

  .btn{
    width: 100%;
    padding: 14px 20px;
  }

  .footer-inner{
    flex-direction: column;
    text-align: center;
  }
}
.whatsapp-float{
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 35px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover{
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,.22);
}

.whatsapp-float span{
  font-weight: 900;
}

@media (max-width: 768px){
  .whatsapp-float{
    left: 16px;
    right: 16px;
    bottom: 16px;
    justify-content: center;
  }
}
.project-head{
  margin-top: 28px;
}
