/* ====================================================
   نظام الطيبات - التصميم الشامل
   النمط: احترافي عربي RTL حديث
   ==================================================== */

/* ---- متغيرات التصميم ---- */
:root {
  --clr-primary: #2D6A4F;
  --clr-primary-dark: #1B4332;
  --clr-primary-light: #52B788;
  --clr-primary-xlight: #B7E4C7;
  --clr-primary-bg: #D8F3DC;
  --clr-accent: #D4A017;
  --clr-accent-dark: #B8860B;
  --clr-accent-light: #F4D03F;
  --clr-accent-bg: #FEF9E7;
  --clr-bg: #F8FAF9;
  --clr-bg-alt: #EEF7F2;
  --clr-white: #FFFFFF;
  --clr-surface: #FFFFFF;
  --clr-surface-elevated: #FFFFFF;
  --clr-text: #1A2E24;
  --clr-text-md: #374151;
  --clr-text-light: #6B7280;
  --clr-text-muted: #9CA3AF;
  --clr-border: #D1FAE5;
  --clr-border-dark: #A7F3D0;
  --clr-red: #E74C3C;
  --clr-red-bg: #FDEDEC;
  --clr-green: #27AE60;
  --clr-green-bg: #EAFAF1;

  --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.08);
  --shadow-md: 0 4px 20px rgba(27, 67, 50, 0.12);
  --shadow-lg: 0 8px 40px rgba(27, 67, 50, 0.16);
  --shadow-xl: 0 20px 60px rgba(27, 67, 50, 0.2);
  --shadow-accent: 0 8px 30px rgba(212, 160, 23, 0.25);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font-primary: 'Tajawal', 'Segoe UI', Arial, sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --btn-depth: 4px;
  --btn-depth-hover: 6px;
  --btn-depth-active: 2px;
  --btn-shadow:
    0 var(--btn-depth) 0 rgba(0, 0, 0, 0.15),
    0 calc(var(--btn-depth) + 2px) 16px rgba(0, 0, 0, 0.1);
  --btn-shadow-hover:
    0 var(--btn-depth-hover) 0 rgba(0, 0, 0, 0.15),
    0 calc(var(--btn-depth-hover) + 4px) 20px rgba(0, 0, 0, 0.12);
  --btn-shadow-active:
    0 var(--btn-depth-active) 0 rgba(0, 0, 0, 0.15),
    0 calc(var(--btn-depth-active) + 1px) 8px rgba(0, 0, 0, 0.08);

  --container-width: 1200px;
  --notice-height: 44px;
  --nav-height: 72px;
}

/* ====================================================
   إعادة الضبط والقاعدة
   ==================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-primary);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-primary);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--clr-text);
}

p {
  line-height: 1.8;
  color: var(--clr-text-md);
}

/* ====================================================
   الإطار والتخطيط
   ==================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* تمرير «تخطي إلى المحتوى» لا يخبئ العنوان تحت الشريط الثابت */
#main-content {
  scroll-margin-top: calc(var(--notice-height) + var(--nav-height) + 12px);
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .badge {
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--clr-primary-dark);
}

.section-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--clr-text-light);
}

/* ====================================================
   الشريط العلوي / Navigation
   ==================================================== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(167, 243, 208, 0.45);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(27, 67, 50, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--nav-height) - 8px);
  width: 100%;
  max-width: calc(var(--container-width) + 48px);
  margin: 4px auto;
  padding: 0 clamp(12px, 3vw, 24px);
  border-radius: 16px;
  border: 1px solid rgba(183, 228, 199, 0.75);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.8));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

/* الشعار */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
}

.logo-icon-svg {
  display: block;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* شعار إيموجي 🌿 */
.logo-icon-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--logo-emoji-size, 44px);
  height: var(--logo-emoji-size, 44px);
  font-size: var(--logo-emoji-font, 26px);
  line-height: 1;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(155deg, var(--clr-primary-dark) 0%, var(--clr-primary) 55%, #40916c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 8px rgba(27, 67, 50, 0.28);
  user-select: none;
  text-shadow: 0 1px 2px rgba(15, 41, 25, 0.35);
}

.footer-logo .logo-icon-emoji {
  background: linear-gradient(155deg, #1B4332 0%, #2D6A4F 50%, #40916c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 4px 14px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--clr-primary-dark);
  letter-spacing: -0.3px;
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--clr-text-light);
  font-weight: 400;
}

/* روابط القائمة */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-menu a {
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text-md);
  border-radius: 12px;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--clr-primary);
  background: linear-gradient(180deg, #effaf4, #dff5e8);
}

.navbar-menu a.active::after {
  content: '';
  position: absolute;
  right: 12px;
  left: 12px;
  bottom: 5px;
  height: 2px;
  background: var(--clr-primary);
  border-radius: 999px;
}

/* تسجيل الخروج في شريط الروابط — أقل بروزاً من الروابط الرئيسية */
.navbar-menu .nav-item-logout a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-light);
  padding: 8px 12px;
  border: 1px solid rgba(45, 106, 79, 0.18);
  background: rgba(255, 255, 255, 0.65);
}

.navbar-menu .nav-item-logout a:hover {
  color: var(--clr-primary-dark);
  background: rgba(216, 243, 220, 0.55);
  border-color: rgba(45, 106, 79, 0.28);
}

.navbar-menu .nav-item-logout a.active::after {
  display: none;
}

/* ——— قائمة «المزيد» — Mega menu (سطح المكتب) ——— */
.nav-mega {
  position: relative;
}

.nav-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text-md);
  border-radius: 12px;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-mega-trigger:hover,
.nav-mega.is-open .nav-mega-trigger,
.nav-mega--child-active .nav-mega-trigger {
  color: var(--clr-primary);
  background: linear-gradient(180deg, #effaf4, #dff5e8);
}

.nav-mega-chevron {
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
  margin-block-start: -0.2em;
  opacity: 0.85;
}

.nav-mega.is-open .nav-mega-chevron {
  transform: rotate(-135deg);
  margin-block-start: 0.12em;
}

/* خارج .navbar حتى لا يُقصّ بسبب backdrop-filter على الشريط */
.nav-mega-panel {
  position: fixed;
  z-index: 10050;
  left: 50%;
  right: auto;
  top: calc(var(--notice-height) + var(--nav-height) - 4px);
  width: min(920px, calc(100vw - 20px));
  max-height: min(70dvh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 20px 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 249, 0.97) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(167, 243, 208, 0.75);
  border-radius: 18px;
  box-shadow:
    0 4px 0 rgba(45, 106, 79, 0.05),
    0 28px 55px rgba(27, 67, 50, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px) scale(0.98);
  transition:
    opacity 0.22s ease,
    transform 0.26s cubic-bezier(0.34, 1.15, 0.64, 1),
    visibility 0.22s;
}

.nav-mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

@media (max-width: 768px) {
  .nav-mega-panel {
    display: none;
  }
}

.nav-mega-hint {
  font-size: 0.78rem;
  color: var(--clr-text-light);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
  line-height: 1.5;
}

.nav-mega-featured {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.nav-mega-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text-md);
  background: linear-gradient(180deg, #f0fdf4, #e8f8ef);
  border: 1px solid rgba(167, 243, 208, 0.95);
  transition: var(--transition);
  text-decoration: none;
}

.nav-mega-featured__link:hover {
  color: var(--clr-primary-dark);
  border-color: rgba(45, 106, 79, 0.28);
  box-shadow: var(--shadow-sm);
}

.nav-mega-featured__link.navbar-ai-link {
  color: var(--clr-accent-dark);
}

.nav-mega-featured__link.navbar-ai-link:hover {
  color: #7c2d12;
}

.nav-mega-featured__link--ticket {
  background: linear-gradient(180deg, #fffbeb, #fef3c7);
  border-color: rgba(245, 158, 11, 0.45);
  color: #92400e;
}

.nav-mega-featured__link--ticket:hover {
  color: #78350f;
  border-color: rgba(217, 119, 6, 0.55);
}

.nav-mega-featured__link--videos {
  background: linear-gradient(180deg, #fff5f5, #fee2e2);
  border-color: rgba(248, 113, 113, 0.45);
  color: #991b1b;
}

.nav-mega-featured__link--videos:hover {
  color: #7f1d1d;
  border-color: rgba(220, 38, 38, 0.4);
}

.nav-mega-featured__link--doctor {
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  border-color: rgba(96, 165, 250, 0.45);
  color: #1e40af;
}

.nav-mega-featured__link--doctor:hover {
  color: #1e3a8a;
  border-color: rgba(59, 130, 246, 0.45);
}

.nav-mega-list__ticket {
  font-weight: 700;
}

.nav-mega-featured__icon {
  font-size: 1.05rem;
  line-height: 1;
}

.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 22px;
}

.nav-mega-col-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-primary-dark);
  margin: 0 0 10px;
  line-height: 1.3;
}

.nav-mega-col-title--sub {
  margin-top: 16px;
  margin-bottom: 8px;
  color: var(--clr-text-light);
}

.nav-mega-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-mega-list a {
  display: block;
  padding: 8px 10px;
  margin-inline: -10px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text-md);
  transition: var(--transition);
  white-space: normal;
  line-height: 1.35;
}

.nav-mega-list a:hover {
  color: var(--clr-primary);
  background: rgba(216, 243, 220, 0.45);
}

.nav-mega-list a.active {
  color: var(--clr-primary-dark);
  background: var(--clr-primary-bg);
}

.nav-mega-panel .nav-mega-list a.active::after,
.nav-mega-panel .nav-mega-list a::after {
  display: none;
}

.nav-mega-list--legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 10px;
}

.nav-mega-list--legal a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-text-light);
}

.nav-mega-list--legal a:hover {
  color: var(--clr-primary);
}

.nav-mega-trigger:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 2px;
}

@media (max-width: 900px) and (min-width: 769px) {
  .nav-mega-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-mega-col--wide {
    grid-column: 1 / -1;
  }

  .nav-mega-list--legal {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* سطح المكتب: شعار | قائمة مركزة | أزرار */
@media (min-width: 769px) {
  .navbar-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(10px, 1.8vw, 22px);
  }

  .navbar-logo {
    justify-self: start;
  }

  .navbar-menu {
    justify-self: center;
    justify-content: center;
    min-width: 0;
    flex-wrap: nowrap;
    max-width: 100%;
    padding-inline: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }

  .navbar-menu::-webkit-scrollbar {
    height: 0;
    width: 0;
  }

  .navbar-actions {
    grid-column: 3;
    justify-self: end;
  }
}

/* أدوات نهاية الشريط: وضع داكن + CTA */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-actions .navbar-cta .btn-nav-toolbar {
  min-height: 40px;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  --btn-depth: 0;
  --btn-depth-hover: 0;
  --btn-depth-active: 0;
  box-shadow: none;
  transform: none;
}

.nav-toolbar-txt--xs {
  display: none;
}

.navbar-actions .navbar-cta .btn-nav-toolbar:hover,
.navbar-actions .navbar-cta .btn-nav-toolbar:focus-visible {
  transform: none;
}

.navbar-actions .navbar-cta .btn-primary.btn-nav-toolbar {
  border: 1px solid rgba(45, 106, 79, 0.35);
}

.navbar-actions .navbar-cta .btn-secondary.btn-nav-toolbar {
  background: var(--clr-primary-bg);
  border: 1px solid var(--clr-border);
}

.navbar-cta .btn {
  box-shadow: none;
}

.navbar-ai-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clr-accent-dark) !important;
  font-weight: 800 !important;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 1px solid rgba(146, 64, 14, 0.18);
}

/* زر الهامبرجر */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: var(--clr-primary-dark);
  border: 1px solid transparent;
}

.hamburger:hover {
  background: rgba(45, 106, 79, 0.08);
  border-color: rgba(45, 106, 79, 0.12);
}

.hamburger:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 2px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* القائمة الجوالة — طبقة كاملة + لوحة جانبية (drawer) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  pointer-events: none;
}

