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

:root {
  --bg-0: #f5f6f9;
  --bg-grad-1: #eef1f8;
  --bg-grad-2: #f0f4ff;
  --ink: #0d1b2a;
  --ink-soft: #2c3e55;
  --muted: #5e7491;
  --line: #dce3ed;
  --line-soft: #eaeff6;
  --surface: #ffffff;
  --surface-tint: #f8fafd;
  --navy: #0d2b55;
  --navy-mid: #1a3a6b;
  --navy-light: #2a5298;
  --gold: #c9a227;
  --gold-light: #e4bb44;
  --gold-pale: #fdf4d8;
  --wa: #25D366;
  --wa-deep: #128C7E;
  --shadow-sm: 0 1px 3px rgba(13,27,42,0.06), 0 1px 2px rgba(13,27,42,0.04);
  --shadow-md: 0 4px 12px -2px rgba(13,27,42,0.10), 0 8px 24px -6px rgba(13,27,42,0.08);
  --shadow-lg: 0 12px 40px -10px rgba(13,43,85,0.22), 0 24px 60px -24px rgba(13,43,85,0.14);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(42,82,152,0.07), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(201,162,39,0.07), transparent 55%),
    linear-gradient(180deg, var(--bg-grad-1) 0%, var(--bg-0) 40%, var(--bg-grad-2) 100%);
  min-height: 100vh;
  direction: rtl;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-header {
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(13,27,42,0.07);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.brand {
  font-size: 1.22em;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold-light);
  font-size: 0.72em;
  font-weight: 900;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -4px rgba(13,43,85,0.35);
}

.site-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93em;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.site-nav a:hover { background: rgba(42,82,152,0.09); color: var(--navy-mid); }
.site-nav a.active { background: var(--navy); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-toggle:hover { background: var(--surface-tint); border-color: rgba(42,82,152,0.35); }
.nav-toggle:focus-visible { outline: none; border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(42,82,152,0.2); }

.nav-toggle-icon {
  position: relative; display: block;
  width: 20px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: background 0.2s var(--ease);
}
.nav-toggle-icon::before, .nav-toggle-icon::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.25s var(--ease), top 0.2s var(--ease);
}
.nav-toggle-icon::before { top: -7px; }
.nav-toggle-icon::after  { top: 7px; }
.site-header[data-nav-open="true"] .nav-toggle-icon { background: transparent; }
.site-header[data-nav-open="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
.site-header[data-nav-open="true"] .nav-toggle-icon::after  { top: 0; transform: rotate(-45deg); }

main.page {
  flex: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.page-header { margin-bottom: 36px; text-align: center; animation: rise 0.6s var(--ease) both; }

.page-eyebrow {
  display: inline-block;
  font-size: 0.82em; font-weight: 700; letter-spacing: 1px;
  color: var(--navy-light);
  background: rgba(42,82,152,0.10);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}

.page-title {
  font-size: 2.35em; font-weight: 800; letter-spacing: -0.5px; line-height: 1.25;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}

.page-lead { font-size: 1.1em; color: var(--ink-soft); line-height: 1.85; max-width: 650px; margin: 0 auto; }

.page-hero {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 28px; box-shadow: var(--shadow-md);
  border: 1px solid rgba(13,27,42,0.06); aspect-ratio: 21 / 9;
  animation: rise 0.7s var(--ease) both;
}
.page-hero img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.02); }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.0) 35%, rgba(13,27,42,0.55) 100%);
  pointer-events: none;
}
.page-hero-tag {
  position: absolute; inset: auto 18px 16px auto;
  background: rgba(255,255,255,0.96); color: var(--ink);
  font-weight: 700; font-size: 0.88em; padding: 8px 16px;
  border-radius: 999px; box-shadow: 0 6px 18px -6px rgba(13,27,42,0.35);
}

.card {
  background: var(--surface);
  border: 1px solid rgba(13,27,42,0.07);
  border-radius: var(--radius-lg);
  padding: 44px 44px;
  box-shadow: var(--shadow-md);
  animation: rise 0.6s var(--ease) 0.05s both;
}
.card + .card { margin-top: 24px; }

