/* ============================================================
   مكوّنات الواجهة: الشريط العلوي، البطل، الأقسام، التذييل
   ============================================================ */

/* ── الشريط العلوي ────────────────────────────────────────── */

.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
              padding 0.4s var(--ease);
  padding-block: 1.15rem;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 44px; width: auto; transition: height 0.4s var(--ease); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.4vw, 1.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  padding: 0.45rem 0.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
  transition: color 0.25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--gold); }

.nav__actions { display: flex; align-items: center; gap: 0.75rem; }

.nav__lang {
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-btn);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cream);
  transition: background-color 0.25s, border-color 0.25s;
}
.nav__lang:hover { background: rgba(255, 255, 255, 0.14); }

.nav__cta {
  padding: 0.62rem 1.35rem;
  font-size: 0.86rem;
  /* النصّ يبقى سطراً واحداً وإلا استدار الزرّ قرصاً */
  white-space: nowrap;
  flex: none;
}

/* بعد التمرير: خلفيّة صلبة وشريط أنحف */
.nav.is-stuck {
  background: rgba(42, 26, 23, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(24, 14, 11, 0.28);
  padding-block: 0.65rem;
}
.nav.is-stuck .nav__logo img { height: 36px; }

/* على الصفحات الداخليّة الشريط داكن من البداية */
.nav--solid {
  position: sticky;
  background: var(--coffee-900);
}

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: var(--cream);
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    width: min(84vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.4rem;
    padding: 2.5rem;
    background: var(--coffee-900);
    transform: translateX(var(--menu-offset, 110%));
    transition: transform 0.45s var(--ease);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
  }
  [dir="rtl"] .nav__links { --menu-offset: -110%; }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.15rem; }
  .nav__cta { display: none; }
}

/* ── البطل ────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(7rem, 14vh, 10rem) 0;
  background: var(--coffee-900);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* مشغّل يوتيوب/فيميو لا يقبل object-fit، فنُكبّره بنسبة 16:9 حتى يملأ
   البطل في الاتجاهين ونقصّ الزائد */
.hero__embed {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;        /* 100 ÷ (16/9) */
  min-height: 100%;
  min-width: 177.78vh;    /* 100 × (16/9) */
  border: 0;
  pointer-events: none;   /* لا يبتلع نقرات المحتوى فوقه */
}

/* شرائح متعاقبة مع تكبير بطيء (Ken Burns) */
.hero__slide {
  opacity: 0;
  animation: hero-fade var(--slide-total, 24s) infinite;
}
.hero__slide img { animation: ken-burns var(--slide-total, 24s) infinite; }

@keyframes hero-fade {
  0%, 4% { opacity: 0; }
  8%, 30% { opacity: 1; }
  38%, 100% { opacity: 0; }
}
@keyframes ken-burns {
  0% { transform: scale(1.02); }
  40% { transform: scale(1.14); }
  100% { transform: scale(1.02); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(24, 14, 11, 0.42), transparent 62%),
    linear-gradient(to top, rgba(24, 14, 11, 0.92) 6%, rgba(24, 14, 11, 0.52) 48%, rgba(24, 14, 11, 0.7) 100%);
}

/* عمودان: النصّ في جهة البداية (يمين بالعربية)، العدّاد في المقابل */
.hero__grid {
  display: grid;
  /* عمود النصّ أوسع: العنوان يبقى سطراً واحداً ولا يفيض */
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  flex: 1;
  padding-bottom: clamp(6rem, 12vh, 9rem);
}

/* بلا max-width: عمود الشبكة هو الذي يحدّ العرض، وأي قيد إضافي
   يضغط العنوان فيفيض خارج حدوده بدل أن يتّسع */
.hero__content { min-width: 0; }

/* وسم قابل للنقر بهيئة شارة */
.hero__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 97, 0.45);
  background: rgba(201, 169, 97, 0.13);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* كل سطر يبقى سطراً واحداً؛ المقاس محسوب ليتّسع داخل عمود النصّ */
.hero__title {
  font-size: clamp(1.5rem, 2.85vw, 2.7rem);
  line-height: 1.3;
  margin: 0 0 0.35rem;
  white-space: nowrap;
}

/* سطر النسخة والسنة — ذهبي وأصغر قليلاً من العنوان */
.hero__edition {
  display: block;
  font-size: clamp(1.35rem, 2.5vw, 2.35rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--gold);
  margin-bottom: 1.1rem;
  white-space: nowrap;
}

/* على الشاشات الضيّقة يتعذّر سطر واحد دون تصغير مُفرط، فنسمح باللفّ */
@media (max-width: 700px) {
  .hero__title,
  .hero__edition { white-space: normal; }
  .hero__title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .hero__edition { font-size: clamp(1.4rem, 6vw, 1.9rem); }
}

.hero__tagline {
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  color: rgba(250, 246, 240, 0.86);
  max-width: 46ch;
  margin: 0;
}

.hero .btn-row { margin-top: 2rem; }

/* العدّاد التنازلي — في العمود المقابل للنصّ */
.hero__aside {
  display: flex;
  justify-content: center;
  align-items: center;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.4rem, 0.9vw, 0.75rem);
  width: 100%;
  max-width: 400px;
}
.countdown__cell {
  padding: clamp(0.9rem, 1.6vw, 1.35rem) 0.4rem;
  text-align: center;
  border-radius: 16px;
}
.countdown__num {
  display: block;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}
.countdown__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: rgba(250, 246, 240, 0.62);
}

/* زرّ الصوت — يظهر فقط مع خلفيّة فيديو */
.hero__sound {
  position: absolute;
  /* أعلى الجهة المقابلة للنصّ: بعيداً عن شريط الموعد وعن العدّاد */
  inset-inline-end: clamp(1rem, 3vw, 2.5rem);
  top: clamp(5.5rem, 12vh, 7.5rem);
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(24, 14, 11, 0.5);
  color: var(--cream);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.25s, transform 0.25s;
}
.hero__sound:hover { background: rgba(24, 14, 11, 0.75); transform: scale(1.06); }
.hero__sound svg { width: 20px; height: 20px; }

/* ── شريط الموعد والمكان والدخول ─────────────────────────── */

/* الشريط بطاقة مستديرة بعرض المحتوى، لا شريطاً ممتدّاً عبر الشاشة */
.hero__ribbon-bar {
  position: relative;
  z-index: 2;
}

.hero__ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  background: rgba(58, 37, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: clamp(18px, 2vw, 26px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  /* مساحة سفليّة تبتلعها بطاقة الإحصاءات المرتفعة، فيبقى محتوى الشريط
     ظاهراً كاملاً فوقها. لا بدّ أن تتجاوز مقدار ارتفاع البطاقة */
  padding-bottom: clamp(3.5rem, 5.5vw, 5rem);
}

.hero__ribbon-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(0.75rem, 2vw, 1.75rem);
}
/* فاصل بين الأعمدة بدل حدود كاملة */
.hero__ribbon-item + .hero__ribbon-item {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__ribbon-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(201, 169, 97, 0.16);
  color: var(--gold);
}
.hero__ribbon-icon svg { width: 21px; height: 21px; }