.mobile-menu.open {
  display: block;
  pointer-events: auto;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 32, 22, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.open .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu__sheet {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(100%, 400px);
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  background: linear-gradient(185deg, #ffffff 0%, #f3f8f5 55%, #eef5f0 100%);
  border-inline-start: 1px solid rgba(45, 106, 79, 0.14);
  box-shadow: -12px 0 48px rgba(15, 45, 32, 0.22);
  transform: translateX(110%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

body.is-rtl .mobile-menu__sheet {
  right: 0;
  left: auto;
  border-radius: 22px 0 0 22px;
}

body.is-rtl .mobile-menu.open .mobile-menu__sheet {
  transform: translateX(0);
}

body.is-ltr .mobile-menu__sheet {
  left: 0;
  right: auto;
  border-radius: 0 22px 22px 0;
  box-shadow: 12px 0 48px rgba(15, 45, 32, 0.22);
  transform: translateX(-110%);
}

body.is-ltr .mobile-menu.open .mobile-menu__sheet {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: max(14px, env(safe-area-inset-top)) 16px 12px;
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.mobile-menu-head__text {
  min-width: 0;
}

.mobile-menu-title {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--clr-primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.mobile-menu-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-text-light);
  line-height: 1.45;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  border: 1px solid rgba(45, 106, 79, 0.16);
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.mobile-menu-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--clr-primary-dark);
  border-radius: 2px;
}

.mobile-menu-close span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu-close:hover {
  background: var(--clr-primary-bg);
  border-color: rgba(45, 106, 79, 0.28);
}

.mobile-menu-close:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 2px;
}

.mobile-menu-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 14px 10px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}

.mobile-menu-primary {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 6px;
}

.mobile-menu-acc-hint {
  margin: 10px 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-text-light);
}

.mobile-nav-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--clr-text-md);
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.35;
  border: 1px solid rgba(45, 106, 79, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.mobile-nav-row:hover {
  color: var(--clr-primary-dark);
  border-color: rgba(82, 183, 136, 0.45);
  background: linear-gradient(180deg, #f6fdf9, #e8f8ef);
}

.mobile-nav-row.active {
  color: var(--clr-primary-dark);
  border-color: rgba(45, 106, 79, 0.35);
  background: var(--clr-primary-bg);
}

.mobile-nav-row__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(45, 106, 79, 0.08), rgba(45, 106, 79, 0.03));
  font-size: 1.15rem;
  line-height: 1;
}

.mobile-nav-row--ai .mobile-nav-row__ico {
  background: linear-gradient(145deg, rgba(212, 160, 23, 0.18), rgba(45, 106, 79, 0.06));
}

.mobile-nav-row--accent {
  border-color: rgba(45, 106, 79, 0.18);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.95), rgba(255, 255, 255, 0.9));
}

.mobile-nav-row--compact {
  padding: 9px 10px;
  font-size: 0.88rem;
  border-radius: 12px;
  grid-template-columns: 34px 1fr;
  gap: 10px;
}

.mobile-nav-row--compact .mobile-nav-row__ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 1rem;
}

.mobile-nav-row--legal {
  grid-template-columns: 1fr;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--clr-text-light);
  padding-inline: 14px;
}

.mobile-nav-row--legal:hover,
.mobile-nav-row--legal.active {
  color: var(--clr-primary);
}

.mobile-nav-acc {
  border: 1px solid rgba(45, 106, 79, 0.11);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
}

.mobile-nav-acc--legal .mobile-nav-acc__title {
  color: var(--clr-text-md);
}

.mobile-nav-acc__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--clr-primary-dark);
  user-select: none;
  transition: background 0.18s ease;
}

.mobile-nav-acc__summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-acc__summary::marker {
  display: none;
}

.mobile-nav-acc__summary:hover {
  background: rgba(45, 106, 79, 0.04);
}

.mobile-nav-acc__title {
  flex: 1;
  min-width: 0;
}

.mobile-nav-acc__chev {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(45, 106, 79, 0.08);
  transition: background 0.18s ease;
}

.mobile-nav-acc__chev::after {
  content: '+';
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  color: var(--clr-primary-dark);
  opacity: 0.85;
}

.mobile-nav-acc[open] > .mobile-nav-acc__summary .mobile-nav-acc__chev::after {
  content: '−';
  font-size: 1.15rem;
  font-weight: 700;
}

.mobile-nav-acc__body {
  padding: 4px 8px 12px;
  border-top: 1px solid rgba(45, 106, 79, 0.08);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-actions__btn {
  margin-top: 0;
}

.mobile-menu-actions .mobile-menu-actions__btn + .mobile-menu-actions__btn {
  margin-top: 0;
}

.mobile-menu-actions {
  flex-shrink: 0;
  padding: 14px 16px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(45, 106, 79, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 24%);
}

.mobile-menu-actions .btn {
  width: 100%;
  justify-content: center;
}

.mobile-menu-actions .btn-primary:hover {
  color: var(--clr-white) !important;
}

.mobile-menu-actions .btn-secondary:hover {
  color: var(--clr-primary-dark) !important;
}

@media (max-width: 380px) {
  .mobile-menu__sheet {
    width: 100%;
    border-radius: 0;
  }

  body.is-rtl .mobile-menu__sheet,
  body.is-ltr .mobile-menu__sheet {
    border-radius: 0;
  }
}

/* صف «المساعد الذكي» في الموبايل: تجاوز display:inline-flex من .navbar-ai-link */
.mobile-menu .mobile-nav-row.navbar-ai-link {
  display: grid;
  color: var(--clr-text-md) !important;
  font-weight: 600 !important;
}

.mobile-menu .mobile-nav-row.navbar-ai-link:hover,
.mobile-menu .mobile-nav-row.navbar-ai-link.active {
  color: var(--clr-primary-dark) !important;
}

/* ====================================================
   الأزرار (نظام 3D موحّد — Canva CTA)
   ==================================================== */
.btn,
.btn-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  box-shadow: var(--btn-shadow);
  transform: translateY(0);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.btn::before,
.btn-3d::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 12%;
  right: 12%;
  height: 30%;
  border-radius: 50%;
  pointer-events: none;
}

.btn:not(:disabled):not([aria-disabled='true']):hover,
.btn-3d:not(:disabled):not([aria-disabled='true']):hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}

.btn:not(:disabled):not([aria-disabled='true']):active,
.btn-3d:not(:disabled):not([aria-disabled='true']):active {
  transform: translateY(2px);
  box-shadow: var(--btn-shadow-active);
}

.btn:focus-visible,
.btn-3d:focus-visible {
  outline: 2px solid var(--clr-primary-light);
  outline-offset: 3px;
}

.btn:disabled,
.btn[aria-disabled='true'],
.btn-3d:disabled,
.btn-3d[aria-disabled='true'] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(180deg, var(--clr-primary-light), var(--clr-primary));
  color: var(--clr-white);
}

.btn-primary::before {
  background: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--clr-white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--clr-primary-dark);
  border: 1px solid var(--clr-primary-xlight);
  --btn-shadow:
    0 3px 0 rgba(45, 106, 79, 0.12),
    0 5px 14px rgba(27, 67, 50, 0.08);
  --btn-shadow-hover:
    0 5px 0 rgba(45, 106, 79, 0.14),
    0 8px 18px rgba(27, 67, 50, 0.1);
  --btn-shadow-active:
    0 2px 0 rgba(45, 106, 79, 0.1),
    0 3px 8px rgba(27, 67, 50, 0.06);
}

.btn-secondary::before {
  background: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--clr-primary-dark);
  background: var(--clr-surface);
}

.btn-accent {
  background: linear-gradient(180deg, var(--clr-accent-light), var(--clr-accent));
  color: var(--clr-text);
}

.btn-accent::before {
  background: rgba(255, 255, 255, 0.35);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  color: var(--clr-text);
}

.btn-white {
  background: rgba(255, 255, 255, 0.92);
  color: var(--clr-primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.5);
  --btn-shadow:
    0 3px 0 rgba(45, 106, 79, 0.1),
    0 5px 14px rgba(27, 67, 50, 0.08);
}

.btn-white::before {
  background: rgba(255, 255, 255, 0.55);
}

.btn-white:hover,
.btn-white:focus-visible {
  color: var(--clr-primary-dark);
  background: var(--clr-surface);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
  --btn-depth: 3px;
  --btn-depth-hover: 5px;
  --btn-depth-active: 2px;
}

/* أسماء CTA — نفس أنماط الأزرار العامة */
.btn-3d--gold,
.btn-3d.btn-3d--gold,
.btn-accent.btn-3d {
  background: linear-gradient(180deg, var(--clr-accent-light), var(--clr-accent));
  color: var(--clr-text);
}

.btn-3d--gold::before {
  background: rgba(255, 255, 255, 0.35);
}

.btn-3d--green,
.btn-3d.btn-3d--green {
  background: linear-gradient(180deg, var(--clr-primary-light), var(--clr-primary));
  color: var(--clr-white);
}

.btn-3d--green::before {
  background: rgba(255, 255, 255, 0.2);
}

.btn-3d--light,
.btn-3d.btn-3d--light {
  background: rgba(255, 255, 255, 0.85);
  color: var(--clr-primary-dark);
  border: 1px solid var(--clr-primary-xlight);
  --btn-shadow:
    0 3px 0 rgba(45, 106, 79, 0.12),
    0 5px 14px rgba(27, 67, 50, 0.08);
}

.btn-3d--light::before {
  background: rgba(255, 255, 255, 0.5);
}

.btn-3d--light:hover,
.btn-3d--light:focus-visible {
  color: var(--clr-primary-dark);
}

/* ====================================================
   الشارات (Badges)
   ==================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: var(--clr-primary-bg);
  color: var(--clr-primary);
  border: 1px solid var(--clr-primary-xlight);
}

.badge-accent {
  background: var(--clr-accent-bg);
  color: var(--clr-accent-dark);
  border: 1px solid rgba(212, 160, 23, 0.3);
}

.badge-green {
  background: var(--clr-green-bg);
  color: var(--clr-green);
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.badge-red {
  background: var(--clr-red-bg);
  color: var(--clr-red);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ====================================================
   البطاقات (Cards)
   ==================================================== */
.card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--clr-primary-xlight);
}

.card-body {
  padding: 28px;
}

/* ====================================================
   القسم العلوي / Hero
   ==================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--notice-height) + var(--nav-height));
  background: linear-gradient(160deg,
    var(--clr-primary-dark) 0%,
    #1e5c3e 40%,
    #2d7a52 70%,
    var(--clr-primary) 100%);
  position: relative;
  overflow: hidden;
}

/* صفحات داخلية (مثل ما الجديد): لا تملأ الشاشة، وتبقى تحت الهيدر/الشريط الثابت */
.hero.hero--subpage {
  min-height: 0;
  align-items: flex-start;
  padding-top: calc(var(--notice-height) + var(--nav-height) + 1.75rem);
  padding-bottom: 2.75rem;
  scroll-margin-top: calc(var(--notice-height) + var(--nav-height) + 12px);
  isolation: isolate;
}

.hero.hero--subpage .hero-content {
  text-align: center;
  margin-inline: auto;
  max-width: 800px;
}

.hero.hero--subpage .hero-desc {
  margin-inline: auto;
}

/* عنوان فرعي أوضح: «التحسينات» داخل السطر (لا display:block الافتراضي للهيرو) */
.hero.hero--subpage h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  margin-bottom: 1rem;
  line-height: 1.28;
}

.hero.hero--subpage h1 .highlight {
  display: inline;
  padding-inline: 0.04em;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(244, 208, 63, 0.55);
}

.hero-subpage-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-subpage-panel {
  margin-inline: auto;
  max-width: 720px;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 3.5vw, 1.75rem);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero.hero--subpage .hero-subpage-panel .hero-badge {
  margin-bottom: 1rem;
}

.hero.hero--subpage .hero-subpage-panel .hero-desc {
  margin-bottom: 1.25rem;
}

.hero.hero--subpage .hero-actions {
  justify-content: center;
  margin-top: 0;
}

.breadcrumb.breadcrumb--hero-sub {
  justify-content: center;
  margin-bottom: 0.875rem;
}

/* سطر تاريخ/ميتا تحت وصف الهيرو الفرعي */
.hero-meta-line {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.875rem;
  font-size: 0.9rem;
}

/* هيرو فرعي LTR (صفحات /en/…) */
.hero.hero--subpage-en .hero-content {
  direction: ltr;
  text-align: center;
}

/* ما الجديد — تدرج خفيف يميّز الصفحة دون كسر الهوية */
.hero.hero--majadid {
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(212, 160, 23, 0.14) 0%, transparent 50%),
    linear-gradient(158deg, var(--clr-primary-dark) 0%, #163d28 44%, #247a52 78%, var(--clr-primary) 100%);
}

.hero.hero--majadid .hero-content {
  max-width: 680px;
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero--majadid .hero-badge .dot {
    animation: none;
  }
}

/* محتوى الجدول الزمني أسفل الهيرو — صفحة ما الجديد */
.majadid-section {
  padding: 2.5rem 0 4.5rem;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 12%, #ffffff 42%);
}

