/* ═══════════ MGC — شركة المؤيد العالمية · صفحةٌ داخل موقع أودو (نسخةٌ هادئة) ═══════════
   مساحةٌ أكثر وعناصر أقلّ: لونٌ واحد مميِّز (أخضر البرازيل) ولمسةُ ذهب، ومسرحٌ واحد داكن للرحلة.
   كلُّ قاعدةٍ تحت .mgc-home وكلُّ صنفٍ ببادئة mg-. الحركة transform/opacity. */
.mgc-home{
  --mg-ink:#15130f; --mg-ink2:#3d3830; --mg-muted:#6a6358; --mg-line:rgba(21,19,15,.1);
  --mg-cream:#faf6ef; --mg-paper:#ffffff;
  --mg-green:#0e7a47; --mg-green-d:#0a5c36; --mg-green-l:#e3f4ea;
  --mg-gold:#c98a00; --mg-gold-l:#fff2cc;
  --mg-navy:#0b1b33; --mg-pine:#0d3526;
  --mg-fd:'Alexandria','IBM Plex Sans Arabic',system-ui,sans-serif;
  --mg-fb:'IBM Plex Sans Arabic','Alexandria',system-ui,-apple-system,'Segoe UI',sans-serif;
  --mg-wrapw:1180px; --mg-ease:cubic-bezier(.2,.7,.2,1); --mg-sh:0 30px 60px -36px rgba(40,30,10,.35);
  font-family:var(--mg-fb); font-size:17px; line-height:1.8; color:var(--mg-ink); background:var(--mg-paper);
  overflow-x:clip; -webkit-font-smoothing:antialiased;
}
.mgc-home *{box-sizing:border-box}
.mgc-home img{max-width:100%;height:auto;display:block}
.mgc-home a{color:inherit;text-decoration:none}
.mgc-home h1,.mgc-home h2,.mgc-home h3{margin:0;font-family:var(--mg-fd);font-weight:800;color:inherit;line-height:1.3;letter-spacing:0}
.mgc-home p{margin:0}
.mgc-home ol,.mgc-home ul{margin:0;padding:0;list-style:none}
.mgc-home em{font-style:normal;color:var(--mg-green)}
.mgc-home b{font-weight:700}
.mgc-home .mg-wrap{max-width:var(--mg-wrapw);margin-inline:auto;padding-inline:clamp(18px,4vw,40px);width:100%}
.mgc-home .mg-ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.mgc-home [dir="ltr"]{unicode-bidi:isolate}
.mgc-home :focus-visible{outline:2px solid var(--mg-green);outline-offset:3px;border-radius:8px}

/* أزرار */
.mgc-home .mg-btn{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 28px;border-radius:999px;font:700 1rem var(--mg-fd);
  border:1.5px solid transparent;white-space:nowrap;cursor:pointer;transition:transform .3s var(--mg-ease),background .3s,border-color .3s}
