/* ضيف الأسبوع — الهوية مأخوذة من ملف الشراكات والرعايات */

:root {
  --teal: #24363A;
  --teal-2: #2C4247;
  --teal-deep: #1A282B;
  --paper: #FCFBF8;
  --white: #FFFFFF;
  --cream: #F4F0E8;
  --cream-2: #ECE5D8;
  --ink: #14161B;
  --ink-2: #3A3E46;
  --muted: #6A6D75;
  --bronze: #7A5829;
  --bronze-2: #A47B3F;
  --sand: #D9BC8C;
  --sand-2: #E8D5B2;
  --line: #ECE6DA;
  --line-strong: #DED5C5;
  --on-dark: #E7ECEA;
  --on-dark-2: rgba(231, 236, 234, .72);
  --line-dark: rgba(255, 255, 255, .13);

  --font-display: 'Baloo Bhaijaan 2', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 20px;
  --shadow: 0 1px 2px rgba(20, 22, 27, .04), 0 18px 40px -18px rgba(20, 22, 27, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- الأساس ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}
p { margin: 0; }
figure { margin: 0; }
small { font-size: .7em; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--bronze-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--bronze);
}

.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.85; color: var(--ink-2); max-width: 62ch; }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1.2 var(--font-body);
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sand { background: var(--sand); color: var(--teal-deep); }
.btn-sand:hover { background: var(--sand-2); }
.btn-line-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-line-light:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2A2E37; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-wa { background: #17784A; color: #fff; }
.btn-wa:hover { background: #12663E; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: var(--white); color: var(--ink);
  font: 500 14px/1 var(--font-mono);
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip svg { width: 15px; height: 15px; flex: none; }
a.chip:hover { border-color: var(--ink); }
.chip-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
a.chip-ink:hover { background: #2A2E37; }
.chip-plain { background: transparent; font-family: var(--font-body); font-weight: 600; color: var(--ink-2); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- الهيدر ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.site-header.is-solid,
.site-header.menu-open {
  background: rgba(252, 251, 248, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.site-header.menu-open { background: var(--paper); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 54px; height: 54px; flex: none; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 6px 16px -6px rgba(0, 0, 0, .45);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.04); }
.is-solid .brand-logo, .menu-open .brand-logo { box-shadow: 0 4px 12px -6px rgba(20, 22, 27, .4); }
.brand-handle { font: 600 11px/1 var(--font-mono); letter-spacing: .14em; opacity: .6; }
.brand-lg .brand-logo { width: 84px; height: 84px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; font-size: 15.5px; opacity: .82; transition: opacity .2s; position: relative; }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:not(.nav-cta).is-active::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; border-radius: 2px; background: currentColor;
}
.nav .nav-cta {
  opacity: 1; padding: 10px 20px; border-radius: 999px;
  background: var(--sand); color: var(--teal-deep); font-weight: 600;
  transition: background-color .2s;
}
.is-solid .nav .nav-cta { background: var(--ink); color: #fff; }

.menu-btn {
  display: none;
  width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid currentColor;
  background: transparent; place-items: center; cursor: pointer; opacity: .9;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .ic-close { display: none; }
.menu-open .menu-btn .ic-open { display: none; }
.menu-open .menu-btn .ic-close { display: block; }

@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; top: var(--header-h); inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 24px;
    background: var(--paper); color: var(--ink);
    box-shadow: 0 24px 40px -20px rgba(20, 22, 27, .25);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav a { padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 18px; opacity: 1; }
  .nav a:not(.nav-cta).is-active::after { display: none; }
  .nav .nav-cta, .is-solid .nav .nav-cta { margin-top: 18px; text-align: center; border: 0; background: var(--ink); color: #fff; padding: 15px; }
}

/* ---------- الواجهة ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 560px at 92% -12%, rgba(217, 188, 140, .16), transparent 62%),
    radial-gradient(760px 520px at -8% 108%, rgba(255, 255, 255, .06), transparent 60%),
    var(--teal);
  color: var(--on-dark);
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 6vw, 72px); align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--sand-2); font-size: 14.5px; font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 0 rgba(217, 188, 140, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 188, 140, .55); } 70% { box-shadow: 0 0 0 10px rgba(217, 188, 140, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 188, 140, 0); } }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(3.5rem, 9vw, 7.6rem);
  line-height: .98;
  color: #FBF7EF;
}
.hero-lead { margin-top: 22px; font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.85; color: var(--on-dark-2); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-media { position: relative; padding-bottom: 36px; }
.hero-main { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--teal-2); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.onair {
  position: absolute; top: 16px; inset-inline-start: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(20, 22, 27, .62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: 13.5px; font-weight: 600;
}
.onair i { width: 8px; height: 8px; border-radius: 50%; background: #FF5B4F; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero-float {
  position: absolute; bottom: 0; inset-inline-end: -18px;
  width: 46%; border-radius: 18px; overflow: hidden;
  border: 6px solid var(--teal);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55);
  background: var(--teal-2);
}
.hero-float img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.hero-float figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 28px 12px 9px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
  color: #fff; font-size: 12.5px; font-weight: 500;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: clamp(48px, 7vw, 80px) 0 0;
  border-top: 1px solid var(--line-dark);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 28px 24px 34px; border-inline-start: 1px solid var(--line-dark); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; color: #FBF7EF; }
.stat dd small { font-size: .55em; color: var(--sand); margin-inline-start: 2px; }
.stat dt { margin-top: 6px; font-size: 14.5px; color: var(--on-dark-2); }

/* ---------- الأقسام ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-cream { background: var(--cream); }
.section-tint { border-top: 1px solid var(--line); }
.section-dark { background: var(--teal); color: var(--on-dark-2); }
.section-dark h2, .section-dark h3 { color: #FBF7EF; }
.section-dark .lead { color: var(--on-dark-2); }
.section-dark .kicker { color: var(--sand); }

.sec-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 3px solid var(--ink);
}
.sec-top .idx { font: 600 13px/1 var(--font-mono); color: var(--muted); }
.section-dark .sec-top { border-color: var(--on-dark); }
.section-dark .sec-top .idx { color: var(--on-dark-2); }

h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2.display, .display { font-size: clamp(3rem, 8vw, 6rem); line-height: 1.02; }
.sec-intro { margin-bottom: clamp(32px, 5vw, 52px); }
.sec-intro .lead { margin-top: 14px; }

/* ---------- البرنامج ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-copy .lead { margin-top: 18px; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line-strong); }
.steps li:last-child { border-bottom: 1px solid var(--line-strong); }
.step-n { font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; color: var(--bronze); }
.steps h3 { font-size: 23px; }
.steps p { margin-top: 6px; color: var(--muted); }
.about-photo { position: sticky; top: calc(var(--header-h) + 24px); }
.about-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.about-photo figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- البلاطات والصور ---------- */
.tile {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  background: var(--cream-2); cursor: zoom-in;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile-cap {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 40px 16px 13px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .68));
  color: #fff; font-size: 14px; font-weight: 500; line-height: 1.5; text-align: right;
}
.tile-zoom {
  position: absolute; top: 12px; inset-inline-end: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(20, 22, 27, .55); color: #fff;
  opacity: 0; transform: scale(.9); transition: opacity .25s, transform .25s;
}
.tile-zoom svg { width: 16px; height: 16px; }
.tile:hover .tile-zoom, .tile:focus-visible .tile-zoom { opacity: 1; transform: none; }
@media (hover: none) { .tile-zoom { opacity: .9; transform: none; } }

/* ---------- الحلقة الأولى ---------- */
.ep-head { margin-bottom: clamp(36px, 5vw, 56px); }
.ep-head .lead { margin-top: 16px; }

.guest { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mosaic .tile { aspect-ratio: 4 / 5; }
.mosaic .tile-wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

.person-name { margin-top: 6px; font-size: clamp(2.4rem, 4.6vw, 3.5rem); line-height: 1.05; }
.person-role { margin-top: 8px; font-size: 15px; color: var(--muted); }
.guest-info > p:not(.person-role) { margin-top: 18px; }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 0; }
.mini-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 16px 18px; border-radius: 14px; background: var(--white); }
.mini-stats dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; color: var(--ink); }
.mini-stats dd small { font-size: .6em; color: var(--bronze); }
.mini-stats dt { font-size: 13.5px; color: var(--muted); }

.axes { margin-top: clamp(64px, 9vw, 104px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.axes-head { position: sticky; top: calc(var(--header-h) + 24px); }
.axes-head h3 { margin-top: 6px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.axes-head p { margin-top: 12px; color: var(--muted); }
.axes-list { list-style: none; margin: 0; padding: 0; }
.axes-list li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line-strong); }
.axes-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.ax-n { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.2; color: var(--bronze); }
.axes-list h4 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
.axes-list p { margin-top: 4px; font-size: 15.5px; color: var(--muted); }

.ep-cta {
  margin-top: clamp(40px, 6vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
}
.ep-cta b { color: var(--ink); }

/* ---------- الفريق ---------- */
.founder {
  display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(24px, 5vw, 56px);
  padding: clamp(16px, 2.6vw, 28px);
  border: 1px solid var(--line); border-radius: 26px; background: var(--white);
}
.founder-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: var(--cream); }
.founder-body { padding-block: 8px; }
.founder-body > p:not(.person-role) { margin-top: 18px; max-width: 58ch; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; }
.tags li { padding: 5px 12px; border-radius: 8px; background: var(--cream); color: var(--ink); font-size: 13.5px; font-weight: 600; }
.founder-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.founder-gallery .tile { aspect-ratio: 4 / 3; }
.founder-gallery .tile img { object-position: 50% 30%; }

.members { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.member { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 26px; background: var(--white); overflow: hidden; }
.member-cover { display: grid; gap: 8px; padding: 12px; }
.member-cover > .tile { aspect-ratio: 16 / 9; }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.thumbs .tile, .thumb-logo { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.thumb-logo { background: #F2F2F2; display: grid; place-items: center; }
.thumb-logo img { width: 100%; height: 100%; object-fit: contain; }
.member-body { padding: 14px clamp(18px, 2.6vw, 28px) 28px; display: flex; flex-direction: column; flex: 1; }
.member-name { margin-top: 4px; font-size: clamp(1.9rem, 3vw, 2.4rem); }
.member-body > p:not(.person-role) { margin-top: 14px; font-size: 16px; }
.wins { list-style: none; margin: 20px 0 0; padding: 0; }
.wins li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.wins b { display: inline-block; min-width: 104px; margin-inline-end: 6px; font-family: var(--font-display); font-weight: 700; color: var(--bronze); }
.member .socials { margin-top: auto; padding-top: 22px; }

/* ---------- الشركاء ---------- */
.partner {
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 4vw, 40px); align-items: center;
  padding: clamp(18px, 3vw, 32px); border-radius: 26px; background: var(--cream);
}
.partner-logo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.partner-name { margin-top: 4px; font-size: clamp(2.3rem, 4.4vw, 3.2rem); }
.partner p:not(.person-role) { margin-top: 12px; max-width: 60ch; }

.stage { position: relative; margin-top: 16px; border-radius: 26px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--cream-2); }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 90px clamp(20px, 3vw, 36px) clamp(18px, 3vw, 30px);
  background: linear-gradient(transparent, rgba(10, 14, 16, .78));
}
.stage .kicker { color: var(--sand); }
.stage b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4.2vw, 3.1rem); line-height: 1.1; color: #fff; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.fact { padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
.fact svg { width: 26px; height: 26px; color: var(--bronze); }
.fact .kicker { display: block; margin-top: 14px; font-size: 14px; }
.fact b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 25px; line-height: 1.3; color: var(--ink); }
.fact b small { color: var(--bronze); font-size: .7em; }
.fact p { margin-top: 2px; font-size: 15px; color: var(--muted); }

.partner-row { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; margin-top: 16px; }
.impact { padding: 24px; border-radius: var(--radius); background: var(--cream); }
.impact-items { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
.impact-items > div { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.impact h4 { font-size: 20px; }
.impact p { font-size: 15px; color: var(--muted); }

.next-slot {
  display: flex; align-items: center; gap: 18px;
  padding: 24px; border-radius: var(--radius);
  border: 2px dashed rgba(122, 88, 41, .45);
  transition: background-color .25s, border-color .25s;
}
.next-slot:hover { background: var(--white); border-color: var(--bronze); border-style: solid; }
.slot-plus {
  width: 56px; height: 56px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--sand);
  font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1;
}
.next-slot b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--ink); line-height: 1.3; }
.next-slot small { display: block; font-size: 14.5px; color: var(--muted); }
.slot-arrow { width: 22px; height: 22px; margin-inline-start: auto; flex: none; color: var(--bronze); transition: transform .25s var(--ease); }
.next-slot:hover .slot-arrow { transform: translateX(-4px); }

/* ---------- الزخم ---------- */
.buzz-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: end; margin-bottom: clamp(32px, 5vw, 48px); }
.buzz-head .sec-intro { margin-bottom: 0; }
.bignum { padding: 26px 28px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); }
.bignum b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6.4vw, 4.8rem); line-height: 1; color: var(--sand); }
.bignum > span { display: block; margin-top: 8px; font-size: 15px; }