.card h2 {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.42em; font-weight: 800; color: var(--navy);
  margin-bottom: 14px; letter-spacing: -0.3px;
}
.card h2 .h2-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(13,43,85,0.12), rgba(201,162,39,0.12));
  color: var(--navy-light); flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(42,82,152,0.18);
}
.card h2 .h2-ico svg { width: 20px; height: 20px; }

.card h3 { font-size: 1.08em; font-weight: 700; color: var(--navy); margin: 22px 0 8px; }
.card p { color: var(--ink-soft); line-height: 1.95; margin-bottom: 14px; font-size: 1.02em; }
.card ul, .card ol { padding-right: 22px; margin-bottom: 14px; color: var(--ink-soft); }
.card li { line-height: 1.9; margin-bottom: 6px; }
.card a { color: var(--navy-light); text-decoration: none; font-weight: 600; border-bottom: 1px dashed rgba(42,82,152,0.4); }
.card a:hover { color: var(--navy); border-bottom-style: solid; }
.muted { color: var(--muted); font-size: 0.92em; }

.step-list { list-style: none; padding: 0; margin: 14px 0; counter-reset: step; }
.step-list li {
  position: relative; padding: 18px 64px 18px 18px; margin-bottom: 12px;
  background: var(--surface-tint); border: 1px solid var(--line-soft); border-radius: var(--radius);
  counter-increment: step; line-height: 1.85; color: var(--ink-soft);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.step-list li:hover { border-color: rgba(42,82,152,0.30); transform: translateY(-2px); }
.step-list li::before {
  content: counter(step); position: absolute; inset-inline-end: 18px; top: 16px;
  width: 32px; height: 32px; border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold-light); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 0.92em;
  box-shadow: 0 4px 10px -4px rgba(13,43,85,0.45);
}
.step-list li strong { color: var(--ink); display: block; margin-bottom: 4px; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 18px; }

.info-tile {
  background: var(--surface-tint); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 22px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
.info-tile:hover { transform: translateY(-3px); border-color: rgba(42,82,152,0.30); }
.info-tile-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.info-tile-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(13,43,85,0.10), rgba(201,162,39,0.08));
  color: var(--navy-light); flex-shrink: 0;
}
.info-tile-ico svg { width: 18px; height: 18px; }
.info-tile-label { font-size: 0.82em; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.info-tile-value { font-size: 1.08em; font-weight: 700; color: var(--ink); }
.info-tile-value a { color: inherit; text-decoration: none; border-bottom: 0; }

.card-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--wa), var(--wa-deep));
  color: white; font-weight: 700; border-radius: 999px;
  text-decoration: none; border-bottom: 0 !important; margin-top: 10px;
  box-shadow: 0 8px 18px -6px rgba(37,211,102,0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card-cta:hover { transform: translateY(-2px); color: white; border-bottom: 0 !important; box-shadow: 0 12px 24px -6px rgba(37,211,102,0.45); }

details {
  background: var(--surface-tint); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 0 22px; margin-bottom: 12px;
  transition: border-color 0.2s var(--ease);
}
details[open] { border-color: rgba(42,82,152,0.35); background: var(--surface); }
details summary {
  cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--navy);
  font-size: 1.02em; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.4em; color: var(--gold); font-weight: 600; transition: transform 0.2s var(--ease); }
details[open] summary::after { content: "−"; }
details p, details ul, details ol { padding-bottom: 18px; color: var(--ink-soft); line-height: 1.85; }
details ul, details ol { padding-right: 20px; }

