/* ==========================================================================
   مدارس برو (Madaris Pro) — ورقة الأنماط الرئيسية
   تصميم متجاوب RTL بالهوية البصرية: الكحلي #0D2B4E، الأزرق #1E88E5، الكهرماني #F5A623
   ========================================================================== */

:root {
  --navy: #0D2B4E;
  --navy-dark: #081C33;
  --navy-mid: #133B6E;
  --blue: #1E88E5;
  --blue-dark: #1565C0;
  --blue-light: #E3F2FD;
  --amber: #F5A623;
  --amber-dark: #D98B0E;
  --amber-light: #FEF3C7;
  --green: #00A884;
  --green-dark: #008B6C;
  --green-light: #D1FAE5;
  --red: #E53935;
  --red-light: #FEE2E2;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --text: #1E293B;
  --muted: #64748B;
  --border: #E2E8F0;
  --shadow-sm: 0 2px 8px rgba(13, 43, 78, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 43, 78, 0.10);
  --shadow-lg: 0 22px 50px rgba(8, 28, 51, 0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --font: "IBM Plex Sans Arabic", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

button,
input,
textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

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

.ico {
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  flex-shrink: 0;
}

/* تخطي إلى المحتوى (إمكانية الوصول) */
.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  z-index: 9999;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ===================== الأزرار ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  text-align: center;
  line-height: 1.4;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-amber {
  background: linear-gradient(135deg, var(--amber), #FFB73B);
  color: var(--navy-dark);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.30);
}

.btn-amber:hover {
  background: linear-gradient(135deg, var(--amber-dark), var(--amber));
  box-shadow: 0 12px 26px rgba(245, 166, 35, 0.42);
}

.btn-wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 8px 20px rgba(18, 140, 126, 0.28);
}

.btn-wa:hover {
  background: linear-gradient(135deg, #22C55E, #0E7A6D);
  box-shadow: 0 12px 26px rgba(18, 140, 126, 0.38);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 136, 229, 0.26);
}

.btn-blue:hover {
  box-shadow: 0 12px 26px rgba(30, 136, 229, 0.36);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
}

.btn-lg span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.btn-lg small {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
}

.btn-block {
  width: 100%;
}

/* ===================== الهيدر وشريط التنقل ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
}

.brand.light {
  color: #fff;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo.boxed {
  background: #fff;
  padding: 3px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-fallback {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  align-items: center;
  justify-content: center;
}

.brand-logo.no-img .brand-fallback,
.ba-logo.no-img .brand-fallback {
  display: inline-flex;
}

.brand-fallback.big {
  width: 90px;
  height: 90px;
  font-size: 2.5rem;
  border-radius: 20px;
}

.brand-name b {
  color: var(--blue);
}

.brand.light .brand-name b {
  color: var(--amber);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a:not(.btn) {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text);
  padding: 6px 2px;
  position: relative;
  transition: color 0.18s ease;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.22s ease;
}

.main-nav a:not(.btn):hover {
  color: var(--blue);
}

.main-nav a:not(.btn):hover::after {
  width: 100%;
}

.nav-cta-mobile {
  display: none;
}

.header-cta {
  padding: 9px 18px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===================== القسم الرئيسي (Hero) ===================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: #fff;
  padding: 64px 0 84px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.28;
}

.hero-bg .b1 {
  width: 460px;
  height: 460px;
  background: var(--blue);
  top: -140px;
  left: -100px;
}

.hero-bg .b2 {
  width: 360px;
  height: 360px;
  background: var(--amber);
  bottom: -140px;
  right: -80px;
  opacity: 0.16;
}

.hero-bg .grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 44px;
}

.hero-text,
.hero-visual {
  min-width: 0;
  max-width: 100%;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #E2EEFF;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.05rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.hero-text .hl {
  color: var(--amber);
  position: relative;
  display: inline-block;
}

.hero-text .lead {
  font-size: 1.08rem;
  color: #D7E5F5;
  margin-bottom: 28px;
  max-width: 56ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #CBE0F7;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points .ico {
  color: var(--amber);
  width: 1.05em;
  height: 1.05em;
}

.hero-visual {
  position: relative;
}

.float-chip {
  position: absolute;
  background: #fff;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(8, 28, 51, 0.25);
  border: 1px solid var(--border);
  white-space: nowrap;
  z-index: 3;
}

.float-chip.fc-1 {
  top: -14px;
  left: 20px;
}

.float-chip.fc-2 {
  bottom: -14px;
  right: 22px;
}

/* ===================== محاكاة نافذة التطبيق ===================== */
.app-window {
  background: var(--bg);
  color: var(--text);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-lg);
}