.hero__ribbon-label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.15rem;
}
.hero__ribbon-value { display: block; font-weight: 700; font-size: 1rem; line-height: 1.35; }
.hero__ribbon-sub {
  display: block;
  font-size: 0.83rem;
  color: rgba(250, 246, 240, 0.6);
  margin-top: 0.1rem;
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; padding-bottom: clamp(4rem, 9vh, 6rem); }
  .hero__aside { justify-content: flex-start; }
  .countdown { max-width: 420px; }
  .hero__ribbon { grid-template-columns: 1fr; }
  .hero__ribbon-item + .hero__ribbon-item {
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* ── بطاقة الإحصاءات المتداخلة مع البطل ───────────────────── */

.stats-section {
  position: relative;
  /* flow-root يمنع هامش البطاقة السالب من سحب حدّ القسم معه؛ بدونه
     تصعد الخلفيّة الذهبيّة فتغطّي شريحة صورة البطل خلف طرف البطاقة */
  display: flow-root;
  /* مساحة ضيّقة أسفل البطاقة: القسم شريط لوني رفيع لا كتلة كاملة */
  padding-block: 0 clamp(1.25rem, 2.5vw, 2.25rem);
  /* ذهبي افتراضاً، ويتجاوزه لون القسم المخصّص من لوحة التحكّم */
  background: var(--stats-bg, var(--gold));
}

.stats-card {
  position: relative;
  z-index: 4;
  /* ترتفع فوق نهاية البطل ليظهر طرفها العلوي على صورة/فيديو الخلفيّة،
     دون أن تبلغ محتوى شريط الموعد فتغطّيه */
  margin-top: clamp(-72px, -4.5vw, -44px);
  background: var(--white);
  border-radius: clamp(20px, 2.4vw, 32px);
  box-shadow: 0 24px 60px rgba(42, 26, 23, 0.16), 0 4px 12px rgba(42, 26, 23, 0.06);
  padding: clamp(1.75rem, 3.2vw, 3rem) clamp(1rem, 2.4vw, 2.25rem);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.6vw, 2.25rem) 0;
}

.stat {
  text-align: center;
  padding-inline: clamp(0.5rem, 1.4vw, 1.1rem);
  position: relative;
}
/* خطّ فاصل رفيع بين الأعمدة، يُحذف في أوّل كل صفّ */
.stat + .stat::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: var(--line);
}
.stat:nth-child(6n + 1)::before { display: none; }

.stat__icon { color: var(--gold); margin-bottom: 0.6rem; }
.stat__icon svg { width: 30px; height: 30px; margin-inline: auto; }

.stat__num {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--coffee);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat__label {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.3rem;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .stats-card { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat:nth-child(6n + 1)::before { display: block; }
  .stat:nth-child(4n + 1)::before { display: none; }
}
@media (max-width: 760px) {
  .stats-card { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -48px; }
  .stat:nth-child(4n + 1)::before { display: block; }
  .stat:nth-child(3n + 1)::before { display: none; }
}
@media (max-width: 480px) {
  .stats-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3n + 1)::before { display: block; }
  .stat:nth-child(2n + 1)::before { display: none; }
}

/* ── بطاقات المتحدّثين ────────────────────────────────────── */

.speaker {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--coffee-700);
}
.speaker img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s;
  filter: grayscale(0.25);
}
.speaker:hover img { transform: scale(1.07); filter: grayscale(0); }
.speaker__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem 1.15rem 1.15rem;
  background: linear-gradient(to top, rgba(24, 14, 11, 0.95), transparent);
  color: var(--white);
}
.speaker__name { font-weight: 800; font-size: 1.02rem; line-height: 1.3; }
.speaker__role {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── الرعاة ───────────────────────────────────────────────── */

.logo-tile {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  min-height: 120px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.logo-tile img {
  max-height: 62px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
  transition: filter 0.4s, opacity 0.4s;
}
.logo-tile:hover img { filter: none; opacity: 1; }

.marquee .logo-tile { min-width: 190px; }

/* ── مكوّنات المعرض (بطاقات موحّدة بصورة وأيقونة) ─────────── */

.pillars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.85rem, 1.6vw, 1.4rem);
}

.pillar {
  position: relative;
  grid-column: span 3;
  min-height: clamp(230px, 24vw, 300px);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  background: linear-gradient(150deg, var(--coffee-700) 0%, var(--coffee-900) 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pillar--wide { grid-column: 7 / span 6; grid-row: 1; }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.pillar img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ease);
}
.pillar:hover img { transform: scale(1.06); }

/* الستارة تُبقي النصّ مقروءاً فوق أي صورة */
.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(20, 12, 9, 0.92) 8%, rgba(20, 12, 9, 0.55) 46%, rgba(20, 12, 9, 0.12) 100%);
}
/* البطاقة بلا صورة تأخذ نقشة من الهويّة بدل سطح فارغ */
.pillar--plain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.5;
  background-size: 132px 132px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='132' viewBox='0 0 132 132'%3E%3Cg fill='none' stroke='%23c9a961' stroke-opacity='.34' stroke-width='1.6'%3E%3Cellipse cx='34' cy='30' rx='15' ry='21' transform='rotate(-28 34 30)'/%3E%3Cpath d='M34 11c-5 8-5 30 0 38' transform='rotate(-28 34 30)'/%3E%3Cellipse cx='98' cy='92' rx='15' ry='21' transform='rotate(22 98 92)'/%3E%3Cpath d='M98 73c-5 8-5 30 0 38' transform='rotate(22 98 92)'/%3E%3Ccircle cx='104' cy='26' r='7'/%3E%3Ccircle cx='28' cy='100' r='4.5'/%3E%3C/g%3E%3C/svg%3E");
}
.pillar--plain::after {
  background:
    radial-gradient(115% 85% at 85% 6%, rgba(201, 169, 97, 0.2), transparent 62%),
    linear-gradient(to top, rgba(20, 12, 9, 0.94) 12%, rgba(42, 26, 23, 0.62) 100%);
}

.pillar__icon {
  position: absolute;
  inset-block-start: 1.1rem;
  inset-inline-end: 1.1rem;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  color: var(--coffee-900);
  background: var(--gold);
  box-shadow: 0 4px 14px rgba(20, 12, 9, 0.28);
}

.pillar__body { padding: 1.4rem 1.25rem 1.3rem; color: var(--white); }
.pillar__body h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--white);
}
.pillar__body p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1000px) {
  .pillar { grid-column: span 6; }
  .pillar--wide { grid-column: span 12; grid-row: auto; }
}
@media (max-width: 620px) {
  .pillar, .pillar--wide { grid-column: span 12; grid-row: auto; min-height: 210px; }
}

/* ── المؤتمر ──────────────────────────────────────────────── */

.conf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.conf__badge {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #0b1733;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 8 / 5;
  display: grid;
  place-items: center;
}
.conf__badge img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.conf__mark { width: 100%; height: 100%; }
.conf__mark svg { width: 100%; height: 100%; display: block; }
.conf__badge-foot {
  position: absolute;
  inset-inline: 0;
  bottom: 1.1rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(201, 169, 97, 0.7);
}
/* الشعار المرسوم يحمل سطره بنفسه */
.conf__badge:has(.conf__mark) .conf__badge-foot { display: none; }

