/*
Theme Name: قبيلة الخوار
Theme URI: https://alkhawar.pro
Author: AL-KHAWAR
Description: قالب تراثي احترافي لموقع قبيلة الخوار - مطابق للتصميم الكريمي الفاخر
Version: 2.0
Text Domain: alkhawar
*/

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Scheherazade+New:wght@400;500;600;700&family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Tajawal:wght@300;400;500;700&display=swap');

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --cream:#F5F0E8;
  --cream2:#EDE4D0;
  --cream3:#E4D9C0;
  --parchment:#D9C99A;
  --brown:#3D2B0E;
  --brown2:#5C4018;
  --brown3:#7A5828;
  --gold:#9A7520;
  --gold2:#C9A030;
  --gold3:#D4A813;
  --gold-light:#E8C547;
  --text:#2C1F08;
  --text2:#3A2810;
  --text3:#5C3D18;
  --white:#FFFFFF;
  --border:#C4A85A;
  --border2:#8B6914;
  --nav-h:68px;
  --sh:0 2px 12px rgba(61,43,14,.10);
  --sh-md:0 4px 20px rgba(61,43,14,.14);
  --sh-lg:0 8px 36px rgba(61,43,14,.18);
}
html{scroll-behavior:smooth}
body{
  font-family:'Noto Naskh Arabic',serif;
  background:var(--cream);color:var(--text);
  font-size:16px;line-height:1.9;direction:rtl;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}

/* ══════════ TOP BAR ══════════ */
.topbar{
  background:var(--brown);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 4vw;height:36px;
  border-bottom:1px solid rgba(196,168,90,.25);
}
.topbar-social{display:flex;gap:14px;align-items:center}
.topbar-social a{color:rgba(255,255,255,.45);font-size:13px;transition:color .2s}
.topbar-social a:hover{color:var(--gold-light)}
.topbar-search{
  display:flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);
  border-radius:100px;padding:4px 14px;
}
.topbar-search input{
  background:none;border:none;outline:none;
  color:rgba(255,255,255,.6);font-family:'Noto Naskh Arabic',serif;
  font-size:12.5px;width:160px;
}
.topbar-search input::placeholder{color:rgba(255,255,255,.3)}

/* ══════════ NAVBAR ══════════ */
nav.main-nav{
  position:sticky;top:0;z-index:900;
  background:rgba(250,247,240,.97);
  border-bottom:1px solid rgba(196,168,90,.3);
  box-shadow:0 2px 12px rgba(61,43,14,.08);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 4vw;height:62px;gap:12px;
  backdrop-filter:blur(8px);
}
.nav-brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.nav-logo-img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:1.5px solid var(--gold3)}
.nav-links{display:flex;gap:1px;list-style:none}
.nav-links a{
  color:var(--text2);text-decoration:none;font-size:13.5px;
  padding:5px 11px;border-radius:6px;
  transition:color .18s,background .18s;white-space:nowrap;
}
.nav-links a:hover,.nav-links a.active{color:var(--brown);background:rgba(196,168,90,.12);font-weight:600}
.nav-links a.bot-link{background:var(--brown);color:var(--gold-light);border-radius:6px;font-size:13px}
.nav-links a.bot-link:hover{background:var(--brown2)}
.ham{display:none;background:none;border:1px solid var(--border);border-radius:6px;cursor:pointer;padding:6px 8px;flex-direction:column;gap:4px;flex-shrink:0}
.ham span{display:block;width:18px;height:2px;background:var(--brown);border-radius:1px;transition:all .25s}

