:root{
  --navy:#0A1628;
  --gold:#C9A227;
  --gold2:#E5C558;
  --muted:rgba(255,255,255,.78);
  --muted2:rgba(255,255,255,.62);
  --card:rgba(255,255,255,.06);
  --border:rgba(255,255,255,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Almarai",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--navy);
  color:#fff;
  direction:rtl;
}
a{color:inherit;text-decoration:none}
.container{max-width:1120px;margin:0 auto;padding:0 18px}
.header{
  position:sticky;top:0;z-index:50;
  background:rgba(10,22,40,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.navbar{display:flex;align-items:center;justify-content:space-between;height:78px;gap:14px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:46px;height:46px;border-radius:999px;border:2px solid var(--gold);object-fit:cover}
.brand .name{font-weight:800;color:var(--gold);font-size:18px;line-height:1.1}
.brand .tag{font-size:12px;color:var(--muted)}
.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 14px;border-radius:12px;
  border:1px solid var(--border);
  font-weight:700;font-size:14px;
  transition:transform .15s ease,background .15s ease,border-color .15s ease,opacity .15s ease;
  will-change:transform;
}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--gold);color:var(--navy);border-color:transparent}
.btn-primary:hover{background:var(--gold2)}
.btn-outline{background:transparent;color:var(--gold);border-color:rgba(201,162,39,.7)}
.btn-outline:hover{background:rgba(201,162,39,.12)}
.hero{
  position:relative;
  padding:56px 0 40px;
  overflow:hidden;
}
/* Gradient layer */
.hero::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(10,22,40,.76) 0%, rgba(10,22,40,.92) 62%, rgba(10,22,40,1) 100%);
  transform:scale(1.02);
}
/* Watermark logo layer */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* تم التوسيط وتكبير الحجم إلى 780px لضمان البروز بنسبة 35% */
  background: url("images/logo.webp") center/780px auto no-repeat;
  opacity: .07; /* شفافية هادئة جداً */
  pointer-events: none;
  z-index: 0;
}
.hero .inner{position:relative;display:grid;gap:22px;grid-template-columns:1fr;align-items:center}
.kicker{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 12px;border-radius:999px;
  background:rgba(201,162,39,.10);border:1px solid rgba(201,162,39,.25);
  color:var(--gold);font-weight:800;font-size:13px;
}
h1{margin:12px 0 10px;font-size:40px;line-height:1.15;letter-spacing:-.2px}
@media (max-width: 520px){h1{font-size:32px}}
.sub{color:var(--muted);font-size:16px;line-height:1.9;max-width:56ch}
.typewriter{color:#fff;display:inline-block;min-width:18ch}
.badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.badge{
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
  padding:8px 10px;border-radius:999px;
  font-size:13px;color:rgba(255,255,255,.88)
}
.section{padding:44px 0}
.section h2{
  margin:0 0 10px;
  font-size:28px;line-height:1.25;
}
.lead{color:var(--muted);line-height:1.9;margin:0 0 22px;max-width:80ch}
.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
@media (max-width: 980px){.grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width: 720px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 420px){.grid{grid-template-columns:1fr}}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px 14px 13px;
  transition:transform .15s ease, border-color .15s ease, background .15s ease;
  position:relative;
  min-height:72px;
}
.card:hover{
  transform:translateY(-2px);
  border-color:rgba(201,162,39,.35);
  background:rgba(255,255,255,.08);
}
.card .card .row{display:flex;gap:10px;align-items:flex-start}
.card .t{font-weight:800;line-height:1.45}
.goldbox{
  border-radius:22px;
  padding:18px 18px;
  background:rgba(201,162,39,.15);
  border:1px solid rgba(201,162,39,.30);
}
.goldbox h3{margin:0 0 6px;color:var(--gold);font-size:18px}
.goldbox p{margin:0;color:rgba(255,255,255,.92);line-height:2}
.faq{display:grid;gap:10px;margin-top:16px}
details{
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px 14px;
}
summary{cursor:pointer;font-weight:900;color:#fff;outline:none}
details[open]{border-color:rgba(201,162,39,.30);background:rgba(255,255,255,.07)}
details p{margin:10px 0 0;color:var(--muted);line-height:2;white-space:pre-wrap}
.footer{
  border-top:1px solid var(--border);
  padding:26px 0 70px;
  background:rgba(0,0,0,.10)
}
.footer .cols{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:start}
@media (max-width: 820px){.footer .cols{grid-template-columns:1fr}}
@media (max-width: 820px){.actions{display:none}}
.small{color:var(--muted2);font-size:13px;line-height:1.9}
.footer a.link{color:var(--gold)}
.footer a.link:hover{opacity:.85}
.float{
  position:fixed;bottom:18px;right:18px;
  display:flex;flex-direction:column;gap:10px;z-index:60;
}
.fab{
  width:56px;height:56px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 14px 28px rgba(0,0,0,.35);
  transition:transform .15s ease;
}
.fab:hover{transform:scale(1.05)}
.fab.call{background:var(--gold);color:var(--navy)}
.fab.wa{background:#25D366;color:#fff}

/* Blinking / pulsing floating buttons */
.blink{animation:pulse 1.25s ease-in-out infinite}
@keyframes pulse{
  0%{transform:scale(1)}
  50%{transform:scale(1.08)}
  100%{transform:scale(1)}
}
.fab .wa-ico{width:28px;height:28px;display:block;fill:currentColor}
.icon{width:22px;height:22px;display:block}
.hr{height:1px;background:var(--border);margin:14px 0}
.gold{color:var(--gold)}

/* Interactive / scroll reveal */
.interactive{transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.interactive:hover{transform:translateY(-3px)}
.interactive:active{transform:translateY(-1px)}

/* Reveal animation with safe fallback:
   - Default: visible (in case JS fails / blocked)
   - When JS is enabled, we animate elements into view
*/
.reveal{opacity:1;transform:none;transition:opacity .55s ease, transform .55s ease}
html.js .reveal{opacity:0;transform:translateY(14px)}
html.js .reveal.in-view{opacity:1;transform:none}

/* Values grid */
.values-grid{display:grid;gap:10px;margin-top:12px}
.value-card{background:rgba(10,22,40,.35);border:1px solid rgba(255,255,255,.10);border-radius:14px;padding:12px}
.value-title{font-weight:1000;margin-bottom:6px}
.value-text{color:rgba(255,255,255,.86);line-height:1.9}

.cta-box{
  background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:#0a1628;
  border-radius:18px;
  padding:26px 18px;
  border:1px solid rgba(201,162,39,.4);
  text-align:center;
}
.cta-box h3{margin:0 0 10px;font-size:22px;color:#000}
.cta-box p{margin:0 0 14px;color:#0a1628;opacity:.92}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;border-radius:999px;padding:12px 18px;font-weight:900}
.btn-dark{background:#0A1628;color:#fff;border:1px solid rgba(10,22,40,.35)}
.btn-dark:active{transform:translateY(1px)}
.about{display:grid;gap:16px}
.about-card{
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  position:relative;
  overflow:hidden;
}

/* Watermark logo inside the main About card (fills the visual void subtly) */
.about-card::after{
  content:"";
  position:absolute;
  left:0;right:0;
  top:46%;
  bottom:-28px;
  background:url("images/logo.webp") center/420px auto no-repeat;
  opacity:.06;
  pointer-events:none;
}

.about-card > *{position:relative;z-index:1}
.stats{display:grid;gap:10px;margin-top:14px}
.stat{display:flex;justify-content:space-between;gap:10px;background:rgba(10,22,40,.35);border:1px solid rgba(255,255,255,.10);border-radius:14px;padding:10px 12px}
.stat .k{color:rgba(255,255,255,.75);font-size:13px}
.stat .v{font-weight:900}
.about-grid{display:grid;gap:12px}
.about-mini{
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
}
.about-mini h3{margin:0 0 8px;font-size:18px}
.about-mini p{margin:0;color:rgba(255,255,255,.82)}
.about-values ul{margin:10px 0 0;padding:0 18px;color:rgba(255,255,255,.86)}
.about-values li{margin:8px 0}
.loc{display:flex;gap:10px;align-items:flex-start}
.loc-ico{
  width:18px;height:18px;border-radius:6px;
  background:rgba(201,162,39,.18);
  border:1px solid rgba(201,162,39,.35);  background-repeat:no-repeat;
  background-position:center;
  background-size:12px 12px;
  flex:0 0 auto;
  margin-top:2px;
}

/* Floating buttons (blink/pulse) */
.blink{animation:blinkPulse 1.4s ease-in-out infinite}
@keyframes blinkPulse{
  0%,100%{transform:translateY(0) scale(1);opacity:1}
  50%{transform:translateY(0) scale(1.08);opacity:.82}
}

.wa-ico{width:22px;height:22px;display:block;fill:#fff}
@media(min-width:860px){
  .about{grid-template-columns:1.2fr .8fr;align-items:stretch}
  .about-card,.about-grid{height:100%}
  .about-grid{display:flex;flex-direction:column}
  .about-values{flex:1;display:flex;flex-direction:column}
  .values-grid{flex:1}
  .stats{grid-template-columns:1fr 1fr}
}


/* Case cards icon: use single cached image tag instead of CSS background */
.case-ico{width:22px;height:22px;flex:0 0 22px;border-radius:8px;filter:drop-shadow(0 8px 18px rgba(0,0,0,.28));opacity:.95}

/* Animated numbers */
.numbers{padding-top:48px}
.numbers-grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}
@media (min-width: 860px){.numbers-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}}
.num-card{padding:16px 14px;border-radius:18px;text-align:center}
.num{font-size:34px;line-height:1.1;font-weight:900;letter-spacing:.2px}
@media (min-width: 860px){.num{font-size:40px}}
.num-label{margin-top:8px;color:var(--muted);font-weight:700}





/* ===== Watermark for About Card (fills lower empty area) ===== */
.about-card {
  position: relative;
  overflow: hidden;
}

.about-card::after {
  content: "";
  position: absolute;
  /* تم ضبط الموقع لملء الفراغ السفلي في البطاقة */
  left: 0;
  right: 0;
  top: 45%;
  bottom: -30px;
  background: url("images/logo.webp") center/400px auto no-repeat;
  opacity: .05;
  pointer-events: none;
  z-index: 0;
}

/* ضمان بقاء النصوص فوق العلامة المائية */
.about-card > * {
  position: relative;
  z-index: 1;
}

/* ===== Hero watermark visual noise reduction ===== */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/logo.webp") center/780px auto no-repeat;
  opacity: .04;
  pointer-events: none;
  z-index: 0;
}

.hero h1 {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero .sub {
  position: relative;
  z-index: 2;
  line-height: 1.8;
  margin-top: 15px;
}

/* ===== About section logo elegance enhancement ===== */
.about-card {
  position: relative;
  overflow: hidden;
}

.about-card::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 320px;
  height: 320px;
  background: url("images/logo.webp") no-repeat bottom left/contain;
  opacity: 0.12;
  filter: drop-shadow(0 0 15px rgba(201, 162, 39, 0.25));
  pointer-events: none;
  z-index: 0;
}

.about-card .stats {
  position: relative;
  z-index: 2;
}


/* ===== Conversion-focused enhancements (v12) ===== */

/* Bigger, more decisive hero */
.hero{
  min-height: 92vh;
  padding: 80px 0 56px;
}
.hero .inner{
  min-height: calc(92vh - 136px);
}
.hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}
.btn-lg{padding:14px 16px;border-radius:14px;font-size:15px}
@media (max-width: 520px){
  .hero{padding:74px 0 48px}
  .hero-cta .btn{width:100%}
}

/* Glass utilities */
.glass{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Compact section spacing */
.section-compact{padding:34px 0}

/* Conversion band (no images) */
.conversion-band{
  display:grid;
  gap:16px;
  padding:18px;
  border-radius:22px;
  align-items:center;
}
@media (min-width: 980px){
  .conversion-band{grid-template-columns: 1.1fr .9fr; gap:20px; padding:22px}
}
.conversion-band h2{margin:0 0 6px}
.conversion-band .lead{margin:0;color:var(--muted)}
.mini-form{
  display:grid;
  gap:10px;
}
.mini-form input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,22,40,.55);
  color: var(--text);
  outline:none;
}
.mini-form input::placeholder{color: rgba(255,255,255,.45)}
.mini-form .btn{width:100%}
.mini-note{font-size:12px;color:rgba(255,255,255,.55);text-align:center}
.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* Premium stats (static, glass, strong) */
.numbers{padding-top:48px}
.numbers-grid{gap:14px}
.stat-card{
  padding:16px 14px;
  border-radius:22px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.stat-card::before{
  content:"";
  position:absolute;inset:-2px;
  background: radial-gradient(600px 220px at 50% 0%, rgba(201,162,39,.18), transparent 60%);
  pointer-events:none;
}
.stat-top{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.stat-ico{
  width:34px;height:34px;
  display:inline-flex;
  align-items:center;justify-content:center;
  border-radius:14px;
  background: rgba(201,162,39,.12);
  border:1px solid rgba(201,162,39,.22);
  font-size:18px;
}
.stat-num{
  font-size:40px;
  line-height:1.1;
  font-weight:950;
  letter-spacing:.2px;
}
@media (max-width: 520px){.stat-num{font-size:34px}}
.stat-unit{
  position:relative;
  margin-top:8px;
  color: rgba(255,255,255,.70);
  font-weight:800;
  font-size:13px;
}
.stat-label{
  position:relative;
  margin-top:8px;
  color: var(--muted);
  font-weight:700;
  font-size:13px;
  line-height:1.65;
}

/* "Show more" toggles */
.more-toggle{
  margin-top:14px;
  width:fit-content;
}

/* Ensure hidden sections collapse nicely */
.cases-more[hidden], .faq-more[hidden]{display:none !important}