.conf__info h2 { margin: 0.85rem 0 0; }
.conf__lead {
  margin: 0.9rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--muted);
  line-height: 1.85;
}

.pill {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-btn);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--cocoa);
  background: rgba(201, 169, 97, 0.16);
  border: 1px solid rgba(201, 169, 97, 0.34);
}

.conf__meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-btn);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--coffee);
  background: var(--white);
  border: 1px solid var(--line);
}
.chip svg { color: var(--gold); flex: none; }

.conf__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  margin: 1.75rem 0 0;
}
.conf__stats div { text-align: center; }
.conf__stats dt {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
}
.conf__stats dd {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.conf__info .btn-row { margin-top: 1.85rem; }

/* زرّ داكن — نظيره الذهبي محجوز لنداء التذاكر */
.btn--ink {
  background: var(--coffee-900);
  color: var(--cream);
  border: 1px solid var(--coffee-900);
}
.btn--ink:hover { background: var(--coffee); border-color: var(--coffee); }

.conf__themes-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: clamp(2.75rem, 5vw, 4rem) 0 1.35rem;
}
.conf__themes-head h3 { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.conf__themes-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--line));
}
[dir="ltr"] .conf__themes-head::after { background: linear-gradient(to right, transparent, var(--line)); }

.conf__themes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
}
.theme-card {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 1.35rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 169, 97, 0.45);
}
.theme-card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  color: var(--gold);
  background: var(--coffee-900);
}
.theme-card h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.45;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--cocoa);
  transition: gap 0.35s var(--ease), color 0.3s;
}
.link-more:hover { gap: 0.9rem; color: var(--coffee); }
[dir="rtl"] .link-more svg { transform: scaleX(-1); }

@media (max-width: 900px) {
  .conf { grid-template-columns: 1fr; }
  .conf__badge { max-width: 520px; margin-inline: auto; }
}

/* ── جدار المتحدّثين (شبكة ملتصقة، رماديّة تتلوّن بالمرور) ── */

.section--flush { padding-block: 0; background: var(--white); }

.speaker-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
}

/* بلاطة العنوان تسكن داخل الشبكة نفسها */
.speaker-wall__intro {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 2.6vw, 2.75rem);
  color: var(--coffee-900);
}
.speaker-wall__intro h2 {
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  margin: 0;
  color: var(--coffee-900);
}
.speaker-wall__intro h2 .gold { color: var(--white); }
.speaker-wall__intro p {
  margin: 0.75rem 0 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(42, 26, 23, 0.72);
}
.eyebrow--dark { color: var(--coffee-900); }

.speaker-cell {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--coffee-700);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.speaker-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: filter 0.55s var(--ease), transform 0.9s var(--ease);
}
.speaker-cell__initial {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  font-size: 2.6rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.28);
}

/* الستارة: مخفيّة حتى المرور أو التركيز بلوحة المفاتيح */
.speaker-cell__veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  padding: 1.1rem 1rem;
  color: var(--white);
  background: linear-gradient(to top, rgba(24, 14, 11, 0.94) 12%, rgba(24, 14, 11, 0.55) 55%, rgba(24, 14, 11, 0) 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.speaker-cell:hover,
.speaker-cell:focus-visible {
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  outline: none;
}
.speaker-cell:hover img,
.speaker-cell:focus-visible img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.06);
}
.speaker-cell:hover .speaker-cell__veil,
.speaker-cell:focus-visible .speaker-cell__veil {
  opacity: 1;
  transform: none;
}

.speaker-cell__name { font-weight: 800; font-size: 0.98rem; line-height: 1.3; }
.speaker-cell__role {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.speaker-cell__country {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-soft);
}
.speaker-cell__country svg { flex: none; }

/* بلاطة «عرض الجميع» تُغلق الشبكة */
.speaker-wall__all {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: clamp(1.25rem, 2vw, 2rem);
  font-weight: 800;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--coffee-900);
  background: transparent;
  transition: background-color 0.4s var(--ease), gap 0.4s var(--ease);
}
.speaker-wall__all svg { transition: transform 0.4s var(--ease); }
.speaker-wall__all:hover { background: rgba(42, 26, 23, 0.08); gap: 1.1rem; }
[dir="rtl"] .speaker-wall__all svg { transform: scaleX(-1); }
[dir="rtl"] .speaker-wall__all:hover svg { transform: scaleX(-1) translateX(4px); }
[dir="ltr"] .speaker-wall__all:hover svg { transform: translateX(4px); }

@media (max-width: 1080px) {
  .speaker-wall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .speaker-wall { grid-template-columns: repeat(2, 1fr); }
  .speaker-wall__intro,
  .speaker-wall__all { grid-column: span 2; }
}

/* بلا مرور (لمس): الصور ملوّنة والمعلومات ظاهرة دائماً */
@media (hover: none) {
  .speaker-cell img { filter: grayscale(0); }
  .speaker-cell__veil { opacity: 1; transform: none; }
}

/* ── فئات الرعاية (عرض ثابت، لا شريط متحرّك) ─────────────── */

.tiers { display: grid; gap: clamp(1.6rem, 2.8vw, 2.5rem); }

.tier__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(0.85rem, 1.5vw, 1.25rem);
}
.tier__head::before,
.tier__head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--to, left), transparent, var(--line));
}
.tier__head::after { --to: right; }

.tier__label {
  flex: none;
  padding: 0.45rem 1.35rem;
  border-radius: var(--radius-btn);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
}