.majadid-wrap {
  max-width: 760px;
}

.majadid-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.majadid-card {
  padding: 1.5rem 1.625rem;
  margin-bottom: 1.125rem;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.majadid-card:last-of-type {
  margin-bottom: 0;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .majadid-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
}

.majadid-card--cyan {
  border-color: #cffafe;
  background: linear-gradient(135deg, #ecfeff, #ffffff);
}

.majadid-card--green {
  border-color: #d1fae5;
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.majadid-card--muted {
  border-color: #e2e8f0;
  background: #ffffff;
}

.majadid-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.majadid-pill {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.majadid-pill--cyan {
  color: #0e7490;
  background: #a5f3fc;
}

.majadid-pill--green {
  color: #14532d;
  background: #bbf7d0;
}

.majadid-pill--neutral {
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
}

.majadid-card__title {
  color: var(--clr-primary-dark);
  font-size: 1rem;
}

.majadid-card__title--muted {
  color: #1e293b;
}

.majadid-card__body {
  margin: 0;
  line-height: 1.85;
  color: #374151;
}

.majadid-footnote {
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 1.75rem;
  line-height: 1.75;
}

/* الصفحة الرئيسية — هيرو مضغوط + بطاقة مدمجة مع الفيديو */
.hero.hero--home {
  min-height: 0;
  align-items: flex-start;
  padding: calc(var(--notice-height) + var(--nav-height) + 18px) 0 clamp(22px, 4vw, 32px);
  background:
    radial-gradient(ellipse 115% 85% at 100% 0%, rgba(212, 160, 23, 0.2) 0%, transparent 52%),
    radial-gradient(ellipse 95% 75% at 0% 100%, rgba(82, 183, 136, 0.24) 0%, transparent 55%),
    linear-gradient(160deg, var(--clr-primary-dark) 0%, #153d28 42%, var(--clr-primary) 100%);
}

.hero-home-card {
  border-radius: clamp(18px, 2.5vw, 26px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hero-home-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
  gap: clamp(16px, 2.5vw, 28px);
  padding: clamp(18px, 3vw, 30px);
  align-items: center;
}

.hero-home-card__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  color: var(--clr-white);
}

.hero-home-card__head .hero-badge {
  margin-bottom: 10px;
  font-size: 0.76rem;
  padding: 5px 12px;
}

.hero-home-card h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.22;
  margin: 0;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.22);
  letter-spacing: -0.02em;
}

.hero-home-card h1 .highlight {
  text-shadow: 0 0 48px rgba(253, 224, 71, 0.28);
}

.hero-home-card .hero-desc {
  display: block;
  margin: 0;
  min-height: 0;
  font-size: clamp(0.94rem, 1.65vw, 1.05rem);
  line-height: 1.65;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.88);
  overflow-wrap: anywhere;
}

.hero-home-card__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.hero-home-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-home-pills li {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions--compact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.hero-actions--compact .btn-white {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.92rem;
}

.hero-home-quicklinks {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 0;
  max-width: 100%;
}

.hero-home-quicklinks__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-home-quicklinks__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-home-quicklinks__icon {
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.95;
  flex-shrink: 0;
}

.hero-home-quicklinks__label {
  min-width: 0;
}

.hero-home-quicklinks__label--mob {
  display: none;
}

.hero-home-quicklinks__label--desk {
  display: inline;
}

.hero-home-quicklinks__chip:hover,
.hero-home-quicklinks__chip:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(212, 160, 23, 0.45);
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.hero-home-quicklinks__chip--accent {
  background: rgba(212, 160, 23, 0.22);
  border-color: rgba(212, 160, 23, 0.42);
  color: #fff;
}

.hero-home-quicklinks__chip--accent:hover,
.hero-home-quicklinks__chip--accent:focus-visible {
  background: rgba(212, 160, 23, 0.34);
  border-color: rgba(253, 224, 71, 0.55);
}

.hero-home-quicklinks__chip--videos {
  background: rgba(82, 183, 136, 0.16);
  border-color: rgba(82, 183, 136, 0.32);
}

.hero-home-quicklinks__chip--videos:hover,
.hero-home-quicklinks__chip--videos:focus-visible {
  background: rgba(82, 183, 136, 0.26);
  border-color: rgba(82, 183, 136, 0.48);
}

@media (max-width: 768px) {
  .hero-home-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    padding-bottom: 4px;
  }

  .hero-home-pills::-webkit-scrollbar {
    display: none;
  }

  .hero-home-pills li {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .hero-home-quicklinks {
    margin-top: 8px;
    padding-top: 10px;
  }

  .hero-home-quicklinks__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .hero-home-quicklinks__list li {
    display: flex;
    min-width: 0;
  }

  .hero-home-quicklinks__item--wide {
    grid-column: 1 / -1;
  }

  .hero-home-quicklinks__item--wide .hero-home-quicklinks__chip {
    flex-direction: row;
    min-height: 42px;
  }

  .hero-home-quicklinks__chip {
    flex: 1;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    gap: 5px;
    font-size: 0.72rem;
  }

  .hero-home-quicklinks__label--mob {
    display: inline;
  }

  .hero-home-quicklinks__label--desk {
    display: none;
  }

  .hero-home-card .hero-desc {
    font-size: clamp(0.86rem, 3.6vw, 0.94rem);
    line-height: 1.58;
  }
}

@media (max-width: 520px) {
  .hero.hero--home {
    padding-bottom: 18px;
  }

  .hero.hero--home .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 12px;
    box-sizing: border-box;
  }

  .hero-home-card__body {
    padding: 14px 12px;
    gap: 12px;
  }

  .hero-home-card h1 {
    font-size: clamp(1.32rem, 5.2vw, 1.58rem);
  }

  .hero-home-quicklinks {
    margin-top: 6px;
    padding-top: 8px;
  }

  .hero-home-quicklinks__list {
    gap: 6px;
  }

  .hero-home-quicklinks__chip {
    flex-direction: column;
    gap: 3px;
    padding: 7px 6px;
    font-size: 0.68rem;
    min-height: 48px;
  }

  .hero-home-quicklinks__item--wide .hero-home-quicklinks__chip {
    flex-direction: row;
    gap: 6px;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 0.72rem;
  }

  .hero-home-quicklinks__icon {
    font-size: 1rem;
  }

  .hero-home-pills li {
    font-size: 0.68rem;
    padding: 4px 9px;
  }
}

.hero-home-card__media {
  min-width: 0;
}

.hero-home-card__media .hero-visual--media {
  width: 100%;
}

.hero-home-card__media .hero-video-frame {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-home-card__metrics.hero-stats {
  margin-top: 0;
  padding: 12px clamp(16px, 3vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.1);
  gap: 16px;
  justify-content: space-around;
}

.hero-home-card__metrics .hero-stat strong {
  font-size: 1.25rem;
}

.hero-home-card__metrics .hero-stat span {
  font-size: 0.72rem;
}

.hero-home-below {
  margin-top: 14px;
}

.hero-home-below .mt-spw-root--compact {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
}

@media (max-width: 900px) {
  .hero-home-card__body {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 14px;
    min-width: 0;
    overflow-x: clip;
  }

  .hero-home-card__col {
    display: contents;
  }

  .hero-home-card__head {
    order: 1;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .hero-home-card__media {
    order: 2;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .hero-home-card__details {
    order: 3;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .hero-actions--compact .btn-lg {
    flex: 1 1 auto;
    min-width: min(100%, 200px);
  }
}

.hero.hero--home .hero-inner {
  gap: clamp(28px, 5vw, 72px);
}

.hero.hero--home .hero-badge {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.14);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero.hero--home .hero-actions .hero-home-cta-primary {
  min-height: 52px;
  padding-inline: clamp(1.25rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 36px rgba(212, 160, 23, 0.48), 0 4px 16px rgba(0, 0, 0, 0.14);
}

.hero.hero--home .hero-actions .hero-home-cta-primary:hover {
  box-shadow: 0 12px 44px rgba(212, 160, 23, 0.58), 0 6px 20px rgba(0, 0, 0, 0.18);
}

@media (prefers-reduced-motion: no-preference) {
  .hero.hero--home .hero-actions .hero-home-cta-primary {
    animation: hero-home-cta-glow 4.5s ease-in-out infinite;
  }
}

@keyframes hero-home-cta-glow {
  0%, 100% {
    box-shadow: 0 8px 36px rgba(212, 160, 23, 0.48), 0 4px 16px rgba(0, 0, 0, 0.14);
  }
  50% {
    box-shadow: 0 10px 44px rgba(253, 224, 71, 0.35), 0 8px 32px rgba(212, 160, 23, 0.52);
  }
}

.hero.hero--home .hero-actions .btn-white.btn-lg {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero.hero--home .hero-trust {
  margin-top: 28px;
  padding: 0;
  gap: 10px 14px;
}

.hero.hero--home .hero-trust li {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.hero.hero--home .hero-trust li::before {
  content: none;
}

.hero.hero--home .hero-live-signups {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero.hero--home .hero-card-main {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero.hero--home .hero-stats {
  border-top-color: rgba(255, 255, 255, 0.22);
  margin-top: 40px;
  padding: 28px 20px 4px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
  border-radius: 18px 18px 0 0;
}

.hero.hero--home .hero-visual--media {
  position: relative;
  z-index: 2;
}

.hero.hero--home .hero-video-frame {
  position: relative;
  width: min(100%, 480px);
  margin-inline: auto;
}

.hero.hero--home .hero-video-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 4;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.96);
  background: rgba(27, 67, 50, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero.hero--home .hero-video-badge:hover,
.hero.hero--home .hero-video-badge:focus-visible {
  background: rgba(27, 67, 50, 0.92);
  color: #fde047;
  transform: translateY(-1px);
  outline: none;
}

@media (min-width: 1025px) {
  .hero.hero--home .hero-video-frame {
    width: min(100%, 440px);
    margin-inline: 0;
  }
}

/* زخارف الخلفية */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(82, 183, 136, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 160, 23, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255, 0.05) 0%, transparent 30%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: var(--clr-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--clr-white);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--clr-accent-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  color: var(--clr-accent-light);
  display: block;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.hero-trust li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-accent-light);
  flex-shrink: 0;
}

.hero-login-hint {
  margin-top: 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-login-hint a {
  color: var(--clr-accent-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-login-hint a:hover {
  color: var(--clr-white);
}

.hero-help-link-wrap {
  margin-top: 16px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.hero-help-link {
  color: var(--clr-accent-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-help-link:hover {
  color: var(--clr-white);
}

.hero-help-link__sep {
  color: rgba(255, 255, 255, 0.45);
}

/* خطوات التسجيل — الصفحة الرئيسية */
.signup-steps-section {
  background: linear-gradient(180deg, var(--clr-white) 0%, var(--clr-bg-alt) 100%);
  border-block: 1px solid var(--clr-border);
}

.signup-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .signup-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .signup-steps-grid.signup-steps-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .signup-steps-grid.signup-steps-grid--four {
    grid-template-columns: repeat(4, 1fr);
  }
}

.signup-step-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.signup-step-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-border-dark);
}

.signup-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--clr-primary-bg);
  color: var(--clr-primary-dark);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.signup-step-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: var(--clr-primary-dark);
}

.signup-step-card p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--clr-text-md);
  line-height: 1.75;
}

.signup-steps-actions {
  margin-top: 36px;
  text-align: center;
}

.signup-steps-actions .btn + .btn {
  margin-inline-start: 10px;
}

@media (max-width: 600px) {
  .signup-steps-actions .btn + .btn {
    margin-inline-start: 0;
    margin-top: 12px;
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }
}

/* قسم الإحصاء بالـ Hero */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--clr-accent-light);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* الجانب المرئي للـ Hero */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-main {
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: var(--clr-white);
  max-width: 380px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-card-main .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.food-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.food-item {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}

.food-item:hover {
  background: rgba(255,255,255,0.2);
}

.food-item .food-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 6px;
}

.food-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.hero-card-float {
  position: absolute;
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  animation: float 6s ease-in-out infinite;
  z-index: 4;
}

.hero-card-float.float-1 {
  top: -20px;
  left: -40px;
  animation-delay: 0s;
}

.hero-card-float.float-2 {
  bottom: -36px;
  right: -30px;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.float-icon.green { background: var(--clr-green-bg); }
.float-icon.gold { background: var(--clr-accent-bg); }

.float-text strong {
  display: block;
  font-weight: 700;
  color: var(--clr-text);
  font-size: 0.875rem;
}

.float-text small {
  color: var(--clr-text-light);
  font-size: 0.75rem;
}

/* ====================================================
   قسم المزايا الرئيسية
   ==================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-primary-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--clr-primary-xlight);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--clr-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--clr-primary);
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--clr-primary-dark);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--clr-text-light);
  line-height: 1.7;
}

/* ====================================================
   قسم التعريف
   ==================================================== */
.about-section {
  background: var(--clr-bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-main-card {
  background: var(--clr-surface);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.principle-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--clr-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
}

.principle-item:hover {
  background: var(--clr-primary-bg);
  border-color: var(--clr-primary-xlight);
}

.principle-num {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.principle-item p {
  font-size: 0.95rem;
  color: var(--clr-text-md);
  margin-top: 2px;
}

.about-content .section-header {
  text-align: right;
  margin-bottom: 32px;
}

.about-content .section-header h2 {
  margin-bottom: 16px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--clr-text-md);
}

.about-card-float {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
  color: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-accent);
  min-width: 160px;
}

.about-card-float strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.about-card-float span {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* ====================================================
   الأطعمة المسموحة والممنوعة
   ==================================================== */
.foods-section {
  background: var(--clr-surface);
}

.foods-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.food-tab-btn {
  padding: 12px 32px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.food-tab-btn.allowed {
  background: var(--clr-green-bg);
  color: var(--clr-green);
  border-color: rgba(39, 174, 96, 0.3);
}

.food-tab-btn.allowed.active,
.food-tab-btn.allowed:hover {
  background: var(--clr-green);
  color: var(--clr-white);
}

.food-tab-btn.forbidden {
  background: var(--clr-red-bg);
  color: var(--clr-red);
  border-color: rgba(231, 76, 60, 0.3);
}

.food-tab-btn.forbidden.active,
.food-tab-btn.forbidden:hover {
  background: var(--clr-red);
  color: var(--clr-white);
}

.foods-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.foods-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.foods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.food-card {
  background: var(--clr-bg);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: default;
}

.food-card.green {
  border-color: rgba(39, 174, 96, 0.2);
}

.food-card.green:hover {
  border-color: var(--clr-green);
  background: var(--clr-green-bg);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.food-card.red {
  border-color: rgba(231, 76, 60, 0.2);
}

.food-card.red:hover {
  border-color: var(--clr-red);
  background: var(--clr-red-bg);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.food-card .food-emoji-lg {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

.food-card h4 {
  font-size: 1rem;
  color: var(--clr-text);
  margin-bottom: 6px;
}

.food-card p {
  font-size: 0.8rem;
  color: var(--clr-text-light);
  line-height: 1.5;
}

/* ====================================================
   قسم الدكتور
   ==================================================== */
.doctor-section {
  background: linear-gradient(160deg, var(--clr-primary-dark) 0%, var(--clr-primary) 100%);
  position: relative;
  overflow: hidden;
}

.doctor-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.doctor-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.doctor-avatar {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-avatar .doctor-avatar-fallback {
  font-size: 5rem;
  line-height: 1;
}

.doctor-avatar::after {
  content: '✓';
  position: absolute;
  bottom: 8px;
  inset-inline-end: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  background: var(--clr-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: 3px solid var(--clr-primary-dark);
}

.doctor-content {
  color: var(--clr-white);
}

.doctor-content .badge {
  background: rgba(255,255,255,0.15);
  color: var(--clr-white);
  border-color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.doctor-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--clr-white);
  margin-bottom: 8px;
}

.doctor-title {
  font-size: 1rem;
  color: var(--clr-accent-light);
  font-weight: 600;
  margin-bottom: 20px;
}

.doctor-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 32px;
}

.doctor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.doc-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
}

/* ====================================================
   قسم الأسئلة الشائعة
   ==================================================== */
.faq-section {
  background: var(--clr-bg-alt);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--clr-primary-xlight);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  text-align: right;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--clr-primary);
}

.faq-icon {
  width: 32px;
  height: 32px;
  background: var(--clr-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
  font-weight: 300;
}

.faq-item.open .faq-icon {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 24px;
  color: var(--clr-text-md);
  font-size: 0.98rem;
  line-height: 1.8;
  border-top: 1px solid var(--clr-border);
  padding-top: 16px;
}

/* ====================================================
   قسم الإحصاءات
   ==================================================== */
.stats-section {
  background: var(--clr-surface);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1px;
  background: var(--clr-border);
}

.stat-num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--clr-primary);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--clr-text-light);
  margin-top: 8px;
  display: block;
}

/* ====================================================
   قسم الدعوة للإجراء CTA (Canva 3D)
   ==================================================== */
.cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(135deg, var(--clr-accent-bg) 0%, var(--clr-primary-bg) 100%);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  text-align: center;
  padding: clamp(64px, 10vw, 96px) 0;
}

.cta-section__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cta-section__bokeh {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 208, 63, 0.35), transparent 70%);
}

.cta-section__bokeh--1 {
  width: 200px;
  height: 200px;
  top: 5%;
  left: 15%;
}

.cta-section__bokeh--2 {
  width: 150px;
  height: 150px;
  bottom: 10%;
  right: 12%;
}

.cta-section__float {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
  filter: blur(0.5px);
}

@media (prefers-reduced-motion: no-preference) {
  .cta-section__float {
    animation: cta-floaty 6s ease-in-out infinite alternate;
  }
}

.cta-section__float--a {
  width: 90px;
  height: 90px;
  top: 12%;
  right: 6%;
  background: radial-gradient(circle, var(--clr-primary-light), var(--clr-primary));
  box-shadow: 0 12px 30px rgba(45, 106, 79, 0.25);
  animation-delay: 0s;
}

.cta-section__float--b {
  width: 60px;
  height: 60px;
  top: 30%;
  left: 8%;
  background: radial-gradient(circle, var(--clr-primary-xlight), var(--clr-primary-light));
  box-shadow: 0 8px 20px rgba(45, 106, 79, 0.15);
  animation-delay: 1s;
}

.cta-section__float--c {
  width: 45px;
  height: 45px;
  bottom: 20%;
  right: 10%;
  background: radial-gradient(circle, var(--clr-accent-light), var(--clr-accent));
  box-shadow: 0 8px 18px rgba(212, 160, 23, 0.3);
  animation-delay: 2s;
}

.cta-section__float--d {
  width: 70px;
  height: 70px;
  bottom: 15%;
  left: 5%;
  background: radial-gradient(circle, var(--clr-primary-bg), var(--clr-primary-xlight));
  box-shadow: 0 10px 24px rgba(45, 106, 79, 0.12);
  animation-delay: 0.5s;
}

.cta-section__float--e {
  width: 35px;
  height: 35px;
  top: 50%;
  left: 12%;
  background: radial-gradient(circle, rgba(244, 208, 63, 0.55), rgba(212, 160, 23, 0.28));
  animation-delay: 3s;
}

@keyframes cta-floaty {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-18px) scale(1.05);
  }
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: min(48rem, 100%);
}

.cta-section__badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--clr-primary-dark);
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-light));
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.3);
}