.site-footer {
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(8px);
  border-top: 1px solid rgba(13,27,42,0.07);
  padding: 32px 24px; margin-top: auto;
}
.site-footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px; margin-bottom: 16px; }
.footer-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92em; transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: var(--navy-light); }
.footer-sep { color: #cbd5e1; user-select: none; }
.footer-meta { font-size: 0.86em; color: var(--muted); line-height: 1.7; }
.footer-meta a { color: var(--ink-soft); text-decoration: none; }
.footer-meta a:hover { color: var(--navy-light); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 768px) {
  .site-header-inner { padding: 14px 18px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(255,255,255,0.98);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(13,27,42,0.08);
    padding: 8px 14px 14px; gap: 2px;
    box-shadow: 0 14px 28px -16px rgba(13,27,42,0.18);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transform: translateY(-6px);
    transition: max-height 0.28s var(--ease), opacity 0.2s var(--ease), transform 0.28s var(--ease);
  }
  .site-header[data-nav-open="true"] .site-nav {
    max-height: 480px; opacity: 1; pointer-events: auto; transform: translateY(0);
  }
  .site-nav a { width: 100%; text-align: right; padding: 12px 14px; border-radius: 10px; font-size: 1em; }
  .site-nav a.active { background: var(--navy); color: #fff; }
  main.page { padding: 36px 16px 56px; }
  .page-title { font-size: 1.82em; line-height: 1.3; }
  .page-lead { font-size: 1em; }
  .card { padding: 28px 20px; border-radius: var(--radius); }
  .card h2 { font-size: 1.2em; }
  .card p, .card li { font-size: 0.98em; }
  details { padding: 0 18px; }
  details summary { font-size: 0.98em; padding: 16px 0; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .info-tile { padding: 18px 16px; }
  .page-hero { aspect-ratio: 16 / 10; margin-bottom: 22px; }
  .page-hero-tag { font-size: 0.82em; padding: 6px 14px; inset: auto 14px 12px auto; }
  .footer-nav { gap: 6px 14px; }
}

@media (max-width: 460px) {
  .info-grid { grid-template-columns: 1fr; }
  .brand { font-size: 1.08em; }
  .page-title { font-size: 1.58em; }
  .card { padding: 24px 18px; }
  .card-cta { padding: 13px 22px; font-size: 0.95em; }
}

/* ===== RESPONSIVE TABLES ===== */
@media (max-width: 768px) {
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
  thead, tbody, tr { display: block; }
  td, th { display: block; text-align: right; }
}

/* ===== HERO IMAGES ===== */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,43,85,0.28) 0%, transparent 45%),
    linear-gradient(0deg, rgba(255,255,255,0.82) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.hero > *:not(.hero-img):not(.hero-overlay) {
  position: relative;
  z-index: 2;
}

/* ===== TRANSPARENCY STRIP + WHATSAPP FAB ===== */
.ge-disclaimer-strip {
  background: rgba(13,43,85,0.05);
  border-top: 1px solid rgba(13,43,85,0.10);
  padding: 16px 24px;
  text-align: center;
  font-size: 0.82em;
  color: var(--muted);
  line-height: 1.72;
  direction: rtl;
}
.ge-disclaimer-strip strong { color: var(--ink-soft); }

.ge-wa-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wa) 0%, var(--wa-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 20px -4px rgba(37,211,102,0.55);
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.ge-wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px -6px rgba(37,211,102,0.65);
}
.ge-wa-fab svg { width: 30px; height: 30px; flex-shrink: 0; }

/* ===== HERO CTA ROW ===== */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
  animation: rise 0.8s var(--ease) 0.2s both;
}

.btn-wa {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 54px; font-size: 1.1em; font-family: inherit;
  text-decoration: none; border-radius: 999px;
  background: linear-gradient(135deg, var(--wa) 0%, var(--wa-deep) 100%);
  color: white; font-weight: 700;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
  box-shadow: 0 10px 24px -6px rgba(37,211,102,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
  isolation: isolate; overflow: hidden;
  min-height: 48px;
}
.btn-wa:hover {
  filter: brightness(1.04);
  box-shadow: 0 16px 36px -8px rgba(37,211,102,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
.btn-wa:active { transform: translateY(0); }
.btn-wa:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,211,102,0.35), 0 16px 36px -8px rgba(37,211,102,0.5);
}
.btn-wa .icon { width: 22px; height: 22px; flex-shrink: 0; }

@media (max-width: 480px) {
  .btn-wa { width: 100%; padding: 16px 24px; font-size: 1em; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
}

/* ===== CONTACT GRID ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

/* ===== OVERFLOW SAFETY ===== */
a, p, li, td, th { overflow-wrap: anywhere; }

/* ===== TOUCH TARGETS ===== */
.btn { min-height: 48px; padding: .85rem 1.6rem; display: inline-flex; align-items: center; justify-content: center; }
.contact-tile { min-height: 48px; }

/* ===== EMOJI-FREE CHECK/CROSS ICONS ===== */
.check-icon {
  display: inline-block;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23155e36' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.cross-icon {
  display: inline-block;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b91c1c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}

.footer-legal { font-size: 0.82em; color: var(--muted); line-height: 1.7; margin-top: 6px; }