/* لكلّ فئة لونها — مستمدّ من معدن الفئة */
.tier__label[data-tier="strategic"] {
  color: var(--white);
  background: linear-gradient(135deg, var(--coffee) 0%, var(--cocoa) 100%);
}
.tier__label[data-tier="diamond"] {
  color: #1c4f63;
  background: linear-gradient(135deg, #dff1f7 0%, #b6dde9 100%);
  border-color: rgba(28, 79, 99, 0.22);
}
.tier__label[data-tier="platinum"] {
  color: #4a4a4f;
  background: linear-gradient(135deg, #f0f0f2 0%, #d7d8dc 100%);
  border-color: rgba(74, 74, 79, 0.2);
}
.tier__label[data-tier="gold"] {
  color: #6b4d13;
  background: linear-gradient(135deg, #f4e4bd 0%, var(--gold) 100%);
  border-color: rgba(107, 77, 19, 0.22);
}
.tier__label[data-tier="silver"] {
  color: #56575c;
  background: linear-gradient(135deg, #f4f4f5 0%, #dcdde0 100%);
  border-color: rgba(86, 87, 92, 0.2);
}
.tier__label[data-tier="government"],
.tier__label[data-tier="media"] {
  color: var(--cocoa);
  background: rgba(201, 169, 97, 0.14);
  border-color: rgba(201, 169, 97, 0.35);
}

.tier__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.9rem, 1.8vw, 1.5rem);
}
.tier__grid .logo-tile {
  flex: 1 1 var(--tile);
  max-width: calc(var(--tile) * 1.1);
  min-height: calc(var(--tile) * 0.5);
  padding: clamp(0.7rem, 1.2vw, 1.1rem);
}
.tier__grid .logo-tile img {
  width: 100%;
  max-height: calc(var(--tile) * 0.55);
  object-fit: contain;
}

.tier--xl { --tile: 260px; }
.tier--lg { --tile: 215px; }
.tier--md { --tile: 180px; }
.tier--sm { --tile: 150px; }

/* الفئة العليا تستحقّ إطاراً أوضح */
.tier--xl .logo-tile { border-color: rgba(201, 169, 97, 0.55); box-shadow: var(--shadow-sm); }

@media (max-width: 560px) {
  .tier--xl, .tier--lg, .tier--md, .tier--sm { --tile: 130px; }
}

/* ── الأجندة ──────────────────────────────────────────────── */

.agenda { border-top: 1px solid var(--line); }
.agenda__row {
  display: grid;
  grid-template-columns: minmax(110px, 150px) 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s;
}
.agenda__row:hover { background: rgba(201, 169, 97, 0.06); }
.agenda__time {
  font-weight: 800;
  color: var(--cocoa);
  font-variant-numeric: tabular-nums;
}
.agenda__title { font-weight: 700; }
.agenda__topic { color: var(--muted); font-size: 0.93rem; margin-top: 0.15rem; }
.agenda__tag {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(201, 169, 97, 0.16);
  color: var(--cocoa);
  white-space: nowrap;
}
.agenda__speakers { display: flex; gap: 0.4rem; margin-top: 0.5rem; }
.agenda__speakers img {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
}

@media (max-width: 700px) {
  .agenda__row { grid-template-columns: 1fr; gap: 0.5rem; }
  .agenda__tag { justify-self: start; }
}

/* ── الأخبار ──────────────────────────────────────────────── */

.article-card { display: flex; flex-direction: column; height: 100%; }
.article-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--coffee-700);
}
.article-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.article-card:hover .article-card__media img { transform: scale(1.06); }
.article-card__meta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 1rem 0 0.5rem;
}
.article-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.45;
  transition: color 0.25s;
}
.article-card:hover .article-card__title { color: var(--cocoa); }
.article-card__excerpt { color: var(--muted); font-size: 0.94rem; margin-top: 0.4rem; }

/* ── النداء الختامي ───────────────────────────────────────── */

.cta-band {
  position: relative;
  padding-block: clamp(5rem, 10vw, 8rem);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(42, 26, 23, 0.92), rgba(109, 76, 44, 0.82));
}

/* ── قسم «تعرّف على المعرض» (نمط WPC) ─────────────────────── */

.intro-band {
  position: relative;
  background: var(--coffee-900);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
/* توهّج دافئ خلف جهة النصّ. الطبقة تغطّي البند كاملاً والتدرّج يتلاشى
   داخلها إلى الشفافية — طبقة أضيق تقطع التدرّج عند حافّتها فيظهر
   خطّ عمودي حادّ. المركز عند 12% (يسار RTL حيث النصّ) ويُعكس في LTR. */
.intro-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(42% 80% at 12% 62%,
    rgba(201, 120, 40, 0.38), rgba(201, 120, 40, 0.1) 55%, transparent 80%);
  pointer-events: none;
}
[dir="ltr"] .intro-band::after {
  background: radial-gradient(42% 80% at 88% 62%,
    rgba(201, 120, 40, 0.38), rgba(201, 120, 40, 0.1) 55%, transparent 80%);
}

.intro-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  padding-inline: clamp(1.25rem, 4vw, 4rem);
}

/* الصورة بمقاس لاند اسكيب 16:9 تذوب في الخلفيّة من الجهتين يمين ويسار */
.intro-band__media {
  aspect-ratio: 16 / 9;
  position: relative;
}
.intro-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* قناع أفقي شفّاف عند الحافّتين ومعتم في الوسط → تلاشٍ من الجهتين.
     وطبقة رأسيّة خفيفة تُذيب الأعلى والأسفل في البند الداكن. */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}

.intro-band__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro-band__title {
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  line-height: 1.4;
  color: var(--cream);
  margin: 0 0 1.25rem;
  /* عرض محسوب ليقع العنوان في سطرين */
  max-width: 18em;
  text-wrap: balance;
}
.intro-band__text {
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  line-height: 1.7;
  color: rgba(250, 246, 240, 0.82);
  margin: 0;
}
/* كل جملة في سطر واحد على الشاشات الواسعة */
.intro-band__text p { margin: 0 0 0.6rem; white-space: nowrap; }
.intro-band__text p:last-child { margin-bottom: 0; }

/* زرّ حبّة أبيض كما في المرجع */
.btn--pill {
  background: var(--cream);
  color: var(--coffee-900);
  margin-top: 2rem;
  align-self: flex-start;
}
.btn--pill:hover { background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28); }

/* دون هذا العرض يتعذّر إبقاء الجُمَل في سطر واحد، فنسمح باللفّ */
@media (max-width: 1080px) {
  .intro-band__text p { white-space: normal; }
  .intro-band__title { max-width: none; }
}
@media (max-width: 860px) {
  .intro-band__grid { grid-template-columns: 1fr; }
}

/* ── التذييل ──────────────────────────────────────────────── */

.footer {
  background: var(--coffee-900);
  color: rgba(250, 246, 240, 0.78);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.footer a:hover { color: var(--gold); }
.footer__grid {
  display: grid;
  /* الهويّة · روابط · المزيد · تواصل معنا — الهويّة أعرض عمود وتتصدّر */
  grid-template-columns: 1.7fr 1fr 1fr 1.25fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.footer__brand { text-align: start; }
.footer__logo-link { display: inline-block; }
.footer__logo { height: 56px; width: auto; margin-bottom: 1.1rem; }
.footer__desc { max-width: 40ch; margin: 0; font-size: 0.95rem; line-height: 1.8; }

/* عمود تواصل معنا: كل سطر نصّه ثم أيقونته في جهة النهاية */
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; font-size: 0.93rem; }
.footer__contact li {
  display: flex; align-items: center; gap: 0.7rem;
  justify-content: flex-start;
}
.footer__contact .footer__ci {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 240, 0.2);
  color: var(--gold);
  order: 2;
  margin-inline-start: auto;
}
.footer__contact li > a,
.footer__contact li > span:not(.footer__ci) { order: 1; }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__title {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.93rem; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(250, 246, 240, 0.2);
  border-radius: 50%;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}
.footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--coffee-900);
  transform: translateY(-3px);
}
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(250, 246, 240, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.87rem;
  color: rgba(250, 246, 240, 0.55);
}

.footer__legal { display: inline-flex; gap: 1.5rem; }
.footer__legal a { color: rgba(250, 246, 240, 0.55); }
.footer__legal a:hover { color: var(--gold); }

/* ── رأس الصفحات الداخليّة ────────────────────────────────── */

.page-header {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7rem);
  background: var(--coffee-900);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.page-header__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(24, 14, 11, 0.95), rgba(24, 14, 11, 0.55));
}
.page-header__lead {
  color: rgba(250, 246, 240, 0.8);
  max-width: 60ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.85rem;
  color: rgba(250, 246, 240, 0.6);
}
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 0.5rem; opacity: 0.5; }
.breadcrumbs a:hover { color: var(--gold); }


/* ══════════════════════════════════════════════════════════
   صفحة المؤتمر — لوحة كحليّة مستقلّة عن بنّي المعرض
   ══════════════════════════════════════════════════════════ */