.cta-section__badge--green {
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
  color: var(--clr-white);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.28);
}

.cta-section__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--clr-text);
}

.cta-section__lead {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.0625rem);
  line-height: 1.75;
  color: var(--clr-text);
  max-width: min(40rem, 100%);
}

.cta-section__glass {
  width: 100%;
  max-width: min(28rem, 100%);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(45, 106, 79, 0.15);
  box-shadow: 0 8px 32px rgba(27, 67, 50, 0.1);
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.cta-section--canva .cta-buttons {
  margin-top: 4px;
}

.cta-footnote {
  margin: 4px 0 0;
  font-size: 0.75rem;
  color: var(--clr-text);
  opacity: 0.7;
  max-width: min(32rem, 100%);
  line-height: 1.75;
}

/* إثبات اجتماعي — عدّاد احترافي (Hero + CTA) */
.mt-spw-counter__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--spw-badge, var(--clr-primary));
  margin-bottom: 8px;
}

.mt-spw-counter__live-dot,
.mt-spw-ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-green);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.22);
}

@media (prefers-reduced-motion: no-preference) {
  .mt-spw-counter__live-dot,
  .mt-spw-ticker-dot {
    animation: cta-live-pulse 2s ease-in-out infinite;
  }
}

@keyframes cta-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.92);
  }
}

.mt-spw-counter__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2ch;
  padding: 5px 12px;
  border-radius: 10px;
  background: var(--spw-value-bg);
  border: 1px solid var(--spw-value-border);
}

.mt-spw-count {
  display: inline-flex;
  align-items: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  letter-spacing: -0.03em;
}

/* Odometer — أرقام منفصلة (لوحة حية) */
.mt-spw-odometer {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  direction: ltr;
  unicode-bidi: isolate;
  vertical-align: middle;
  --odo-slot: 1.85rem;
  --spw-odo-bg: linear-gradient(180deg, #ffffff 0%, #f0f7f4 100%);
  --spw-odo-border: rgba(45, 106, 79, 0.22);
  --spw-odo-num: var(--clr-primary-dark);
  --spw-odo-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 2px 6px rgba(27, 67, 50, 0.1);
  --spw-value-bg: linear-gradient(180deg, rgba(45, 106, 79, 0.14) 0%, rgba(45, 106, 79, 0.05) 100%);
  --spw-value-border: rgba(45, 106, 79, 0.2);
  --spw-ticker-bg: rgba(255, 255, 255, 0.62);
  --spw-ticker-border: rgba(45, 106, 79, 0.12);
  --spw-ticker-msg: var(--clr-primary);
  --spw-badge: var(--clr-primary);
  --spw-text: var(--clr-text-md);
  --spw-divider: rgba(45, 106, 79, 0.12);
}

.mt-spw-odo-digit {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 1.08em;
  height: var(--odo-slot);
  max-height: var(--odo-slot);
  overflow: hidden;
  contain: layout paint style;
  border-radius: 8px;
  background: var(--spw-odo-bg);
  border: 1px solid var(--spw-odo-border);
  box-shadow: var(--spw-odo-shadow);
}

.mt-spw-odo-digit__wheel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 1000%;
  transform: translate3d(0, calc(var(--odo-d, 0) * -10%), 0);
  will-change: transform;
}

.mt-spw-odo-digit--roll .mt-spw-odo-digit__wheel {
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.mt-spw-odo-digit__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 10%;
  width: 100%;
  height: 10%;
  min-height: 0;
  font-size: 1em;
  font-weight: inherit;
  line-height: 1;
  color: var(--spw-odo-num);
  user-select: none;
  pointer-events: none;
}

.mt-spw-odo-digit--enter {
  animation: mt-spw-odo-enter 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: no-preference) {
  .mt-spw-odometer--flash {
    animation: mt-spw-odo-flash 0.55s ease-out;
  }
}

@keyframes mt-spw-odo-enter {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.88);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mt-spw-odo-flash {
  0% {
    filter: brightness(1);
  }
  35% {
    filter: brightness(1.12);
  }
  100% {
    filter: brightness(1);
  }
}

.hero-home-below .mt-spw-odometer,
.hero.hero--home .mt-spw-odometer {
  --odo-slot: 1.7rem;
}

.hero-home-below .mt-spw-odo-digit,
.hero.hero--home .mt-spw-odo-digit {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.12) 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero.hero--home .mt-spw-count .mt-spw-odo-digit__num {
  color: #fde68a;
}

/* إثبات اجتماعي داخل بطاقة زجاجية CTA */
.cta-section--canva .cta-section__glass {
  padding: 18px 20px 16px;
}

.cta-section--canva .cta-section__glass .mt-spw-root--compact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.cta-section--canva .cta-section__glass .mt-spw-root--compact {
  --spw-badge: var(--clr-primary-dark);
  --spw-text: var(--clr-text-md);
}

.cta-section--canva .cta-section__glass .mt-spw-counter--compact {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--spw-divider);
}

.cta-section--canva .cta-section__glass .hero-live-signups.mt-spw-live {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--spw-text);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
}

.cta-section--canva .cta-section__glass .mt-spw-counter__text {
  color: var(--spw-text);
}

.cta-section--canva .cta-section__glass .mt-spw-counter__value {
  flex: 0 0 auto;
  order: 0;
}

.cta-section--canva .cta-section__glass .mt-spw-count {
  font-size: clamp(1.75rem, 5vw, 2rem);
  font-weight: 800;
  color: var(--spw-odo-num);
  line-height: 1;
}

