/* ديوان سالم العازمي — هوية البراند الشخصي */
:root{
  --olive:#4A5D23; --olive-deep:#37471a;
  --brown:#8B5E34; --sand:#E8DCC4; --paper:#F7F1E3;
  --ink:#1A1A1A; --gold:#B8964C; --gold-soft:#d9c08a;
  --card:#fffdf7; --line:#ddd0b4;
}
*{box-sizing:border-box}
[hidden]{display:none !important}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:"Cairo",system-ui,sans-serif; font-size:16px; line-height:1.9;
}
img{max-width:100%; display:block}
a{color:var(--olive-deep)}
.wrap{max-width:1060px; margin:0 auto; padding:0 18px}

/* الترويسة */
header.site{
  background:linear-gradient(160deg,var(--olive-deep),var(--olive));
  color:#fdf9ee; padding:14px 0 0; border-bottom:4px solid var(--gold);
}
.topbar{display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:10px}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none; color:#fdf9ee}
.brand img{width:52px; height:52px; object-fit:contain; background:var(--paper); border-radius:12px; padding:4px}
.brand .bname{font-weight:800; font-size:1.25rem; line-height:1.3}
.brand .bsub{font-size:.82rem; color:var(--gold-soft)}
nav.main{display:flex; gap:4px; flex-wrap:wrap; padding:8px 0 12px}
nav.main a{
  color:#f3ecd9; text-decoration:none; font-weight:700; font-size:.95rem;
  padding:6px 14px; border-radius:999px;
}
nav.main a:hover, nav.main a.on{background:rgba(255,255,255,.14); color:#fff}

/* الهيرو */
.hero{padding:38px 0 10px}
.hero-grid{display:grid; grid-template-columns: 300px 1fr; gap:34px; align-items:center}
.hero-photo{
  border-radius:22px; overflow:hidden; border:3px solid var(--gold);
  box-shadow:0 14px 34px rgba(55,71,26,.22); aspect-ratio:4/5; background:var(--sand);
}
.hero-photo img{width:100%; height:100%; object-fit:cover}
.hero h1{
  font-family:"Amiri",serif; font-size:2.6rem; margin:0 0 4px; color:var(--olive-deep); line-height:1.35;
}
.hero .from{color:var(--brown); font-weight:800; font-size:1.05rem; margin:0 0 10px}
.hero .line{font-size:1.12rem; max-width:34em; margin:0 0 14px}
.hero .faith{
  display:inline-block; font-family:"Amiri",serif; font-size:1.15rem; color:var(--olive-deep);
  background:#efe6cd; border:1px solid var(--line); border-radius:999px; padding:2px 18px;
}
.follow-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.btn{
  display:inline-block; text-decoration:none; font-weight:800; border-radius:999px;
  padding:9px 22px; font-size:.98rem; border:2px solid var(--olive);
}
.btn.solid{background:var(--olive); color:#fff}
.btn.ghost{background:transparent; color:var(--olive-deep)}
.btn.gold{background:var(--gold); border-color:var(--gold); color:#241c07}

/* الأقسام والكروت */
section{padding:30px 0 6px}
.sec-title{
  font-family:"Amiri",serif; font-size:1.7rem; color:var(--olive-deep);
  margin:0 0 4px; display:flex; align-items:center; gap:10px;
}
.sec-title::after{content:""; flex:1; height:2px; background:linear-gradient(to left,var(--gold),transparent)}
.sec-sub{color:#5c5540; margin:0 0 16px}
.cards{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.card{
  background:var(--card); border:1px solid var(--line); border-radius:18px;
  padding:20px; text-decoration:none; color:var(--ink);
  box-shadow:0 4px 14px rgba(90,74,32,.06);
}
.card:hover{border-color:var(--gold)}
.card .k{font-size:1.7rem}
.card h3{margin:6px 0 4px; font-size:1.15rem; color:var(--olive-deep)}
.card p{margin:0; color:#4c4636; font-size:.96rem}
.card .go{color:var(--brown); font-weight:800; font-size:.9rem}
.feature{
  display:grid; grid-template-columns: 240px 1fr; gap:22px; align-items:center;
  background:linear-gradient(150deg,#fdf6df,var(--card)); border:1px solid var(--gold-soft);
  border-radius:20px; padding:20px;
}
.feature img{border-radius:14px}
.feature h3{margin:0 0 6px; color:var(--olive-deep); font-size:1.3rem}
.feature p{margin:0 0 12px; color:#4c4636}

/* صفحات داخلية */
.page-head{padding:34px 0 4px}
.page-head h1{font-family:"Amiri",serif; font-size:2.1rem; color:var(--olive-deep); margin:0 0 6px}
.page-head .lead{font-size:1.08rem; color:#4c4636; max-width:40em}
.chapter{background:var(--card); border:1px solid var(--line); border-radius:18px; padding:22px 24px; margin:16px 0}
.chapter h2{font-family:"Amiri",serif; color:var(--olive-deep); margin:0 0 6px; font-size:1.4rem}
.chapter p{margin:0 0 10px}
.chapter p:last-child{margin-bottom:0}
.quran{font-family:"Amiri",serif; font-size:1.2rem; color:var(--olive-deep)}
.gift-img{border:1px solid var(--line); border-radius:16px; overflow:hidden; max-width:520px}
.note{background:#efe6cd; border:1px dashed var(--gold); border-radius:14px; padding:12px 18px; color:#57491f}

/* المنصات */
.plat{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.plat .card{text-align:center}
.plat .card .k{font-size:2rem}

/* التذييل */
footer.site{
  margin-top:44px; background:var(--olive-deep); color:#e9e2cb; padding:26px 0 30px;
  border-top:4px solid var(--gold);
}
footer.site .frow{display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap}
footer.site img{width:44px; height:44px; object-fit:contain}
footer.site a{color:var(--gold-soft); text-decoration:none; font-weight:700}
footer.site .fine{font-size:.85rem; color:#bdb493; margin-top:10px}

@media (max-width:760px){
  .hero-grid{grid-template-columns:1fr}
  .hero-photo{max-width:270px}
  .hero h1{font-size:2.1rem}
  .cards,.plat{grid-template-columns:1fr}
  .feature{grid-template-columns:1fr}
  .feature img{max-width:220px}
  nav.main a{padding:6px 10px; font-size:.9rem}
}