.app-window.hero-app {
  font-size: 0.84rem;
}

.app-titlebar {
  background: #0A192F;
  color: #E2E8F0;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
}

.app-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tb-logo {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #fff url("../assets/logo.png") center/cover no-repeat;
}

.win-ctrls {
  display: inline-flex;
  gap: 8px;
  direction: ltr;
}

.win-ctrls i {
  font-style: normal;
  width: 22px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.72rem;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.06);
}

.win-ctrls i.x {
  color: #FCA5A5;
}

.app-body {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  min-height: 360px;
}

.hero-app .app-body {
  grid-template-columns: 145px minmax(0, 1fr);
  min-height: 330px;
}

/* القائمة الجانبية في الجهة اليمنى (RTL) */
.app-sidebar {
  background: var(--navy);
  color: #CBD5E1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.app-sidebar.compact {
  padding: 10px 8px;
}

.sb-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.sb-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff;
  padding: 3px;
  margin-bottom: 6px;
  object-fit: contain;
}

.app-sidebar.compact .sb-logo {
  width: 34px;
  height: 34px;
}

.sb-title {
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.3;
}

.sb-sub {
  font-size: 0.7rem;
  color: #93C5FD;
}

.sb-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sb-item {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #CBD5E1;
  text-align: right;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-sidebar.compact .sb-item {
  padding: 4px 6px;
  font-size: 0.70rem;
}

.sb-item:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.sb-item.active {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.app-main {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.m-pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.m-pagehead h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}

.m-pagehead span {
  font-size: 0.76rem;
  color: var(--muted);
}

.m-user {
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--navy) !important;
}

.m-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.m-actions.mt {
  margin-top: 10px;
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--blue);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 7px;
  white-space: nowrap;
}

.m-btn.ghost {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--border);
}

.m-btn.warn {
  color: #B45309;
  border-color: #FCD34D;
  background: #FFFBEB;
}

.m-btn.block {
  width: 100%;
  padding: 7px 12px;
}

.m-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.m-input,
.m-select {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 0.75rem;
  color: var(--text);
}

.m-input {
  flex: 1 1 180px;
  color: var(--muted);
}

.m-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.m-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 10px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.m-stat.s-blue {
  border-top-color: var(--blue);
}

.m-stat.s-green {
  border-top-color: var(--green);
}

.m-stat.s-amber {
  border-top-color: var(--amber);
}

.m-stat.s-red {
  border-top-color: var(--red);
}

.m-stat span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.m-stat b {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.m-stat em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--muted);
}

.m-grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
}

.m-grid-2.wide {
  grid-template-columns: 1.25fr 0.95fr;
}

.m-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
}

.m-card.flush {
  padding: 0;
  overflow: hidden;
}