.cf-hero,
.cf-agenda,
.cf-cta {
  --navy: #061936;
  --navy-800: #0b2246;
  --navy-700: #123059;
}

/* ── البطل ────────────────────────────────────────────────── */

.cf-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
  background: radial-gradient(120% 90% at 20% 0%, var(--navy-700) 0%, var(--navy) 62%);
  color: var(--white);
  text-align: center;
}

/* حلقات متحدّة المركز تعطي عمقاً للخلفيّة */
.cf-hero__rings,
.cf-agenda__rings {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.cf-hero__rings span,
.cf-agenda__rings span {
  position: absolute;
  border: 1px solid rgba(201, 169, 97, 0.13);
  border-radius: 50%;
}
.cf-hero__rings span:nth-child(1) { width: 320px; height: 320px; }
.cf-hero__rings span:nth-child(2) { width: 560px; height: 560px; }
.cf-hero__rings span:nth-child(3) { width: 820px; height: 820px; }
.cf-hero__rings span:nth-child(4) { width: 1100px; height: 1100px; }
.cf-hero__rings span:nth-child(5) { width: 1420px; height: 1420px; }

.cf-crumbs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.cf-crumbs a { color: rgba(255, 255, 255, 0.75); transition: color 0.3s; }
.cf-crumbs a:hover { color: var(--gold); }

.cf-hero__mark {
  max-width: min(520px, 84%);
  margin-inline: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(2, 8, 20, 0.5);
}
.cf-hero__mark img { width: 100%; height: auto; }

.cf-hero__kicker {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  font-size: clamp(0.72rem, 1.1vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  color: rgba(201, 169, 97, 0.85);
}

.cf-hero__lead {
  max-width: 62ch;
  margin: 1.35rem auto 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
}

.cf-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}
.chip--dark {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 169, 97, 0.3);
  backdrop-filter: blur(6px);
}

/* ── شريط الأرقام ─────────────────────────────────────────── */

.cf-figures {
  background: #061936;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
  padding-block: clamp(2.5rem, 4.5vw, 3.75rem);
  margin-bottom: 0;
}
.cf-figures dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}
.cf-figures dl > div { text-align: center; position: relative; }
.cf-figures dl > div + div::before {
  content: "";
  position: absolute;
  inset-block: 12%;
  inset-inline-start: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.cf-figures dt {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
}
.cf-figures dd {
  margin: 0.3rem 0 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
}

/* ── عناوين أقسام صفحة المؤتمر ────────────────────────────── */

/* الشارة كانت تلتصق بالعنوان فيتراكبان — تفصلها مسافة صريحة */
.section-title .pill { margin-bottom: 1.1rem; }

/* عنوان القسم يبقى في سطر واحد ما دامت المساحة تسمح */
.cf-themes-title,
.section-title--center h2 { text-wrap: balance; }

.section--white .section-title--center,
.cf-agenda .section-title--center { max-width: none; }

/* ── بطاقات المحاور ───────────────────────────────────────── */

.pill--dark {
  color: var(--gold);
  background: rgba(201, 169, 97, 0.12);
  border-color: rgba(201, 169, 97, 0.36);
}

.cf-themes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.35rem, 2.4vw, 2rem);
  margin-top: clamp(0.5rem, 1.5vw, 1rem);
}
.cf-theme {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.4s;
}
.cf-theme:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 169, 97, 0.45);
}
.cf-theme__no {
  position: absolute;
  inset-block-start: -14px;
  inset-inline-start: 22px;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
  background: #061936;
  font-variant-numeric: tabular-nums;
}
.cf-theme__icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-inline-start: auto;
  border-radius: 14px;
  color: var(--gold);
  background: #061936;
}
[dir="ltr"] .cf-theme__icon { margin-inline-start: 0; margin-inline-end: auto; }
.cf-theme h3 { margin: 1.15rem 0 0.5rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.cf-theme p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ── الأجندة ──────────────────────────────────────────────── */

.cf-agenda {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--section-y);
  background: radial-gradient(110% 80% at 80% 0%, var(--navy-700) 0%, var(--navy) 60%);
  color: var(--white);
}
.cf-agenda__rings span:nth-child(1) { width: 520px; height: 520px; }
.cf-agenda__rings span:nth-child(2) { width: 880px; height: 880px; }
.cf-agenda__rings span:nth-child(3) { width: 1280px; height: 1280px; }

.cf-agenda .section-title h2 { color: var(--white); }

.cf-agenda__panel {
  background: var(--white);
  color: var(--ink);
  border-radius: clamp(20px, 2.5vw, 30px);
  box-shadow: 0 30px 70px rgba(2, 8, 20, 0.38);
  overflow: hidden;
}

.cf-agenda__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--line);
}
.cf-tab {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  font: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--coffee);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.cf-tab:hover { border-color: rgba(201, 169, 97, 0.55); }
.cf-tab.is-active {
  color: var(--white);
  background: #061936;
  border-color: #061936;
}

.cf-agenda__day { display: none; }
.cf-agenda__day.is-active { display: block; }

.cf-slot {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(1rem, 2vw, 1.75rem);
  padding: 1.25rem clamp(1rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s;
}
.cf-slot:last-child { border-bottom: 0; }
.cf-slot:hover { background: rgba(201, 169, 97, 0.06); }

.cf-slot__time {
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--cocoa);
  font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
}
.cf-slot__main h4 { margin: 0; font-size: 1rem; font-weight: 800; line-height: 1.5; }
.cf-slot__main p {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}
.cf-slot__faces { display: flex; gap: 0.4rem; margin-top: 0.6rem; }
.cf-slot__faces img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 560px) {
  .cf-slot { grid-template-columns: 1fr; gap: 0.35rem; }
  .cf-figures dl { grid-template-columns: 1fr; gap: 1.5rem; }
  .cf-figures dl > div + div::before { display: none; }
}

/* ── شبكة المتحدّثين (نفس سلوك جدار الرئيسيّة) ───────────── */

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.speaker-grid .speaker-cell { border-radius: 0; }

@media (max-width: 1080px) { .speaker-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 780px) { .speaker-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .speaker-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── نداء التسجيل ─────────────────────────────────────────── */

.cf-cta {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  background: radial-gradient(100% 120% at 50% 0%, var(--navy-800) 0%, var(--navy) 70%);
  color: var(--white);
  text-align: center;
}
.cf-cta__mark {
  max-width: 260px;
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 8px;
  overflow: hidden;
}
.cf-cta__mark img { width: 100%; height: auto; }
.cf-cta h2 { color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cf-cta p { color: rgba(255, 255, 255, 0.72); margin-bottom: 2rem; }
.cf-cta .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.cf-cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }


/* ── أزرار التواصل العائمة ────────────────────────────────── */

.floaties {
  position: fixed;
  /* يمين الشاشة في الاتجاهين — لا تنقلب مع RTL */
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  right: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.floatie {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(20, 12, 9, 0.28);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.floatie:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 28px rgba(20, 12, 9, 0.34); }
.floatie svg { position: relative; z-index: 1; }

/* الهالة النابضة حول الزرّ */
.floatie::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.16;
  animation: floatie-pulse 2.8s var(--ease) infinite;
}

.floatie--wa { background: #3ab87a; color: #3ab87a; }
.floatie--wa svg { color: var(--white); }
.floatie--tel { background: var(--coffee); color: var(--coffee); }
.floatie--tel svg { color: var(--gold); }

@keyframes floatie-pulse {
  0% { transform: scale(0.9); opacity: 0.22; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .floatie::before { animation: none; }
}

@media (max-width: 560px) {
  .floatie { width: 50px; height: 50px; }
}


/* ══════════════════════════════════════════════════════════
   صفحات المقالات — قائمة + مقال مفرد
   ══════════════════════════════════════════════════════════ */

.post-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2.25rem, 4vw, 3.5rem);
  background: linear-gradient(150deg, var(--coffee-700) 0%, var(--coffee-900) 100%);
  color: var(--white);
}
.post-head__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
.post-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(20, 12, 9, 0.94), rgba(20, 12, 9, 0.62));
}
.post-head h1 {
  margin: 1rem 0 0;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  max-width: 22ch;
}
.post-head p {
  margin: 0.9rem 0 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
}
.post-head--article h1 { max-width: 26ch; }