.cta-section--canva .cta-section__glass .mt-spw-odometer {
  --odo-slot: clamp(1.75rem, 4.8vw, 2.05rem);
}

.cta-section--canva .cta-section__glass .hero-social-ticker.hero-social-ticker--pro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  background: var(--spw-ticker-bg);
  border: 1px solid var(--spw-ticker-border);
  border-radius: 12px;
  box-shadow: none;
}

.cta-section--canva .cta-section__glass .hero-social-ticker.mt-spw-ticker--compact .hero-social-ticker__rail {
  display: none;
}

.cta-section--canva .cta-section__glass .hero-social-ticker__wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 0;
  min-height: 0;
  width: 100%;
}

.cta-section--canva .cta-section__glass .hero-social-ticker__wrap::before {
  content: none;
}

.cta-section--canva .cta-section__glass .hero-social-ticker__msg {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--spw-ticker-msg);
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(220px, 55vw);
}

@media (max-width: 420px) {
  .cta-section--canva .cta-section__glass .hero-social-ticker__msg {
    white-space: normal;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .cta-section__float--a,
  .cta-section__float--c {
    opacity: 0.45;
  }

  .cta-section--canva .cta-buttons .btn {
    width: 100%;
    max-width: 20rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn-3d {
    transition: background 0.15s ease, color 0.15s ease;
  }

  .btn:not(:disabled):hover,
  .btn-3d:not(:disabled):hover {
    transform: none;
  }
}

/* ====================================================
   التذييل / Footer (Canva 3D)
   ==================================================== */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 0 24px;
  background: linear-gradient(160deg, #102d22 0%, #1b4332 50%, #0f2b21 100%);
  box-shadow:
    inset 0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer--canva {
  padding-top: 0;
}

.footer__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.footer__transition {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(216, 243, 220, 0.08), transparent);
}

.footer__diagonal {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.5) 20px,
    rgba(255, 255, 255, 0.5) 21px
  );
}

.footer__bokeh {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.footer__bokeh--gold {
  bottom: 5%;
  left: 8%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(244, 208, 63, 0.12), transparent 70%);
}

.footer__bokeh--green {
  top: 15%;
  right: 5%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.08), transparent 70%);
}

.footer__inner {
  position: relative;
  z-index: 1;
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.footer-brand__desc {
  font-size: 0.875rem;
  line-height: 1.75;
  margin: 16px 0 20px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo .logo-icon {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), var(--shadow-sm);
}

.footer-logo strong {
  color: var(--clr-white);
  font-size: 1.125rem;
  letter-spacing: 0.2px;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 18px rgba(0, 0, 0, 0.32);
}

.footer-logo span {
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
}

.footer-brand__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.social-link:hover {
  background: rgba(82, 183, 136, 0.2);
  color: var(--clr-primary-xlight);
  transform: translateY(-3px) rotateX(12deg);
  box-shadow: 0 6px 16px rgba(82, 183, 136, 0.2);
}

/* حسابات رسمية — صفحة المنصة الرسمية / من نحن */
.official-social-block {
  margin: 2rem 0;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-md, 12px);
  background: linear-gradient(135deg, #f0fdf4 0%, #fff 55%);
  border: 1px solid #bbf7d0;
}

.official-social-block h2 {
  font-size: 1.35rem;
  color: var(--clr-primary-dark, #1b4332);
  margin: 0 0 0.5rem;
}

.official-social-block__intro {
  margin: 0 0 1rem;
  line-height: 1.75;
  color: #374151;
}

.official-social-block__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px 16px;
}

.official-social-block__list a {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: var(--radius-sm, 8px);
  background: #fff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.official-social-block__list a:hover {
  border-color: var(--clr-primary, #2d6a4f);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.12);
}

.official-social-block__name {
  font-weight: 600;
  color: var(--clr-primary-dark, #1b4332);
}

.official-social-block__handle {
  font-size: 0.9rem;
  color: #6b7280;
  direction: ltr;
  text-align: start;
}

.official-social-block__icons {
  margin-bottom: 1.25rem;
}

.official-social-block__icons .social-links {
  margin-top: 0;
}

.official-social-block__bio label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1b4332;
}

.official-social-block__bio-text {
  width: 100%;
  max-width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 12px;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid #d1d5db;
  resize: vertical;
  margin-bottom: 0.75rem;
  background: #fff;
}

.official-social-block__bio-hint {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.6;
}

.official-social-section {
  padding: 0 0 48px;
}

.mt-entity-trust {
  background: linear-gradient(135deg, #f0fdf4, #fff);
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 24px 0;
}

.mt-entity-trust__inner h2 {
  font-size: 1.15rem;
  color: var(--clr-primary-dark, #1B4332);
  margin: 0 0 16px;
}

.mt-entity-trust__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.mt-entity-trust__list li {
  position: relative;
  padding-right: 1.5rem;
  line-height: 1.7;
  color: #374151;
}

.mt-entity-trust__list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: #166534;
  font-weight: 700;
}

.mt-entity-trust__list a {
  color: #2D6A4F;
  font-weight: 600;
  text-decoration: none;
}

.mt-entity-trust__list a:hover {
  text-decoration: underline;
}

.mt-entity-trust__channels {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.official-channels-block__verify {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.official-channels-block__verify p {
  margin: 0;
  color: #065f46;
  line-height: 1.8;
}

.official-channels-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.official-channels-grid__item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 100%;
}

.official-channels-grid__item a:hover {
  border-color: #2D6A4F;
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.12);
}

.official-channels-grid__name {
  font-weight: 700;
  color: #1B4332;
}

.official-channels-grid__handle {
  font-size: 0.875rem;
  color: #6b7280;
}

.official-channels-grid__badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 999px;
  width: fit-content;
}

.official-channels-block__entity-links {
  margin-top: 24px;
  font-size: 0.95rem;
  color: #6b7280;
}

.official-channels-block__entity-links a {
  color: #2D6A4F;
  font-weight: 600;
}

.footer-col__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  margin: 0 0 12px;
  padding: 8px 0;
  border: none;
  border-bottom: 2px solid rgba(183, 228, 199, 0.75);
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  text-align: right;
}

.footer-col__title {
  color: var(--clr-white);
  font-size: 0.9375rem;
  font-weight: 700;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 18px rgba(0, 0, 0, 0.36);
}

.footer-col__arrow {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  transition: transform 0.3s ease;
}

.footer-col__toggle.is-open .footer-col__arrow {
  transform: rotate(180deg);
}

.footer-col__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.footer-col__panel.is-open {
  max-height: 1200px;
}

.footer-col__panel ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col__panel ul a {
  display: block;
  padding: 6px 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col__panel ul a::before {
  content: '←';
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  opacity: 0;
  color: var(--clr-primary-xlight);
  transition: opacity 0.2s ease;
}

.footer-col__panel ul a:hover {
  color: var(--clr-primary-xlight);
  transform: translateX(-8px);
}

.footer-col__panel ul a:hover::before {
  opacity: 1;
}

.footer-col__subhead {
  margin: 20px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(183, 228, 199, 0.45);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  font-weight: 700;
}

.footer-col__legal {
  margin-bottom: 8px;
}

.footer-medical-card {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.footer-medical-card p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

.footer-medical-card strong {
  color: rgba(255, 255, 255, 0.88);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 0;
}

.footer-bottom--canva {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.footer-bottom__line {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.footer-bottom__line--muted {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--clr-white);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
    gap: 40px 48px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-col__toggle {
    pointer-events: none;
    cursor: default;
    margin-bottom: 16px;
  }

  .footer-col__arrow {
    display: none;
  }

  .footer-col__panel {
    max-height: none !important;
    overflow: visible;
  }

  .footer-bottom--canva {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: start;
  }

  .footer-bottom__line {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-col__panel {
    transition: none;
  }

  .social-link:hover {
    transform: translateY(-2px);
  }
}

/* ====================================================
   رأس الصفحة الداخلية
   ==================================================== */
.page-hero {
  background: linear-gradient(160deg, var(--clr-primary-dark), var(--clr-primary));
  padding: calc(var(--notice-height) + var(--nav-height) + 64px) 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(82,183,136,0.15) 0%, transparent 50%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  color: var(--clr-white);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--clr-white);
}

.breadcrumb .sep {
  color: rgba(255,255,255,0.4);
}

.breadcrumb .current {
  color: var(--clr-accent-light);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--clr-white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
}

.page-hero-cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-hero-note {
  margin: 14px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

/* ── صفحة ترند الطيبات (/tayibat-trend) ───────────────── */
.page-hero--trend {
  padding-bottom: clamp(64px, 10vw, 96px);
}

.page-hero--trend::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(ellipse 70% 45% at 88% 18%, rgba(253, 230, 138, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 12% 85%, rgba(82, 183, 136, 0.18) 0%, transparent 50%);
}

.page-hero--trend__inner {
  max-width: 52rem;
}

.page-hero--trend__kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-hero--trend__accent {
  color: #fde68a;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.page-hero--trend__lead {
  margin: 0 0 4px;
  max-width: 42rem;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.88;
  color: rgba(255, 255, 255, 0.94);
}

.page-hero--trend__lead strong {
  color: #fff;
  font-weight: 800;
}

.page-hero--trend__pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}

.page-hero--trend__pills li {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}

.page-hero--trend__actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-hero--trend__note {
  margin: 18px 0 0;
  max-width: 40rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero--trend__note a {
  color: #fde68a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero--trend__note a:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .page-hero--trend__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-hero--trend__actions .btn-lg {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .page-hero--trend__pills {
    gap: 8px;
  }
}

/* محتوى ترند — شبكة الأسباب */
.tt-trend-reasons__grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.tt-trend-reasons__main h2 {
  margin-top: 0;
  margin-bottom: 14px;
}

.tt-trend-reasons__list {
  margin: 0;
  padding-inline-start: 1.25rem;
  line-height: 1.95;
  color: var(--clr-text-md);
}

.tt-trend-reasons__list li + li {
  margin-top: 8px;
}

.tt-trend-reasons__aside {
  padding: clamp(20px, 3vw, 26px);
  border-radius: var(--radius-lg);
}

.tt-trend-reasons__aside h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.tt-trend-reasons__steps {
  margin: 0;
  padding-inline-start: 1.15rem;
  line-height: 1.95;
  color: var(--clr-text-md);
}

.tt-trend-reasons__steps li + li {
  margin-top: 6px;
}

.tt-trend-reasons__cta {
  margin-top: 18px;
}

.tt-trend-hub-list {
  max-width: 900px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .tt-trend-reasons__grid {
    grid-template-columns: 1fr;
  }
}

/* رأس المسموحات والممنوعات — Canva (خلفية صورة + تدرج للنص) */
.page-hero--masmao {
  padding-bottom: 88px;
}

.page-hero--masmao-has-bg {
  background: var(--clr-primary-dark);
  min-height: 0;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* الصورة بحجمها الطبيعي (1024×537) — عرض كامل حتى الحد الأقصى للأصل */
.page-hero--masmao__visual {
  position: relative;
  z-index: 0;
  width: min(100%, 1024px);
  max-width: 1024px;
  margin-inline: auto;
  line-height: 0;
  flex-shrink: 0;
}

.page-hero--masmao__bg {
  display: block;
  width: 100%;
  margin: 0;
  pointer-events: none;
}

.page-hero--masmao__bg-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1024px;
  object-fit: contain;
  object-position: center top;
  vertical-align: top;
}

.page-hero--masmao-has-bg .page-hero--masmao__container {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: min(100%, calc(var(--container-width) + 48px));
  margin-inline: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.page-hero--masmao-has-bg .page-hero--masmao__container > * {
  pointer-events: auto;
}

.page-hero--masmao__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    108deg,
    rgba(27, 67, 50, 0.12) 0%,
    rgba(27, 67, 50, 0.48) 40%,
    rgba(27, 67, 50, 0.82) 68%,
    rgba(27, 67, 50, 0.9) 100%
  );
}

html.is-en .page-hero--masmao__overlay {
  background: linear-gradient(
    252deg,
    rgba(27, 67, 50, 0.12) 0%,
    rgba(27, 67, 50, 0.48) 40%,
    rgba(27, 67, 50, 0.82) 68%,
    rgba(27, 67, 50, 0.9) 100%
  );
}

.page-hero--masmao-has-bg::before {
  z-index: 2;
  opacity: 0.35;
}

.page-hero--masmao::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    radial-gradient(ellipse 80% 50% at 85% 40%, rgba(183, 228, 199, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 15% 70%, rgba(82, 183, 136, 0.25) 0%, transparent 50%);
}

.page-hero--masmao-has-bg::after {
  opacity: 0.04;
}

.page-hero--masmao__container {
  position: relative;
  z-index: 3;
}

.page-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 320px);
  gap: 32px 40px;
  align-items: center;
}

.page-hero--masmao .page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.page-hero-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-hero-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 18px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-sm);
}