.m-card-h {
  font-weight: 800;
  font-size: 0.84rem;
  color: var(--navy);
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-card-h.pad {
  padding: 10px 13px 0;
  margin-bottom: 8px;
}

.m-card-h small {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.72rem;
}

/* الرسم البياني بالأعمدة */
.m-bars {
  height: 110px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 4px 20px;
  border-bottom: 1px solid var(--border);
}

.m-bars.tall {
  height: 135px;
}

.m-bars .bar {
  flex: 1;
  height: var(--h, 60%);
  background: linear-gradient(180deg, #60A5FA, var(--blue));
  border-radius: 6px 6px 0 0;
  position: relative;
  min-width: 14px;
}

.m-bars .bar.hot {
  background: linear-gradient(180deg, #FBBF24, var(--amber));
}

.m-bars .bar span {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.64rem;
  color: var(--muted);
  white-space: nowrap;
}

.m-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.m-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border);
}

.m-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.m-progress {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.m-progress>div {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
}

.m-progress i {
  display: block;
  height: 8px;
  background: #EFF6FF;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.m-progress i::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--blue), var(--navy));
  border-radius: 999px;
}

.m-mini-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.m-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.m-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.m-table th,
.m-table td {
  padding: 7px 10px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.m-table th {
  background: #F8FAFC;
  color: var(--muted);
  font-weight: 700;
}

.m-table tr:last-child td {
  border-bottom: 0;
}

.m-table.center th,
.m-table.center td {
  text-align: center;
}

.m-table.center th.start,
.m-table.center td.start {
  text-align: right;
}

.m-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 0.7rem;
  margin-left: 6px;
  vertical-align: middle;
}

.m-avatar.logo {
  background: #fff url("../assets/logo_transparent.png") center/80% no-repeat;
  border: 1px solid #CBD5E1;
}

.m-foot-note {
  font-size: 0.75rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  padding: 7px 11px;
  border-radius: 8px;
}

.m-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

.m-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m-form.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  flex: 1;
}

.m-form.two .m-btn.block {
  grid-column: 1 / -1;
}

.m-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.m-form label .m-input {
  flex: none;
  color: var(--text);
}

.m-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
}

.m-chips span {
  background: #F1F5F9;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}

.m-chips span.on {
  background: var(--blue-light);
  color: var(--blue-dark);
  border-color: #90CAF9;
}

.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E2E8F0;
  font-weight: 800;
  font-size: 0.72rem;
}

.rank.r1 {
  background: #FDE68A;
  color: #92400E;
}

.rank.r2 {
  background: #E2E8F0;
  color: #334155;
}

.rank.r3 {
  background: #FED7AA;
  color: #9A3412;
}

.m-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.m-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m-tile i {
  font-style: normal;
  font-size: 1.15rem;
}

.m-tile b {
  font-size: 0.76rem;
  color: var(--navy);
}

.m-tile span {
  display: flex;
  gap: 4px;
}

.m-tile em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 800;
  background: #F1F5F9;
  color: var(--navy);
  padding: 1px 6px;
  border-radius: 4px;
}

.m-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  padding: 5px 0;
  border-bottom: 1px dashed var(--border);
}

.m-kv.total {
  border-bottom: 0;
  border-top: 2px solid var(--border);
  margin-top: 4px;
  padding-top: 7px;
  font-size: 0.84rem;
  color: var(--navy);
}

.pos {
  color: var(--green-dark);
  font-weight: 800;
}

.neg {
  color: var(--red);
  font-weight: 800;
}

.identity-card .id-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.id-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 145px;
}

.id-preview {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  border: 2px dashed var(--blue);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.t-green {
  background: var(--green-light);
  color: #065F46;
}

.t-blue {
  background: var(--blue-light);
  color: #1E40AF;
}

.t-amber {
  background: var(--amber-light);
  color: #92400E;
}

.t-red {
  background: var(--red-light);
  color: #991B1B;
}

.t-gray {
  background: #E2E8F0;
  color: #475569;
}

.t-navy {
  background: var(--navy);
  color: #fff;
}

/* لقطة الشاشة الحقيقية الاختيارية */
.real-shot-wrap {
  background: #0A192F;
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
}

.real-shot-img {
  width: 100%;
  border-radius: 10px;
}

/* ===================== شريط الثقة ===================== */
.trust {
  position: relative;
  z-index: 2;
  margin-top: -32px;
  padding-bottom: 12px;
}

.trust-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.trust-strip li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: 8px;
  border-left: 1px solid var(--border);
}

.trust-strip li:last-child {
  border-left: 0;
}

.trust-strip b {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1.2;
}

.trust-strip span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

/* ===================== الأقسام العامة والمميزات ===================== */
.section {
  padding: 76px 0;
}

.section-alt {
  background: #FFFFFF;
  border-block: 1px solid var(--border);
}

.section-dark {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.eyebrow {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.eyebrow.light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--amber);
}