/* ══════════ HERO ══════════ */
.hero{
  position:relative;
  min-height:560px;
  background-size:cover;background-repeat:no-repeat;
  background-position:center center;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:56px 6vw 52px;
  overflow:hidden;
}
@media(max-width:640px){
  .hero{min-height:auto;background-size:100% auto;background-position:top center;padding:32px 5vw 28px}
  .hero-inner{padding-top:8px}
}
.hero::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(250,246,238,.0) 0%,rgba(250,246,238,.18) 40%,rgba(250,246,238,.55) 100%);
  pointer-events:none;
}
.hero-inner{position:relative;z-index:2;max-width:820px;margin:0 auto}
.hero h1{
  font-family:'Amiri',serif;font-size:clamp(56px,10vw,108px);
  color:var(--brown);font-weight:700;line-height:1.05;margin-bottom:16px;
}
.hero-tagline{font-family:'Scheherazade New',serif;font-size:clamp(18px,3vw,26px);color:var(--brown2);margin-bottom:14px;font-weight:400}
.hero-desc{font-family:'Noto Naskh Arabic',serif;font-size:clamp(14px,1.8vw,17px);color:var(--text2);max-width:580px;margin:0 auto 32px;line-height:1.9}
.hero-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.btn-primary{background:var(--brown);color:#F5EDD8;padding:12px 32px;border-radius:8px;font-family:'Scheherazade New',serif;font-size:17px;font-weight:700;border:none;transition:all .2s;box-shadow:0 3px 14px rgba(61,43,14,.25)}
.btn-primary:hover{background:var(--brown2);transform:translateY(-2px)}
.btn-outline{background:transparent;color:var(--brown);padding:12px 32px;border-radius:8px;font-family:'Scheherazade New',serif;font-size:17px;font-weight:700;border:2px solid var(--brown);transition:all .2s}
.btn-outline:hover{background:rgba(61,43,14,.06)}

/* ══════════ STATS BAR ══════════ */
.stats-bar{background:var(--cream2);border-top:1px solid var(--border);border-bottom:1px solid var(--border);display:grid;grid-template-columns:repeat(4,1fr);text-align:center}
.stat-item{padding:22px 16px;border-left:1px solid var(--border)}
.stat-item:last-child{border-left:none}
.stat-num{font-family:'Scheherazade New',serif;font-size:clamp(28px,4vw,40px);color:var(--brown);font-weight:700;line-height:1}
.stat-lbl{font-size:13px;color:var(--text2);margin-top:5px;font-weight:600}

/* ══════════ SECTIONS ══════════ */
section{padding:72px 5vw}
.si{max-width:1100px;margin:0 auto}
.sec-header{text-align:center;margin-bottom:44px}
.sec-eyebrow{font-family:'Scheherazade New',serif;font-size:14px;color:var(--gold3);letter-spacing:.12em;text-transform:uppercase;display:block;margin-bottom:8px;font-weight:700}
.sec-title{font-family:'Amiri',serif;font-size:clamp(34px,5vw,54px);color:var(--brown);font-weight:700;line-height:1.1;margin-bottom:10px}
.sec-sub{font-size:clamp(15px,2vw,17px);color:var(--text2);max-width:600px;margin:0 auto;font-weight:500}
.sec-div{display:flex;align-items:center;gap:12px;margin-top:18px;justify-content:center}
.sec-div::before,.sec-div::after{content:'';flex:1;height:1px;max-width:140px;background:linear-gradient(to left,transparent,var(--border))}
.sec-div::after{background:linear-gradient(to right,transparent,var(--border))}
.sec-div-gem{font-size:18px;color:var(--gold2)}

/* ══════════ ABOUT ══════════ */
#about{background:var(--cream)}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.about-text{font-size:15.5px;color:var(--text2);line-height:2.1}
.about-text p{margin-bottom:16px}
.about-text strong{color:var(--brown);font-weight:700}
.nasab-chain{background:var(--cream2);border:1px solid var(--border);border-radius:14px;padding:28px 24px;text-align:center}
.nasab-chain h3{font-family:'Scheherazade New',serif;font-size:20px;color:var(--brown);margin-bottom:20px}
.chain-step{display:flex;flex-direction:column;align-items:center;gap:4px}
.chain-node{background:var(--brown);color:var(--gold-light);padding:9px 22px;border-radius:8px;font-family:'Scheherazade New',serif;font-size:16px;font-weight:700;min-width:160px;text-align:center}
.chain-node.highlight{background:var(--gold2);color:var(--brown)}
.chain-node small{display:block;font-size:11px;opacity:.75;font-family:'Noto Naskh Arabic',serif;font-weight:400;margin-top:2px}
.chain-arrow{font-size:20px;color:var(--gold2);line-height:1;margin:2px 0}

/* ══════════ QUICK CARDS ══════════ */
.quick-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:32px}
.qcard{background:var(--cream2);border:1px solid var(--border);border-radius:12px;padding:20px 14px;text-align:center;transition:all .2s;cursor:pointer;text-decoration:none;color:inherit;display:block}
.qcard:hover{border-color:var(--gold2);box-shadow:var(--sh-md);transform:translateY(-3px)}
.qcard-icon{font-size:26px;margin-bottom:8px}
.qcard-title{font-family:'Scheherazade New',serif;font-size:16px;color:var(--brown);font-weight:700;margin-bottom:4px}
.qcard-sub{font-size:12px;color:var(--text2);line-height:1.6}
.qcard-more{font-size:12px;color:var(--gold2);margin-top:8px;font-weight:600}