.cf-crumbs--start {
  justify-content: flex-start;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.post-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.35rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}
.post-head__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.post-head__meta svg { color: var(--gold); }

/* ── التخطيط: متن + شريط جانبي ─────────────────────────── */

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}
@media (max-width: 980px) {
  .post-layout { grid-template-columns: 1fr; }
}

.post-main { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }

.post-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
}
.post-filter a { font-weight: 800; color: var(--cocoa); }
.post-filter a:hover { color: var(--coffee); }

/* ── بطاقة المقال ─────────────────────────────────────── */

.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.post-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--coffee-700);
  overflow: hidden;
}
.post-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.post-card:hover .post-card__media img { transform: scale(1.05); }

.post-card__cat {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-btn);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--coffee-900);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}

.post-card__body { padding: clamp(1.25rem, 2.2vw, 1.85rem); }
.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.post-card__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.post-card__meta svg { color: var(--gold); }

.post-card h2 {
  margin: 0.7rem 0 0.55rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}
.post-card h2 a { transition: color 0.3s; }
.post-card h2 a:hover { color: var(--cocoa); }
.post-card__body > p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.94rem;
}

/* ── متن المقال ───────────────────────────────────────── */

.post-body {
  padding: clamp(1.5rem, 3vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  line-height: 1.95;
}
.post-body__cover {
  width: 100%;
  border-radius: 16px;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.post-body__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-weight: 600;
  color: var(--coffee);
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--gold);
}
.post-body h2 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); margin-top: 2rem; }
.post-body h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); margin-top: 1.6rem; }
.post-body p { color: var(--ink); }
.post-body img { border-radius: 14px; margin-block: 1.25rem; }
.post-body ul, .post-body ol { padding-inline-start: 1.4rem; color: var(--ink); }
.post-body li { margin-bottom: 0.5rem; }
.post-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.35rem;
  border-inline-start: 3px solid var(--gold);
  background: rgba(201, 169, 97, 0.08);
  border-radius: 0 12px 12px 0;
  color: var(--cocoa);
}

.post-body__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.tag {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-btn);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cocoa);
  background: rgba(201, 169, 97, 0.13);
  border: 1px solid rgba(201, 169, 97, 0.28);
}

/* ── مقالات ذات صلة ───────────────────────────────────── */

.post-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 1rem;
}
.post-mini {
  display: grid;
  gap: 0.55rem;
  padding-bottom: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.post-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-mini__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--coffee-700);
  overflow: hidden;
}
.post-mini__media img { width: 100%; height: 100%; object-fit: cover; }
.post-mini__cat {
  margin-inline: 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
}
.post-mini__title {
  margin-inline: 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

/* ── الشريط الجانبي ───────────────────────────────────── */

.aside { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
@media (min-width: 981px) { .aside { position: sticky; top: 92px; } }

.aside__title {
  margin: 0 0 1.1rem;
  padding-bottom: 0.7rem;
  font-size: 1.15rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.aside__block--card {
  padding: clamp(1.15rem, 2vw, 1.6rem);
  background: rgba(62, 39, 35, 0.05);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.aside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.aside__list a {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 0.85rem;
  align-items: center;
}
.aside__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--coffee-700);
}
.aside__thumb img { width: 100%; height: 100%; object-fit: cover; }
.aside__text { display: grid; gap: 0.2rem; }
.aside__headline {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.3s;
}
.aside__list a:hover .aside__headline { color: var(--cocoa); }
.aside__text time { font-size: 0.76rem; color: var(--muted); }

.aside__cats { display: grid; gap: 0.6rem; }
.cat-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--coffee-900);
  transition: transform 0.35s var(--ease);
}
.cat-chip:hover { transform: translateX(-4px); }
[dir="ltr"] .cat-chip:hover { transform: translateX(4px); }
.cat-chip img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.cat-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to left, rgba(20, 12, 9, 0.88), rgba(20, 12, 9, 0.45));
}
.cat-chip__label { font-weight: 800; font-size: 0.92rem; }
.cat-chip__count {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding-inline: 0.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--coffee-900);
  background: rgba(255, 255, 255, 0.85);
}

.aside__lead { font-size: 0.88rem; color: var(--muted); line-height: 1.75; }
.aside__form { display: grid; gap: 0.6rem; }
.aside__form input {
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  font: inherit;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--ink);
}
.aside__form input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.aside__form .btn { justify-content: center; }

.aside__social { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.aside__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius-btn);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--coffee);
  background: rgba(62, 39, 35, 0.06);
  border: 1px solid var(--line);
  transition: background-color 0.3s, color 0.3s;
}
.aside__social a:hover { background: var(--coffee); color: var(--cream); }

.aside__tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }


/* ══════════════════════════════════════════════════════════
   صفحة الفعاليات — بطاقات تُفتح في ألواح منبثقة
   ══════════════════════════════════════════════════════════ */

/* المكوّن يصبح زرّاً: يرث شكل البطاقة ويكسب مؤشّر النقر */
.pillar--tap {
  appearance: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
  width: 100%;
}
.pillar--tap:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.pillar__body { display: block; padding: 1.4rem 1.25rem 1.3rem; color: var(--white); }
.pillar__h {
  display: block;
  margin-bottom: 0.4rem;
  font-family: inherit;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
}
.pillar__p {
  display: block;
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}
.pillar__more {
  position: absolute;
  inset-block-end: 1.3rem;
  inset-inline-start: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.pillar--tap:hover .pillar__more,
.pillar--tap:focus-visible .pillar__more { opacity: 1; transform: none; }
[dir="rtl"] .pillar__more svg { transform: scaleX(-1); }

/* ── بطاقات الأيّام ──────────────────────────────────────── */

.days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
}
.day {
  position: relative;
  display: grid;
  gap: 0.3rem;
  padding: 1.5rem 1.35rem 1.35rem;
  text-align: start;
  font: inherit;
  color: var(--cream);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(201, 169, 97, 0.24);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, background-color 0.4s;
}
.day::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 80% 0%, rgba(201, 169, 97, 0.22), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.day:hover, .day:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(201, 169, 97, 0.6);
  outline: none;
}
.day:hover::before, .day:focus-visible::before { opacity: 1; }

