:root{--nsh-green:#04A063;--nsh-dark:#0B6B45;--nsh-navy:#111F28;--nsh-line:#e6eeea}
.nsh-wrap{max-width:1240px;margin:0 auto;padding:0 20px;display:flex;align-items:center}

/* ===== الشريط العلوي ===== */
.nsh-top{background:#0f1c25;color:#b7c7cf;font-size:.8rem}
.nsh-top .nsh-wrap{min-height:36px;justify-content:space-between;gap:16px}
.nsh-top a{color:#d6e2e8;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.nsh-top a:hover{color:#4fd69c}
.nsh-top-info{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.nsh-lang{border:1px solid #2f4452;border-radius:999px;padding:1px 14px;font-weight:700}

/* ===== الهيدر ===== */
header.nsh{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.97);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--nsh-line);transition:box-shadow .2s}
header.nsh.is-scrolled{box-shadow:0 8px 26px rgba(17,31,40,.09)}
header.nsh .nsh-wrap{min-height:78px;gap:22px;transition:min-height .2s}
header.nsh.is-scrolled .nsh-wrap{min-height:64px}
.nsh-logo img{height:48px;display:block;transition:height .2s}
header.nsh.is-scrolled .nsh-logo img{height:40px}
.nsh-nav{display:flex;align-items:center;gap:2px;margin-inline:auto}
.nsh-link{position:relative;display:inline-flex;align-items:center;gap:5px;padding:10px 13px;font:inherit;font-weight:600;font-size:.95rem;color:var(--nsh-navy);text-decoration:none;background:none;border:0;cursor:pointer}
.nsh-link::after{content:"";position:absolute;inset-inline:13px;bottom:3px;height:2.5px;border-radius:2px;background:var(--nsh-green);transform:scaleX(0);transition:transform .2s}
.nsh-link:hover,.nsh-link.active{color:var(--nsh-dark)}
.nsh-link:hover::after,.nsh-link.active::after{transform:scaleX(1)}
.nsh-dd{position:relative}
.nsh-dd svg.chev{width:14px;height:14px;transition:transform .2s}
.nsh-dd:hover svg.chev,.nsh-dd.open svg.chev{transform:rotate(180deg)}
.nsh-menu{position:absolute;top:calc(100% + 6px);inset-inline-start:0;min-width:210px;background:#fff;border:1px solid var(--nsh-line);border-radius:14px;box-shadow:0 18px 44px rgba(17,31,40,.15);padding:8px;opacity:0;visibility:hidden;transform:translateY(6px);transition:.15s;z-index:5}
.nsh-menu::before{content:"";position:absolute;top:-10px;left:0;right:0;height:10px}
.nsh-dd:hover .nsh-menu,.nsh-dd.open .nsh-menu,.nsh-dd:focus-within .nsh-menu{opacity:1;visibility:visible;transform:none}
.nsh-menu a,.nsh-menu button{display:block;width:100%;text-align:start;padding:10px 14px;border-radius:10px;font:inherit;font-weight:600;font-size:.92rem;color:var(--nsh-navy);text-decoration:none;background:none;border:0;cursor:pointer}
.nsh-menu a:hover,.nsh-menu button:hover,.nsh-menu a.active{background:#eef8f3;color:var(--nsh-dark)}
.nsh-user .nsh-menu{inset-inline-start:auto;inset-inline-end:0}
.nsh-actions{display:flex;align-items:center;gap:10px}
.nsh-cta{background:var(--nsh-dark);color:#fff;padding:10px 20px;border-radius:999px;font-weight:700;font-size:.92rem;text-decoration:none;white-space:nowrap;transition:.15s}
.nsh-cta:hover{background:var(--nsh-green);transform:translateY(-1px)}
.nsh-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#f2f8f5;color:var(--nsh-navy);transition:.15s}
.nsh-icon:hover{background:#e0f2e9;color:var(--nsh-dark)}
.nsh-badge{position:absolute;top:-3px;inset-inline-end:-3px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#d92d20;color:#fff;font-size:.72rem;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.nsh-ava{display:inline-flex;align-items:center;gap:8px;background:none;border:1.5px solid var(--nsh-line);border-radius:999px;padding:4px 12px 4px 5px;cursor:pointer;font:inherit;font-weight:600;color:var(--nsh-navy)}
.nsh-ava:hover{border-color:var(--nsh-green)}
.nsh-ava .pic{width:32px;height:32px;border-radius:50%;object-fit:cover;background:var(--nsh-green);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.nsh-login{font-weight:600;color:var(--nsh-navy);text-decoration:none;padding:8px 6px}
.nsh-signup{border:1.5px solid var(--nsh-dark);color:var(--nsh-dark);padding:8px 18px;border-radius:999px;font-weight:700;font-size:.92rem;text-decoration:none}
.nsh-signup:hover{background:var(--nsh-dark);color:#fff}
.nsh-burger{display:none;width:44px;height:44px;border:0;border-radius:50%;background:#f2f8f5;cursor:pointer;flex-direction:column;gap:5px;align-items:center;justify-content:center}
.nsh-burger span{width:20px;height:2.5px;background:var(--nsh-navy);border-radius:2px}

/* ===== القائمة الجانبية (موبايل) ===== */
.nsh-backdrop{position:fixed;inset:0;background:rgba(17,31,40,.55);opacity:0;visibility:hidden;transition:.25s;z-index:90}
.nsh-drawer{position:fixed;top:0;bottom:0;right:0;width:min(88%,360px);background:#fff;z-index:100;transform:translateX(100%);transition:transform .28s;display:flex;flex-direction:column;overflow-y:auto}
html[dir=ltr] .nsh-drawer{right:auto;left:0;transform:translateX(-100%)}
body.nsh-open .nsh-backdrop{opacity:1;visibility:visible}
body.nsh-open .nsh-drawer{transform:none}
body.nsh-open{overflow:hidden}
.nsh-d-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--nsh-line)}
.nsh-d-head img{height:38px}
.nsh-d-close{width:40px;height:40px;border:0;border-radius:50%;background:#f2f8f5;font-size:1.3rem;cursor:pointer}
.nsh-d-body{padding:10px 12px 24px;display:flex;flex-direction:column;gap:2px}
.nsh-d-body a{padding:13px 14px;border-radius:12px;font-weight:600;color:var(--nsh-navy);text-decoration:none}
.nsh-d-body a.active,.nsh-d-body a:hover{background:#eef8f3;color:var(--nsh-dark)}
.nsh-d-sep{height:1px;background:var(--nsh-line);margin:8px 6px}
.nsh-d-body .nsh-cta{text-align:center;margin:10px 4px 0;color:#fff}
.nsh-d-body .nsh-cta:hover{color:#fff}
.nsh-d-body form button{width:100%;text-align:start;padding:13px 14px;border:0;background:none;font:inherit;font-weight:600;color:#b42318;cursor:pointer;border-radius:12px}

@media(max-width:1180px){
  .nsh-nav,.nsh-actions .nsh-cta,.nsh-actions .nsh-user,.nsh-actions .nsh-login,.nsh-actions .nsh-signup{display:none}
  .nsh-burger{display:inline-flex}
  .nsh-actions{margin-inline-start:auto}
  .nsh-top{display:none}
  header.nsh .nsh-wrap{min-height:66px}
}

/* ===== الفوتر ===== */
.nsf{margin-top:64px;background:#0d1a22;color:#b3c4cc}
.nsf-cta{background:linear-gradient(120deg,#0B6B45,#04A063);color:#fff}
.nsf-cta .in{max-width:1240px;margin:0 auto;padding:34px 20px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.nsf-cta h3{margin:0 0 4px;font-size:1.4rem}
.nsf-cta p{margin:0;opacity:.92}
.nsf-cta .btns{display:flex;gap:12px;flex-wrap:wrap}
.nsf-btn{padding:12px 26px;border-radius:999px;font-weight:700;text-decoration:none;font-size:.95rem;border:2px solid #fff;transition:.15s}
.nsf-btn.solid{background:#fff;color:#0B6B45}
.nsf-btn.solid:hover{background:#eafff5}
.nsf-btn.ghost{color:#fff}
.nsf-btn.ghost:hover{background:rgba(255,255,255,.15)}
.nsf-main{max-width:1240px;margin:0 auto;padding:54px 20px 34px;display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr 1.3fr;gap:34px}
.nsf-brand img{height:50px;background:#fff;border-radius:12px;padding:7px 12px;display:block}
.nsf-brand p{margin:16px 0 18px;line-height:1.9;color:#94a9b3;font-size:.94rem}
.nsf-social{display:flex;gap:10px;flex-wrap:wrap}
.nsf-social a{width:40px;height:40px;border-radius:50%;border:1px solid #28404f;display:inline-flex;align-items:center;justify-content:center;color:#cfdde3;transition:.15s}
.nsf-social a:hover{background:var(--nsh-green);border-color:var(--nsh-green);color:#fff;transform:translateY(-2px)}
.nsf-social svg{width:18px;height:18px}
.nsf-col h4{margin:0 0 16px;color:#fff;font-size:1.02rem;position:relative;padding-bottom:10px}
.nsf-col h4::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:30px;height:2.5px;border-radius:2px;background:var(--nsh-green)}
.nsf-col a{display:block;padding:5px 0;color:#94a9b3;text-decoration:none;font-size:.94rem;transition:.15s}
.nsf-col a:hover{color:#4fd69c;padding-inline-start:5px}
.nsf-contact a{display:flex;align-items:center;gap:10px;direction:ltr;justify-content:flex-start}
html[dir=rtl] .nsf-contact a{direction:ltr;text-align:left}
.nsf-contact svg{width:18px;height:18px;flex:none;color:#4fd69c}
.nsf-bottom{border-top:1px solid #1d3140}
.nsf-bottom .in{max-width:1240px;margin:0 auto;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;font-size:.86rem;color:#7f95a0}
.nsf-pay{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nsf-pay span{border:1px solid #28404f;border-radius:8px;padding:3px 10px;font-size:.78rem;color:#b3c4cc;font-weight:600}
@media(max-width:1000px){.nsf-main{grid-template-columns:1fr 1fr 1fr}.nsf-brand{grid-column:1/-1}}
@media(max-width:620px){.nsf-main{grid-template-columns:1fr 1fr;padding-top:40px}.nsf-contact{grid-column:1/-1}.nsf-cta .btns{width:100%}.nsf-btn{flex:1;text-align:center}.nsf-bottom .in{flex-direction:column;text-align:center}}