/* ══════════ TREE ══════════ */
#tree{background:var(--cream2)}
.tree-cont{background:var(--cream);border:1px solid var(--border);border-radius:14px;padding:24px;max-width:640px;margin:0 auto}
.tree-search-row{display:flex;gap:10px;margin-bottom:16px;align-items:center}
.tree-search{flex:1;padding:9px 14px;border:1px solid var(--border);border-radius:8px;background:var(--cream2);font-family:'Noto Naskh Arabic',serif;font-size:14px;color:var(--text);outline:none}
.tree-search:focus{border-color:var(--gold2)}
.tree-btns{display:flex;gap:7px}
.tree-btn{padding:7px 14px;background:var(--brown);color:var(--gold-light);border:none;border-radius:7px;font-family:'Noto Naskh Arabic',serif;font-size:12px;cursor:pointer}
.tree-btn:hover{background:var(--brown2)}
ul.tree-ul{list-style:none;padding:0;margin:0}
li.ti{margin:2px 0}
div.tn{display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:7px;cursor:pointer;transition:background .15s;font-size:14.5px;color:var(--text2)}
div.tn:hover{background:rgba(196,168,90,.12)}
div.tn.open{color:var(--brown);font-weight:700}
div.tn.hl{background:rgba(212,168,19,.18);color:var(--brown);font-weight:700}
div.tn.leaf{cursor:default;color:var(--text3)}
div.tn.leaf:hover{background:none}
span.ar{font-size:10px;color:var(--gold2);transition:transform .2s;flex-shrink:0}
div.tn.open span.ar{transform:rotate(90deg)}
span.lbl{flex:1}
span.cnt{background:var(--brown);color:var(--gold-light);font-size:11px;padding:1px 8px;border-radius:100px;flex-shrink:0}
ul.tc{display:none;padding-right:20px;border-right:2px solid rgba(196,168,90,.25);margin-right:12px}
ul.tc.open{display:block}
.no-res{text-align:center;color:var(--text3);font-size:14px;padding:16px}

/* ══════════ PLACES ══════════ */
#places{background:var(--cream)}
.countries{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:8px}
.country-card{background:var(--cream2);border:1px solid var(--border);border-radius:12px;padding:22px 16px;text-align:center}
.country-flag{font-size:36px;margin-bottom:10px}
.country-name{font-family:'Scheherazade New',serif;font-size:18px;color:var(--brown);font-weight:700;margin-bottom:4px}
.country-city{font-size:13px;color:var(--text2);font-weight:500}

/* ══════════ NOTABLES / AYAAN / POETS ══════════ */
#notables,#ayaan,#poets{background:var(--cream2)}
.notables-grid,.ayaan-grid,.poets-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:8px}
.port-frame{background:var(--cream);border:1px solid var(--border);border-radius:14px;overflow:hidden;cursor:pointer;transition:all .2s}
.port-frame:hover{border-color:var(--gold2);box-shadow:var(--sh-md);transform:translateY(-3px)}
.port-img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:top center;display:block}
.port-info{padding:14px 16px}
.port-name{font-family:'Scheherazade New',serif;font-size:17px;color:var(--brown);font-weight:700;margin-bottom:4px}
.port-era{font-size:12px;color:var(--gold3);margin-bottom:6px;font-weight:700}
.port-desc{font-size:13px;color:var(--text2);line-height:1.75;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* ══════════ EVENTS / GALLERY ══════════ */
#events{background:var(--cream)}
.events-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.ev-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.ev-photo{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;border:1px solid var(--border)}
.ev-videos{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ev-video{width:100%;aspect-ratio:16/9;border-radius:10px;border:1px solid var(--border)}
/* معرض الصور الجديد */
.events-gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:8px}
.ev-gallery-item{border-radius:10px;overflow:hidden;border:1px solid var(--border);transition:all .2s;}
.ev-gallery-item:hover{border-color:var(--gold2);box-shadow:var(--sh-md);transform:translateY(-2px)}
.ev-gallery-item a{display:block}
.ev-gallery-item img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center;display:block}
.ev-empty{grid-column:1/-1;text-align:center;padding:40px;background:var(--cream2);border:2px dashed var(--border);border-radius:12px;color:var(--text2)}
.ev-empty a{color:var(--gold2);font-weight:700}
@media(max-width:768px){.events-gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.events-gallery-grid{grid-template-columns:1fr 1fr}}