.day > * { position: relative; }
.day__no {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(201, 169, 97, 0.55);
  font-variant-numeric: tabular-nums;
}
.day__when { font-size: 0.78rem; color: rgba(250, 246, 240, 0.6); }
.day__title { font-size: 1.05rem; font-weight: 800; line-height: 1.35; }
.day__text { font-size: 0.83rem; line-height: 1.6; color: rgba(250, 246, 240, 0.66); }
.day__foot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold);
}
[dir="rtl"] .day__foot svg { transform: scaleX(-1); }

/* ── اللوح المنبثق ──────────────────────────────────────── */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 2rem);
}
.sheet[hidden] { display: none; }

.sheet__scrim {
  position: absolute;
  inset: 0;
  background: rgba(16, 9, 6, 0.72);
  backdrop-filter: blur(5px);
  animation: sheet-fade 0.32s var(--ease) both;
}

.sheet__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  color: var(--ink);
  border-radius: clamp(18px, 2.4vw, 26px);
  box-shadow: 0 30px 80px rgba(16, 9, 6, 0.45);
  animation: sheet-rise 0.45s var(--ease) both;
}

@keyframes sheet-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-rise {
  from { opacity: 0; transform: translateY(26px) scale(0.965); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet__scrim, .sheet__panel { animation: none; }
}

.sheet__x {
  position: absolute;
  inset-block-start: 0.9rem;
  inset-inline-end: 0.9rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  background: rgba(16, 9, 6, 0.5);
  backdrop-filter: blur(4px);
  transition: background-color 0.3s, transform 0.3s var(--ease);
}
.sheet__x:hover { background: rgba(16, 9, 6, 0.75); transform: rotate(90deg); }
/* بلا صورة يعلو الزرّ سطحاً فاتحاً، فيقلب ألوانه */
.sheet__panel:not(:has(.sheet__media)) .sheet__x {
  color: var(--coffee);
  background: rgba(62, 39, 35, 0.09);
}
.sheet__panel:not(:has(.sheet__media)) .sheet__x:hover {
  color: var(--white);
  background: var(--coffee);
}

.sheet__media { aspect-ratio: 16 / 8; overflow: hidden; }
.sheet__media img { width: 100%; height: 100%; object-fit: cover; }

.sheet__body { padding: clamp(1.35rem, 3vw, 2.25rem); }
.sheet__body > h3 { margin: 0 0 0.7rem; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.sheet__body > p { color: var(--muted); line-height: 1.95; }
.sheet__lead { font-weight: 600; color: var(--coffee); }

.sheet__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1rem;
  border-radius: 15px;
  color: var(--coffee-900);
  background: var(--gold);
  box-shadow: 0 6px 18px rgba(201, 169, 97, 0.35);
}
/* اللوح المصوّر يرفع أيقونته فوق حافّة الصورة */
.sheet__media + .sheet__body .sheet__icon { margin-top: -3.5rem; position: relative; }

.sheet__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2.25rem) 0;
}
.sheet__day {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  font-size: 1.3rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  background: var(--coffee-900);
}
.sheet__when { font-size: 0.82rem; color: var(--muted); }
.sheet__head h3 { margin: 0.1rem 0 0; font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.sheet__panel--agenda .sheet__body { padding-top: 1.25rem; }

/* ── الخطّ الزمني داخل أجندة اليوم ──────────────────────── */

.tl { list-style: none; margin: 1.35rem 0 0; padding: 0; display: grid; }
.tl__row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.tl__row:first-child { border-top: 0; }
.tl__time {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--cocoa);
  font-variant-numeric: tabular-nums;
  padding-top: 0.1rem;
}
.tl__main h4 { margin: 0; font-size: 0.98rem; font-weight: 800; line-height: 1.45; }
.tl__main p { margin: 0.25rem 0 0; font-size: 0.86rem; color: var(--muted); line-height: 1.7; }
.tl__meta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.45rem; font-size: 0.78rem; color: var(--muted); }
.tl__meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.tl__meta svg { color: var(--gold); }
.tl__tag {
  flex: none;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--cocoa);
  background: rgba(201, 169, 97, 0.15);
}

@media (max-width: 560px) {
  .tl__row { grid-template-columns: 1fr; gap: 0.3rem; }
  .tl__tag { justify-self: start; }
}


/* ══════════════════════════════════════════════════════════
   البطولات — بطاقات بحالة تسجيل ونموذج دخول
   ══════════════════════════════════════════════════════════ */

.trn {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.75rem);
}

.trn-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.trn-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.trn-card__media { aspect-ratio: 16 / 10; background: var(--coffee-700); overflow: hidden; }
.trn-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.trn-card:hover .trn-card__media img { transform: scale(1.05); }

.trn-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  flex: 1;
}

.trn-card__top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.trn-card__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  color: var(--coffee-900);
  background: var(--gold);
}
.trn-card__state {
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--muted);
  background: rgba(62, 39, 35, 0.07);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.trn-card__state.is-open {
  color: #2f6b46;
  background: rgba(47, 107, 70, 0.12);
  border-color: rgba(47, 107, 70, 0.3);
}

.trn-card h2 { margin: 0.2rem 0 0; font-size: clamp(1.1rem, 1.9vw, 1.4rem); }
.trn-card__prize { margin: 0; font-size: 0.9rem; color: var(--ink); }
.trn-card__prize span { color: var(--gold); font-weight: 800; }
.trn-card__text { margin: 0; font-size: 0.87rem; line-height: 1.75; color: var(--muted); }

.trn-card__cta {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
}
.trn-card__soon { margin: auto 0 0; font-size: 0.83rem; color: var(--muted); }

/* ── نموذج التسجيل ──────────────────────────────────────── */

.reg {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}
@media (max-width: 940px) { .reg { grid-template-columns: 1fr; } }

