/* ═══════════════════════════════════════════════════
   home.css — نِبراس
   ═══════════════════════════════════════════════════ */

@font-face {
    font-family: 'AqmarArabic';
    src: url('../font/AqmarArabic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ── Variables ─────────────────────────────────── */
:root {
    --gd        : #1a3a2a;   /* green dark  */
    --gm        : #2d5a3d;   /* green mid   */
    --gold      : #c9962a;
    --gold-l    : #e8b84b;
    --gold-d    : #9a7020;
    --cream     : #faf6ef;
    --white     : #ffffff;
    --txt       : #1a1a1a;
    --txt-m     : #666;
    --red       : #c0392b;
    --radius    : 12px;
    --shadow    : 0 4px 24px rgba(0,0,0,.10);
    --shadow-g  : 0 4px 20px rgba(201,150,42,.25);
    --font-ar   : 'Cairo', sans-serif;
    --font-dis  : 'Amiri', serif;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-ar); background: var(--cream);
    color: var(--txt); direction: rtl; overflow-x: hidden; padding-top: 68px; }
a     { text-decoration: none; }
img   { display: block; max-width: 100%; }
ul    { list-style: none; }

/* ── Shared buttons ────────────────────────────── */
.zbtn {
    font-family : var(--font-ar);
    font-weight : 700;
    font-size   : .85rem;
    padding     : 7px 18px;
    border-radius: 8px;
    border      : none;
    cursor      : pointer;
    display     : inline-block;
    transition  : all .25s;
    white-space : nowrap;
    line-height : 1.4;
}
.zbtn--gold {
    background  : linear-gradient(135deg, var(--gold), var(--gold-d));
    color       : var(--white) !important;
    box-shadow  : var(--shadow-g);
}
.zbtn--gold:hover { filter: brightness(1.12); transform: translateY(-2px); }

.zbtn--outline {
    background  : transparent;
    border      : 2px solid var(--gold);
    color       : var(--gold) !important;
}
.zbtn--outline:hover { background: var(--gold); color: var(--white) !important; }

.zbtn--ghost {
    background  : rgba(255,255,255,.15);
    border      : 1px solid rgba(255,255,255,.5);
    color       : var(--white) !important;
}
.zbtn--ghost:hover { background: rgba(255,255,255,.28); }

.zbtn--sm { font-size: .78rem; padding: 5px 13px; }

/* ── Shared section helpers ────────────────────── */
.z-section-title {
    font-family : var(--font-dis);
    font-size   : clamp(1.7rem, 4vw, 2.6rem);
    font-weight : 700;
    color       : var(--gd);
}
.z-ornament {
    width  : 55px; height: 3px;
    background : linear-gradient(to left, var(--gold), var(--gold-l));
    border-radius: 2px;
    margin : .55rem 0 1.4rem;
}

/* ══════════════════════════════════════════════
   NAVBAR  .zn
══════════════════════════════════════════════ */
.zn {
    position    : absolute;
    top         : 0;
    left        : 0;
    right       : 0;
    z-index     : 300;
    background  : var(--white);
    border-bottom: 2px solid var(--gold);
    transition  : box-shadow .3s;
}
.zn.scrolled { box-shadow: 0 4px 22px rgba(0,0,0,.18); }

.zn__wrap {
    display     : flex;
    align-items : center;
    gap         : 10px;
    padding     : 5px 6px 5px 22px;
    /*max-width   : 1440px;*/
    margin      : 0 auto;
}

/* logo */
.zn__brand {
    position    : relative;
    flex-shrink : 0;
    width       : 100px;
    height      : 56px;
}
.zn__logo {
    height      : 140px;
    width       : 140px;
    object-fit  : cover;
    border-radius: 50%;
    position    : absolute;
    top         : -15px;
    right       : 0;
    background  : var(--white);
    z-index     : 10;
}

/* links */
.zn__links {
    display     : flex;
    align-items : center;
    gap         : 30px;
    flex-wrap   : wrap;
}
.zn__a {
    color       : var(--txt);
    font-size   : .95rem;
    font-weight : 600;
    padding     : 5px 9px;
    border-radius: 6px;
    transition  : .2s;
    white-space : nowrap;
    display     : inline-flex;
    align-items : center;
    gap         : 3px;
}
.zn__a:hover {
    color       : var(--gd);
    background  : rgba(26,58,42,.08);
}
.zn__a.active {
    color       : var(--gold);
    background  : rgba(201,150,42,.08);
}
.zn__chevron {
    font-size   : .65rem;
    transition  : transform .25s;
}

/* dropdown */
.zn__drop { position: relative; }
.zn__drop:hover .zn__chevron { transform: rotate(180deg); }
.zn__sub {
    display     : none;
    position    : absolute;
    top         : 100%;
    right       : 0;
    min-width   : 190px;
    background  : var(--white);
    border      : 1px solid var(--gold);
    border-radius: 10px;
    padding     : 12px 0 6px;
    box-shadow  : 0 8px 28px rgba(0,0,0,.12);
    z-index     : 10;
}
.zn__drop:hover .zn__sub { display: block; }
.zn__sub a {
    display     : block;
    padding     : 8px 16px;
    color       : var(--txt);
    font-size   : .82rem;
    font-family : var(--font-ar);
    transition  : .2s;
}
.zn__sub a:hover { color: var(--gd); background: rgba(26,58,42,.06); }

/* auth */
.zn__auth { display: flex; gap: 8px; flex-shrink: 0; margin-inline-start: auto; }

/* burger */
.zn__burger {
    display     : none;
    flex-direction: column;
    gap         : 5px;
    background  : none;
    border      : none;
    cursor      : pointer;
    padding     : 4px;
    margin-right: auto;
}
.zn__burger span {
    display     : block;
    width       : 24px; height: 2px;
    background  : var(--gd);
    border-radius: 2px;
    transition  : .3s;
}
.zn__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.zn__burger.open span:nth-child(2) { opacity: 0; }
.zn__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════
   HERO  .zh
══════════════════════════════════════════════ */
.zh {
    position    : relative;
    height      : 420px;
    overflow    : hidden;
    display     : flex;
    align-items : flex-end;
    direction   : rtl;
}

/* background with ken-burns */
.zh__bg {
    position    : absolute;
    inset       : 0;
    background-size: cover;
    background-position: center;
    animation   : kenBurns 14s ease-in-out infinite alternate;
}
@keyframes kenBurns {
    from { transform: scale(1); }
    to   { transform: scale(1.07); }
}

.zh__overlay {
    position    : absolute;
    inset       : 0;
    background  : linear-gradient(to bottom,
    rgba(0,0,0,.20) 0%,
    rgba(0,0,0,.60) 100%);
    z-index     : 1;
}

/* "ثقافتنا هويتنا" */
.zh__tagline {
    position    : absolute;
    top         : 50%;
    right       : 52px;
    transform   : translateY(-50%);
    font-family : var(--font-dis);
    font-size   : 10rem;
    color       : var(--white);
    text-shadow : 0 2px 14px rgba(0,0,0,.65);
    z-index     : 2;
    animation   : tagSlide .9s ease both;
}
@keyframes tagSlide {
    from { opacity:0; transform: translateY(-50%) translateX(20px); }
    to   { opacity:1; transform: translateY(-50%) translateX(0); }
}

/* bottom bar */
.zh__bottom {
    position    : absolute;
    bottom      : 0;
    left        : 0;
    z-index     : 2;
    display     : inline-flex;
    align-items : center;
    gap         : 100px;
    padding     : 52px 40px 14px;
    background  : var(--white);
    border-radius: 50% 50% 0 0 / 100px 100px 0 0;
    min-width   : 320px;
    justify-content: center;
}
.zh__bottom .zbtn--ghost {
    background  : transparent;
    border      : none;
    color       : var(--txt) !important;
    font-size   : 1.1rem;
    font-weight : 700;
    padding     : 0;
    box-shadow  : none;
}
.zh__bottom .zbtn--ghost:hover { color: var(--gd) !important; background: transparent; }
.zh__bottom .zbtn--gold {
    background  : transparent;
    border      : none;
    box-shadow  : none;
    color       : var(--gold-d) !important;
    font-size   : 1.1rem;
    font-weight : 700;
    padding     : 0;
}
.zh__bottom .zbtn--gold:hover { color: var(--gd) !important; filter: none; transform: none; }

/* separator */
.zh__sep {
    width               : 30px;
    height              : 80px;
    position            : absolute;
    left                : 50%;
    transform           : translateX(-50%);
    bottom              : 0;
    background-image    : url('../img/separ.png');
    background-size     : contain;
    background-repeat   : no-repeat;
    background-position : center;
    pointer-events      : none;
}


/* title block */
.zh__title {
    background  : var(--white);
    padding     : 26px 32px 22px;
    text-align  : center;
    border-bottom: 3px solid #f0ebe0;
    overflow    : hidden;
}
.zh__title-main {
    font-family: var(--font-dis);
    font-size: 13.5vw;
    color: var(--txt);
    line-height: 1;
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow-wrap: break-word;
}
.zh__title-branch {
    font-family : var(--font-ar);
    font-size   : clamp(2.4rem, 5vw, 5.4rem);
    font-weight : 700;
    color       : var(--gold);
    margin-top    : 70px;
    margin-bottom : 12px;
    text-align    : center;
}

/* ══════════════════════════════════════════════
   ABOUT  .za
══════════════════════════════════════════════ */
.za {
    background      : var(--white);
    /*background-image: url('../img/me-removebg-preview.png');*/
    background-repeat   : no-repeat;
    background-position : left center;
    background-size     : auto 100%;
    padding         : 64px 0 48px;
}
.za__container {
    max-width   : 1200px;
    margin      : 0 auto;
    padding     : 0 24px;
    display     : grid;
    grid-template-columns: 1fr 1fr;
    gap         : 48px;
    align-items : center;
}
.za__desc {
    font-size   : 1.02rem;
    line-height : 2.1;
    color       : var(--txt-m);
    margin-bottom: 1.4rem;
}

/* video card */
.za__video-card {
    position    : relative;
    border-radius: var(--radius);
    overflow    : hidden;
    box-shadow  : 0 16px 48px rgba(0,0,0,.14);
}
.za__thumb {
    width       : 100%;
    height      : 270px;
    object-fit  : cover;
}
.za__play {
    position    : absolute;
    top         : 50%; left: 50%;
    transform   : translate(-50%,-50%);
    width       : 62px; height: 62px;
    background  : var(--gold);
    border-radius: 50%;
    display     : flex;
    align-items : center;
    justify-content: center;
    color       : var(--white);
    font-size   : 1.5rem;
    box-shadow  : 0 0 0 8px rgba(201,150,42,.28);
    transition  : .3s;
}
.za__play:hover {
    background  : var(--gold-l);
    transform   : translate(-50%,-50%) scale(1.1);
}
.za__video-label {
    position    : absolute;
    bottom      : 0; left: 0; right: 0;
    background  : linear-gradient(to top, rgba(0,0,0,.8), transparent);
    color       : var(--white);
    font-size   : .88rem;
    font-weight : 600;
    padding     : 2rem 1rem .8rem;
}

/* disciplines bar */
.za__discs {
    max-width   : 1200px;
    margin      : 40px auto 0;
    padding     : 28px 24px 40px;
    border-top  : 1px solid rgba(201,150,42,.2);
    display     : flex;
    flex-wrap   : wrap;
    gap         : 58px;
    justify-content: center;
}
.za__disc {
    display     : flex;
    align-items : center;
    gap         : 8px;
    padding     : 8px 18px;
    border-radius: 8px;
    border      : 1px solid rgba(201,150,42,.2);
    background  : var(--cream);
    cursor      : pointer;
    transition  : .3s;
}
.za__disc:hover {
    border-color: var(--dc);
    background  : var(--white);
    box-shadow  : 0 4px 14px rgba(0,0,0,.07);
    transform   : translateY(-3px);
}
.za__disc-dot {
    width       : 10px; height: 10px;
    border-radius: 50%;
    background  : var(--dc);
    flex-shrink : 0;
}
.za__disc-img {
    width               : 24px;
    height              : 24px;
    flex-shrink         : 0;
    background-color    : var(--dc);
    -webkit-mask        : url('../img/bts-bg.png') no-repeat center / contain;
    mask                : url('../img/bts-bg.png') no-repeat center / contain;
}
.za__disc-lbl {
    font-size   : .88rem;
    font-weight : 700;
    color       : var(--gd);
}

/* ══════════════════════════════════════════════
   NEWS  .zn2
══════════════════════════════════════════════ */
.zn2 {
    background  : var(--cream);
    padding     : 64px 0;
}
.zn2__container {
    max-width   : 1200px;
    margin      : 0 auto;
    padding     : 0 24px;
}
.zn2__header {
    display     : flex;
    align-items : center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap   : wrap;
    gap         : 12px;
}
.zn2__label {
    font-family : var(--font-dis);
    font-size   : 2.2rem;
    font-weight : 700;
    color       : var(--txt);
}
.zn2__carousel {
    display     : flex;
    align-items : center;
    gap         : 12px;
}
.zn2__viewport {
    overflow    : hidden;
    flex        : 1;
}
.zn2__track {
    display     : flex;
    gap         : 24px;
    transition  : transform .4s ease;
}
.zn2__track .zn2__card {
    flex        : 0 0 calc((100% - 48px) / 3);
}
.zn2__nav {
    flex-shrink : 0;
    width       : 42px;
    height      : 42px;
    border-radius: 50%;
    border      : 2px solid var(--gold);
    background  : var(--white);
    color       : var(--gold-d);
    font-size   : 1.1rem;
    cursor      : pointer;
    display     : flex;
    align-items : center;
    justify-content: center;
    transition  : .2s;
}
.zn2__nav:hover    { background: var(--gold); color: var(--white); }
.zn2__nav:disabled { opacity: .35; cursor: default; }
.zn2__card {
    background  : var(--white);
    border-radius: var(--radius);
    overflow    : hidden;
    box-shadow  : var(--shadow);
    border      : 1px solid rgba(0,0,0,.05);
    transition  : .35s;
}
.zn2__card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.zn2__imgs {
    grid-template-columns: 60% 40%;
    height      : 180px;
}
.zn2__img-a, .zn2__img-b {
    width       : 100%;
    height      : 100%;
    object-fit  : cover;
}
.zn2__img-b { border-right: 2px solid var(--white); }
.zn2__body  { padding: 16px; }
.zn2__tag   { font-size: .74rem; color: var(--gold-d); font-weight: 700; }
.zn2__text  {
    font-size   : .88rem;
    line-height : 1.85;
    color       : var(--txt-m);
    margin      : 8px 0 10px;
    display     : -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow    : hidden;
}
.zn2__more  {
    color       : var(--gm);
    font-size   : .85rem;
    font-weight : 700;
    display     : inline-flex;
    align-items : center;
    gap         : 4px;
    transition  : .2s;
}
.zn2__more:hover { color: var(--gold-d); gap: 8px; }
.zn2__title-bold {
    font-size   : .92rem;
    font-weight : 700;
    color       : var(--gold-d);
    margin      : 6px 0 4px;
    line-height : 1.5;
}


/* ══════════════════════════════════════════════
   HADITH  .zhd
══════════════════════════════════════════════ */
.zhd {
    background  : #ece8dd;
    padding     : 56px 24px;
    text-align  : center;
    position    : relative;
    overflow    : hidden;
}
.zhd::before {
    content     : '';
    position    : absolute; inset: 0;
    background  : radial-gradient(circle at 20% 50%, rgba(201,150,42,.07) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(201,150,42,.07) 0%, transparent 60%);
}
.zhd__card {
    position    : relative;
    z-index     : 1;
    max-width   : 760px;
    margin      : 0 auto;
}
.zhd__pre  { font-size: .95rem; color: var(--black-l); font-weight:600; margin-bottom:.8rem; opacity:.85; }
.zhd__text {
    font-family : var(--font-dis);
    font-size   : clamp(1.3rem, 3.5vw, 1.9rem);
    color       : #c1a15f;
    line-height : 2;
    font-style  : normal;
    border-right: 4px solid var(--gold);
    padding-right: 1.4rem;
    text-align  : right;
    margin-bottom: .8rem;
}
.zhd__source { font-size: .88rem; color: var(--black-l); opacity: .7; }

/* ══════════════════════════════════════════════
   ISSUES  .zi
══════════════════════════════════════════════ */
.zi { background: var(--white); padding: 20px 0; }
.zi__container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.zi__sep { border: none; border-top: 2px solid #000; margin: 12px 0; }
.zi__header {
    display     : flex;
    align-items : center;
    justify-content: space-between;
    flex-wrap   : wrap;
    gap         : 12px;
}
.zi__layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; }

/* featured */
.zi__featured {
    background  : var(--cream);
    border-radius: var(--radius);
    overflow    : hidden;
    border      : 1px solid rgba(201,150,42,.2);
    display     : flex;
    flex-direction: column;
    position    : relative;
}
.zi__badge {
    position    : absolute;
    top         : 12px; right: 12px;
    background  : var(--gold);
    color       : var(--white);
    font-size   : .72rem;
    font-weight : 700;
    padding     : 3px 10px;
    border-radius: 20px;
    z-index     : 2;
}
.zi__feat-img {
    width       : 100%;
    height      : 200px;
    object-fit  : cover;
}
.zi__feat-body { padding: 20px; flex: 1; }
.zi__feat-title {
    font-family : var(--font-dis);
    font-size   : 1.35rem;
    font-weight : 700;
    color       : var(--gd);
    margin-bottom: 4px;
}
.zi__feat-author { font-size: .82rem; color: var(--gold-d); font-weight:600; margin-bottom:.8rem; }
.zi__feat-text {
    font-size   : .88rem;
    color       : var(--txt-m);
    line-height : 1.85;
    display     : -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow    : hidden;
    margin-bottom: 1rem;
}

/* cards grid */
.zi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.zi__card {
    position    : relative;
    border-radius: var(--radius);
    overflow    : hidden;
    height      : 175px;
    display     : block;
}
.zi__card-img {
    width       : 100%;
    height      : 100%;
    object-fit  : cover;
    transition  : transform .4s;
}
.zi__card:hover .zi__card-img { transform: scale(1.06); }
.zi__card-over {
    position    : absolute; inset: 0;
    background  : linear-gradient(to top, rgba(26,58,42,.9) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
    display     : flex;
    align-items : flex-end;
    padding     : .9rem;
    transition  : .3s;
}
.zi__card:hover .zi__card-over { background: linear-gradient(to top, rgba(26,58,42,.95) 0%, rgba(26,58,42,.55) 100%); }
.zi__card-title { color: var(--white); font-size: .8rem; font-weight:600; line-height:1.5; margin:0; }
.zi__cat-tag {
    display     : inline-block;
    padding     : 2px 8px;
    border-radius: 12px;
    font-size   : .7rem;
    font-weight : 700;
    background  : var(--gold);
    color       : var(--white);
    margin-bottom: 4px;
}

/* ══════════════════════════════════════════════
   STATS  .zs
══════════════════════════════════════════════ */
.zs { background: var(--white); padding: 0; }
.zs__container {
    display         : flex;
    flex-direction  : row;
    align-items     : stretch;
    min-height      : 520px;
}
.zs__stats {
    flex            : 1;
    order           : 1;
    padding         : 56px 48px;
    display         : flex;
    flex-direction  : column;
    justify-content : center;
    align-items     : center;
    text-align      : center;
    direction       : rtl;
}
.zs__door {
    flex            : 1;
    order           : 2;
    overflow        : hidden;
    display         : flex;
}
.zs__door-img {
    width       : 100%;
    height      : 100%;
    object-fit  : cover;
    display     : block;
    border-radius: 0;
    box-shadow  : none;
}
.zs__list {
    display         : flex;
    flex-direction  : column;
    gap             : 24px;
    margin-top      : 8px;
}
.zs__item {
    display         : flex;
    flex-direction  : column;
    align-items     : flex-start;
    gap             : 2px;
    background      : none;
    border          : none;
    padding         : 0;
    box-shadow      : none;
    border-radius   : 0;
}
.zs__icon {
    background      : none;
    width           : auto;
    height          : auto;
    border-radius   : 0;
    color           : #2980b9;
    font-size       : 1.8rem;
}
.zs__num {
    font-family     : var(--font-dis);
    font-size       : 2.2rem;
    font-weight     : 700;
    color           : var(--txt);
    line-height     : 1.1;
}
.zs__lbl { font-size: .88rem; color: var(--txt-m); font-weight: 600; }

/* ══════════════════════════════════════════════
   FAQ  .zf
══════════════════════════════════════════════ */
.zf { background: var(--white); padding: 64px 0; }
.zf__container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.zf__header {
    display     : flex;
    align-items : center;
    gap         : 12px;
    margin-bottom: 32px;
}
.zf__icon { font-size: 1.8rem; color: var(--gold); }
.zf__list { display: flex; flex-direction: column; gap: 10px; }
.zf__item { border: 1px solid rgba(201,150,42,.22); border-radius: var(--radius); overflow: hidden; }
.zf__q {
    width       : 100%;
    display     : flex;
    align-items : center;
    gap         : 10px;
    padding     : 14px 18px;
    background  : transparent;
    border      : none;
    font-family : var(--font-ar);
    font-size   : .97rem;
    font-weight : 600;
    color       : var(--txt);
    cursor      : pointer;
    text-align  : right;
    direction   : rtl;
    transition  : background .2s;
}
.zf__q:hover  { background: rgba(201,150,42,.06); }
.zf__q--open  { background: rgba(26,58,42,.05); color: var(--gd); }
.zf__q-icon   { color: var(--gold); font-size: 1.1rem; flex-shrink:0; }
.zf__q-chev   { margin-right: auto; margin-left: 0; font-size: .75rem; transition: transform .25s; }
.zf__q--open .zf__q-chev { transform: rotate(180deg); }
.zf__a {
    max-height  : 0;
    overflow    : hidden;
    transition  : max-height .35s ease, padding .25s;
    font-size   : .92rem;
    color       : var(--txt-m);
    line-height : 1.9;
    padding     : 0 18px;
    border-top  : 0 solid rgba(201,150,42,.15);
    direction   : rtl;
}
.zf__a--open {
    max-height  : 260px;
    padding     : 12px 18px 16px;
    border-top-width: 1px;
}
.zf__more {
    display     : inline-flex;
    align-items : center;
    gap         : 5px;
    margin-top  : 6px;
    font-size   : .83rem;
    font-weight : 700;
    color       : var(--gm);
    text-decoration: none;
    transition  : gap .2s, color .2s;
}
.zf__more:hover { color: var(--gold-d); gap: 9px; }

/* ══════════════════════════════════════════════
   MAP  .zm
══════════════════════════════════════════════ */
.zm { position: relative; }
.zm__map iframe { display: block; }
.zm__info {
    background  : var(--white);
    padding     : 28px 32px;
    border-top  : 4px solid var(--gold);
    max-width   : 1200px;
    margin      : 0 auto;
}
.zm__title {
    font-family : var(--font-dis);
    font-size   : 1.4rem;
    color       : var(--gd);
    margin-bottom: 12px;
}
.zm__info p { font-size: .9rem; color: var(--txt-m); margin-bottom: 6px; }
.zm__info i  { color: var(--gold); margin-left: 6px; }

/* ══════════════════════════════════════════════
   FOOTER  .zfoot
══════════════════════════════════════════════ */
.zfoot {
    background  : #ece8dd;
    border-top  : 3px solid var(--gold);
    padding-top : 48px;
}
.zfoot__inner {
    max-width   : 1200px;
    margin      : 0 auto;
    padding     : 0 24px 40px;
    display     : grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap         : 40px;
}
.zfoot__logos { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.zfoot__logo  { height: 140px; width: 90px; border-radius: 50%; }
.zfoot__brand h5 { color: var(--black); font-family: var(--font-dis); font-size:1.15rem; margin-bottom:4px; }
.zfoot__brand p  { color: var(--gold-l); font-size: .88rem; opacity: .8; }

.zfoot__links h6, .zfoot__social h6 {
    color       : var(--gold-l);
    font-size   : .95rem;
    font-weight : 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(201,150,42,.25);
}
.zfoot__links li { margin-bottom: 7px; }
.zfoot__links a  { color: #000; font-size: .88rem; transition:.2s; }
.zfoot__links a:hover { color: var(--gold-l); }

.zfoot__icons { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.zfoot__icon {
    width       : 38px; height: 38px;
    border-radius: 50%;
    border      : 1px solid rgba(201,150,42,.4);
    display     : flex;
    align-items : center;
    justify-content: center;
    color       : #000;
    font-size   : .95rem;
    transition  : .3s;
}
.zfoot__icon:hover { background: var(--gold); border-color: var(--gold); color: var(--white); transform: translateY(-3px); }
.zfoot__email { font-size: .85rem; color: var(--txt-m); }
.zfoot__email i { color: var(--gold); margin-left: 5px; }

.zfoot__bar {
    text-align  : center;
    padding     : 14px 24px;
    border-top  : 1px solid rgba(201,150,42,.18);
    font-size   : .8rem;
    color       : rgba(255,255,255,.4);
}

/* ══════════════════════════════════════════════
   SCROLL REVEAL  (JS adds .z-revealed)
══════════════════════════════════════════════ */
.z-reveal {
    opacity     : 0;
    transform   : translateY(28px);
    transition  : opacity .55s ease, transform .55s ease;
}
.z-reveal.z-revealed { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 992px) {
    .za__container  { grid-template-columns: 1fr; }
    .za             {
        background-image   : url('../img/me-removebg-preview-responsive.png'), url('../img/about-removebg-preview.png');
        background-repeat  : no-repeat, no-repeat;
        background-position: left top, center bottom;
        background-size    : auto 10%, auto;
    }
    .za__discs      { gap: 10px; }
    .zn2__track .zn2__card { flex: 0 0 calc((100% - 24px) / 2); }
    .zi__layout     { grid-template-columns: 1fr; }
    .zfoot__inner   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* navbar mobile */
    .zn__burger { display: flex; }
    .zs__container  { flex-direction: column; }
    .zs__door       { order: 1; min-height: 280px; }
    .zs__stats      { order: 2; padding: 36px 24px; }
    .zn__links  {
        display     : none;
        flex-direction: column;
        align-items : flex-end;
        position    : absolute;
        top         : 100%; right: 0; left: 0;
        background  : var(--white);
        padding     : 12px 20px 18px;
        border-bottom: 2px solid var(--gold);
        box-shadow  : 0 8px 24px rgba(0,0,0,.1);
        z-index     : 200;
    }
    .zn__links.open   { display: flex; }
    .zn__auth         { display: none; }
    .zn__auth.open    { display: flex; }
    .zn__wrap         { flex-wrap: wrap; position: relative; }
    .zn__drop:hover .zn__sub { display: none; }
    .zn__drop.open .zn__sub  { display: block; position: static; right: auto; min-width: 0; width: 100%; border: none; padding: 4px 0 4px 16px; box-shadow: none; background: var(--cream); }

    .zh { height: 300px; }
    .zh__tagline { right: 20px; font-size: 1.4rem; }
    .zh__title { padding: 18px 20px 14px 0; }

    .zh__bottom {
        gap             : 50px;
        padding         : 36px 24px 10px;
        border-radius   : 50% 50% 0 0 / 40px 40px 0 0;
        min-width       : 240px;
    }
    .zh__bottom .zbtn--ghost,
    .zh__bottom .zbtn--gold { font-size: .95rem; }
    .zh__sep { width: 24px; height: 64px; left: 47%; }
    .zh__title-branch { margin-top: 25px; }

    .zn2__track .zn2__card { flex: 0 0 100%; }
    .zi__grid  { grid-template-columns: 1fr; }
    .zfoot__inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .zn2__track .zn2__card { flex: 0 0 100%; }
    .zn2__nav   { width: 32px; height: 32px; font-size: .9rem; }
    .zn2__imgs  { grid-template-columns: 1fr; }
    .zn2__img-b { display: none; }
    .zhd__text  { font-size: 1.2rem; }

    .zh__bottom {
        gap             : 30px;
        padding         : 28px 16px 8px;
        border-radius   : 50% 50% 0 0 / 30px 30px 0 0;
        min-width       : 0;
        width           : 100%;
    }
    .zh__bottom .zbtn--ghost,
    .zh__bottom .zbtn--gold { font-size: .82rem; }
    .zh__sep { width: 20px; height: 50px; left: 47%; }
    .zh__title-branch { margin-top: 25px; }
}
/* ── كتب ── */
.zkb { background: #f8fafc; padding: 60px 0; }
.zkb__container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.zkb__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }

/* ── فضاء إفادة ── */
.zif { background: var(--white); padding: 60px 0; }
.zif__container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.zif__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