.page-hero-card--allowed {
  background: rgba(39, 174, 96, 0.15);
  border-color: rgba(39, 174, 96, 0.28);
}

.page-hero-card--forbidden {
  background: rgba(231, 76, 60, 0.15);
  border-color: rgba(231, 76, 60, 0.28);
}

.page-hero-card__ico {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.page-hero-card__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.page-hero-card--allowed .page-hero-card__title {
  color: #6fcf97;
}

.page-hero-card--forbidden .page-hero-card__title {
  color: #f1948a;
}

.page-hero-card__desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero-chips {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-hero-chip--allowed {
  background: rgba(39, 174, 96, 0.2);
  color: #b8f0d0;
}

.page-hero-chip--forbidden {
  background: rgba(231, 76, 60, 0.2);
  color: #fadbd8;
}

.page-hero-brand {
  position: absolute;
  bottom: 24px;
  inset-inline-end: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.page-hero-brand__mark {
  font-size: 1.35rem;
  line-height: 1;
}

.page-hero-brand__name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--clr-accent);
}

html.is-en .page-hero-brand {
  inset-inline-end: auto;
  inset-inline-start: 0;
}

@media (max-width: 960px) {
  .page-hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-hero-cards {
    display: none;
  }

  .page-hero-chips {
    display: flex;
  }

  .page-hero--masmao {
    padding-bottom: 56px;
  }

  .page-hero--masmao-has-bg {
    display: block;
    padding-bottom: 48px;
  }

  .page-hero--masmao__visual {
    width: 100%;
    max-width: 100%;
  }

  .page-hero--masmao__bg-img {
    max-width: 100%;
  }

  /* موبايل: الصورة كاملة بالأعلى — النص تحتها دون حجب الطعام */
  .page-hero--masmao-has-bg .page-hero--masmao__container {
    position: relative;
    inset: auto;
    margin-top: 0;
    min-height: 0;
    justify-content: flex-start;
    padding-top: 20px;
    padding-bottom: 0;
  }

  .page-hero--masmao__overlay {
    opacity: 0.55;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(27, 67, 50, 0.25) 100%
    );
  }

  html.is-en .page-hero--masmao__overlay {
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(27, 67, 50, 0.25) 100%
    );
  }

  .page-hero--masmao .page-hero-inner p {
    max-width: 100%;
  }

  .page-hero-brand {
    position: static;
    margin-top: 20px;
    justify-content: flex-start;
  }
}

.ai-page-ticket-hint {
  margin: 18px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.ai-page-ticket-hint a {
  color: var(--clr-accent-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-inline-start: 4px;
}

.ai-page-ticket-hint a:hover {
  color: var(--clr-white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.masmo-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 36px;
}

.masmo-why-card {
  background: linear-gradient(180deg, var(--clr-white) 0%, var(--clr-bg-alt) 100%);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}

.masmo-why-card__ico {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border-radius: 12px;
  background: var(--clr-primary-bg);
  margin-bottom: 10px;
}

.masmo-why-card__title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--clr-primary-dark);
}

.masmo-why-card__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--clr-text-md);
}

@media (max-width: 900px) {
  .masmo-why-grid {
    grid-template-columns: 1fr;
  }
}

/* ====================================================
   المحتوى الداخلي
   ==================================================== */
.content-section {
  padding: 80px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.content-body h2 {
  font-size: 1.8rem;
  color: var(--clr-primary-dark);
  margin-bottom: 16px;
  margin-top: 48px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--clr-border);
}

.content-body h2:first-child {
  margin-top: 0;
}

.content-body h3 {
  font-size: 1.3rem;
  color: var(--clr-primary);
  margin-bottom: 12px;
  margin-top: 32px;
}

.content-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--clr-text-md);
  margin-bottom: 20px;
}

.content-body ul,
.content-body ol {
  margin-bottom: 20px;
  padding-right: 20px;
}

.content-body li {
  font-size: 1.05rem;
  color: var(--clr-text-md);
  margin-bottom: 10px;
  padding-right: 8px;
  position: relative;
  list-style: none;
}

.content-body li::before {
  content: '◆';
  color: var(--clr-primary);
  position: absolute;
  right: -20px;
  font-size: 0.6rem;
  top: 6px;
}

.content-sidebar {
  position: sticky;
  top: calc(var(--notice-height) + var(--nav-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: 1rem;
  color: var(--clr-primary-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--clr-border);
}

/* دعوة اشتراك — صفحات المحتوى (مثل nizam-altayibat) */
.system-cta-hero {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.system-cta-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.system-cta-hero__trust {
  margin: 14px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.system-cta-hero--member .system-cta-hero__trust {
  display: none;
}

.content-subscribe-cta {
  margin-top: 40px;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--clr-primary-bg) 0%, var(--clr-white) 55%, var(--clr-accent-bg) 100%);
  border: 1px solid var(--clr-border-dark);
  box-shadow: var(--shadow-md);
}

.content-subscribe-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  color: var(--clr-primary-dark);
  border: none;
  padding: 0;
}

.content-subscribe-cta__lead {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--clr-text-md);
}

.content-subscribe-cta__bullets {
  margin: 0 0 22px;
  padding-right: 20px;
  color: var(--clr-text-md);
  line-height: 1.85;
  font-size: 0.95rem;
}

.content-subscribe-cta__bullets li {
  margin-bottom: 8px;
}

.content-subscribe-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.content-subscribe-cta__login {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--clr-text-light);
}

.content-subscribe-cta__login a {
  color: var(--clr-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sidebar-card.sidebar-card--signup {
  background: linear-gradient(168deg, var(--clr-surface) 0%, var(--clr-primary-bg) 100%);
  border-color: var(--clr-primary-xlight);
  box-shadow: var(--shadow-md);
}

.sidebar-card.sidebar-card--signup h3.sidebar-card--signup__title {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--clr-border);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--clr-primary-dark);
}

.sidebar-card--signup__text {
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--clr-text-md);
}

.sidebar-card--signup__btn,
.sidebar-card--signup__btn2 {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-bottom: 10px;
}

.sidebar-card--signup__btn2 {
  margin-bottom: 0;
}

.sidebar-card--signup__link {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 4px 0 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-links a {
  font-size: 0.9rem;
  color: var(--clr-text-md);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-links a:hover,
.sidebar-links a.active {
  background: var(--clr-primary-bg);
  color: var(--clr-primary);
}

.info-box {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border-right: 4px solid;
  margin-bottom: 24px;
}

.info-box.green {
  background: var(--clr-green-bg);
  border-color: var(--clr-green);
}

.info-box.red {
  background: var(--clr-red-bg);
  border-color: var(--clr-red);
}

.info-box.gold {
  background: var(--clr-accent-bg);
  border-color: var(--clr-accent);
}

.info-box.primary {
  background: var(--clr-primary-bg);
  border-color: var(--clr-primary);
}

.info-box p {
  font-size: 0.95rem;
  margin: 0;
}

/* ====================================================
   جدول الممنوعات والمسموحات
   ==================================================== */
.food-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.food-table th {
  padding: 14px 20px;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 700;
}

.food-table th.green-header {
  background: var(--clr-green);
  color: white;
}

.food-table th.red-header {
  background: var(--clr-red);
  color: white;
}

.food-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.95rem;
  color: var(--clr-text-md);
}

.food-table tr:last-child td {
  border-bottom: none;
}

.food-table tr:nth-child(even) td {
  background: var(--clr-bg);
}

/* ====================================================
   وجبات / Meals
   ==================================================== */
.meals-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--clr-border);
  overflow-x: auto;
}

.meal-tab {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-text-light);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-right: none;
  border-left: none;
  font-family: var(--font-primary);
}

.meal-tab.active,
.meal-tab:hover {
  color: var(--clr-primary);
  border-bottom-color: var(--clr-primary);
}

.meal-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.meal-panel.active {
  display: block;
}

.meals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.meal-card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.meal-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.meal-card-header {
  background: linear-gradient(135deg, var(--clr-primary-bg), var(--clr-bg-alt));
  padding: 24px;
  text-align: center;
  font-size: 3.5rem;
  border-bottom: 1px solid var(--clr-border);
}

.meal-card-body {
  padding: 20px;
}

.meal-card-body h3 {
  font-size: 1.1rem;
  color: var(--clr-primary-dark);
  margin-bottom: 8px;
}

.meal-card-body p {
  font-size: 0.9rem;
  color: var(--clr-text-light);
  margin-bottom: 16px;
}