.reg__form {
  padding: clamp(1.35rem, 3vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.reg__form > h2 { margin: 0 0 0.4rem; font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

.form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 0.4rem; }
.field > span { font-size: 0.87rem; font-weight: 700; }
.field > span b { color: var(--gold); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.93rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.25s, background-color 0.25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 96px; }
.field__err { font-size: 0.79rem; color: #a33; }

.form__errors:not(:empty) {
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: rgba(170, 51, 51, 0.08);
  border: 1px solid rgba(170, 51, 51, 0.25);
  color: #a33;
  font-size: 0.87rem;
}
.form__errors ul { margin: 0; padding-inline-start: 1.1rem; }

/* فخّ البريد المزعج — خارج التدفّق البصري وخارج قارئ الشاشة */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.reg__done { text-align: center; padding: clamp(1rem, 3vw, 2rem) 0; }
.reg__done-icon {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  color: var(--coffee-900);
  background: var(--gold);
}
.reg__done h2 { margin: 0 0 0.5rem; }
.reg__done p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

.reg__side { display: grid; gap: 1rem; }
.reg__cover { width: 100%; border-radius: var(--radius-card); }
.reg__facts {
  padding: clamp(1.15rem, 2vw, 1.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.reg__facts h3 { margin: 0 0 0.8rem; font-size: 1.05rem; }
.reg__desc { font-size: 0.88rem; line-height: 1.8; color: var(--muted); }
.reg__desc p { margin: 0 0 0.7rem; }
.reg__facts dl { margin: 1rem 0 0; display: grid; gap: 0.7rem; }
.reg__facts dl > div { display: grid; gap: 0.15rem; padding-top: 0.7rem; border-top: 1px solid var(--line-soft, rgba(62,39,35,.07)); }
.reg__facts dt { font-size: 0.78rem; color: var(--muted); }
.reg__facts dd { margin: 0; font-size: 0.9rem; font-weight: 700; }


/* ══════════════════════════════════════════════════════════
   العارضون — نداء العرض المتحرّك
   ══════════════════════════════════════════════════════════ */

.pitch {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.25rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
  background: radial-gradient(130% 100% at 15% 0%, var(--coffee-700) 0%, var(--coffee-900) 62%);
  color: var(--cream);
}

.pitch__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* حبّات قهوة تطفو ببطء خلف النصّ */
.pitch__bean {
  position: absolute;
  border: 1.5px solid rgba(201, 169, 97, 0.22);
  border-radius: 52% 48% 50% 50% / 62% 62% 38% 38%;
  animation: bean-drift 18s var(--ease) infinite;
}
.pitch__bean::after {
  content: "";
  position: absolute;
  inset-block: 12%;
  inset-inline-start: 50%;
  width: 1.5px;
  background: rgba(201, 169, 97, 0.22);
  transform: translateX(-50%);
  border-radius: 2px;
}
.pitch__bean--1 { width: 210px; height: 260px; inset-block-start: 8%; inset-inline-end: 6%; transform: rotate(-18deg); }
.pitch__bean--2 { width: 130px; height: 165px; inset-block-end: 12%; inset-inline-end: 26%; animation-delay: -6s; transform: rotate(24deg); }
.pitch__bean--3 { width: 92px; height: 116px; inset-block-start: 22%; inset-inline-start: 12%; animation-delay: -11s; transform: rotate(8deg); }

.pitch__glow {
  position: absolute;
  inset-block-start: -30%;
  inset-inline-start: -8%;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.16), transparent 62%);
}

@keyframes bean-drift {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); opacity: 0.65; }
  50% { transform: translateY(-26px) rotate(calc(var(--r, 0deg) + 8deg)); opacity: 1; }
}
.pitch__bean--1 { --r: -18deg; }
.pitch__bean--2 { --r: 24deg; }
.pitch__bean--3 { --r: 8deg; }

.pitch__inner { max-width: 54ch; }
.pitch__pill { animation: pitch-in 0.6s var(--ease) both; }

.pitch__h {
  margin: 1.1rem 0 0;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.18;
}
.pitch__line { display: block; animation: pitch-in 0.7s var(--ease) both; }
.pitch__line:nth-child(1) { animation-delay: 0.1s; }
.pitch__line--gold {
  color: var(--gold);
  animation-delay: 0.24s;
  /* خطّ يُرسم تحت السطر الذهبي بعد ظهوره */
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 3px no-repeat;
  padding-bottom: 0.12em;
  animation: pitch-in 0.7s var(--ease) 0.24s both, pitch-rule 0.9s var(--ease) 0.75s forwards;
}
[dir="rtl"] .pitch__line--gold { background-position: 100% 100%; }

.pitch__lead {
  margin: 1.35rem 0 0;
  max-width: 52ch;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.9;
  color: rgba(250, 246, 240, 0.78);
  animation: pitch-in 0.7s var(--ease) 0.38s both;
}

.pitch__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
  animation: pitch-in 0.7s var(--ease) 0.5s both;
}
.btn--lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.pitch__ghost { color: var(--cream); border-color: rgba(250, 246, 240, 0.35); }
.pitch__ghost:hover { background: rgba(250, 246, 240, 0.1); }

.pitch__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: clamp(2.25rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}
.pitch__facts li {
  display: grid;
  gap: 0.1rem;
  animation: pitch-in 0.7s var(--ease) calc(0.55s + var(--i) * 0.1s) both;
}
.pitch__facts-n {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.pitch__facts-l { font-size: 0.82rem; color: rgba(250, 246, 240, 0.66); }

@keyframes pitch-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes pitch-rule { to { background-size: 100% 3px; } }

@media (prefers-reduced-motion: reduce) {
  .pitch__bean,
  .pitch__pill,
  .pitch__line,
  .pitch__lead,
  .pitch__cta,
  .pitch__facts li { animation: none; }
  .pitch__line--gold { background-size: 100% 3px; }
}


/* ══════════════════════════════════════════════════════════
   قسم المؤتمر في الرئيسيّة — نفس لوحة صفحة المؤتمر الكحليّة
   ══════════════════════════════════════════════════════════ */

.conf-band {
  --navy: #061936;
  --navy-700: #123059;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(110% 80% at 80% 0%, var(--navy-700) 0%, var(--navy) 60%);
  color: var(--cream);
}

.conf-band .conf__info h2,
.conf-band .conf__themes-head h3 { color: var(--white); }
.conf-band .conf__lead { color: rgba(250, 246, 240, 0.76); }
.conf-band .conf__stats dd { color: rgba(250, 246, 240, 0.62); }

/* الشارات على أرضيّة كحليّة: زجاج بحدّ ذهبي */
.conf-band .chip {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 169, 97, 0.32);
  backdrop-filter: blur(6px);
}

/* الخطّ الفاصل قبل «أبرز المحاور» يفتح مع الأرضيّة */
.conf-band .conf__themes-head::after {
  background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.22));
}
[dir="ltr"] .conf-band .conf__themes-head::after {
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.22));
}

/* بطاقات المحاور تبقى بيضاء — التباين هو المقصود.
   لولا إعادة ضبط اللون لورثت حبر القسم الفاتح واختفى نصّها. */
.conf-band .theme-card {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.12);
}
.conf-band .theme-card h4 { color: var(--ink); }
.conf-band .theme-card:hover { border-color: rgba(201, 169, 97, 0.55); }

.conf-band .link-more { color: var(--gold-soft); }
.conf-band .link-more:hover { color: var(--white); }

/* بطاقة MECO تحتاج حدّاً لتنفصل عن أرضيّة قريبة من لونها */
.conf-band .conf__badge {
  border: 1px solid rgba(201, 169, 97, 0.22);
  box-shadow: 0 26px 70px rgba(2, 8, 20, 0.5);
}


/* ── بطاقات الأيّام على أرضيّة فاتحة ──────────────────────── */
/* البطاقات مصمّمة أصلاً لأرضيّة بنّيّة داكنة؛ هنا تُقلب ألوانها
   بالكامل بدل أن ترث حبراً فاتحاً على سطح فاتح. */

.section--cream .day {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.section--cream .day::before {
  background: radial-gradient(120% 80% at 80% 0%, rgba(201, 169, 97, 0.16), transparent 62%);
}
.section--cream .day:hover,
.section--cream .day:focus-visible {
  border-color: rgba(201, 169, 97, 0.6);
  box-shadow: var(--shadow-md);
}

.section--cream .day__no { color: rgba(201, 169, 97, 0.85); }
.section--cream .day__when { color: var(--muted); }
.section--cream .day__title { color: var(--ink); }
.section--cream .day__text { color: var(--muted); }
.section--cream .day__foot { color: var(--cocoa); }