/* ══════════ CLANS / DOCS ══════════ */
#clans{background:var(--cream2)}
.clans-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:8px}
.clan-card{background:var(--cream);border:1px solid var(--border);border-radius:12px;padding:22px 20px}
.clan-name{font-family:'Scheherazade New',serif;font-size:19px;color:var(--brown);font-weight:700;margin-bottom:8px}
.clan-desc{font-size:14px;color:var(--text2);line-height:1.85}

/* ══════════ CONTACT ══════════ */
#contact{background:var(--cream);text-align:center}
.contact-link{display:inline-flex;align-items:center;gap:10px;background:var(--brown);color:var(--gold-light);padding:14px 36px;border-radius:10px;font-family:'Scheherazade New',serif;font-size:18px;font-weight:700;margin-top:20px;transition:all .2s;box-shadow:var(--sh-md)}
.contact-link:hover{background:var(--brown2);transform:translateY(-2px)}

/* ══════════ BOT SECTION ══════════ */
#bot{background:linear-gradient(180deg,var(--brown) 0%,#2A1C08 100%);color:#fff}
#bot .sec-eyebrow{color:var(--gold3)}
#bot .sec-title{color:var(--gold-light)}
#bot .sec-sub{color:rgba(255,255,255,.6)}
#bot .sec-div::before{background:linear-gradient(to left,transparent,rgba(196,168,90,.4))}
#bot .sec-div::after{background:linear-gradient(to right,transparent,rgba(196,168,90,.4))}
.bot-wrap{background:rgba(255,255,255,.06);border:1px solid rgba(196,168,90,.2);border-radius:16px;overflow:hidden;max-width:740px;margin:0 auto;box-shadow:0 8px 32px rgba(0,0,0,.25)}
.bot-head{background:rgba(255,255,255,.05);border-bottom:1px solid rgba(196,168,90,.2);padding:14px 18px;display:flex;align-items:center;gap:10px}
.bot-av{width:42px;height:42px;border-radius:50%;background:rgba(196,168,90,.15);border:1.5px solid rgba(196,168,90,.4);display:flex;align-items:center;justify-content:center;font-family:'Scheherazade New',serif;font-size:18px;color:var(--gold-light);flex-shrink:0;overflow:hidden}
.bot-av img{width:100%;height:100%;object-fit:cover;object-position:top center;border-radius:50%}
.bot-title{font-family:'Scheherazade New',serif;font-size:17px;color:var(--gold-light)}
.bot-sub{font-size:11px;color:rgba(255,255,255,.4)}
.bot-dot{width:8px;height:8px;border-radius:50%;background:#4ade80;margin-right:auto;flex-shrink:0;box-shadow:0 0 6px rgba(74,222,128,.5)}
.bot-msgs{height:380px;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:12px}
.msg{display:flex;gap:8px;align-items:flex-end;max-width:85%}
.msg.user{flex-direction:row-reverse;margin-right:auto}
.msg.bot{margin-left:auto}
.mb{padding:10px 13px;border-radius:12px;font-size:14px;line-height:1.75;word-break:break-word}
.msg.bot .mb{background:rgba(255,255,255,.09);color:rgba(255,255,255,.9);border-radius:12px 12px 12px 2px;border:1px solid rgba(196,168,90,.2)}
.msg.user .mb{background:var(--brown);color:var(--gold-light);font-weight:600;border-radius:12px 12px 2px 12px}
.mav{width:28px;height:28px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:12px;overflow:hidden}
.mav img{width:100%;height:100%;object-fit:cover;object-position:top center;border-radius:50%}
.msg.bot .mav{background:rgba(196,168,90,.15);border:1px solid rgba(196,168,90,.3);color:var(--gold-light)}
.msg.user .mav{background:rgba(255,255,255,.08);color:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.1)}
.sugs{display:flex;gap:7px;flex-wrap:wrap;padding:10px 16px 12px;border-top:1px solid rgba(196,168,90,.15)}
.sug{padding:5px 12px;background:rgba(255,255,255,.06);border:1px solid rgba(196,168,90,.2);border-radius:100px;color:rgba(255,255,255,.7);font-size:12px;cursor:pointer;white-space:nowrap;transition:all .2s;font-family:'Noto Naskh Arabic',serif}
.sug:hover{border-color:rgba(196,168,90,.5);color:var(--gold-light);background:rgba(196,168,90,.1)}
.bot-inp-row{display:flex;gap:8px;padding:12px 14px;border-top:1px solid rgba(196,168,90,.15);background:rgba(0,0,0,.15)}
.bot-inp{flex:1;padding:9px 12px;background:rgba(255,255,255,.08);border:1px solid rgba(196,168,90,.25);border-radius:8px;color:#fff;font-family:'Noto Naskh Arabic',serif;font-size:14px;outline:none;direction:rtl}
.bot-inp::placeholder{color:rgba(255,255,255,.3)}
.bot-inp:focus{border-color:rgba(196,168,90,.6)}
.bot-send{width:40px;height:40px;border-radius:8px;background:var(--brown);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--gold-light);flex-shrink:0;transition:all .2s}
.bot-send:hover{background:var(--brown2)}
.bot-send:disabled{opacity:.5;cursor:not-allowed}