.mgc-home .mg-btn:hover{transform:translateY(-2px)}
.mgc-home .mg-btn-ink{background:var(--mg-ink);color:#fff}
.mgc-home .mg-btn-ink:hover{background:#000}
.mgc-home .mg-btn-line{border-color:rgba(21,19,15,.22);color:var(--mg-ink)}
.mgc-home .mg-btn-line:hover{border-color:var(--mg-ink)}
.mgc-home .mg-btn-light{background:#fff;color:var(--mg-pine)}
.mgc-home:not(.mg-rtl) .mg-arr{transform:scaleX(-1)}
.mgc-home .mg-eyebrow{font:700 .85rem var(--mg-fd);color:var(--mg-green);letter-spacing:.02em}
.mgc-home .mg-eyebrow--light{color:#8fe0b4}

/* ظهور */
.mgc-home .mg-seq{opacity:0;transform:translateY(24px);animation:mgIn 1s var(--mg-ease) forwards;animation-delay:calc(.1s + var(--i,0) * .1s)}
@keyframes mgIn{to{opacity:1;transform:none}}
.mgc-home .mg-rv{opacity:0;transform:translateY(32px);transition:opacity .9s var(--mg-ease),transform .9s var(--mg-ease);transition-delay:calc(var(--i,0) * .1s)}
.mgc-home .mg-rv.mg-in{opacity:1;transform:none}

/* ─── البطل ─── */
.mgc-home .mg-hero{position:relative;overflow:hidden;min-height:calc(100svh - var(--mg-head,80px));display:flex;align-items:center;padding:clamp(40px,6vw,80px) 0;
  background:radial-gradient(60% 70% at 78% 50%,#fff3dc 0%,rgba(255,243,220,0) 70%),var(--mg-paper)}
.mgc-home .mg-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.mgc-home .mg-hero-logo{height:clamp(50px,4.6vw,68px);width:auto;margin-bottom:28px}
.mgc-home .mg-hero h1{font-size:clamp(38px,4.4vw,66px);line-height:1.25;margin-bottom:22px;font-weight:900}
.mgc-home .mg-hero h1 > span,.mgc-home .mg-hero h1 > em{display:block}
.mgc-home .mg-lead{font-size:clamp(17px,1.25vw,19px);color:var(--mg-ink2);max-width:30em}
.mgc-home .mg-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.mgc-home .mg-stage{position:relative;aspect-ratio:1;width:100%;max-width:580px;justify-self:center}
.mgc-home .mg-glow{position:absolute;inset:10%;border-radius:50%;background:radial-gradient(circle,#ffe7b8 0%,rgba(255,231,184,.4) 45%,rgba(255,231,184,0) 70%)}
.mgc-home .mg-fl{position:absolute;left:var(--x);top:var(--y);width:var(--w);
  transform:translate(-50%,-50%) translate3d(calc(var(--mx,0) * var(--d) * 18px),calc(var(--my,0) * var(--d) * 18px + var(--sy,0) * var(--d) * -.18px),0) rotate(var(--r))}
.mgc-home .mg-fl img{width:100%;filter:drop-shadow(0 24px 22px rgba(70,40,10,.22));animation:mgBob var(--t,7s) ease-in-out infinite alternate;animation-delay:calc(var(--k) * -1.2s)}
.mgc-home .mg-stage .mg-fl{opacity:0;animation:mgPop 1.2s var(--mg-ease) forwards;animation-delay:calc(.3s + var(--k) * .1s)}
@keyframes mgPop{from{opacity:0;scale:.8}to{opacity:1;scale:1}}
@keyframes mgBob{from{transform:translateY(-6px)}to{transform:translateY(6px)}}

/* ─── ثلاث كلمات ─── */
.mgc-home .mg-sec{position:relative;padding:clamp(90px,11vw,150px) 0}
.mgc-home .mg-say{background:var(--mg-cream);text-align:center}
.mgc-home .mg-say-list{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.mgc-home .mg-say-list li{display:flex;flex-direction:column;align-items:center;gap:14px}
.mgc-home .mg-say-list b{font:900 clamp(40px,5vw,72px)/1.45 var(--mg-fd);color:var(--mg-ink)}
.mgc-home .mg-say-list li:nth-child(2) b{color:var(--mg-green)}
.mgc-home .mg-say-list li:nth-child(3) b{color:var(--mg-gold)}
.mgc-home .mg-say-list span{color:var(--mg-muted);font-size:1.05rem}
.mgc-home .mg-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:clamp(56px,7vw,90px);padding-top:40px;border-top:1px solid var(--mg-line)}
.mgc-home .mg-facts > div{display:flex;flex-direction:column;align-items:center;gap:4px}
.mgc-home .mg-facts b{font:800 clamp(30px,3vw,42px)/1.1 var(--mg-fd)}
.mgc-home .mg-facts > div > span{color:var(--mg-muted);font-size:.95rem}
.mgc-home .mg-plus{font-style:normal;font-size:.7em;margin-inline-end:.04em}

/* عناوين الأقسام */
.mgc-home .mg-shead{max-width:720px;margin-bottom:clamp(40px,5vw,64px)}
.mgc-home .mg-shead h2{font-size:clamp(30px,3.8vw,52px);margin-top:12px}
.mgc-home .mg-shead p:not(.mg-eyebrow){color:var(--mg-ink2);margin-top:16px;font-size:1.06rem}
.mgc-home .mg-shead--center{margin-inline:auto;text-align:center}
.mgc-home .mg-shead--split{max-width:none;display:flex;justify-content:space-between;align-items:flex-end;gap:40px}

/* ─── الرحلة ─── */
.mgc-home .mg-journey{position:relative;height:440vh;background:var(--mg-navy);color:#fff}
.mgc-home .mg-j-pin{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;display:flex;flex-direction:column;justify-content:center;
  background:radial-gradient(55% 60% at 75% 40%,rgba(47,208,122,.12),transparent 70%),linear-gradient(160deg,#0b1b33,#081326)}
.mgc-home .mg-j-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;align-items:center}
.mgc-home .mg-j-copy h2{font-size:clamp(30px,3.4vw,48px);margin:12px 0 30px;color:#fff}
.mgc-home .mg-j-copy h2 em{color:#ffd23f}
.mgc-home .mg-j-steps{position:relative;min-height:200px}
.mgc-home .mg-j-step{position:absolute;inset:0 0 auto;opacity:0;transform:translateY(22px);transition:opacity .6s var(--mg-ease),transform .6s var(--mg-ease)}
.mgc-home .mg-j-step.mg-on{opacity:1;transform:none}
.mgc-home .mg-j-n{font:700 .85rem var(--mg-fd);color:#8fe0b4}
.mgc-home .mg-j-step h3{font-size:clamp(24px,2.3vw,32px);margin:8px 0 8px;color:#fff}
.mgc-home .mg-j-step p{color:#bccadb;max-width:30em}
.mgc-home .mg-j-km{display:flex;align-items:baseline;gap:10px;margin-top:20px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12)}
.mgc-home .mg-j-km b{font:800 clamp(36px,3.8vw,56px)/1 var(--mg-fd);color:#ffd23f}
.mgc-home .mg-j-km span{color:#bccadb}
.mgc-home .mg-j-frame{position:relative;aspect-ratio:1000/620;width:100%}
.mgc-home .mg-j-map{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.mgc-home .mg-j-land{fill:none;stroke:#6fb4ff;stroke-width:3.2;stroke-linecap:round;opacity:calc(.45 * var(--mg-world,1))}
.mgc-home .mg-j-route-bg{fill:none;stroke:rgba(255,255,255,.18);stroke-width:1.5;stroke-dasharray:2 7;opacity:var(--mg-route,1)}
.mgc-home .mg-j-route{fill:none;stroke:url(#mgLine);stroke-width:3;stroke-linecap:round;opacity:var(--mg-route,1)}
.mgc-home .mg-j-links line{stroke:#ffd23f;stroke-width:1.4;stroke-linecap:round;opacity:.75}
.mgc-home .mg-j-pins circle{fill:#8fe0b4}
.mgc-home .mg-j-pins .mg-on-dot{fill:#ffd23f}
.mgc-home .mg-j-pins .mg-home-dot{fill:#fff}
.mgc-home .mg-j-pins .mg-pulse{fill:none;stroke:#ffd23f;stroke-width:1.5;transform-box:fill-box;transform-origin:center;animation:mgPulse 2.4s ease-out infinite}
@keyframes mgPulse{from{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(4)}}
.mgc-home .mg-j-plane path{fill:#fff}
.mgc-home .mg-j-lbl{position:absolute;left:0;top:0;transform:translate(calc(var(--x,0px) - 50%),calc(var(--y,0px) - 100% - 14px));white-space:nowrap;text-align:center;
  display:flex;flex-direction:column;align-items:center;line-height:1.3;pointer-events:none;opacity:var(--o,1);transition:opacity .35s}
.mgc-home .mg-j-lbl b{font:700 .9rem var(--mg-fd);color:#fff}
.mgc-home .mg-j-lbl small{font-size:.72rem;color:#93a6c0}
.mgc-home .mg-j-bar{position:absolute;inset:auto 0 0;height:2px;background:rgba(255,255,255,.08)}
.mgc-home .mg-j-bar span{display:block;height:100%;background:#ffd23f;transform-origin:0 50%;transform:scaleX(var(--mg-p,0))}

/* ─── ما نستورده ─── */
.mgc-home .mg-brands{background:var(--mg-paper)}
.mgc-home .mg-duo{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.mgc-home .mg-duo > *{min-width:0}
.mgc-home .mg-brand{position:relative;border-radius:30px;padding:clamp(28px,3.2vw,44px);overflow:hidden;display:flex;flex-direction:column;min-height:520px}
.mgc-home .mg-brand--n{background:#fbeee2}
.mgc-home .mg-brand--a{background:#f9e8ef}
.mgc-home .mg-b-top{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.mgc-home .mg-b-word{font:900 clamp(44px,4.6vw,68px)/1.1 var(--mg-fd)}
.mgc-home .mg-brand--n .mg-b-word{color:#8a3a0c}
.mgc-home .mg-brand--a .mg-b-word{color:#8c1147}
.mgc-home .mg-b-count{color:var(--mg-ink2);font-weight:600}
.mgc-home .mg-b-count b{font:800 1.3rem var(--mg-fd)}
.mgc-home .mg-brand p{color:var(--mg-ink2);max-width:32em;margin-top:14px}
.mgc-home .mg-shelf{margin-top:auto;height:240px;display:flex;align-items:flex-end;justify-content:center;gap:6%}
.mgc-home .mg-shelf span{display:block;max-width:30%;transform:translateY(calc(var(--mg-shelf,1) * 50px));transition:transform 1.2s var(--mg-ease);transition-delay:calc(var(--k) * .1s)}
.mgc-home .mg-brand.mg-in .mg-shelf span{--mg-shelf:0}
.mgc-home .mg-shelf img{max-height:210px;width:auto;margin-inline:auto;filter:drop-shadow(0 18px 16px rgba(70,30,10,.22))}
.mgc-home .mg-shelf span:nth-child(2) img{max-height:160px}

/* ─── الأكثر طلباً ─── */
.mgc-home .mg-best{background:var(--mg-cream)}
.mgc-home .mg-rail-nav{display:flex;gap:10px}
.mgc-home .mg-rn{width:50px;height:50px;border-radius:50%;border:1.5px solid rgba(21,19,15,.18);background:transparent;display:grid;place-items:center;cursor:pointer;color:var(--mg-ink);transition:border-color .25s}
.mgc-home .mg-rn:hover{border-color:var(--mg-ink)}
.mgc-home.mg-rtl .mg-rn[data-rail="-1"] .mg-ic,.mgc-home:not(.mg-rtl) .mg-rn[data-rail="1"] .mg-ic{transform:scaleX(-1)}
.mgc-home .mg-rail{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:max(18px,calc((100vw - var(--mg-wrapw)) / 2 + 40px));
  padding:6px max(18px,calc((100vw - var(--mg-wrapw)) / 2 + 40px)) 20px;scrollbar-width:none}
.mgc-home .mg-rail::-webkit-scrollbar{display:none}
.mgc-home .mg-pc{flex:0 0 clamp(230px,21vw,270px);scroll-snap-align:start;background:#fff;border-radius:24px;padding:18px 20px 22px;display:flex;flex-direction:column;transition:transform .4s var(--mg-ease),box-shadow .4s}
.mgc-home .mg-pc:hover{transform:translateY(-4px);box-shadow:var(--mg-sh)}
.mgc-home .mg-pc-brand{font:700 .78rem var(--mg-fd);color:var(--mg-muted)}
.mgc-home .mg-pc img{width:80%;margin:10px auto 14px;aspect-ratio:1;object-fit:contain;mix-blend-mode:multiply}
.mgc-home .mg-pc h3{font:700 1rem/1.5 var(--mg-fd)}
.mgc-home .mg-pc small{margin-top:auto;padding-top:10px;color:var(--mg-muted);font-size:.82rem}
.mgc-home .mg-best-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:22px;flex-wrap:wrap}
.mgc-home .mg-best-foot p{color:var(--mg-muted);font-size:.9rem}

/* ─── المحافظات ─── */
.mgc-home .mg-where{background:var(--mg-paper)}
.mgc-home .mg-where-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:56px;align-items:center}
.mgc-home .mg-where .mg-shead{margin-bottom:0}
.mgc-home .mg-legend{display:flex;flex-wrap:wrap;gap:20px;margin-top:24px;font-weight:600;color:var(--mg-ink2)}
.mgc-home .mg-legend li{display:inline-flex;align-items:center;gap:8px}
.mgc-home .mg-lg{width:12px;height:12px;border-radius:50%;background:var(--mg-green)}
.mgc-home .mg-lg--on{background:var(--mg-gold)}
.mgc-home .mg-sy{container-type:inline-size;position:relative;aspect-ratio:640/490;width:100%;border-radius:30px;background:var(--mg-cream)}
.mgc-home .mg-sy-map{position:absolute;inset:0;width:100%;height:100%}
.mgc-home .mg-sy-map .mg-grid-dot{fill:rgba(14,122,71,.1)}
.mgc-home .mg-sy-map line{stroke:rgba(201,138,0,.55);stroke-width:1.5;stroke-linecap:round;stroke-dasharray:var(--len);stroke-dashoffset:var(--len);transition:stroke-dashoffset 1.4s var(--mg-ease);transition-delay:var(--d,0s)}
.mgc-home .mg-sy.mg-in .mg-sy-map line{stroke-dashoffset:0}
.mgc-home .mg-sy-map .mg-g{fill:var(--mg-green);transform-box:fill-box;transform-origin:center;transform:scale(0);transition:transform .6s var(--mg-ease);transition-delay:var(--d,0s)}
.mgc-home .mg-sy-map .mg-g--on{fill:var(--mg-gold)}
.mgc-home .mg-sy.mg-in .mg-sy-map .mg-g{transform:scale(1)}
.mgc-home .mg-sy-map .mg-halo{fill:none;stroke:var(--mg-gold);stroke-width:1.5;transform-box:fill-box;transform-origin:center;animation:mgPulse 2.6s ease-out infinite}
.mgc-home .mg-sy-lbl{position:absolute;left:0;top:0;transform:translate(var(--lx,0px),var(--ly,0px));font:600 .8rem var(--mg-fd);color:var(--mg-ink2);white-space:nowrap;
  opacity:0;transition:opacity .6s var(--mg-ease);transition-delay:var(--d,0s)}
.mgc-home .mg-sy.mg-in .mg-sy-lbl{opacity:1}
.mgc-home .mg-sy-lbl.mg-on{color:var(--mg-ink);font-weight:800}

/* ─── للصيدليات ─── */
.mgc-home .mg-partners{background:var(--mg-pine);color:#fff}
.mgc-home .mg-partners .mg-shead h2{color:#fff}
.mgc-home .mg-partners .mg-shead h2 em{color:#ffd23f}
.mgc-home .mg-partners .mg-shead p:not(.mg-eyebrow){color:#c8ddd2}
.mgc-home .mg-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:900px;margin-inline:auto}
.mgc-home .mg-tier{border-radius:24px;padding:26px 28px;color:var(--mg-ink);display:flex;justify-content:space-between;align-items:center}
.mgc-home .mg-tier--s{background:linear-gradient(145deg,#f3f3f2,#cfd1cf)}
.mgc-home .mg-tier--g{background:linear-gradient(145deg,#fff1c2,#e9bd4c)}
.mgc-home .mg-tier--d{background:linear-gradient(145deg,#eef8ff,#b8dcf0)}
.mgc-home .mg-tier-name{font:700 1.15rem var(--mg-fd)}
.mgc-home .mg-tier b{font:900 clamp(40px,4vw,56px)/1 var(--mg-fd)}
.mgc-home .mg-tier-note{text-align:center;color:#a9c8b8;font-size:.88rem;margin-top:16px}
.mgc-home .mg-center{text-align:center;margin-top:34px}

/* ─── تواصل ─── */
.mgc-home .mg-contact{background:var(--mg-paper);text-align:center}
.mgc-home .mg-contact-in{max-width:760px}
.mgc-home .mg-contact h2{font-size:clamp(34px,4.4vw,60px)}
.mgc-home .mg-contact-in > p{color:var(--mg-ink2);margin-top:14px;font-size:1.06rem}
.mgc-home .mg-cta--center{justify-content:center}
.mgc-home .mg-contact-line{margin-top:26px;color:var(--mg-muted);font-weight:600}
.mgc-home .mg-legal{margin-top:60px;padding-top:22px;border-top:1px solid var(--mg-line);color:var(--mg-muted);font-size:.85rem}

@media (max-width:1080px){
  .mgc-home .mg-hero-grid,.mgc-home .mg-duo,.mgc-home .mg-where-grid{grid-template-columns:1fr}
  .mgc-home .mg-stage{max-width:480px;margin-top:20px}
  .mgc-home .mg-j-grid{grid-template-columns:1fr;gap:6px}
  .mgc-home .mg-j-stage{order:-1}
  .mgc-home .mg-j-steps{min-height:170px}
  .mgc-home .mg-shead--split{flex-direction:column;align-items:flex-start;gap:14px}
}
@media (max-width:700px){
  .mgc-home{font-size:16px}
  .mgc-home .mg-say-list,.mgc-home .mg-facts,.mgc-home .mg-tiers{grid-template-columns:1fr}
  .mgc-home .mg-say-list{gap:28px}
  .mgc-home .mg-brand{min-height:0}
  .mgc-home .mg-shelf{height:200px;margin-top:24px}
  .mgc-home .mg-shelf img{max-height:170px}
  .mgc-home .mg-j-copy h2{margin:8px 0 14px;font-size:27px}
  .mgc-home .mg-j-steps{min-height:190px}
  .mgc-home .mg-j-km b{font-size:34px}
  .mgc-home .mg-j-lbl b{font-size:.76rem}
  .mgc-home .mg-j-lbl small{display:none}
  .mgc-home .mg-sy-lbl{font-size:.64rem}
  .mgc-home .mg-btn{min-height:50px;padding:0 22px}
}
.mgc-home:not(.mg-rtl) .mg-hero h1{font-size:clamp(34px,3.9vw,58px)}
.mgc-home:not(.mg-rtl) .mg-shead h2{font-size:clamp(28px,3.2vw,46px)}
/* ═══ الحلّ الوسط: لونٌ وحركةٌ بقدر (فوق النسخة الهادئة) ═══ */
.mgc-home .mg-blobs{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.mgc-home .mg-blobs i{position:absolute;border-radius:50%;filter:blur(70px);opacity:.38;animation:mgDrift 22s ease-in-out infinite alternate}
.mgc-home .mg-blobs .mg-b1{width:40vw;height:40vw;max-width:560px;max-height:560px;background:#ffc46b;top:-14%;inset-inline-end:-8%}
.mgc-home .mg-blobs .mg-b2{width:30vw;height:30vw;max-width:440px;max-height:440px;background:#ff9cc5;bottom:-16%;inset-inline-end:26%;animation-duration:26s;animation-delay:-7s}
.mgc-home .mg-blobs .mg-b3{width:26vw;height:26vw;max-width:380px;max-height:380px;background:#7fdcaa;bottom:-10%;inset-inline-start:-6%;animation-duration:24s;animation-delay:-12s}
.mgc-home .mg-blobs--dark i{opacity:.25}
.mgc-home .mg-blobs--dark .mg-b1{background:#2fd07a}.mgc-home .mg-blobs--dark .mg-b2{background:#ffd23f}
@keyframes mgDrift{0%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(5%,7%,0) scale(1.1)}100%{transform:translate3d(-4%,-3%,0) scale(.95)}}
.mgc-home .mg-hero-grid,.mgc-home .mg-partners .mg-wrap{position:relative}
.mgc-home .mg-ring{position:absolute;inset:5%;border-radius:50%;border:2px dashed rgba(14,122,71,.18);animation:mgSpin 70s linear infinite}
@keyframes mgSpin{to{transform:rotate(1turn)}}
.mgc-home .mg-flow,.mgc-home .mg-shead h2 em,.mgc-home .mg-contact h2 em{background:linear-gradient(100deg,#0e7a47 0%,#3aa35d 30%,#c98a00 60%,#e0672b 85%,#0e7a47 100%);background-size:220% 100%;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;display:inline-block;padding:.1em .03em .28em;margin:-.1em -.03em -.28em;animation:mgFlow 9s linear infinite}
.mgc-home .mg-flow{animation:mgIn 1s var(--mg-ease) forwards,mgFlow 9s linear infinite;animation-delay:.3s,0s}
.mgc-home .mg-partners .mg-shead h2 em,.mgc-home .mg-j-copy h2 em{background:none;-webkit-text-fill-color:currentColor;animation:none;padding:0;margin:0}
@keyframes mgFlow{to{background-position:220% 0}}
.mgc-home .mg-shine{position:relative;overflow:hidden}
.mgc-home .mg-shine::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.4) 50%,transparent 70%);transform:translateX(-120%);animation:mgShine 4.2s var(--mg-ease) infinite}
@keyframes mgShine{0%,60%{transform:translateX(-120%)}90%,100%{transform:translateX(120%)}}
/* شريط السلاسل */
.mgc-home .mg-marquee{background:var(--mg-navy);padding:18px 0;overflow:hidden}
.mgc-home .mg-mq-row{overflow:hidden;white-space:nowrap}
.mgc-home .mg-mq-track{display:inline-flex;align-items:center;gap:24px;padding-inline-end:24px;animation:mgMarq 40s linear infinite}
@keyframes mgMarq{to{transform:translateX(-50%)}}
.mgc-home .mg-pill{font:800 1.1rem var(--mg-fd);padding:8px 18px;border-radius:999px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.mgc-home .mg-c1{color:#8fe0b4}.mgc-home .mg-c2{color:#ffd23f}.mgc-home .mg-c3{color:#ffa4c6}
.mgc-home .mg-mq-track img{height:56px;width:auto;filter:drop-shadow(0 8px 10px rgba(0,0,0,.4))}
/* ثلاث كلمات: نقطةٌ ملوّنة تحت كلّ كلمة */
.mgc-home .mg-say{background:radial-gradient(40% 60% at 15% 20%,rgba(127,220,170,.18),transparent 70%),radial-gradient(40% 60% at 85% 80%,rgba(255,196,107,.2),transparent 70%),var(--mg-cream)}
.mgc-home .mg-say-list li::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--mg-ink);order:1}
.mgc-home .mg-say-list li:nth-child(2)::after{background:var(--mg-green)}
.mgc-home .mg-say-list li:nth-child(3)::after{background:var(--mg-gold)}
.mgc-home .mg-say-list li.mg-in b{animation:mgWord .9s var(--mg-ease) both;animation-delay:calc(var(--i,0) * .15s)}
@keyframes mgWord{from{transform:scale(.85);opacity:.2}to{transform:none;opacity:1}}
/* العلامتان بتدرّجٍ أدفأ */
.mgc-home .mg-brand--n{background:linear-gradient(155deg,#fff0e0 0%,#ffd1a6 100%)}
.mgc-home .mg-brand--a{background:linear-gradient(155deg,#ffeaf2 0%,#ffc0d8 100%)}
.mgc-home .mg-shelf img{animation:mgBob 6.5s ease-in-out infinite alternate}
/* بطاقات المنتجات */
.mgc-home .mg-pc{position:relative;overflow:hidden}
.mgc-home .mg-pc::before{content:"";position:absolute;inset:0 0 auto;height:110px}
.mgc-home .mg-pc--n::before{background:linear-gradient(180deg,#ffe6cf,transparent)}
.mgc-home .mg-pc--a::before{background:linear-gradient(180deg,#ffe0ec,transparent)}
.mgc-home .mg-pc > *{position:relative}
.mgc-home .mg-pc-brand{align-self:flex-start;padding:3px 12px;border-radius:999px;color:#fff}
.mgc-home .mg-pc--n .mg-pc-brand{background:#b8521a}
.mgc-home .mg-pc--a .mg-pc-brand{background:#b3175a}
.mgc-home .mg-pc.mg-tilt{transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))}
.mgc-home .mg-pc.mg-tilt:hover{transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-4px)}
/* المستويات تلمع */
.mgc-home .mg-tier{position:relative;overflow:hidden}
.mgc-home .mg-tier::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.55) 50%,transparent 65%);transform:translateX(-120%);animation:mgShine 5s var(--mg-ease) infinite}
.mgc-home .mg-tier--g::after{animation-delay:.7s}.mgc-home .mg-tier--d::after{animation-delay:1.4s}
/* تواصل بخلفيةٍ دافئة */
.mgc-home .mg-contact{background:radial-gradient(50% 70% at 50% 0%,rgba(255,196,107,.22),transparent 70%),var(--mg-paper)}
/* واتساب العائم */
.mgc-home .mg-wa{position:fixed;inset-inline-end:22px;bottom:22px;z-index:1030;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#1faa59;color:#fff;
  box-shadow:0 16px 28px -12px rgba(15,80,40,.7);transform:scale(0);transition:transform .45s var(--mg-ease)}
.mgc-home .mg-wa::before{content:"";position:absolute;inset:0;border-radius:50%;animation:mgRing 2.6s infinite}
@keyframes mgRing{0%{box-shadow:0 0 0 0 rgba(31,170,89,.45)}70%{box-shadow:0 0 0 16px rgba(31,170,89,0)}100%{box-shadow:0 0 0 0 rgba(31,170,89,0)}}
.mgc-home .mg-wa .mg-ic{width:26px;height:26px}
.mgc-home .mg-wa.mg-show{transform:scale(1)}
@media (max-width:700px){.mgc-home .mg-mq-track img{height:44px}.mgc-home .mg-pill{font-size:.95rem}}
@media (prefers-reduced-motion:reduce){.mgc-home .mg-wa{transform:none}}
@media (prefers-reduced-motion:reduce){
  .mgc-home *,.mgc-home *::before,.mgc-home *::after{animation:none !important;transition:none !important}
  .mgc-home .mg-seq,.mgc-home .mg-rv,.mgc-home .mg-stage .mg-fl{opacity:1 !important}
  .mgc-home .mg-seq,.mgc-home .mg-rv{transform:none !important}
  .mgc-home .mg-sy-map line{stroke-dashoffset:0 !important}
  .mgc-home .mg-sy-map .mg-g{transform:none !important}
  .mgc-home .mg-sy-lbl{opacity:1 !important}
}