.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post .tile { aspect-ratio: 4 / 5; border-radius: 18px; background: #fff; }
.post .tile img { object-position: 50% 0; }
.post figcaption { margin-top: 10px; font-size: 14.5px; }

.replies { margin-top: clamp(48px, 7vw, 72px); }
.tabs { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 24px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.tabs [role="tab"] {
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
  background: transparent; color: var(--on-dark); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.tabs [role="tab"]:hover { background: rgba(255, 255, 255, .08); }
.tabs [role="tab"][aria-selected="true"] { background: var(--sand); color: var(--teal-deep); }

.tw-grid { columns: 3 290px; column-gap: 16px; }
.tw {
  display: inline-block; width: 100%; break-inside: avoid;
  margin: 0 0 16px; padding: 18px 20px 20px;
  border-radius: 18px; background: var(--white); color: var(--ink);
}
.tw header { display: flex; align-items: center; gap: 12px; }
.tw header img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.tw header div { min-width: 0; line-height: 1.35; }
.tw header b { display: block; font-size: 15px; font-weight: 700; }
.tw header div > span { display: block; font: 500 12.5px/1.5 var(--font-mono); color: var(--muted); text-align: right; }
.tw .vf { display: inline-block; width: 17px; height: 17px; vertical-align: -3px; }
.tw > p { margin-top: 12px; font-size: 16.5px; line-height: 1.75; }
.tw > p + p { margin-top: 8px; }
.tw-dm { background: #EEF3F2; }
.dm-ic { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--sand); }
.dm-ic svg { width: 20px; height: 20px; }
.tw-dm header div > span { font-family: var(--font-body); }
.bubbles { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 14px; }
.bubbles p { padding: 8px 14px; border-radius: 18px; border-start-start-radius: 6px; background: var(--white); font-size: 15.5px; line-height: 1.6; max-width: 100%; }

/* ---------- الرعاية ---------- */
.reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reasons li {
  padding: 24px 24px 26px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.reasons li:hover { border-color: var(--bronze-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.reasons .ax-n { font-size: 32px; }
.reasons h3 { margin-top: 6px; font-size: 23px; }
.reasons p { margin-top: 6px; font-size: 15.5px; color: var(--muted); }

.packages-head { margin: clamp(64px, 9vw, 104px) 0 28px; }
.packages-head h3 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.packages-head p { margin-top: 10px; color: var(--muted); }

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pkg {
  display: flex; flex-direction: column;
  padding: 28px; border: 1px solid var(--line-strong); border-radius: 24px; background: var(--white);
}
.pkg-badge {
  align-self: flex-start;
  padding: 3px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--bronze);
}
.pkg h4 { margin-top: 16px; font-size: clamp(1.8rem, 2.8vw, 2.3rem); }
.pkg > p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }
.checks { list-style: none; margin: 20px 0 28px; padding: 0; }
.checks li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--bronze); }
.pkg .btn { margin-top: auto; width: 100%; }
.pkg-featured { background: var(--cream); border: 1.5px solid var(--bronze); box-shadow: var(--shadow); }
.pkg-featured .pkg-badge { border-color: var(--bronze-2); background: var(--white); }

.hosting {
  display: flex; align-items: center; gap: 20px;
  margin-top: 16px; padding: 24px 28px; border-radius: 24px; background: var(--cream);
}
.hosting h4 { font-size: 23px; }
.hosting p { margin-top: 4px; font-size: 15.5px; color: var(--muted); max-width: 70ch; }
.hosting .btn { margin-inline-start: auto; flex: none; }

/* ---------- التواصل ---------- */
.contact-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-copy .lead { margin-top: 18px; }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.channel {
  display: block; padding: 22px; border-radius: var(--radius);
  background: var(--white); border: 1px solid transparent;
  transition: border-color .2s, transform .2s var(--ease);
}
.channel:hover { border-color: var(--bronze-2); transform: translateY(-2px); }
.channel svg { width: 22px; height: 22px; color: var(--bronze); }
.channel .kicker { display: block; margin-top: 12px; font-size: 14px; }
.channel b { display: block; margin-top: 2px; font: 600 clamp(16px, 1.7vw, 19px)/1.5 var(--font-mono); color: var(--ink); text-align: right; overflow-wrap: anywhere; }

.form { padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: var(--white); box-shadow: var(--shadow); }
.form h3 { font-size: 30px; }
.form-note { margin-top: 6px; font-size: 15px; color: var(--muted); }
.field { margin-top: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); font-size: .9em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 16px;
  border: 1.5px solid var(--line-strong); border-radius: 12px;
  background: var(--paper); color: var(--ink);
  font: 400 16px/1.5 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { padding: 13px 16px; resize: vertical; min-height: 116px; }
.field select {
  -webkit-appearance: none; appearance: none; padding-inline-end: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%237A5829' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 16px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 4px rgba(122, 88, 41, .14); }
.field.is-invalid input { border-color: #B3261E; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.form-actions .btn-wa { flex: 1; }
.form-status { min-height: 1.6em; margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.form-status.is-error { color: #B3261E; }
.form-status.is-ok { color: #17784A; }

/* ---------- التذييل ---------- */
.site-footer { background: var(--teal-deep); color: var(--on-dark-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; padding-block: 64px 44px; }
.site-footer .brand { color: #fff; }
.footer-grid p { margin-top: 16px; font-size: 15px; max-width: 38ch; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; align-content: start; font-size: 15px; }
.footer-nav a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background-color .2s, border-color .2s; }
.footer-social a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.footer-social svg { width: 18px; height: 18px; }
.footer-base { position: relative; display: flex; justify-content: space-between; gap: 16px; padding-block: 20px 28px; font-size: 13.5px; }
.footer-base::before { content: ""; position: absolute; top: 0; inset-inline: var(--gutter); height: 1px; background: var(--line-dark); }

/* ---------- عارض الصور ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(12, 18, 20, .95); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; padding: 72px 80px 40px; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { margin-top: 14px; font-size: 15px; text-align: center; color: rgba(255, 255, 255, .85); max-width: 70ch; }
.lb-btn {
  position: absolute; z-index: 2;
  width: 50px; height: 50px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
  transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 18px; inset-inline-end: 18px; }
.lb-prev { top: 50%; margin-top: -25px; inset-inline-start: 18px; }
.lb-prev svg { transform: rotate(180deg); }
.lb-next { top: 50%; margin-top: -25px; inset-inline-end: 18px; }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
html.lb-open { overflow: hidden; }

/* ---------- الظهور التدريجي ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.static .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.static *, .static *::before, .static *::after { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- الشاشات المتوسطة ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero-media { max-width: 680px; }
  .hero-float { inset-inline-end: -8px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 560px; }
  .about-photo img { aspect-ratio: 4 / 3; object-position: 50% 45%; }

  .guest { grid-template-columns: 1fr; }
  .axes { grid-template-columns: 1fr; }
  .axes-head { position: static; }
  .members { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr 1fr; }
  .buzz-head { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .packages { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .partner-row { grid-template-columns: 1fr; }
}

/* ---------- الجوال ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo img { aspect-ratio: 4 / 3.4; object-position: 50% 22%; }
  .partner { grid-template-columns: 1fr; }
  .partner-logo { width: 112px; border-radius: 14px; }
  .stage { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: 1fr; }
  .impact-items { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr; }
  .hosting { flex-direction: column; align-items: flex-start; }
  .hosting .btn { margin-inline-start: 0; width: 100%; }
  .ep-cta { flex-direction: column; align-items: flex-start; }
  .tw-grid { columns: 1; }
  .posts { gap: 12px; }
  .lightbox figure { padding: 72px 16px 96px; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; margin-top: 0; }
  .lb-prev { inset-inline-start: calc(50% - 60px); }
  .lb-next { inset-inline-end: calc(50% - 60px); }
}

@media (max-width: 480px) {
  .site-header .brand-logo { width: 50px; height: 50px; }
  .hero-actions .btn { width: 100%; }
  .hero-float { width: 52%; border-width: 4px; }
  .stat { padding: 22px 14px 26px; }
  .mini-stats > div { padding: 12px 12px; }
  .wins b { display: block; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 4px; }
}