/* ══════════ مؤشر الكتابة (Typing Indicator) ══════════ */
.bot-typing{display:flex;gap:5px;align-items:center;padding:4px 2px}
.bot-typing span{
  width:8px;height:8px;
  background:var(--gold3);
  border-radius:50%;
  animation:bot-dot-bounce 1.2s infinite;
  display:inline-block;
}
.bot-typing span:nth-child(2){animation-delay:0.2s}
.bot-typing span:nth-child(3){animation-delay:0.4s}
@keyframes bot-dot-bounce{
  0%,80%,100%{transform:translateY(0);opacity:0.4}
  40%{transform:translateY(-7px);opacity:1}
}

/* ══════════ BOT FAB (floating) ══════════ */
.bot-fab{position:fixed;bottom:28px;right:28px;z-index:7000;background:var(--brown);border:2px solid var(--gold3);border-radius:100px;padding:10px 18px;display:flex;align-items:center;gap:10px;cursor:pointer;box-shadow:var(--sh-lg);transition:transform .2s}
.bot-fab:hover{transform:translateY(-3px)}
.bot-fab-icon{width:34px;height:34px;border-radius:50%;background:rgba(196,168,90,.2);border:1px solid rgba(196,168,90,.4);display:flex;align-items:center;justify-content:center;font-family:'Scheherazade New',serif;font-size:16px;color:var(--gold-light)}
.bot-fab-label{font-family:'Scheherazade New',serif;font-size:14px;color:var(--gold-light);font-weight:700}