.section-head h2,
.identity-text h2,
.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-dark .contact-info h2 {
  color: #fff;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.f-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: color-mix(in srgb, var(--c, var(--blue)) 13%, white);
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checks li {
  position: relative;
  padding-right: 22px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.6;
}

.checks li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

/* ===================== تبويبات لقطات الشاشة ===================== */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.tab {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--navy);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(13, 43, 78, 0.20);
}

.tab-panel[hidden] {
  display: none;
}

/* ===================== قسم هوية مدرستك ===================== */
.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.lead-dark {
  color: #334155;
  font-size: 1.02rem;
  margin-bottom: 22px;
}

.num-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: idstep;
}

.num-steps li {
  counter-increment: idstep;
  position: relative;
  padding-right: 52px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding-block: 12px;
  padding-left: 16px;
}

.num-steps li::before {
  content: counter(idstep);
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.num-steps b {
  display: block;
  color: var(--navy);
  font-size: 0.96rem;
}

.num-steps span {
  font-size: 0.88rem;
  color: var(--muted);
}

.identity-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ba {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}

.ba-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.ba-card.after {
  border: 2px solid var(--amber);
  background: linear-gradient(180deg, #FFFDF7, #FFFFFF);
}

.ba-label {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #F1F5F9;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
}

.ba-card.after .ba-label {
  background: var(--amber-light);
  color: #92400E;
}

.ba-logo {
  width: 96px;
  height: 96px;
  margin: 12px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-logo.placeholder {
  border-radius: 22px;
  border: 2px dashed var(--amber-dark);
  background: #FFFBEB;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.3;
}

.ba-card b {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}

.ba-card small {
  color: var(--muted);
  font-size: 0.8rem;
}

.ba-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.applies {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}

.applies h3 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.applies ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.applies li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.receipt {
  background: #fff;
  border: 1px solid var(--border);
  border-right: 4px solid var(--navy);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.r-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

.r-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px dashed var(--amber-dark);
  background: #FFFBEB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
}

.r-head>div b {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
}

.r-head>div small {
  font-size: 0.76rem;
  color: var(--muted);
}

.r-no {
  margin-right: auto;
  text-align: center;
  background: var(--blue-light);
  color: var(--blue-dark);
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
}

.r-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 3px 0;
}

.r-row span {
  color: var(--muted);
}

/* ===================== كيف يعمل ===================== */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.how-steps li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  position: relative;
}

.how-num {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.how-ico {
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.how-steps h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.how-steps p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ===================== الباقات والأسعار ===================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.plan-card.popular {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 45%);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--amber), #FFB73B);
  color: var(--navy-dark);
  padding: 3px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.plan-price {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1.2;
}

.plan-period {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
  color: #334155;
}

.plan-features .ico {
  color: var(--green);
  width: 1em;
  height: 1em;
  margin-top: 5px;
}

.plan-cta {
  width: 100%;
}

.center-note {
  text-align: center;
  margin-top: 26px;
  color: var(--muted);
  font-weight: 600;
}

.center-note a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

/* ===================== تواصل معنا ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 38px;
  align-items: start;
}

.contact-info p {
  color: #CBD5E1;
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.c-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px 18px;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.c-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(-4px);
}

.c-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-ico.wa {
  background: #25D366;
}

.c-card small {
  display: block;
  color: #CBD5E1;
  font-size: 0.8rem;
}

.c-card b {
  font-size: 1.02rem;
  color: #fff;
}

.contact-form {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.form-hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 5px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  background: #F8FAFC;
  color: var(--text);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}

.form-error {
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ===================== الفوتر ===================== */
.site-footer {
  background: #061527;
  color: #CBD5E1;
  padding: 46px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.f-brand p {
  margin-top: 12px;
  font-size: 0.92rem;
  color: #94A3B8;
  max-width: 40ch;
}

.f-links h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.f-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.f-links a {
  font-size: 0.92rem;
  color: #CBD5E1;
  transition: color 0.16s ease;
}

.f-links a:hover {
  color: var(--amber);
}

.footer-bottom {
  padding-top: 18px;
  text-align: center;
  font-size: 0.88rem;
  color: #94A3B8;
}

.footer-bottom p {
  margin: 0;
}

/* ===================== أزرار عائمة ===================== */
.float-wa {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-wa .ico {
  width: 28px;
  height: 28px;
}

.float-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.52);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  box-shadow: var(--shadow-md);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===================== حركات الظهور عند التمرير ===================== */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ===================== التجاوب مع الشاشات المتوسطة والصغيرة ===================== */
.app-window,
.app-sidebar,
.app-main,
.m-card,
.tab-panel,
.tabs,
.identity-copy,
.identity-visual,
.contact-info,
.contact-form {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .identity-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    inset-inline: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 18px 20px 24px;
    display: none;
    flex-direction: column;
    gap: 14px;
    z-index: 999;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .main-nav a:not(.btn) {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .main-nav a:not(.btn):hover {
    background: var(--bg);
  }

  .nav-cta-mobile {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip li {
    border-left: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
  }

  .trust-strip li:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 720px) {
  .container {
    padding-inline: 16px;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .hero-text h1 {
    font-size: clamp(1.65rem, 6.5vw, 2.2rem);
    line-height: 1.3;
  }

  .hero-text .lead {
    font-size: 0.96rem;
    margin-bottom: 22px;
  }

  .eyebrow-pill {
    font-size: 0.8rem;
    padding: 5px 12px;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .hero-points {
    gap: 10px 14px;
    font-size: 0.85rem;
  }

  .section {
    padding: 48px 0;
  }

  .section-head h2 {
    font-size: clamp(1.45rem, 5.5vw, 1.9rem);
  }

  .features-grid,
  .pricing-grid,
  .how-steps,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-body,
  .hero-app .app-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-sidebar {
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    overflow: hidden;
  }

  .sb-head {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: right;
    padding: 10px 12px 6px;
  }

  .sb-logo {
    width: 30px;
    height: 30px;
    margin: 0;
  }

  .sb-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 10px 10px;
    gap: 6px;
    max-width: 100%;
  }

  .sb-item {
    width: auto;
    flex-shrink: 0;
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .app-main {
    padding: 12px;
  }

  .m-head,
  .m-toolbar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .m-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .m-grid-2,
  .m-grid-2.wide,
  .m-form.two {
    grid-template-columns: minmax(0, 1fr);
  }

  .m-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tab-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 6px;
    gap: 8px;
  }

  .tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 13px;
    font-size: 0.85rem;
  }

  .ba {
    grid-template-columns: minmax(0, 1fr);
  }

  .ba-arrow {
    margin: 0 auto;
    transform: rotate(-90deg);
  }

  .float-chip {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn-lg {
    width: 100%;
    padding: 13px 16px;
    white-space: normal;
    text-align: center;
  }

  .float-wa {
    width: 48px;
    height: 48px;
    bottom: 16px;
    left: 14px;
  }

  .to-top {
    width: 40px;
    height: 40px;
    bottom: 72px;
    left: 18px;
  }
}

@media (max-width: 480px) {
  .trust-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .m-tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .m-bar-row {
    grid-template-columns: 60px 1fr auto;
    font-size: 0.72rem;
  }

  .m-chart {
    gap: 4px;
  }

  .id-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   أيقونات Lucide CDN — تنسيق موحد ومتناسق مع النصوص العربية
   ========================================================================== */
svg.lucide {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke-width: 2;
}

svg.lucide.lu {
  width: 20px;
  height: 20px;
}

svg.lucide.lu-sm {
  width: 16px;
  height: 16px;
}

svg.lucide.lu-xs {
  width: 14px;
  height: 14px;
}

.f-icon svg.lucide {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

.how-ico svg.lucide {
  width: 28px;
  height: 28px;
  color: var(--navy);
}

.m-tile i {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.tab,
.eyebrow-pill,
.float-chip,
.m-user,
.m-btn,
.m-card-h,
.m-foot-note,
.id-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.m-card-h,
.m-foot-note {
  display: flex;
}

.m-btn.block {
  display: flex;
  justify-content: center;
}

.sb-item svg.lucide {
  width: 15px;
  height: 15px;
  opacity: 0.9;
}