.meal-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.meal-tag {
  background: var(--clr-primary-bg);
  color: var(--clr-primary);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ====================================================
   الانيميشن عند الظهور
   ==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ====================================================
   زر العودة للأعلى
   ==================================================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  z-index: 900;
  font-size: 1.2rem;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ====================================================
   أزرار الزاوية العائمة — واتساب (الدعم) · تثبيت PWA
   ==================================================== */
.mt-corner-float {
  position: fixed;
  inset-inline-end: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(22px, env(safe-area-inset-bottom, 0px) + 10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.mt-corner-float:hover {
  transform: scale(1.06);
}

.mt-corner-float:focus-visible {
  outline: 3px solid var(--clr-accent-light);
  outline-offset: 4px;
  border-radius: 9999px;
}

.mt-corner-float__ring {
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  z-index: 0;
  pointer-events: none;
}

.mt-corner-float__glow {
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
  filter: blur(8px);
}

.mt-corner-float__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 58px;
  min-height: 58px;
  padding: 0;
  justify-content: center;
  border-radius: 9999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 8px 28px rgba(0, 0, 0, 0.22);
}

.mt-corner-float__icon {
  display: block;
  flex-shrink: 0;
}

.mt-corner-float__text {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: max-width 0.45s ease, opacity 0.3s ease, padding 0.35s ease;
}

/* واتساب — صفحة الدعم */
.mt-wa-float {
  filter: drop-shadow(0 10px 28px rgba(18, 140, 126, 0.45));
}

.mt-wa-float:hover {
  filter: drop-shadow(0 14px 36px rgba(18, 140, 126, 0.55));
}

.mt-wa-float__ring {
  background: conic-gradient(from 210deg, #25d366, #128c7e, #34b7f1, #25d366);
  opacity: 0.55;
  animation: mt-wa-spin 12s linear infinite, mt-wa-pulse 2.8s ease-in-out infinite;
}

.mt-wa-float__btn {
  background: linear-gradient(145deg, #2fe676 0%, #25d366 42%, #128c7e 100%);
}

/* تثبيت PWA — بقية الموقع (نص «تثبيت التطبيق» ظاهر دائماً) */
#mt-pwa-float-btn[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.mt-pwa-float {
  filter: drop-shadow(0 12px 32px rgba(27, 67, 50, 0.42));
}

.mt-pwa-float:hover:not(:disabled) {
  filter: drop-shadow(0 16px 40px rgba(27, 67, 50, 0.52));
}

.mt-pwa-float:disabled {
  cursor: wait;
  opacity: 0.92;
}

.mt-pwa-float .mt-corner-float__ring {
  inset: -5px;
  border-radius: 9999px;
}

.mt-pwa-float__ring {
  background: conic-gradient(from 120deg, #c9a227, #2d6a4f, #1b4332, #d4af37, #c9a227);
  opacity: 0.72;
  animation: mt-wa-spin 14s linear infinite, mt-pwa-ring-pulse 3s ease-in-out infinite;
}

.mt-pwa-float__glow {
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.55) 0%, rgba(45, 106, 79, 0.35) 55%, transparent 72%);
  animation: mt-pwa-glow 2.6s ease-in-out infinite;
}

.mt-pwa-float__btn {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 0;
  padding: 12px 18px 12px 15px;
  background: linear-gradient(155deg, #2d6a4f 0%, #1b4332 48%, #163828 100%);
  border: 1px solid rgba(201, 162, 39, 0.4);
}

.mt-pwa-float__icon {
  display: block;
  flex-shrink: 0;
  color: #f8faf9;
  opacity: 0.95;
}

.mt-pwa-float__label {
  display: block;
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mt-pwa-float.is-busy .mt-pwa-float__label {
  opacity: 0.75;
}

.mt-pwa-float.is-installed .mt-pwa-float__ring {
  opacity: 0.35;
  animation: none;
}

@media (min-width: 900px) {
  .mt-wa-float .mt-corner-float__btn {
    padding-inline: 18px 20px;
    gap: 10px;
    min-width: auto;
  }

  .mt-wa-float .mt-corner-float__text {
    max-width: 120px;
    opacity: 1;
  }

  .mt-pwa-float__btn {
    padding: 13px 20px 13px 17px;
    gap: 10px;
  }

  .mt-pwa-float__label {
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .mt-pwa-float__btn {
    padding: 11px 14px 11px 12px;
    gap: 7px;
  }

  .mt-pwa-float__label {
    font-size: 0.76rem;
    white-space: normal;
    max-width: 4.6rem;
  }
}

@media (max-width: 768px) {
  .mt-corner-float {
    bottom: max(5.5rem, env(safe-area-inset-bottom, 0px) + 4.25rem);
  }
}

@keyframes mt-wa-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes mt-wa-pulse {
  0%,
  100% {
    opacity: 0.38;
  }
  50% {
    opacity: 0.72;
  }
}

@keyframes mt-pwa-ring-pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.85;
  }
}

@keyframes mt-pwa-glow {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mt-wa-float__ring,
  .mt-pwa-float__ring,
  .mt-pwa-float__glow {
    animation: none;
  }

  .mt-corner-float,
  .mt-corner-float:hover {
    transition: none;
    transform: none;
  }

  .mt-corner-float__text,
  .mt-pwa-float__label {
    transition: none;
    animation: none;
  }
}

/* ====================================================
   الشريط الإعلاني / Notice Bar
   ==================================================== */
.notice-bar {
  background: linear-gradient(90deg, var(--clr-primary-dark), var(--clr-primary));
  color: white;
  text-align: center;
  min-height: var(--notice-height);
  padding: 10px 24px;
  font-size: 0.875rem;
  position: fixed;
  top: var(--nav-height);
  right: 0;
  left: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.notice-bar strong {
  color: var(--clr-accent-light);
}

body.notice-hidden {
  --notice-height: 0px;
}

body.notice-hidden .notice-bar {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

/* ====================================================
   تنبيه التحديثات للزائر العائد (أسفل الشاشة)
   ==================================================== */
.mt-updates-snackbar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 20px;
  z-index: 10050;
  max-width: 560px;
  margin: 0 auto;
  display: none;
  box-sizing: border-box;
}

.mt-updates-snackbar:not([hidden]) {
  display: block;
}

.mt-updates-snackbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 1px solid #bbf7d0;
  box-shadow: 0 12px 40px rgba(15, 41, 25, 0.18);
}

.mt-updates-snackbar__text {
  flex: 1 1 200px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--clr-text-md);
  text-align: center;
}

body.is-en .mt-updates-snackbar__text {
  text-align: left;
}

.mt-updates-snackbar .btn-sm {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .mt-updates-snackbar {
    left: 10px;
    right: 10px;
    bottom: 12px;
  }

  .mt-updates-snackbar__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .mt-updates-snackbar__text {
    text-align: center;
  }
}

/* ====================================================
   تجاوب الموقع - Responsive
   ==================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* إخفاء بطاقات الإيموجي فقط — الفيدio/الصورة تبقى ظاهرة */
  .hero-visual:not(.hero-visual--media) {
    display: none;
  }

  .hero-visual.hero-visual--media {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .hero-visual.hero-visual--media .hero-video-frame,
  .hero-visual.hero-visual--media .hero-poster-wrap {
    max-width: min(100%, 560px);
    width: 100%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-card-float {
    position: static;
    display: inline-flex;
    margin-top: 24px;
  }

  .doctor-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .doctor-avatar {
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

  .system-cta-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .system-cta-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .content-subscribe-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .content-subscribe-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --notice-height: 40px;
    --nav-height: 64px;
  }

  .section {
    padding: 64px 0;
  }

  .navbar-menu,
  .navbar-cta {
    display: none;
  }

  .navbar-actions {
    margin-inline-start: auto;
    gap: 6px;
    min-width: 0;
  }

  .navbar-logo {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .logo-text {
    min-width: 0;
    overflow: hidden;
  }

  .logo-text strong,
  .logo-text span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hamburger {
    display: flex;
    flex-shrink: 0;
  }

  .navbar-inner {
    margin: 2px 8px;
    padding: 0 10px;
    height: calc(var(--nav-height) - 4px);
    border-radius: 12px;
    max-width: none;
    width: calc(100% - 16px);
  }

  .navbar-logo {
    gap: 6px;
    max-width: calc(100% - 160px);
  }

  .logo-icon,
  .navbar-logo .logo-icon-emoji {
    width: 36px;
    height: 36px;
    --logo-emoji-size: 36px;
    --logo-emoji-font: 20px;
  }

  .navbar-logo .logo-icon-svg {
    width: 36px;
    height: 36px;
  }

  .logo-text strong {
    font-size: 0.95rem;
  }

  .logo-text span {
    font-size: 0.62rem;
  }

  .navbar-actions .mt-theme-toggle,
  .navbar-actions .mt-notif-bell__btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 10px;
  }

  .navbar-actions .mt-theme-toggle__icons {
    width: 18px;
    height: 18px;
  }

  .navbar-actions .navbar-cta .btn-nav-toolbar {
    min-height: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .hamburger {
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
  }

  .hamburger span {
    width: 20px;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--notice-height) + var(--nav-height) + 48px) 0 64px;
  }

  .hero.hero--subpage {
    padding-top: calc(var(--notice-height) + var(--nav-height) + 1.35rem);
    padding-bottom: 2rem;
  }

  .hero.hero--subpage h1 {
    font-size: clamp(1.65rem, 5vw, 2.2rem);
  }

  .hero-subpage-panel {
    padding-inline: 1rem;
  }

  .hero.hero--home .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero.hero--home .hero-actions .btn-lg {
    width: min(100%, 420px);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat strong {
    font-size: 1.6rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .foods-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item::after {
    display: none;
  }

  .doctor-badges {
    justify-content: center;
  }

  .meals-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-toolbar-txt--full {
    display: none;
  }

  .nav-toolbar-txt--xs {
    display: inline;
  }
}

@media (max-width: 520px) {
  :root {
    --nav-height: 56px;
  }

  .navbar-inner {
    margin: 2px 6px;
    padding: 0 8px;
    width: calc(100% - 12px);
  }

  .navbar-logo {
    max-width: calc(100% - 148px);
  }

  .navbar-actions {
    gap: 4px;
  }
}

@media (max-width: 380px) {
  .navbar-inner {
    margin: 0;
    padding: 0 6px;
    width: 100%;
    border-radius: 0;
    border-inline: none;
  }

  .navbar-logo {
    max-width: calc(100% - 128px);
  }

  .logo-text span {
    display: none;
  }

  .logo-text strong {
    font-size: 0.88rem;
  }

  /* الوضع الداكن متاح من قائمة الهامبرجر */
  .navbar-actions .mt-theme-toggle {
    display: none;
  }

  .navbar-actions .navbar-cta .btn-nav-toolbar {
    padding: 0 9px;
    font-size: 0.72rem;
  }

  .navbar-cta.nav-auth {
    gap: 4px;
  }

  .mt-notif-bell__badge {
    top: 2px;
    inset-inline-end: 2px;
    min-width: 14px;
    height: 14px;
    font-size: 0.58rem;
    line-height: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .foods-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ====================================================
   مساعدات عامة
   ==================================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--clr-primary); }
.text-accent { color: var(--clr-accent); }
.text-muted { color: var(--clr-text-muted); }
.text-white { color: var(--clr-white); }
.fw-bold { font-weight: 700; }
.fw-black { font-weight: 900; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.bg-white { background: var(--clr-surface); }
.bg-alt { background: var(--clr-bg-alt); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex-wrap { flex-wrap: wrap; }

/* اختصارات مسافات */
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }

/* شريط الدخول / الإدارة */
.navbar-cta.nav-auth {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* ——— عناصر التحويل: العداد الاجتماعي + إثبات اجتماعي + نافذة خروج + شريط سفلي ——— */
.hero-live-signups {
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  flex-wrap: wrap;
}

.hero-live-signups strong {
  color: #fde68a;
  font-weight: 800;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-live-signups.hero-live-signups--pulse {
    animation: hero-live-signups-pulse 0.55s ease-out;
  }

  .hero-social-ticker__wrap.hero-social-ticker__wrap--tick {
    animation: hero-social-wrap-tick 0.48s ease-out;
  }
}

@keyframes hero-live-signups-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(253, 230, 138, 0);
  }
  40% {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(253, 230, 138, 0.18);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(253, 230, 138, 0);
  }
}

@keyframes hero-social-wrap-tick {
  0% {
    background-color: transparent;
  }
  35% {
    background-color: rgba(253, 230, 138, 0.09);
  }
  100% {
    background-color: transparent;
  }
}

.hero-social-ticker.hero-social-ticker--pro {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin-top: 14px;
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

[dir="rtl"] .hero-social-ticker.hero-social-ticker--pro {
  flex-direction: row-reverse;
}

.hero-social-ticker__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
  min-width: 46px;
  background: linear-gradient(
    180deg,
    rgba(212, 160, 23, 0.42) 0%,
    rgba(45, 106, 79, 0.55) 100%
  );
}

.hero-social-ticker__live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.28);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-social-ticker__live-dot {
    animation: hero-social-dot-pulse 2.2s ease-in-out infinite;
  }
}

@keyframes hero-social-dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.28);
  }
  50% {
    opacity: 0.88;
    transform: scale(0.92);
    box-shadow: 0 0 0 6px rgba(110, 231, 183, 0.12);
  }
}

.hero-social-ticker__wrap {
  flex: 1;
  min-width: 0;
  padding: 11px 16px 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

[dir="rtl"] .hero-social-ticker__wrap {
  padding: 11px 14px 12px 16px;
}

.hero-social-ticker__eyebrow {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(253, 230, 138, 0.95);
  line-height: 1.2;
}

[dir="rtl"] .hero-social-ticker__eyebrow {
  letter-spacing: 0.04em;
  text-transform: none;
}

.hero-social-ticker__msg {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.96);
}

@media (max-width: 480px) {
  .hero-social-ticker__msg {
    font-size: 0.84rem;
  }
}

/* —— Exit-intent modal (conversion) —— */
.mt-exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 28, 18, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mt-exit-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mt-exit-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: min(92vh, 640px);
  overflow: hidden;
  border-radius: 20px;
  background: var(--clr-surface);
  border: 1px solid rgba(27, 67, 50, 0.12);
  box-shadow:
    0 24px 64px rgba(15, 41, 25, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.mt-exit-overlay.is-open .mt-exit-dialog {
  transform: none;
  opacity: 1;
}

.mt-exit-dialog__grid {
  display: grid;
  grid-template-columns: 1fr;
  max-height: min(92vh, 640px);
}

@media (min-width: 640px) {
  .mt-exit-dialog__grid {
    grid-template-columns: 1.05fr 1fr;
  }
}

.mt-exit-dialog__hero {
  padding: 28px 24px 24px;
  background: linear-gradient(145deg, #143d2e 0%, #1b4332 42%, #2d6a4f 100%);
  color: #f0fdf4;
  position: relative;
  overflow: hidden;
}

.mt-exit-dialog__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 10%, rgba(212, 175, 55, 0.18), transparent 42%),
    radial-gradient(circle at 85% 90%, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}

.mt-exit-dialog__hero > * {
  position: relative;
  z-index: 1;
}

.mt-exit-dialog__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(212, 175, 55, 0.22);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #fef9c3;
}

.mt-exit-dialog__title {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.mt-exit-dialog__lead {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(240, 253, 244, 0.9);
}

.mt-exit-dialog__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mt-exit-dialog__perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(240, 253, 244, 0.95);
}

.mt-exit-dialog__perk-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(212, 175, 55, 0.25);
  color: #fde68a;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.mt-exit-dialog__panel {
  padding: 22px 22px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mt-exit-dialog__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.mt-exit-dialog__trust span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.mt-exit-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mt-exit-google-btn:hover {
  background: #f8f9fa;
  border-color: #c6c9ce;
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.14);
  color: #202124;
}

.mt-exit-google-btn__icon {
  flex-shrink: 0;
}

.mt-exit-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 14px;
  color: var(--clr-text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.mt-exit-divider::before,
.mt-exit-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--clr-border-dark, #e5e7eb);
}

.mt-exit-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mt-exit-field {
  display: block;
}

.mt-exit-field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--clr-text);
}