/* ══════════ LIGHTBOX ══════════ */
.lb-overlay{position:fixed;inset:0;z-index:9000;background:rgba(28,18,5,.9);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:opacity .3s}
.lb-overlay.open{opacity:1;pointer-events:all}
.lb-close{position:fixed;top:18px;left:18px;z-index:9001;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(196,168,90,.4);color:#fff;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.lb-close:hover{background:rgba(255,255,255,.25)}
.lb-card{background:var(--cream2);border:2px solid var(--gold3);border-radius:16px;overflow:hidden;max-width:820px;width:100%;display:grid;grid-template-columns:1fr 1fr;transform:scale(.94);transition:transform .3s;box-shadow:0 24px 64px rgba(0,0,0,.5);max-height:90vh}
.lb-overlay.open .lb-card{transform:scale(1)}
.lb-img-side{background:#000;position:relative;display:flex;align-items:center;justify-content:center;min-height:380px}
.lb-img-side img{width:100%;height:100%;object-fit:cover;object-position:top center;max-height:560px}
.lb-info{padding:32px 26px;display:flex;flex-direction:column;gap:14px;overflow-y:auto;max-height:560px}
.lb-info h2{font-family:'Scheherazade New',serif;font-size:24px;color:var(--brown);font-weight:700;line-height:1.3}
.lb-badges{display:flex;flex-wrap:wrap;gap:8px}
.lb-badge{background:rgba(139,105,20,.1);border:1px solid var(--border);border-radius:100px;padding:4px 14px;font-size:13px;color:var(--brown2)}
.lb-desc{font-size:15px;color:var(--text2);line-height:2.05;flex:1}
.lb-divider{height:1px;background:var(--border);opacity:.5}
@media(max-width:700px){.lb-card{grid-template-columns:1fr}.lb-img-side{min-height:240px}.lb-info{padding:20px 16px}}

/* ══════════ DISCLAIMER MODAL ══════════ */
.disc-overlay{position:fixed;inset:0;z-index:9500;background:rgba(28,18,5,.88);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:opacity .3s}
.disc-overlay.open{opacity:1;pointer-events:all}
.disc-modal{background:var(--cream);border:2px solid var(--gold3);border-radius:14px;max-width:760px;width:100%;max-height:88vh;overflow-y:auto;box-shadow:0 24px 64px rgba(0,0,0,.5)}
.disc-modal-head{position:sticky;top:0;background:var(--brown);padding:18px 24px;display:flex;align-items:center;justify-content:space-between;border-radius:12px 12px 0 0;z-index:1}
.disc-modal-head h2{font-family:'Scheherazade New',serif;font-size:22px;color:var(--gold-light);margin:0}
.disc-modal-close{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:50%;width:36px;height:36px;color:#fff;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.disc-modal-close:hover{background:rgba(255,255,255,.25)}
.disc-modal-body{padding:28px 32px;direction:rtl}
.disc-modal-body h3{font-family:'Scheherazade New',serif;font-size:18px;color:var(--brown);margin:22px 0 8px;padding-bottom:7px;border-bottom:1px solid var(--border)}
.disc-modal-body h3:first-child{margin-top:0}
.disc-modal-body p{font-size:15px;color:var(--text2);line-height:2.1;margin-bottom:12px}
.disc-footer-link{color:rgba(255,255,255,.5);font-size:13px;cursor:pointer;text-decoration:underline;background:none;border:none}
.disc-footer-link:hover{color:var(--gold-light)}

/* ══════════ FOOTER ══════════ */
footer.site-footer{background:var(--brown);border-top:2px solid var(--gold3);padding:44px 5vw 28px}
.footer-in{max-width:1100px;margin:0 auto}
.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:36px;margin-bottom:32px}
.fb .logo{font-family:'Scheherazade New',serif;font-size:24px;color:var(--gold-light);margin-bottom:10px;font-weight:700}
.fb .logo span{font-size:12px;display:block;color:rgba(255,255,255,.4);font-family:'Tajawal',sans-serif;letter-spacing:.1em;margin-top:2px}
.fb p{font-size:13px;color:rgba(255,255,255,.4);line-height:1.85}
.fc h4{font-family:'Scheherazade New',serif;font-size:17px;color:rgba(255,255,255,.7);margin-bottom:14px;font-weight:700}
.fc ul{display:flex;flex-direction:column;gap:8px}
.fc ul a{color:rgba(255,255,255,.38);font-size:13.5px;transition:color .18s}
.fc ul a:hover{color:var(--gold-light)}
.footer-bot{border-top:1px solid rgba(255,255,255,.08);padding-top:22px;display:flex;justify-content:center;align-items:center;gap:10px;font-size:12.5px;color:rgba(255,255,255,.28);flex-wrap:wrap}

/* ══════════ RESPONSIVE ══════════ */
@media(max-width:1024px){
  .quick-cards{grid-template-columns:repeat(3,1fr)}
  .footer-top{grid-template-columns:1fr 1fr}
  .countries{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:768px){
  .about-grid,.events-grid{grid-template-columns:1fr}
  .ev-videos{grid-template-columns:1fr}
  .stats-bar{grid-template-columns:repeat(2,1fr)}
  .stat-item{border-bottom:1px solid var(--border)}
  .footer-top{grid-template-columns:1fr}
  .topbar{display:none}
}
@media(max-width:640px){
  .nav-links{display:none;flex-direction:column;position:absolute;top:62px;right:0;left:0;background:var(--cream);padding:14px 5vw;border-bottom:2px solid var(--gold3);gap:3px;box-shadow:var(--sh-lg)}
  .nav-links.open{display:flex}
  .ham{display:flex}
  .quick-cards{grid-template-columns:repeat(2,1fr)}
  .countries{grid-template-columns:repeat(2,1fr)}
  .notables-grid,.ayaan-grid,.poets-grid{grid-template-columns:repeat(2,1fr)}
  section{padding:52px 4vw}
  .sugs{display:none}
  .bot-msgs{height:320px}
  .bot-fab{right:16px;bottom:16px}
}
@media(max-width:400px){
  .notables-grid,.ayaan-grid,.poets-grid{grid-template-columns:1fr}
}

/* ══════════ FADE ══════════ */
.fade{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
.fade.vis{opacity:1;transform:none}