.mt-exit-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  font-family: inherit;
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mt-exit-input:focus {
  outline: none;
  border-color: var(--clr-primary, #2d6a4f);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.mt-exit-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.mt-exit-submit {
  width: 100%;
  padding: 13px 18px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
}

.mt-exit-submit.is-busy {
  opacity: 0.75;
  pointer-events: none;
}

.mt-exit-skip {
  display: block;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  text-decoration: none;
  padding: 6px;
}

.mt-exit-skip:hover {
  color: var(--clr-primary);
  text-decoration: underline;
}

.mt-exit-msg {
  margin: 12px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #166534;
}

.mt-exit-msg.is-error {
  color: #b45309;
}

.mt-exit-legal {
  margin: 14px 0 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--clr-text-muted);
  text-align: center;
}

.mt-exit-close {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--clr-text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, color 0.2s ease;
}

.mt-exit-close:hover {
  background: #fff;
  color: var(--clr-text);
}

body.is-en .mt-exit-close {
  left: auto;
  right: 10px;
}

@media (max-width: 639px) {
  .mt-exit-dialog__hero {
    padding: 22px 18px 18px;
  }

  .mt-exit-dialog__perks {
    display: none;
  }

  .mt-exit-dialog__panel {
    padding: 18px 16px 16px;
  }
}

.mt-sticky-cta {
  position: fixed;
  right: 12px;
  left: 12px;
  bottom: 0;
  z-index: 997;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.3s ease;
  pointer-events: none;
}

.mt-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mt-sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
  color: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(183, 228, 199, 0.35);
}

.mt-sticky-cta__text {
  font-weight: 700;
  font-size: 0.92rem;
  flex: 1;
  min-width: 180px;
}

.mt-sticky-cta__inner .btn {
  flex-shrink: 0;
}

/* نافذة الزائر — بجانب منطقة الإشعارات في الهيدر */
.mt-guest-push-bar {
  position: fixed;
  z-index: 1002;
  width: min(320px, calc(100vw - 24px));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  pointer-events: none;
}

.mt-guest-push-bar.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mt-guest-push-bar.is-out {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
}

.mt-guest-push-bar__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0f3d2e 0%, #1b4332 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(15, 61, 46, 0.35), 0 0 0 1px rgba(212, 160, 23, 0.28);
}

.mt-guest-push-bar__inner::before {
  content: '';
  position: absolute;
  top: -6px;
  inset-inline-end: 28px;
  width: 12px;
  height: 12px;
  background: #1b4332;
  transform: rotate(45deg);
  border-top: 1px solid rgba(212, 160, 23, 0.28);
  border-inline-start: 1px solid rgba(212, 160, 23, 0.28);
}

html.is-en .mt-guest-push-bar__inner::before {
  inset-inline-end: auto;
  inset-inline-start: 28px;
}

.mt-guest-push-bar__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline-end: 24px;
}

.mt-guest-push-bar__ic {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.mt-guest-push-bar__title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.mt-guest-push-bar__text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.mt-guest-push-bar__cta {
  width: 100%;
  justify-content: center;
  margin-top: 2px;
}

.mt-guest-push-bar__link {
  display: block;
  margin-top: 10px;
  font-size: 0.82rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mt-guest-push-bar__link:hover {
  color: #fff;
}

.mt-notif-bell__guest-intro {
  margin: 0 0 10px;
  padding: 0 14px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted, #5c6b63);
}

.mt-guest-push-bar__close {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mt-guest-push-bar__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* تذكير PWA + Push للأعضاء */
.mt-pwa-prompt-bar {
  position: fixed;
  right: 12px;
  left: 12px;
  bottom: 0;
  z-index: 998;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.3s ease;
  pointer-events: none;
}

.mt-pwa-prompt-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mt-pwa-prompt-bar.is-out {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.mt-pwa-prompt-bar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #134e4a, #0f766e);
  color: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(153, 246, 228, 0.35);
}

.mt-pwa-prompt-bar__ic {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.mt-pwa-prompt-bar__text {
  margin: 0;
  flex: 1;
  min-width: 160px;
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 600;
}

.mt-pwa-prompt-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mt-pwa-prompt-bar__close {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.mt-pwa-prompt-bar__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

body.has-mt-pwa-prompt-bar .mt-sticky-cta.is-visible {
  bottom: 4px;
}

@media (min-width: 901px) {
  .mt-pwa-prompt-bar {
    max-width: 520px;
    right: 16px;
    left: auto;
  }
}

/* دليل الطيبات — جدول محتويات */
.daleel-toc-nav .daleel-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.daleel-toc-nav .daleel-toc-list li {
  margin: 0.4rem 0;
}
.daleel-cluster-map {
  line-height: 1.85;
}

/* تجارب الزوار */
.tajrubat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.tajrubat-card {
  background: #fff;
  border: 1px solid rgba(26, 46, 36, 0.08);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 4px 18px rgba(26, 46, 36, 0.04);
}
.tajrubat-card__title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.45;
}
.tajrubat-card__cats {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: var(--clr-text-md);
}
.tajrubat-card__body {
  margin: 0;
  line-height: 1.75;
  color: var(--clr-text-md);
  font-size: 0.96rem;
}
.tajrubat-card__foot {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--clr-text-md);
}
.tajrubat-card--compact .tajrubat-card__body {
  margin: 0;
}
.tajrubat-modal[hidden] { display: none !important; }
.tajrubat-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.tajrubat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 20, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.tajrubat-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92vh, 860px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(45, 106, 79, 0.14);
  box-shadow: 0 24px 64px rgba(27, 67, 50, 0.2);
}
.tajrubat-modal__head {
  position: sticky;
  top: 0;
  z-index: 2;
  flex-shrink: 0;
  padding: 18px 20px 14px;
  padding-inline-start: 52px;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
  border-radius: 18px 18px 0 0;
}
.tajrubat-modal__head-main {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.tajrubat-modal__ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(45, 106, 79, 0.14);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.1);
}
.tajrubat-modal__head h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--clr-primary-dark, #1b4332);
  line-height: 1.35;
}
.tajrubat-modal__close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--clr-text-md, #64748b);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: background 0.15s ease, color 0.15s ease;
}
.tajrubat-modal__close:hover {
  background: #fff;
  color: #1b4332;
}
.tajrubat-modal__lead {
  margin: 0;
  color: var(--clr-text-md, #64748b);
  line-height: 1.6;
  font-size: 0.86rem;
  font-weight: 400;
}
.tajrubat-form {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 20px 22px;
  -webkit-overflow-scrolling: touch;
}
.tajrubat-form__label {
  display: block;
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
}
.tajrubat-form__label input,
.tajrubat-form__label textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 11px 13px;
  border: 1px solid rgba(45, 106, 79, 0.22);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  background: #fafdfa;
  color: #1e293b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.tajrubat-form__label input:hover,
.tajrubat-form__label textarea:hover {
  border-color: rgba(45, 106, 79, 0.35);
}
.tajrubat-form__label input:focus,
.tajrubat-form__label textarea:focus {
  outline: none;
  border-color: #2d6a4f;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.14);
  background: #fff;
}
.tajrubat-form__label textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.65;
}
.tajrubat-form__hint {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #94a3b8;
}
.tajrubat-form__fieldset {
  border: 1px solid rgba(45, 106, 79, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 16px;
  background: rgba(240, 253, 244, 0.5);
}
.tajrubat-form__fieldset legend {
  padding: 0 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clr-primary-dark, #1b4332);
}
.tajrubat-form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.88rem;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s ease;
}
.tajrubat-form__check:hover {
  background: rgba(255, 255, 255, 0.8);
}
.tajrubat-form__check:last-child {
  margin-bottom: 0;
}
.tajrubat-form__check input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #2d6a4f;
}
.tajrubat-form__hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.tajrubat-form .btn-accent {
  width: 100%;
  margin-top: 4px;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(27, 67, 50, 0.2);
}
.tajrubat-form__msg {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.55;
}
.tajrubat-form__msg.is-ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid rgba(45, 106, 79, 0.2);
}
.tajrubat-form__msg.is-err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid rgba(185, 28, 28, 0.2);
}
@media (max-width: 520px) {
  .tajrubat-modal {
    padding: 10px;
    align-items: flex-end;
  }
  .tajrubat-modal__panel {
    max-height: 94vh;
    border-radius: 16px 16px 0 0;
  }
  .tajrubat-modal__head {
    border-radius: 16px 16px 0 0;
    padding: 16px 16px 12px;
    padding-inline-start: 48px;
  }
  .tajrubat-form {
    padding: 14px 16px 20px;
  }
}

/* ── SEO media: Hero video, food figures, weight before/after ── */
.hero-video-frame {
  position: relative;
}

.hero-video-wrap {
  position: relative;
  max-width: 100%;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 48px rgba(212, 160, 23, 0.12);
  background: rgba(0, 0, 0, 0.2);
  isolation: isolate;
}

.hero-video-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.35), rgba(82, 183, 136, 0.25), transparent 60%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.hero-video-shimmer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    110deg,
    rgba(255,255,255,0.04) 8%,
    rgba(255,255,255,0.14) 18%,
    rgba(255,255,255,0.04) 33%
  );
  background-size: 200% 100%;
  animation: hero-video-shimmer 1.4s ease-in-out infinite;
  pointer-events: none;
}

.hero-video-wrap.is-ready .hero-video-shimmer,
.hero-video-wrap.is-playing .hero-video-shimmer {
  opacity: 0;
  animation: none;
  transition: opacity 0.35s ease;
}

@keyframes hero-video-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.hero-video,
.hero-poster-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  position: relative;
  z-index: 1;
  vertical-align: top;
}

.hero-video-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 45, 32, 0.42);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: background 0.25s ease, opacity 0.25s ease;
}

/* display:flex أعلاه يُلغي سمة hidden — يُبقى الزر يغطي الفيديو بالكامل */
.hero-video-play[hidden] {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.hero-video-play:hover,
.hero-video-play:focus-visible {
  background: rgba(15, 45, 32, 0.55);
  outline: none;
}

.hero-video-play__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--clr-accent), #e8b923);
  color: var(--clr-primary-dark);
  font-size: 1.35rem;
  padding-inline-start: 4px;
  box-shadow: 0 10px 32px rgba(212, 160, 23, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-video-play:hover .hero-video-play__icon,
.hero-video-play:focus-visible .hero-video-play__icon {
  transform: scale(1.06);
  box-shadow: 0 14px 38px rgba(212, 160, 23, 0.55);
}

.hero-video-wrap.is-playing .hero-video-play {
  opacity: 0;
  pointer-events: none;
}

.hero-video-wrap.is-paused .hero-video-play {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-shimmer {
    animation: none;
    opacity: 0.35;
  }
}
.hero-poster-wrap {
  max-width: 420px;
  width: 100%;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-lg);
}
.tayibat-food-figure {
  margin: 0 0 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  box-shadow: var(--shadow-sm);
}
.tayibat-food-figure__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}
.tayibat-food-figure__cap {
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--clr-text-light);
  border-top: 1px solid var(--clr-border);
  line-height: 1.5;
}
.mt-weight-ba {
  padding-top: 0;
}
.mt-weight-ba__disclaimer {
  max-width: 900px;
  margin: 0 auto 28px;
}
.mt-weight-ba__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.mt-weight-ba__card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  box-shadow: var(--shadow-sm);
}
.mt-weight-ba__card--before {
  border-color: rgba(231,76,60,0.25);
}
.mt-weight-ba__card--after {
  border-color: rgba(39,174,96,0.28);
}
.mt-weight-ba__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.mt-weight-ba__placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--clr-text-light);
}
.mt-weight-ba__placeholder--before {
  background: linear-gradient(145deg, #fef2f2, #fff);
}
.mt-weight-ba__placeholder--after {
  background: linear-gradient(145deg, #ecfdf5, #fff);
}
.mt-weight-ba__card figcaption {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  line-height: 1.55;
}
.mt-weight-ba__card figcaption span {
  color: var(--clr-text-light);
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .mt-weight-ba__grid {
    grid-template-columns: 1fr;
  }
  .hero.hero--home .hero-video-frame,
  .hero-video-wrap,
  .hero-poster-wrap {
    max-width: 100%;
  }
  .hero-video-play__icon {
    width: 58px;
    height: 58px;
    font-size: 1.15rem;
  }
}

/* Google One Tap — فوق الشريط السفلي ونوافذ الموقع */
#g_id_onload,
#credential_picker_container,
iframe[src*="accounts.google.com/gsi"] {
  z-index: 10050 !important;
}
