/* MasterGroup homepage polish v1.9.9
   هدف: اصلاح ظاهری صفحه اصلی بدون دستکاری سنگین CSS اصلی و حفظ توسعه ماژولار. */

:root{
    --mg-polish-blue:#2563eb;
    --mg-polish-purple:#7c3aed;
    --mg-polish-gold:#d4af37;
    --mg-polish-ink:#0f172a;
    --mg-polish-card:rgba(255,255,255,.78);
    --mg-polish-card-strong:rgba(255,255,255,.92);
    --mg-polish-border:rgba(148,163,184,.18);
    --mg-polish-shadow:0 24px 70px rgba(15,23,42,.08);
}
.dark{
    --mg-polish-card:rgba(15,23,42,.62);
    --mg-polish-card-strong:rgba(15,23,42,.78);
    --mg-polish-border:rgba(255,255,255,.09);
    --mg-polish-shadow:0 28px 90px rgba(0,0,0,.28);
}

/* 1) Market: حذف پترن شبکه‌ای و جایگزینی با پس‌زمینه شرکتی نرم و هماهنگ */
.mg-pro-market-section{
    padding:7.25rem 0 6.75rem;
    background:
        radial-gradient(circle at 88% 8%,rgba(37,99,235,.18),transparent 30%),
        radial-gradient(circle at 8% 22%,rgba(124,58,237,.16),transparent 32%),
        radial-gradient(circle at 48% 100%,rgba(212,175,55,.10),transparent 36%),
        linear-gradient(180deg,var(--bg-main) 0%,var(--bg-panel) 50%,var(--bg-main) 100%) !important;
    border-top:1px solid rgba(148,163,184,.10);
}
.mg-pro-market-section:before{
    background:
        radial-gradient(circle at 72% 38%,rgba(255,255,255,.20),transparent 21rem),
        linear-gradient(125deg,rgba(37,99,235,.075),transparent 38%,rgba(124,58,237,.07)) !important;
    background-size:auto !important;
    mask-image:none !important;
    opacity:.9;
}
.dark .mg-pro-market-section:before{
    background:
        radial-gradient(circle at 72% 38%,rgba(96,165,250,.10),transparent 24rem),
        linear-gradient(125deg,rgba(37,99,235,.10),transparent 40%,rgba(124,58,237,.10)) !important;
}
.mg-pro-market-bg{
    opacity:.28;
    filter:blur(110px);
}
.mg-pro-market-bg--blue{
    right:-9rem;
    top:4.5rem;
    background:rgba(37,99,235,.44);
}
.mg-pro-market-bg--purple{
    left:-11rem;
    bottom:7rem;
    background:rgba(124,58,237,.36);
}
.mg-pro-market-head{
    grid-template-columns:1fr !important;
    margin-bottom:1.6rem;
}
.mg-pro-market-copy{
    position:relative;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:1.5rem;
    padding:2.1rem 2.25rem;
    border-radius:2rem;
    background:linear-gradient(135deg,var(--mg-polish-card-strong),var(--mg-polish-card));
    border:1px solid var(--mg-polish-border);
    box-shadow:var(--mg-polish-shadow);
    overflow:hidden;
}
.mg-pro-market-copy:after{
    content:"";
    position:absolute;
    inset:auto auto -5.8rem -5.8rem;
    width:14rem;
    height:14rem;
    border-radius:999px;
    background:linear-gradient(135deg,rgba(37,99,235,.18),rgba(124,58,237,.14));
    filter:blur(2px);
    pointer-events:none;
}
.mg-pro-market-copy__content,
.mg-pro-market-copy__actions{
    position:relative;
    z-index:1;
}
.mg-pro-market-copy h2{
    max-width:850px;
    font-size:clamp(2rem,3.45vw,3.35rem);
}
.mg-pro-market-copy p{
    max-width:880px;
}
.mg-pro-market-copy__actions a,
.mg-pro-market-more a,
.mg-pro-market-empty a{
    background:linear-gradient(135deg,var(--mg-polish-blue),var(--mg-polish-purple));
    color:#fff;
    box-shadow:0 16px 34px rgba(37,99,235,.18);
}
.mg-pro-product-card{
    border-color:rgba(148,163,184,.18);
    box-shadow:0 18px 54px rgba(15,23,42,.065);
}
.dark .mg-pro-product-card{
    border-color:rgba(255,255,255,.085);
    box-shadow:0 18px 62px rgba(0,0,0,.26);
}
.mg-pro-market-more{
    margin-top:1.55rem;
    background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(124,58,237,.085),rgba(212,175,55,.075));
    border-color:rgba(96,165,250,.18);
}

/* 2) Services v1.9.1: طراحی شرکتی باز، بدون باکس‌های تودرتو */
.mg-services-section{
    position:relative;
    padding:7rem 0 6.7rem;
    background:
        radial-gradient(circle at 85% 14%,rgba(37,99,235,.12),transparent 30%),
        radial-gradient(circle at 10% 82%,rgba(124,58,237,.095),transparent 32%),
        linear-gradient(180deg,var(--bg-panel) 0%,var(--bg-main) 100%) !important;
    border-top:1px solid rgba(148,163,184,.12);
    border-bottom:1px solid rgba(148,163,184,.12);
    overflow:hidden;
}
.dark .mg-services-section{
    background:
        radial-gradient(circle at 85% 14%,rgba(37,99,235,.16),transparent 32%),
        radial-gradient(circle at 10% 82%,rgba(124,58,237,.13),transparent 34%),
        linear-gradient(180deg,#090b14 0%,#05060c 100%) !important;
}
.mg-services-section:before,
.mg-services-section::before{
    content:"";
    position:absolute;
    inset:0 0 auto;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(37,99,235,.38),rgba(124,58,237,.25),transparent) !important;
    pointer-events:none;
    opacity:1 !important;
}
.mg-services-shell{
    position:relative;
    z-index:1;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
}
.dark .mg-services-shell{
    background:transparent !important;
}
.mg-services-head{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr) !important;
    gap:3rem !important;
    align-items:end;
    margin-bottom:2.4rem !important;
}
.mg-services-head__copy{
    max-width:780px;
    min-height:0 !important;
    justify-content:flex-start !important;
}
.mg-services-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:.55rem;
    margin-bottom:1rem;
    padding:.52rem .86rem;
    border-radius:999px;
    background:rgba(37,99,235,.075);
    border:1px solid rgba(37,99,235,.13);
    color:#1d4ed8;
    font-size:.76rem;
    font-weight:950;
}
.dark .mg-services-eyebrow{
    background:rgba(37,99,235,.14);
    border-color:rgba(96,165,250,.18);
    color:#bfdbfe;
}
.mg-services-eyebrow i{color:#7c3aed;}
.dark .mg-services-eyebrow i{color:#c4b5fd;}
.mg-services-head h2{
    margin:0 0 .85rem !important;
    max-width:760px;
    color:var(--text-main);
    font-size:clamp(2.05rem,4vw,3.35rem);
    line-height:1.28;
    font-weight:1000;
    letter-spacing:-.045em;
}
.mg-services-head p{
    margin:0;
    max-width:760px;
    color:var(--text-muted);
    font-size:1rem;
    line-height:2.08;
    font-weight:700;
}
.mg-services-summary{
    display:grid !important;
    grid-template-columns:1fr;
    gap:1.05rem !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.mg-services-summary__line{
    position:relative;
    padding:.05rem 1.05rem .05rem 0 !important;
    border:0 !important;
    border-right:3px solid rgba(37,99,235,.34) !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
}
.mg-services-summary__line:nth-child(2){border-right-color:rgba(124,58,237,.34) !important;}
.mg-services-summary__line:nth-child(3){border-right-color:rgba(212,175,55,.48) !important;}
.mg-services-summary__line:before{display:none !important;}
.mg-services-summary__line strong{
    display:block;
    margin-bottom:.28rem;
    color:var(--text-main);
    font-size:.94rem;
    line-height:1.75;
    font-weight:1000;
}
.mg-services-summary__line span{
    display:block;
    color:var(--text-muted);
    font-size:.82rem;
    line-height:1.95;
    font-weight:760;
}
.mg-services-grid{
    display:grid !important;
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    gap:0 !important;
    border-radius:2.15rem;
    background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,255,255,.62));
    border:1px solid rgba(148,163,184,.18);
    box-shadow:0 28px 80px rgba(15,23,42,.08);
    overflow:hidden;
}
.dark .mg-services-grid{
    background:linear-gradient(145deg,rgba(255,255,255,.062),rgba(255,255,255,.025));
    border-color:rgba(255,255,255,.09);
    box-shadow:0 30px 90px rgba(0,0,0,.32);
}
.mg-service-card,
.mg-service-card--wide{
    grid-column:span 2 !important;
    min-height:326px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:hidden !important;
    transition:background .22s ease,transform .22s ease !important;
}
.mg-service-card:nth-child(1),
.mg-service-card:nth-child(2){
    grid-column:span 3 !important;
    min-height:306px !important;
}
.mg-service-card:nth-child(2),
.mg-service-card:nth-child(4),
.mg-service-card:nth-child(5){
    border-right:1px solid rgba(148,163,184,.15) !important;
}
.mg-service-card:nth-child(n+3){
    border-top:1px solid rgba(148,163,184,.15) !important;
}
.dark .mg-service-card:nth-child(2),
.dark .mg-service-card:nth-child(4),
.dark .mg-service-card:nth-child(5){
    border-right-color:rgba(255,255,255,.075) !important;
}
.dark .mg-service-card:nth-child(n+3){
    border-top-color:rgba(255,255,255,.075) !important;
}
.mg-service-card:first-child{
    background:
        radial-gradient(circle at 12% 18%,rgba(255,255,255,.16),transparent 25%),
        linear-gradient(135deg,#172554 0%,#1d4ed8 55%,#4f46e5 100%) !important;
}
.mg-service-card:hover{
    transform:none !important;
    background:rgba(37,99,235,.045) !important;
    box-shadow:none !important;
}
.dark .mg-service-card:hover{background:rgba(96,165,250,.055) !important;}
.mg-service-card:first-child:hover{
    background:
        radial-gradient(circle at 12% 18%,rgba(255,255,255,.18),transparent 25%),
        linear-gradient(135deg,#172554 0%,#1d4ed8 55%,#4f46e5 100%) !important;
}
.mg-service-card__surface{
    position:relative;
    display:flex;
    flex-direction:column;
    height:100%;
    min-height:100%;
    padding:1.65rem !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.mg-service-card__surface:before,
.mg-service-card__surface::before,
.mg-service-card__surface:after,
.mg-service-card__surface::after,
.mg-service-card:before,
.mg-service-card::before{
    display:none !important;
}
.mg-service-card__top{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    margin-bottom:1.25rem !important;
}
.mg-service-card__icon{
    display:grid;
    place-items:center;
    width:54px;
    height:54px;
    border-radius:1.15rem;
    color:#fff;
    background:linear-gradient(135deg,var(--service-accent,#2563eb),var(--service-accent-soft,#7c3aed));
    box-shadow:0 16px 34px var(--service-shadow,rgba(37,99,235,.18));
}
.mg-service-card:first-child .mg-service-card__icon{
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.22);
    box-shadow:none;
}
.mg-service-card__index{
    min-width:auto !important;
    height:auto !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:rgba(100,116,139,.46) !important;
    font-size:1.55rem !important;
    line-height:1;
    font-weight:1000;
    letter-spacing:-.07em;
}
.dark .mg-service-card__index{color:rgba(226,232,240,.30) !important;}
.mg-service-card:first-child .mg-service-card__index{color:rgba(255,255,255,.32) !important;}
.mg-service-card__body{position:relative;z-index:1;}
.mg-service-card__eyebrow{
    display:inline-flex;
    margin-bottom:.72rem;
    padding:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:var(--service-accent-text,#1d4ed8);
    font-size:.68rem;
    font-weight:1000;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.mg-service-card:first-child .mg-service-card__eyebrow{color:rgba(255,255,255,.72);}
.mg-service-card h3{
    margin:0 0 .72rem !important;
    color:var(--text-main);
    font-size:1.13rem;
    line-height:1.72;
    font-weight:1000;
    letter-spacing:-.025em;
}
.mg-service-card:first-child h3{color:#fff;font-size:1.28rem;}
.mg-service-card p{
    margin:0;
    color:var(--text-muted);
    font-size:.88rem;
    line-height:2.05;
    font-weight:700;
}
.mg-service-card:first-child p{color:rgba(255,255,255,.82);}
.mg-service-card__chips{
    position:relative;
    z-index:1;
    display:flex;
    flex-wrap:wrap;
    gap:.55rem .85rem;
    margin-top:1.05rem;
}
.mg-service-card__chips span{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:.38rem;
    min-height:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:var(--text-muted);
    font-size:.73rem;
    font-weight:850;
}
.mg-service-card__chips span:before{
    content:"";
    width:6px;
    height:6px;
    border-radius:999px;
    background:var(--service-accent,#2563eb);
    opacity:.82;
}
.mg-service-card:first-child .mg-service-card__chips span{color:rgba(255,255,255,.76);}
.mg-service-card:first-child .mg-service-card__chips span:before{background:#fff;opacity:.72;}
.mg-service-card__foot{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.8rem;
    margin-top:auto !important;
    padding-top:1.1rem !important;
    border-top:1px solid rgba(148,163,184,.14) !important;
}
.dark .mg-service-card__foot{border-top-color:rgba(255,255,255,.075) !important;}
.mg-service-card:first-child .mg-service-card__foot{border-top-color:rgba(255,255,255,.18) !important;}
.mg-service-card__foot span{
    display:inline-flex;
    align-items:center;
    gap:.45rem;
    color:var(--service-accent-text,#1d4ed8);
    font-size:.76rem;
    line-height:1.85;
    font-weight:950;
}
.mg-service-card:first-child .mg-service-card__foot span{color:#fff;}
.mg-service-card__foot span i{
    display:inline !important;
    width:auto !important;
    height:auto !important;
    border-radius:0 !important;
    background:transparent !important;
    color:inherit;
}
.mg-service-card__foot b{
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:999px;
    background:rgba(37,99,235,.08);
    color:var(--service-accent-text,#1d4ed8);
    transition:transform .2s ease,background .2s ease,color .2s ease;
}
.mg-service-card:hover .mg-service-card__foot b{
    transform:translateX(-4px);
    background:linear-gradient(135deg,var(--service-accent,#2563eb),var(--service-accent-soft,#7c3aed));
    color:#fff;
}
.mg-service-card:first-child .mg-service-card__foot b{
    background:rgba(255,255,255,.16);
    color:#fff;
}
.mg-services-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    margin-top:1.6rem !important;
    padding:1.2rem 0 0 !important;
    border:0 !important;
    border-top:1px solid rgba(148,163,184,.16) !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.dark .mg-services-footer{border-top-color:rgba(255,255,255,.085) !important;}
.mg-services-footer p{
    margin:0;
    color:var(--text-muted);
    font-size:.88rem;
    line-height:2;
    font-weight:780;
}
.mg-services-footer a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.55rem;
    min-height:46px;
    padding:.78rem 1.12rem;
    border-radius:999px;
    background:linear-gradient(135deg,var(--mg-polish-blue),var(--mg-polish-purple));
    color:#fff;
    font-size:.82rem;
    font-weight:950;
    white-space:nowrap;
    box-shadow:0 15px 34px rgba(37,99,235,.19);
    transition:transform .18s ease,box-shadow .18s ease;
}
.mg-services-footer a:hover{
    transform:translateY(-2px);
    box-shadow:0 20px 42px rgba(124,58,237,.24);
}

/* 3) Footer v1.9.1: فوتر شرکتی یکپارچه، بدون کارت‌های چندلایه */
.mg-site-footer{
    position:relative;
    overflow:hidden;
    padding:5.7rem 0 2rem;
    background:
        radial-gradient(circle at 13% 2%,rgba(37,99,235,.13),transparent 29%),
        radial-gradient(circle at 94% 22%,rgba(124,58,237,.12),transparent 31%),
        linear-gradient(180deg,var(--bg-main) 0%,var(--bg-panel) 100%) !important;
    border-top:1px solid rgba(148,163,184,.14);
}
.dark .mg-site-footer{
    background:
        radial-gradient(circle at 13% 2%,rgba(37,99,235,.16),transparent 32%),
        radial-gradient(circle at 94% 22%,rgba(124,58,237,.14),transparent 34%),
        linear-gradient(180deg,rgba(15,23,42,.72),rgba(2,6,23,.96)) !important;
}
.mg-site-footer__bar{
    width:min(1180px,88vw);
    height:3px;
    background:linear-gradient(90deg,transparent,var(--mg-polish-blue),var(--mg-polish-purple),var(--mg-polish-gold),transparent);
}
.mg-site-footer__glow{
    position:absolute;
    border-radius:999px;
    filter:blur(68px);
    pointer-events:none;
    opacity:.24;
}
.mg-site-footer__glow--blue{
    width:18rem;
    height:18rem;
    right:-7rem;
    top:4.5rem;
    background:var(--mg-polish-blue);
}
.mg-site-footer__glow--purple{
    width:16rem;
    height:16rem;
    left:-6rem;
    bottom:3.5rem;
    background:var(--mg-polish-purple);
}
.mg-footer-main{
    display:grid;
    grid-template-columns:minmax(280px,1.25fr) minmax(165px,.62fr) minmax(220px,.78fr) minmax(250px,.95fr) !important;
    gap:0 !important;
    align-items:stretch;
    margin-bottom:1.35rem;
    padding:2.05rem 2.1rem;
    border-radius:2.25rem;
    background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(255,255,255,.56));
    border:1px solid rgba(148,163,184,.18);
    box-shadow:0 28px 84px rgba(15,23,42,.085);
    overflow:hidden;
}
.dark .mg-footer-main{
    background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.028));
    border-color:rgba(255,255,255,.09);
    box-shadow:0 30px 90px rgba(0,0,0,.33);
}
.mg-footer-brand,
.mg-footer-links,
.mg-footer-contact,
.mg-footer-symbols{
    position:relative;
    height:auto !important;
    padding:0 1.45rem !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
}
.dark .mg-footer-brand,
.dark .mg-footer-links,
.dark .mg-footer-contact,
.dark .mg-footer-symbols{
    box-shadow:none !important;
    background:transparent !important;
}
.mg-footer-brand{padding-right:0 !important;}
.mg-footer-symbols{padding-left:0 !important;}
.mg-footer-links,
.mg-footer-contact,
.mg-footer-symbols{
    border-right:1px solid rgba(148,163,184,.16) !important;
}
.dark .mg-footer-links,
.dark .mg-footer-contact,
.dark .mg-footer-symbols{
    border-right-color:rgba(255,255,255,.075) !important;
}
.mg-footer-brand__head{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:1rem;
}
.mg-footer-logo-wrap{
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    border-radius:20px;
    background:linear-gradient(135deg,rgba(37,99,235,.16),rgba(124,58,237,.13),rgba(212,175,55,.13));
    border:1px solid rgba(148,163,184,.18);
    box-shadow:0 16px 34px rgba(37,99,235,.13);
    overflow:hidden;
    flex:0 0 auto;
}
.mg-footer-brand__head strong{
    color:var(--text-main);
    font-size:1.52rem;
    line-height:1.45;
    font-weight:1000;
}
.mg-footer-brand__head small{
    color:var(--text-muted);
    font-size:.76rem;
    font-weight:850;
    letter-spacing:.03em;
}
.mg-footer-brand p{
    max-width:560px;
    margin:0;
    color:var(--text-muted);
    font-size:.94rem;
    line-height:2.05;
    font-weight:680;
}
.mg-footer-mini-stats{
    display:flex;
    flex-wrap:wrap;
    gap:.55rem 1rem;
    margin-top:1.05rem;
}
.mg-footer-mini-stats span{
    display:inline-flex;
    align-items:center;
    gap:.42rem;
    min-height:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:var(--text-muted);
    font-size:.73rem;
    line-height:1.8;
    font-weight:900;
}
.mg-footer-mini-stats i,
.mg-footer-contact-list i,
.mg-footer-links a i{color:var(--mg-polish-blue);}
.mg-footer-links h4,
.mg-footer-contact h4,
.mg-footer-symbols h4{
    margin:0;
    color:var(--text-main);
    font-size:1rem;
    line-height:1.8;
    font-weight:1000;
}
.mg-footer-links nav,
.mg-footer-contact-list{
    display:grid;
    gap:.56rem;
    margin-top:1rem;
}
.mg-footer-links a,
.mg-footer-contact-list a,
.mg-footer-contact-list span{
    display:flex;
    align-items:center;
    gap:.65rem;
    min-height:34px;
    color:var(--text-muted);
    font-size:.85rem;
    line-height:1.75;
    font-weight:850;
    text-decoration:none;
    word-break:break-word;
}
.mg-footer-links a:hover,
.mg-footer-contact-list a:hover{color:var(--text-main);}
.mg-footer-links a i{
    width:auto !important;
    height:auto !important;
    border-radius:0 !important;
    background:transparent !important;
    font-size:.72rem;
    transition:transform .18s ease;
}
.mg-footer-links a:hover i{transform:translateX(-3px);}
.mg-footer-contact-list i{
    width:32px;
    height:32px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:12px;
    background:rgba(37,99,235,.08);
}
.mg-footer-symbols__head{
    display:flex;
    align-items:flex-start;
    gap:.78rem;
    margin-bottom:1rem;
}
.mg-footer-symbols__head>span{
    width:2.45rem;
    height:2.45rem;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:14px;
    background:rgba(212,175,55,.12);
    color:var(--mg-polish-gold);
}
.mg-footer-symbols__head p{
    margin:.18rem 0 0;
    color:var(--text-muted);
    font-size:.75rem;
    line-height:1.85;
    font-weight:760;
}
.mg-footer-badges{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.7rem;
}
.mg-footer-badge{
    position:relative;
    display:grid;
    place-items:center;
    gap:.42rem;
    min-width:0 !important;
    min-height:86px !important;
    padding:.72rem !important;
    border-radius:1rem !important;
    background:rgba(255,255,255,.52) !important;
    border:1px solid rgba(148,163,184,.16) !important;
    box-shadow:none !important;
    text-decoration:none;
    color:var(--text-muted);
    transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.dark .mg-footer-badge{
    background:rgba(255,255,255,.045) !important;
    border-color:rgba(255,255,255,.08) !important;
}
.mg-footer-badge:hover{
    transform:translateY(-3px);
    border-color:rgba(96,165,250,.32) !important;
    background:rgba(255,255,255,.68) !important;
    color:var(--text-main);
}
.dark .mg-footer-badge:hover{background:rgba(255,255,255,.065) !important;}
.mg-footer-badge img{
    display:block;
    width:auto !important;
    height:auto !important;
    max-width:86px !important;
    max-height:48px !important;
    object-fit:contain;
    padding:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    filter:drop-shadow(0 8px 13px rgba(15,23,42,.10));
}
.mg-footer-badge-icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:rgba(37,99,235,.09);
    color:var(--mg-polish-blue);
    font-size:1.08rem;
}
.mg-footer-badge small{
    min-height:0 !important;
    display:block;
    color:var(--text-muted);
    font-size:.7rem;
    line-height:1.65;
    font-weight:900;
    text-align:center;
}
.mg-footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
    padding:1.05rem .25rem 0;
    border-top:0 !important;
    color:var(--text-muted);
    font-size:.84rem;
}
.mg-footer-bottom a{
    color:var(--text-muted);
    font-weight:900;
    text-decoration:none;
}
.mg-footer-bottom a:hover{color:var(--mg-polish-blue);}

@media (max-width:1180px){
    .mg-pro-market-copy,
    .mg-services-head{
        grid-template-columns:1fr !important;
    }
    .mg-pro-market-copy{
        align-items:flex-start;
        flex-direction:column;
    }
    .mg-services-summary{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:1rem !important;
    }
    .mg-footer-main{
        grid-template-columns:1fr 1fr !important;
        gap:1.8rem 0 !important;
    }
    .mg-footer-brand{
        grid-column:1/-1;
        padding:0 0 1.4rem !important;
        border-bottom:1px solid rgba(148,163,184,.16) !important;
    }
    .dark .mg-footer-brand{border-bottom-color:rgba(255,255,255,.075) !important;}
    .mg-footer-links,
    .mg-footer-contact,
    .mg-footer-symbols{
        border-right:0 !important;
        padding:0 1.2rem !important;
    }
    .mg-footer-contact,
    .mg-footer-symbols{border-right:1px solid rgba(148,163,184,.16) !important;}
    .dark .mg-footer-contact,
    .dark .mg-footer-symbols{border-right-color:rgba(255,255,255,.075) !important;}
}
@media (max-width:860px){
    .mg-pro-market-section,
    .mg-services-section{
        padding:4.8rem 0;
    }
    .mg-pro-market-copy{
        padding:1.25rem;
        border-radius:1.55rem;
    }
    .mg-services-head{
        gap:1.35rem !important;
        margin-bottom:1.55rem !important;
    }
    .mg-services-summary{
        grid-template-columns:1fr;
    }
    .mg-services-grid{
        grid-template-columns:1fr !important;
        border-radius:1.45rem;
    }
    .mg-service-card,
    .mg-service-card--wide,
    .mg-service-card:nth-child(1),
    .mg-service-card:nth-child(2){
        grid-column:1/-1 !important;
        min-height:auto !important;
        border-right:0 !important;
    }
    .mg-service-card:not(:first-child){border-top:1px solid rgba(148,163,184,.15) !important;}
    .dark .mg-service-card:not(:first-child){border-top-color:rgba(255,255,255,.075) !important;}
    .mg-service-card__surface{padding:1.25rem !important;}
    .mg-services-footer{
        align-items:stretch;
        flex-direction:column;
    }
    .mg-services-footer a{width:100%;}
    .mg-footer-main{
        grid-template-columns:1fr !important;
        padding:1.35rem;
        border-radius:1.55rem;
    }
    .mg-footer-brand,
    .mg-footer-links,
    .mg-footer-contact,
    .mg-footer-symbols{
        padding:0 !important;
        border-right:0 !important;
    }
    .mg-footer-brand,
    .mg-footer-links,
    .mg-footer-contact{
        padding-bottom:1.25rem !important;
        margin-bottom:1.25rem;
        border-bottom:1px solid rgba(148,163,184,.16) !important;
    }
    .dark .mg-footer-brand,
    .dark .mg-footer-links,
    .dark .mg-footer-contact{border-bottom-color:rgba(255,255,255,.075) !important;}
}
@media (max-width:520px){
    .mg-pro-market-copy h2,
    .mg-services-head h2{font-size:1.85rem;}
    .mg-pro-market-copy__actions,
    .mg-pro-market-copy__actions a{width:100%;}
    .mg-pro-market-copy__actions a{justify-content:center;}
    .mg-service-card__surface{padding:1.05rem !important;}
    .mg-footer-badges{grid-template-columns:1fr 1fr;}
    .mg-footer-badge img{max-width:76px !important;}
}

/* 2) Services v1.9.3: بازطراحی حرفه‌ای‌تر، خلوت‌تر و بدون اعداد */
.mg-services-section{
    position:relative;
    padding:7rem 0 6.8rem;
    background:
        radial-gradient(circle at 88% 14%,rgba(37,99,235,.11),transparent 32%),
        radial-gradient(circle at 6% 84%,rgba(124,58,237,.08),transparent 28%),
        linear-gradient(180deg,var(--bg-panel) 0%,var(--bg-main) 100%) !important;
    overflow:hidden;
}
.dark .mg-services-section{
    background:
        radial-gradient(circle at 88% 14%,rgba(37,99,235,.16),transparent 34%),
        radial-gradient(circle at 6% 84%,rgba(124,58,237,.11),transparent 32%),
        linear-gradient(180deg,#090b14 0%,#05060d 100%) !important;
}
.mg-services-section::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);
    opacity:.35;
    pointer-events:none;
}
.mg-services-shell{
    position:relative;
    z-index:1;
}
.mg-services-top{
    max-width:760px;
    margin:0 auto 2.5rem;
    text-align:center;
}
.mg-services-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:.55rem;
    margin-bottom:1rem;
    padding:.58rem .96rem;
    border-radius:999px;
    background:rgba(37,99,235,.075);
    border:1px solid rgba(37,99,235,.12);
    color:#1d4ed8;
    font-size:.78rem;
    font-weight:900;
}
.dark .mg-services-eyebrow{
    background:rgba(37,99,235,.13);
    border-color:rgba(96,165,250,.18);
    color:#bfdbfe;
}
.mg-services-eyebrow i{color:#7c3aed;}
.mg-services-top h2{
    margin:0 0 1rem;
    color:var(--text-main);
    font-size:clamp(2.1rem,4vw,3.35rem);
    line-height:1.25;
    font-weight:1000;
    letter-spacing:-.04em;
}
.mg-services-top p{
    margin:0 auto;
    max-width:720px;
    color:var(--text-muted);
    font-size:1rem;
    line-height:2.05;
    font-weight:700;
}
.mg-services-showcase{
    display:grid;
    grid-template-columns:minmax(0,.95fr) minmax(0,1.35fr);
    gap:1.4rem;
    align-items:stretch;
}
.mg-services-overview,
.mg-service-tile{
    position:relative;
    overflow:hidden;
    border-radius:1.9rem;
    border:1px solid rgba(148,163,184,.16);
}
.mg-services-overview{
    display:flex;
    flex-direction:column;
    min-height:100%;
    padding:2rem;
    background:
        radial-gradient(circle at 0% 0%,rgba(255,255,255,.18),transparent 42%),
        linear-gradient(145deg,#101a3b 0%,#173274 45%,#312e81 100%);
    box-shadow:0 28px 70px rgba(15,23,42,.18);
    color:#fff;
}
.dark .mg-services-overview{
    box-shadow:0 28px 80px rgba(0,0,0,.34);
}
.mg-services-overview__badge{
    display:inline-flex;
    align-items:center;
    width:max-content;
    max-width:100%;
    margin-bottom:1rem;
    padding:.46rem .82rem;
    border-radius:999px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.14);
    color:rgba(255,255,255,.92);
    font-size:.74rem;
    font-weight:900;
}
.mg-services-overview h3{
    margin:0 0 .9rem;
    color:#fff;
    font-size:1.55rem;
    line-height:1.7;
    font-weight:1000;
    letter-spacing:-.03em;
}
.mg-services-overview > p{
    margin:0;
    color:rgba(255,255,255,.80);
    font-size:.92rem;
    line-height:2.05;
    font-weight:650;
}
.mg-services-overview__list{
    list-style:none;
    margin:1.35rem 0 0;
    padding:0;
}
.mg-services-overview__list li{
    display:flex;
    align-items:flex-start;
    gap:.95rem;
    padding:1rem 0;
    border-top:1px solid rgba(255,255,255,.12);
}
.mg-services-overview__list i{
    display:grid;
    place-items:center;
    width:2.7rem;
    height:2.7rem;
    flex:0 0 auto;
    border-radius:1rem;
    background:rgba(255,255,255,.12);
    color:#fff;
    font-size:1rem;
}
.mg-services-overview__list strong{
    display:block;
    margin-bottom:.28rem;
    color:#fff;
    font-size:.92rem;
    line-height:1.7;
    font-weight:1000;
}
.mg-services-overview__list span{
    display:block;
    color:rgba(255,255,255,.76);
    font-size:.82rem;
    line-height:1.95;
    font-weight:650;
}
.mg-services-overview__cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.55rem;
    width:max-content;
    max-width:100%;
    min-height:48px;
    margin-top:auto;
    padding:.9rem 1.3rem;
    border-radius:999px;
    background:#fff;
    color:#173274;
    font-size:.84rem;
    font-weight:950;
    text-decoration:none;
    box-shadow:0 16px 36px rgba(15,23,42,.16);
    transition:transform .18s ease,box-shadow .18s ease;
}
.mg-services-overview__cta:hover{
    transform:translateY(-2px);
    box-shadow:0 22px 44px rgba(15,23,42,.22);
}
.mg-services-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1.15rem;
}
.mg-service-tile{
    --service-accent:#2563eb;
    --service-accent-soft:#7c3aed;
    --service-surface:rgba(255,255,255,.84);
    display:flex;
    flex-direction:column;
    min-height:228px;
    padding:1.45rem;
    background:linear-gradient(155deg,var(--service-surface),rgba(255,255,255,.60));
    box-shadow:0 18px 46px rgba(15,23,42,.08);
    isolation:isolate;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.dark .mg-service-tile{
    --service-surface:rgba(255,255,255,.055);
    background:linear-gradient(155deg,var(--service-surface),rgba(255,255,255,.028));
    border-color:rgba(255,255,255,.08);
    box-shadow:0 18px 48px rgba(0,0,0,.24);
}
.mg-service-tile:hover{
    transform:translateY(-5px);
    border-color:rgba(96,165,250,.28);
    box-shadow:0 24px 60px rgba(15,23,42,.12);
}
.dark .mg-service-tile:hover{box-shadow:0 24px 64px rgba(0,0,0,.32);}
.mg-service-tile--featured{
    grid-column:1 / -1;
    min-height:240px;
}
.mg-service-tile__glow{
    position:absolute;
    top:-5rem;
    left:-3rem;
    width:12rem;
    height:12rem;
    border-radius:999px;
    background:radial-gradient(circle,var(--service-accent),transparent 68%);
    opacity:.14;
    filter:blur(10px);
    pointer-events:none;
    z-index:-1;
}
.mg-service-tile__icon{
    display:grid;
    place-items:center;
    width:56px;
    height:56px;
    margin-bottom:1rem;
    border-radius:1.1rem;
    background:linear-gradient(135deg,var(--service-accent),var(--service-accent-soft));
    color:#fff;
    font-size:1.2rem;
    box-shadow:0 16px 34px rgba(37,99,235,.18);
}
.mg-service-tile__copy small{
    display:inline-block;
    margin-bottom:.55rem;
    color:var(--service-accent);
    font-size:.7rem;
    font-weight:1000;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.mg-service-tile__copy h3{
    margin:0 0 .65rem;
    color:var(--text-main);
    font-size:1.06rem;
    line-height:1.75;
    font-weight:1000;
    letter-spacing:-.02em;
}
.mg-service-tile--featured .mg-service-tile__copy h3{
    font-size:1.16rem;
}
.mg-service-tile__copy p{
    margin:0;
    color:var(--text-muted);
    font-size:.86rem;
    line-height:2;
    font-weight:700;
}
.mg-service-tile__tail{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.75rem;
    margin-top:auto;
    padding-top:1rem;
    border-top:1px solid rgba(148,163,184,.14);
}
.dark .mg-service-tile__tail{border-top-color:rgba(255,255,255,.08);}
.mg-service-tile__tail span{
    color:var(--text-muted);
    font-size:.76rem;
    font-weight:900;
}
.mg-service-tile__tail i{
    color:var(--service-accent);
    font-size:.9rem;
}
.mg-service-tile.is-blue{--service-accent:#2563eb;--service-accent-soft:#4f46e5;}
.mg-service-tile.is-indigo{--service-accent:#4f46e5;--service-accent-soft:#7c3aed;}
.mg-service-tile.is-emerald{--service-accent:#059669;--service-accent-soft:#10b981;}
.mg-service-tile.is-cyan{--service-accent:#0891b2;--service-accent-soft:#2563eb;}
.mg-service-tile.is-slate{--service-accent:#475569;--service-accent-soft:#0f172a;}

@media (max-width:1180px){
    .mg-services-showcase{
        grid-template-columns:1fr;
    }
}
@media (max-width:860px){
    .mg-services-list{
        grid-template-columns:1fr;
    }
    .mg-service-tile--featured{
        grid-column:auto;
    }
    .mg-services-overview,
    .mg-service-tile{
        border-radius:1.45rem;
    }
}
@media (max-width:520px){
    .mg-services-section{
        padding:4.8rem 0;
    }
    .mg-services-top{
        margin-bottom:1.7rem;
    }
    .mg-services-overview,
    .mg-service-tile{
        padding:1.2rem;
    }
    .mg-services-overview h3{
        font-size:1.28rem;
    }
    .mg-services-overview__list li{
        gap:.75rem;
    }
    .mg-services-overview__list i{
        width:2.45rem;
        height:2.45rem;
        border-radius:.9rem;
    }
    .mg-services-overview__cta{
        width:100%;
    }
}

/* 2) Services v1.9.4: طراحی سه‌بعدی، Premium و ماژولار */
.mg-services-section{
    position:relative;
    padding:7.2rem 0 6.9rem;
    background:
        radial-gradient(circle at 84% 10%,rgba(37,99,235,.16),transparent 30%),
        radial-gradient(circle at 18% 90%,rgba(124,58,237,.12),transparent 28%),
        linear-gradient(180deg,#f6f9ff 0%,#edf3ff 42%,#f8fbff 100%) !important;
    border-top:1px solid rgba(148,163,184,.12);
    border-bottom:1px solid rgba(148,163,184,.12);
    overflow:hidden;
}
.dark .mg-services-section{
    background:
        radial-gradient(circle at 84% 10%,rgba(37,99,235,.19),transparent 32%),
        radial-gradient(circle at 18% 90%,rgba(124,58,237,.14),transparent 30%),
        linear-gradient(180deg,#060913 0%,#09101e 50%,#050812 100%) !important;
}
.mg-services-section::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(115deg,rgba(255,255,255,.28),transparent 32%),
        linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
    opacity:.42;
    pointer-events:none;
}
.mg-services-shell{
    position:relative;
    z-index:1;
}
.mg-services-top{
    max-width:760px;
    margin:0 auto 2.7rem;
    text-align:center;
}
.mg-services-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:.56rem;
    margin-bottom:1rem;
    padding:.58rem 1rem;
    border-radius:999px;
    background:rgba(255,255,255,.62);
    border:1px solid rgba(37,99,235,.12);
    box-shadow:0 16px 35px rgba(37,99,235,.08);
    color:#1d4ed8;
    font-size:.78rem;
    font-weight:950;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}
.dark .mg-services-eyebrow{
    background:rgba(255,255,255,.06);
    border-color:rgba(96,165,250,.18);
    box-shadow:0 18px 40px rgba(0,0,0,.22);
    color:#bfdbfe;
}
.mg-services-eyebrow i{color:#7c3aed;}
.mg-services-top h2{
    margin:0 0 1rem;
    color:var(--text-main);
    font-size:clamp(2.2rem,4vw,3.45rem);
    line-height:1.22;
    font-weight:1000;
    letter-spacing:-.045em;
}
.mg-services-top p{
    margin:0 auto;
    max-width:735px;
    color:var(--text-muted);
    font-size:1rem;
    line-height:2.08;
    font-weight:720;
}
.mg-services-stage{
    display:grid;
    grid-template-columns:minmax(0,.92fr) minmax(0,1.25fr);
    gap:1.5rem;
    align-items:stretch;
}
.mg-services-premium-panel{
    position:relative;
    display:flex;
    flex-direction:column;
    min-height:100%;
    padding:2rem;
    border-radius:2rem;
    overflow:hidden;
    color:#fff;
    background:
        radial-gradient(circle at 0% 0%,rgba(255,255,255,.14),transparent 34%),
        radial-gradient(circle at 100% 100%,rgba(212,175,55,.15),transparent 32%),
        linear-gradient(145deg,#091224 0%,#163873 46%,#4327a7 100%);
    box-shadow:0 35px 90px rgba(15,23,42,.20);
}
.dark .mg-services-premium-panel{
    box-shadow:0 38px 96px rgba(0,0,0,.36);
}
.mg-services-premium-panel::before{
    content:"";
    position:absolute;
    inset:1px;
    border-radius:calc(2rem - 1px);
    border:1px solid rgba(255,255,255,.08);
    pointer-events:none;
}
.mg-services-premium-panel::after{
    content:"";
    position:absolute;
    top:-6rem;
    left:-5rem;
    width:15rem;
    height:15rem;
    border-radius:999px;
    background:radial-gradient(circle,rgba(255,255,255,.18),transparent 66%);
    pointer-events:none;
}
.mg-services-premium-panel__kicker{
    display:inline-flex;
    align-items:center;
    width:max-content;
    max-width:100%;
    margin-bottom:1rem;
    padding:.44rem .82rem;
    border-radius:999px;
    background:rgba(255,255,255,.11);
    border:1px solid rgba(255,255,255,.16);
    color:rgba(255,255,255,.92);
    font-size:.73rem;
    font-weight:900;
    letter-spacing:.05em;
}
.mg-services-premium-panel h3{
    margin:0 0 .9rem;
    color:#fff;
    font-size:1.6rem;
    line-height:1.68;
    font-weight:1000;
    letter-spacing:-.03em;
}
.mg-services-premium-panel > p{
    margin:0;
    color:rgba(255,255,255,.80);
    font-size:.92rem;
    line-height:2.02;
    font-weight:680;
}
.mg-services-premium-points{
    display:grid;
    gap:.95rem;
    margin:1.35rem 0 0;
}
.mg-services-premium-point{
    display:flex;
    align-items:flex-start;
    gap:.9rem;
    padding:1rem;
    border-radius:1.35rem;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.09);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}
.mg-services-premium-point i{
    display:grid;
    place-items:center;
    width:2.85rem;
    height:2.85rem;
    flex:0 0 auto;
    border-radius:1rem;
    background:rgba(255,255,255,.12);
    color:#fff;
    font-size:1rem;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
}
.mg-services-premium-point strong{
    display:block;
    margin-bottom:.28rem;
    color:#fff;
    font-size:.92rem;
    line-height:1.7;
    font-weight:1000;
}
.mg-services-premium-point span{
    display:block;
    color:rgba(255,255,255,.74);
    font-size:.81rem;
    line-height:1.92;
    font-weight:650;
}
.mg-services-premium-panel__cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.55rem;
    width:max-content;
    max-width:100%;
    min-height:49px;
    margin-top:auto;
    padding:.92rem 1.35rem;
    border-radius:999px;
    background:linear-gradient(135deg,#ffffff,#e0eaff);
    color:#102548;
    font-size:.84rem;
    font-weight:950;
    text-decoration:none;
    box-shadow:0 18px 40px rgba(8,15,31,.18);
    transition:transform .18s ease,box-shadow .18s ease;
}
.mg-services-premium-panel__cta:hover{
    transform:translateY(-2px);
    box-shadow:0 24px 48px rgba(8,15,31,.26);
}
.mg-services-3d-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1.15rem;
    perspective:1600px;
}
.mg-service-3d-card{
    --service-accent:#2563eb;
    --service-accent-soft:#7c3aed;
    --service-shadow:rgba(37,99,235,.16);
    position:relative;
    transform-style:preserve-3d;
}
.mg-service-3d-card:nth-child(2){transform:rotateX(2deg) rotateY(-2deg);}
.mg-service-3d-card:nth-child(3){transform:rotateX(-1.5deg) rotateY(2deg);}
.mg-service-3d-card:nth-child(4){transform:rotateX(1deg) rotateY(1.5deg);}
.mg-service-3d-card:nth-child(5){transform:rotateX(-2deg) rotateY(-1.5deg);}
.mg-service-3d-card__halo{
    position:absolute;
    inset:auto 10% -1rem;
    height:2.5rem;
    border-radius:999px;
    background:radial-gradient(circle,var(--service-shadow),transparent 72%);
    filter:blur(18px);
    opacity:.9;
    transform:translateZ(-28px);
    pointer-events:none;
}
.mg-service-3d-card__frame{
    position:relative;
    display:flex;
    flex-direction:column;
    min-height:230px;
    height:100%;
    padding:1.35rem;
    border-radius:1.7rem;
    background:
        linear-gradient(160deg,rgba(255,255,255,.88),rgba(255,255,255,.62)),
        linear-gradient(135deg,rgba(37,99,235,.08),rgba(124,58,237,.04));
    border:1px solid rgba(255,255,255,.62);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.65),
        0 24px 56px rgba(15,23,42,.10),
        0 12px 24px rgba(15,23,42,.05);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    transform:translateZ(0);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
    overflow:hidden;
}
.dark .mg-service-3d-card__frame{
    background:
        linear-gradient(160deg,rgba(255,255,255,.08),rgba(255,255,255,.04)),
        linear-gradient(135deg,rgba(37,99,235,.08),rgba(124,58,237,.05));
    border-color:rgba(255,255,255,.09);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 28px 62px rgba(0,0,0,.26),
        0 12px 28px rgba(0,0,0,.16);
}
.mg-service-3d-card__frame::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(125deg,rgba(255,255,255,.36),transparent 30%,transparent 72%,rgba(255,255,255,.14));
    pointer-events:none;
}
.mg-service-3d-card:hover .mg-service-3d-card__frame{
    transform:translateY(-8px) translateZ(18px);
    border-color:rgba(96,165,250,.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.7),
        0 32px 72px rgba(15,23,42,.14),
        0 14px 30px rgba(15,23,42,.08);
}
.dark .mg-service-3d-card:hover .mg-service-3d-card__frame{
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 34px 76px rgba(0,0,0,.34),
        0 14px 30px rgba(0,0,0,.2);
}
.mg-service-3d-card--hero{
    grid-column:1 / -1;
}
.mg-service-3d-card--hero .mg-service-3d-card__frame{
    min-height:246px;
}
.mg-service-3d-card__head,
.mg-service-3d-card__footer{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.8rem;
}
.mg-service-3d-card__icon{
    display:grid;
    place-items:center;
    width:58px;
    height:58px;
    border-radius:1.2rem;
    color:#fff;
    background:linear-gradient(135deg,var(--service-accent),var(--service-accent-soft));
    box-shadow:0 18px 34px var(--service-shadow);
    transform:translateZ(28px);
}
.mg-service-3d-card__tag{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:.45rem .78rem;
    border-radius:999px;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(148,163,184,.16);
    color:var(--service-accent);
    font-size:.68rem;
    font-weight:1000;
    letter-spacing:.07em;
    text-transform:uppercase;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
    transform:translateZ(22px);
}
.dark .mg-service-3d-card__tag{
    background:rgba(255,255,255,.05);
    border-color:rgba(255,255,255,.08);
}
.mg-service-3d-card__body{
    position:relative;
    z-index:1;
    margin-top:1rem;
    transform:translateZ(16px);
}
.mg-service-3d-card__body h3{
    margin:0 0 .7rem;
    color:var(--text-main);
    font-size:1.08rem;
    line-height:1.8;
    font-weight:1000;
    letter-spacing:-.02em;
}
.mg-service-3d-card--hero .mg-service-3d-card__body h3{
    font-size:1.18rem;
}
.mg-service-3d-card__body p{
    margin:0;
    color:var(--text-muted);
    font-size:.87rem;
    line-height:2;
    font-weight:700;
}
.mg-service-3d-card__footer{
    margin-top:auto;
    padding-top:1rem;
    border-top:1px solid rgba(148,163,184,.14);
    transform:translateZ(14px);
}
.dark .mg-service-3d-card__footer{border-top-color:rgba(255,255,255,.08);}
.mg-service-3d-card__footer span{
    color:var(--text-muted);
    font-size:.76rem;
    font-weight:900;
}
.mg-service-3d-card__footer b{
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    border-radius:999px;
    background:rgba(37,99,235,.08);
    color:var(--service-accent);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.dark .mg-service-3d-card__footer b{
    background:rgba(255,255,255,.06);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.mg-service-3d-card.is-blue{--service-accent:#2563eb;--service-accent-soft:#4f46e5;--service-shadow:rgba(37,99,235,.22);}
.mg-service-3d-card.is-violet{--service-accent:#7c3aed;--service-accent-soft:#4f46e5;--service-shadow:rgba(124,58,237,.22);}
.mg-service-3d-card.is-emerald{--service-accent:#059669;--service-accent-soft:#10b981;--service-shadow:rgba(5,150,105,.22);}
.mg-service-3d-card.is-cyan{--service-accent:#0891b2;--service-accent-soft:#2563eb;--service-shadow:rgba(8,145,178,.22);}
.mg-service-3d-card.is-slate{--service-accent:#475569;--service-accent-soft:#0f172a;--service-shadow:rgba(71,85,105,.20);}

@media (max-width:1180px){
    .mg-services-stage{
        grid-template-columns:1fr;
    }
}
@media (max-width:860px){
    .mg-services-section{
        padding:4.9rem 0;
    }
    .mg-services-top{
        margin-bottom:1.8rem;
    }
    .mg-services-premium-panel{
        padding:1.35rem;
        border-radius:1.55rem;
    }
    .mg-services-3d-grid{
        grid-template-columns:1fr;
        gap:1rem;
        perspective:none;
    }
    .mg-service-3d-card,
    .mg-service-3d-card:nth-child(2),
    .mg-service-3d-card:nth-child(3),
    .mg-service-3d-card:nth-child(4),
    .mg-service-3d-card:nth-child(5){
        transform:none;
    }
    .mg-service-3d-card--hero{
        grid-column:auto;
    }
    .mg-service-3d-card__frame{
        min-height:auto;
        padding:1.18rem;
        border-radius:1.35rem;
    }
    .mg-service-3d-card__tag{
        min-height:32px;
        padding:.42rem .72rem;
    }
}
@media (max-width:520px){
    .mg-services-top h2{
        font-size:1.95rem;
    }
    .mg-services-premium-panel h3{
        font-size:1.28rem;
    }
    .mg-services-premium-point{
        padding:.9rem;
        gap:.72rem;
    }
    .mg-services-premium-point i{
        width:2.55rem;
        height:2.55rem;
        border-radius:.92rem;
    }
    .mg-services-premium-panel__cta{
        width:100%;
    }
    .mg-service-3d-card__head{
        align-items:flex-start;
        flex-direction:column;
    }
    .mg-service-3d-card__tag{
        width:max-content;
        max-width:100%;
    }
}


/* MasterGroup Services Lab v1.9.5
   طراحی مستقل برای بخش خدمات با Canvas سه‌بعدی واقعی و بدون تداخل با CSS قبلی */
.mg-services-lab{
    position:relative;
    isolation:isolate;
    padding:7.4rem 0 7rem;
    overflow:hidden;
    background:
        radial-gradient(circle at 82% 10%,rgba(37,99,235,.18),transparent 28rem),
        radial-gradient(circle at 12% 85%,rgba(124,58,237,.14),transparent 27rem),
        linear-gradient(180deg,var(--bg-panel) 0%,var(--bg-main) 100%);
    border-top:1px solid rgba(148,163,184,.12);
    border-bottom:1px solid rgba(148,163,184,.12);
}
.dark .mg-services-lab{
    background:
        radial-gradient(circle at 82% 10%,rgba(37,99,235,.20),transparent 28rem),
        radial-gradient(circle at 12% 85%,rgba(124,58,237,.15),transparent 27rem),
        linear-gradient(180deg,#070a14 0%,#080a13 54%,#05070e 100%);
}
.mg-services-lab__bg{
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    overflow:hidden;
}
.mg-services-lab__orb{
    position:absolute;
    width:26rem;
    height:26rem;
    border-radius:999px;
    filter:blur(95px);
    opacity:.28;
}
.mg-services-lab__orb--blue{
    top:7%;
    right:-7rem;
    background:#2563eb;
}
.mg-services-lab__orb--purple{
    left:-9rem;
    bottom:4%;
    background:#7c3aed;
}
.mg-services-lab__grid{
    position:absolute;
    inset:0;
    opacity:.32;
    background-image:
        linear-gradient(rgba(148,163,184,.11) 1px,transparent 1px),
        linear-gradient(90deg,rgba(148,163,184,.11) 1px,transparent 1px);
    background-size:78px 78px;
    mask-image:radial-gradient(circle at 50% 42%,#000 0%,transparent 72%);
}
.dark .mg-services-lab__grid{
    opacity:.24;
}
.mg-services-lab__head{
    max-width:850px;
    margin:0 auto 2.8rem;
    text-align:center;
}
.mg-services-lab__eyebrow{
    display:inline-flex;
    align-items:center;
    gap:.62rem;
    margin-bottom:1.05rem;
    padding:.62rem 1.02rem;
    border-radius:999px;
    color:#1d4ed8;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(37,99,235,.13);
    box-shadow:0 18px 40px rgba(37,99,235,.09);
    font-size:.78rem;
    font-weight:950;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
}
.dark .mg-services-lab__eyebrow{
    color:#bfdbfe;
    background:rgba(255,255,255,.06);
    border-color:rgba(96,165,250,.18);
    box-shadow:0 20px 48px rgba(0,0,0,.26);
}
.mg-services-lab__eyebrow i{
    color:#7c3aed;
}
.mg-services-lab__head h2{
    margin:0 0 1rem;
    color:var(--text-main);
    font-size:clamp(2.25rem,4.4vw,3.65rem);
    line-height:1.2;
    font-weight:1000;
    letter-spacing:-.055em;
}
.mg-services-lab__head p{
    max-width:780px;
    margin:0 auto;
    color:var(--text-muted);
    font-size:1rem;
    line-height:2.08;
    font-weight:720;
}
.mg-services-lab__stage{
    display:grid;
    grid-template-columns:minmax(340px,.92fr) minmax(0,1.18fr);
    gap:1.65rem;
    align-items:stretch;
}
.mg-services-lab__visual{
    position:relative;
    min-height:720px;
    border-radius:2.2rem;
    padding:1px;
    background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(96,165,250,.18),rgba(124,58,237,.20));
    box-shadow:0 34px 95px rgba(15,23,42,.12);
}
.dark .mg-services-lab__visual{
    background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(96,165,250,.11),rgba(124,58,237,.12));
    box-shadow:0 38px 100px rgba(0,0,0,.36);
}
.mg-services-lab__screen{
    position:relative;
    height:100%;
    min-height:720px;
    border-radius:calc(2.2rem - 1px);
    overflow:hidden;
    background:
        radial-gradient(circle at 50% 38%,rgba(96,165,250,.22),transparent 15rem),
        radial-gradient(circle at 64% 58%,rgba(124,58,237,.20),transparent 17rem),
        linear-gradient(160deg,rgba(255,255,255,.82),rgba(239,246,255,.68));
    border:1px solid rgba(255,255,255,.50);
    transform:translateZ(0);
}
.dark .mg-services-lab__screen{
    background:
        radial-gradient(circle at 50% 38%,rgba(96,165,250,.18),transparent 15rem),
        radial-gradient(circle at 64% 58%,rgba(124,58,237,.18),transparent 17rem),
        linear-gradient(160deg,rgba(15,23,42,.78),rgba(2,6,23,.78));
    border-color:rgba(255,255,255,.08);
}
.mg-services-lab__screen::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(130deg,rgba(255,255,255,.34),transparent 28%,transparent 76%,rgba(255,255,255,.14)),
        radial-gradient(circle at 50% 50%,transparent 0 42%,rgba(15,23,42,.08) 100%);
    pointer-events:none;
    z-index:3;
}
.dark .mg-services-lab__screen::before{
    background:
        linear-gradient(130deg,rgba(255,255,255,.09),transparent 30%,transparent 74%,rgba(255,255,255,.05)),
        radial-gradient(circle at 50% 50%,transparent 0 42%,rgba(0,0,0,.22) 100%);
}
.mg-services-lab__screen canvas{
    position:absolute;
    inset:0;
    z-index:2;
    width:100%;
    height:100%;
    display:block;
}
.mg-services-lab__fallback{
    position:absolute;
    inset:0;
    z-index:1;
    display:grid;
    place-items:center;
    perspective:900px;
}
.mg-services-lab__fallback span{
    position:absolute;
    display:block;
    border-radius:1.6rem;
    border:1px solid rgba(96,165,250,.28);
    background:linear-gradient(135deg,rgba(37,99,235,.16),rgba(124,58,237,.10));
    box-shadow:0 26px 60px rgba(37,99,235,.16);
    transform-style:preserve-3d;
}
.mg-services-lab__fallback span:nth-child(1){
    width:12rem;
    height:12rem;
    transform:rotateX(58deg) rotateZ(45deg);
}
.mg-services-lab__fallback span:nth-child(2){
    width:8.5rem;
    height:8.5rem;
    transform:rotateX(58deg) rotateZ(45deg) translateZ(70px);
}
.mg-services-lab__fallback span:nth-child(3){
    width:5rem;
    height:5rem;
    border-radius:999px;
    transform:translateZ(115px);
}
.mg-services-lab__hud{
    position:absolute;
    z-index:4;
    max-width:82%;
    border-radius:1.25rem;
    background:rgba(255,255,255,.70);
    border:1px solid rgba(255,255,255,.58);
    box-shadow:0 18px 48px rgba(15,23,42,.10);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}
.dark .mg-services-lab__hud{
    background:rgba(15,23,42,.60);
    border-color:rgba(255,255,255,.08);
    box-shadow:0 18px 52px rgba(0,0,0,.28);
}
.mg-services-lab__hud--top{
    top:1.15rem;
    right:1.15rem;
    padding:.86rem 1rem;
}
.mg-services-lab__hud--top small{
    display:block;
    color:#2563eb;
    font-size:.66rem;
    letter-spacing:.12em;
    font-weight:1000;
}
.dark .mg-services-lab__hud--top small{
    color:#93c5fd;
}
.mg-services-lab__hud--top strong{
    display:block;
    margin-top:.2rem;
    color:var(--text-main);
    font-size:.95rem;
    line-height:1.55;
    font-weight:1000;
}
.mg-services-lab__hud--bottom{
    right:1.15rem;
    left:1.15rem;
    bottom:1.15rem;
    display:flex;
    align-items:center;
    gap:.78rem;
    padding:.95rem 1rem;
    color:var(--text-muted);
    font-size:.82rem;
    line-height:1.85;
    font-weight:850;
}
.mg-services-lab__hud--bottom i{
    display:grid;
    place-items:center;
    width:2.45rem;
    height:2.45rem;
    flex:0 0 auto;
    border-radius:1rem;
    color:#fff;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    box-shadow:0 13px 28px rgba(37,99,235,.20);
}
.mg-services-lab__content{
    display:flex;
    flex-direction:column;
    gap:1.1rem;
    min-width:0;
}
.mg-services-lab__intro{
    position:relative;
    overflow:hidden;
    padding:1.55rem 1.65rem;
    border-radius:1.8rem;
    background:linear-gradient(150deg,rgba(255,255,255,.86),rgba(255,255,255,.58));
    border:1px solid rgba(148,163,184,.16);
    box-shadow:0 22px 62px rgba(15,23,42,.08);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
}
.dark .mg-services-lab__intro{
    background:linear-gradient(150deg,rgba(255,255,255,.075),rgba(255,255,255,.034));
    border-color:rgba(255,255,255,.08);
    box-shadow:0 22px 62px rgba(0,0,0,.28);
}
.mg-services-lab__intro::after{
    content:"";
    position:absolute;
    top:-5rem;
    left:-5rem;
    width:12rem;
    height:12rem;
    border-radius:999px;
    background:radial-gradient(circle,rgba(37,99,235,.16),transparent 68%);
    pointer-events:none;
}
.mg-services-lab__intro span{
    display:inline-flex;
    margin-bottom:.7rem;
    color:#7c3aed;
    font-size:.72rem;
    font-weight:1000;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.dark .mg-services-lab__intro span{
    color:#c4b5fd;
}
.mg-services-lab__intro h3{
    position:relative;
    z-index:1;
    max-width:690px;
    margin:0 0 .7rem;
    color:var(--text-main);
    font-size:1.38rem;
    line-height:1.72;
    font-weight:1000;
    letter-spacing:-.03em;
}
.mg-services-lab__intro p{
    position:relative;
    z-index:1;
    max-width:720px;
    margin:0;
    color:var(--text-muted);
    font-size:.92rem;
    line-height:2.05;
    font-weight:700;
}
.mg-services-lab__cards{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1rem;
}
.mg-services-lab-card{
    --lab-accent:#2563eb;
    --lab-accent-soft:#7c3aed;
    --lab-glow:rgba(37,99,235,.18);
    position:relative;
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:1rem;
    min-height:184px;
    padding:1.22rem;
    border-radius:1.6rem;
    overflow:hidden;
    background:
        linear-gradient(145deg,rgba(255,255,255,.86),rgba(255,255,255,.60)),
        radial-gradient(circle at 0% 0%,var(--lab-glow),transparent 55%);
    border:1px solid rgba(255,255,255,.62);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.72),
        0 20px 52px rgba(15,23,42,.08);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    transform:translateZ(0);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.dark .mg-services-lab-card{
    background:
        linear-gradient(145deg,rgba(255,255,255,.070),rgba(255,255,255,.032)),
        radial-gradient(circle at 0% 0%,var(--lab-glow),transparent 60%);
    border-color:rgba(255,255,255,.08);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.07),
        0 22px 58px rgba(0,0,0,.27);
}
.mg-services-lab-card:hover{
    transform:translateY(-5px);
    border-color:rgba(96,165,250,.25);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.76),
        0 28px 70px rgba(15,23,42,.12);
}
.dark .mg-services-lab-card:hover{
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 28px 72px rgba(0,0,0,.34);
}
.mg-services-lab-card:first-child{
    grid-column:1/-1;
    min-height:190px;
}
.mg-services-lab-card__shine{
    position:absolute;
    inset:0;
    background:linear-gradient(122deg,rgba(255,255,255,.35),transparent 28%,transparent 78%,rgba(255,255,255,.16));
    pointer-events:none;
    opacity:.70;
}
.dark .mg-services-lab-card__shine{
    opacity:.18;
}
.mg-services-lab-card__icon{
    position:relative;
    z-index:1;
    display:grid;
    place-items:center;
    width:58px;
    height:58px;
    border-radius:1.25rem;
    color:#fff;
    background:linear-gradient(135deg,var(--lab-accent),var(--lab-accent-soft));
    box-shadow:0 18px 36px var(--lab-glow);
}
.mg-services-lab-card__icon i{
    font-size:1.18rem;
}
.mg-services-lab-card__body{
    position:relative;
    z-index:1;
    min-width:0;
}
.mg-services-lab-card__body small{
    display:inline-flex;
    margin-bottom:.52rem;
    color:var(--lab-accent);
    font-size:.68rem;
    font-weight:1000;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.mg-services-lab-card__body h3{
    margin:0 0 .55rem;
    color:var(--text-main);
    font-size:1.04rem;
    line-height:1.78;
    font-weight:1000;
    letter-spacing:-.02em;
}
.mg-services-lab-card__body p{
    margin:0;
    color:var(--text-muted);
    font-size:.84rem;
    line-height:1.96;
    font-weight:690;
}
.mg-services-lab-card__meta{
    position:relative;
    z-index:1;
    grid-column:1/-1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.75rem;
    margin-top:auto;
    padding-top:.9rem;
    border-top:1px solid rgba(148,163,184,.14);
}
.dark .mg-services-lab-card__meta{
    border-top-color:rgba(255,255,255,.08);
}
.mg-services-lab-card__meta span{
    color:var(--text-muted);
    font-size:.75rem;
    line-height:1.8;
    font-weight:900;
}
.mg-services-lab-card__meta i{
    color:var(--lab-accent);
    font-size:.88rem;
}
.mg-services-lab-card.is-blue{--lab-accent:#2563eb;--lab-accent-soft:#4f46e5;--lab-glow:rgba(37,99,235,.20);}
.mg-services-lab-card.is-purple{--lab-accent:#7c3aed;--lab-accent-soft:#db2777;--lab-glow:rgba(124,58,237,.20);}
.mg-services-lab-card.is-green{--lab-accent:#059669;--lab-accent-soft:#10b981;--lab-glow:rgba(5,150,105,.18);}
.mg-services-lab-card.is-cyan{--lab-accent:#0891b2;--lab-accent-soft:#2563eb;--lab-glow:rgba(8,145,178,.18);}
.mg-services-lab-card.is-steel{--lab-accent:#475569;--lab-accent-soft:#0f172a;--lab-glow:rgba(71,85,105,.16);}
.mg-services-lab__cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    padding:1rem 1.1rem;
    border-radius:1.55rem;
    background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(124,58,237,.09),rgba(212,175,55,.07));
    border:1px solid rgba(96,165,250,.18);
    box-shadow:0 18px 50px rgba(15,23,42,.06);
}
.dark .mg-services-lab__cta{
    background:linear-gradient(135deg,rgba(37,99,235,.14),rgba(124,58,237,.10),rgba(212,175,55,.06));
    border-color:rgba(255,255,255,.08);
    box-shadow:0 18px 52px rgba(0,0,0,.24);
}
.mg-services-lab__cta span{
    color:var(--text-muted);
    font-size:.84rem;
    line-height:1.9;
    font-weight:780;
}
.mg-services-lab__cta a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.55rem;
    min-height:46px;
    padding:.8rem 1.14rem;
    border-radius:999px;
    color:#fff;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    font-size:.82rem;
    line-height:1.6;
    font-weight:950;
    text-decoration:none;
    white-space:nowrap;
    box-shadow:0 16px 34px rgba(37,99,235,.18);
    transition:transform .18s ease,box-shadow .18s ease;
}
.mg-services-lab__cta a:hover{
    transform:translateY(-2px);
    box-shadow:0 21px 42px rgba(124,58,237,.24);
}

@media (prefers-reduced-motion: reduce){
    .mg-services-lab-card,
    .mg-services-lab__cta a{
        transition:none !important;
    }
}
@media (max-width:1180px){
    .mg-services-lab__stage{
        grid-template-columns:1fr;
    }
    .mg-services-lab__visual,
    .mg-services-lab__screen{
        min-height:560px;
    }
}
@media (max-width:860px){
    .mg-services-lab{
        padding:5rem 0;
    }
    .mg-services-lab__head{
        margin-bottom:1.8rem;
    }
    .mg-services-lab__head h2{
        font-size:2rem;
    }
    .mg-services-lab__visual,
    .mg-services-lab__screen{
        min-height:430px;
        border-radius:1.55rem;
    }
    .mg-services-lab__cards{
        grid-template-columns:1fr;
    }
    .mg-services-lab-card:first-child{
        grid-column:auto;
    }
    .mg-services-lab-card{
        min-height:auto;
        border-radius:1.35rem;
    }
    .mg-services-lab__intro{
        border-radius:1.35rem;
        padding:1.2rem;
    }
    .mg-services-lab__cta{
        align-items:stretch;
        flex-direction:column;
        border-radius:1.35rem;
    }
    .mg-services-lab__cta a{
        width:100%;
    }
}
@media (max-width:520px){
    .mg-services-lab__visual,
    .mg-services-lab__screen{
        min-height:360px;
    }
    .mg-services-lab__hud--top{
        top:.8rem;
        right:.8rem;
        padding:.7rem .78rem;
    }
    .mg-services-lab__hud--bottom{
        right:.8rem;
        left:.8rem;
        bottom:.8rem;
        padding:.75rem .8rem;
        font-size:.76rem;
    }
    .mg-services-lab__intro h3{
        font-size:1.15rem;
    }
    .mg-services-lab-card{
        grid-template-columns:1fr;
        gap:.85rem;
        padding:1rem;
    }
    .mg-services-lab-card__icon{
        width:54px;
        height:54px;
    }
}


/* Services v1.9.6: حذف کامل visual سه‌بعدی و تمام‌عرض شدن کارت‌ها */
.mg-services-lab__stage{
    display:block !important;
}
.mg-services-lab__visual{
    display:none !important;
}
.mg-services-lab__content{
    width:100%;
    max-width:1180px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:1.18rem;
}
.mg-services-lab__intro{
    display:grid;
    grid-template-columns:minmax(0,.72fr) minmax(280px,.28fr);
    gap:1.2rem 1.8rem;
    align-items:end;
    padding:1.7rem 1.85rem;
}
.mg-services-lab__intro span,
.mg-services-lab__intro h3,
.mg-services-lab__intro p{
    grid-column:1;
}
.mg-services-lab__intro::before{
    content:"Development\\A Studio";
    white-space:pre-line;
    grid-column:2;
    grid-row:1 / 4;
    align-self:stretch;
    display:grid;
    place-items:center;
    min-height:150px;
    border-radius:1.35rem;
    color:rgba(255,255,255,.92);
    background:
        radial-gradient(circle at 25% 20%,rgba(255,255,255,.22),transparent 28%),
        linear-gradient(135deg,#2563eb,#7c3aed);
    box-shadow:0 20px 45px rgba(37,99,235,.18);
    font-size:1.35rem;
    line-height:1.45;
    font-weight:1000;
    letter-spacing:.03em;
    text-align:center;
}
.dark .mg-services-lab__intro::before{
    box-shadow:0 22px 54px rgba(0,0,0,.32);
}
.mg-services-lab__intro h3{
    max-width:780px;
    font-size:1.48rem;
}
.mg-services-lab__intro p{
    max-width:820px;
}
.mg-services-lab__cards{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:1.15rem !important;
}
.mg-services-lab-card{
    min-height:210px;
    padding:1.38rem;
}
.mg-services-lab-card:first-child{
    grid-column:1 / -1;
    min-height:215px;
}
.mg-services-lab-card__body h3{
    font-size:1.1rem;
}
.mg-services-lab-card__body p{
    font-size:.88rem;
    line-height:2.02;
}
.mg-services-lab__cta{
    max-width:1180px;
    width:100%;
}

@media (max-width:980px){
    .mg-services-lab__intro{
        grid-template-columns:1fr;
    }
    .mg-services-lab__intro span,
    .mg-services-lab__intro h3,
    .mg-services-lab__intro p{
        grid-column:auto;
    }
    .mg-services-lab__intro::before{
        grid-column:auto;
        grid-row:auto;
        min-height:92px;
        font-size:1.08rem;
    }
}
@media (max-width:760px){
    .mg-services-lab__cards{
        grid-template-columns:1fr !important;
    }
    .mg-services-lab-card:first-child{
        grid-column:auto;
    }
    .mg-services-lab-card{
        min-height:auto;
    }
}

/* MasterGroup homepage sectional rhythm v1.9.7
   تفکیک بصری بخش‌های مارکت، خدمات و نمونه‌کار بدون تغییر در دیتابیس یا ساختار PHP. */
:root{
    --mg-section-divider-height:5.25rem;
    --mg-market-light:#f6fbff;
    --mg-services-light:#f8f5ff;
    --mg-portfolio-light:#fff8ed;
}

.mg-pro-market-section,
.mg-services-lab,
.mg-portfolio-compact{
    position:relative;
    isolation:isolate;
    overflow:hidden;
}
.mg-pro-market-section > .container,
.mg-services-lab > .container,
.mg-portfolio-compact > .container{
    position:relative;
    z-index:3;
}

/* Market: آبی روشن و فروشگاهی، جدا از خدمات و نمونه‌کار */
.mg-pro-market-section{
    padding:clamp(5.4rem,7vw,7.65rem) 0 clamp(6rem,8vw,8.2rem) !important;
    background:
        radial-gradient(circle at 86% 8%,rgba(37,99,235,.20),transparent 28rem),
        radial-gradient(circle at 10% 70%,rgba(14,165,233,.13),transparent 25rem),
        radial-gradient(circle at 50% 105%,rgba(124,58,237,.08),transparent 28rem),
        linear-gradient(180deg,#fbfdff 0%,var(--mg-market-light) 52%,#eef7ff 100%) !important;
    border:0 !important;
}
.dark .mg-pro-market-section{
    background:
        radial-gradient(circle at 84% 10%,rgba(37,99,235,.30),transparent 28rem),
        radial-gradient(circle at 6% 74%,rgba(6,182,212,.14),transparent 25rem),
        radial-gradient(circle at 50% 108%,rgba(124,58,237,.13),transparent 31rem),
        linear-gradient(180deg,#070f1d 0%,#081a31 52%,#071322 100%) !important;
}
.mg-pro-market-section::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background-image:
        linear-gradient(rgba(37,99,235,.055) 1px,transparent 1px),
        linear-gradient(90deg,rgba(37,99,235,.055) 1px,transparent 1px),
        radial-gradient(circle at 24% 18%,rgba(255,255,255,.58),transparent 23rem);
    background-size:46px 46px,46px 46px,auto;
    mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 82%,transparent);
    opacity:.85;
    pointer-events:none;
}
.dark .mg-pro-market-section::before{
    background-image:
        linear-gradient(rgba(125,211,252,.055) 1px,transparent 1px),
        linear-gradient(90deg,rgba(125,211,252,.055) 1px,transparent 1px),
        radial-gradient(circle at 25% 18%,rgba(96,165,250,.08),transparent 24rem);
    opacity:.72;
}
.mg-pro-market-section::after{
    content:"";
    position:absolute;
    right:0;
    left:0;
    bottom:-1px;
    z-index:2;
    height:var(--mg-section-divider-height);
    background:
        linear-gradient(90deg,transparent 0%,rgba(37,99,235,.26) 22%,rgba(124,58,237,.28) 52%,rgba(14,165,233,.18) 78%,transparent 100%),
        linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.52));
    clip-path:polygon(0 48%,8% 37%,18% 50%,31% 30%,45% 45%,60% 24%,75% 40%,88% 28%,100% 42%,100% 100%,0 100%);
    pointer-events:none;
}
.dark .mg-pro-market-section::after{
    background:
        linear-gradient(90deg,transparent 0%,rgba(37,99,235,.33) 22%,rgba(124,58,237,.32) 52%,rgba(14,165,233,.22) 78%,transparent 100%),
        linear-gradient(180deg,rgba(7,19,34,0),rgba(13,8,34,.72));
}
.mg-pro-market-copy{
    background:
        radial-gradient(circle at 0% 100%,rgba(37,99,235,.10),transparent 16rem),
        linear-gradient(135deg,rgba(255,255,255,.94),rgba(239,247,255,.74)) !important;
    border-color:rgba(37,99,235,.18) !important;
    box-shadow:0 28px 78px rgba(30,64,175,.10) !important;
}
.dark .mg-pro-market-copy{
    background:
        radial-gradient(circle at 0% 100%,rgba(59,130,246,.18),transparent 17rem),
        linear-gradient(135deg,rgba(15,31,56,.92),rgba(8,20,38,.72)) !important;
    border-color:rgba(96,165,250,.16) !important;
    box-shadow:0 30px 88px rgba(0,0,0,.34) !important;
}

/* Services: فضای استودیویی بنفش/ایندیگو با ریتم جداگانه */
.mg-services-lab{
    padding:clamp(5.8rem,7.2vw,7.9rem) 0 clamp(6rem,8vw,8.15rem) !important;
    background:
        radial-gradient(circle at 18% 14%,rgba(124,58,237,.19),transparent 28rem),
        radial-gradient(circle at 92% 72%,rgba(236,72,153,.10),transparent 24rem),
        linear-gradient(135deg,#fff 0%,var(--mg-services-light) 48%,#f1f5ff 100%) !important;
    border:0 !important;
}
.dark .mg-services-lab{
    background:
        radial-gradient(circle at 16% 14%,rgba(124,58,237,.30),transparent 29rem),
        radial-gradient(circle at 92% 72%,rgba(236,72,153,.14),transparent 25rem),
        radial-gradient(circle at 48% 100%,rgba(37,99,235,.11),transparent 31rem),
        linear-gradient(135deg,#0d0822 0%,#120a2b 48%,#080b18 100%) !important;
}
.mg-services-lab::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        linear-gradient(115deg,transparent 0 42%,rgba(124,58,237,.08) 42% 42.2%,transparent 42.2% 100%),
        radial-gradient(circle at 78% 12%,rgba(255,255,255,.62),transparent 22rem);
    opacity:.88;
    pointer-events:none;
}
.dark .mg-services-lab::before{
    background:
        linear-gradient(115deg,transparent 0 42%,rgba(167,139,250,.08) 42% 42.2%,transparent 42.2% 100%),
        radial-gradient(circle at 78% 12%,rgba(167,139,250,.08),transparent 24rem);
    opacity:.72;
}
.mg-services-lab::after{
    content:"";
    position:absolute;
    right:0;
    left:0;
    bottom:-1px;
    z-index:2;
    height:var(--mg-section-divider-height);
    background:
        linear-gradient(90deg,transparent,rgba(124,58,237,.24),rgba(212,175,55,.20),rgba(236,72,153,.16),transparent),
        linear-gradient(180deg,rgba(255,255,255,0),rgba(255,248,237,.70));
    clip-path:polygon(0 30%,12% 45%,24% 31%,36% 50%,51% 31%,65% 44%,80% 26%,100% 40%,100% 100%,0 100%);
    pointer-events:none;
}
.dark .mg-services-lab::after{
    background:
        linear-gradient(90deg,transparent,rgba(124,58,237,.31),rgba(212,175,55,.22),rgba(236,72,153,.18),transparent),
        linear-gradient(180deg,rgba(18,10,43,0),rgba(22,15,9,.68));
}
.mg-services-lab__bg{
    z-index:0;
    opacity:.78;
}
.mg-services-lab__grid{
    opacity:.42 !important;
}
.mg-services-lab__head{
    position:relative;
    margin-bottom:2.65rem !important;
}
.mg-services-lab-card{
    background:
        radial-gradient(circle at 100% 0%,var(--lab-glow),transparent 12rem),
        linear-gradient(150deg,rgba(255,255,255,.91),rgba(255,255,255,.66)) !important;
    border-color:rgba(124,58,237,.14) !important;
    box-shadow:0 24px 70px rgba(88,28,135,.09) !important;
}
.dark .mg-services-lab-card{
    background:
        radial-gradient(circle at 100% 0%,var(--lab-glow),transparent 12rem),
        linear-gradient(150deg,rgba(255,255,255,.078),rgba(255,255,255,.035)) !important;
    border-color:rgba(255,255,255,.09) !important;
    box-shadow:0 28px 78px rgba(0,0,0,.30) !important;
}

/* Portfolio: پس‌زمینه گرم و برندمحور برای پایان لندینگ */
.mg-portfolio-compact{
    padding:clamp(5.6rem,7vw,7.6rem) 0 clamp(5.4rem,7vw,7.1rem) !important;
    background:
        radial-gradient(circle at 15% 8%,rgba(212,175,55,.20),transparent 24rem),
        radial-gradient(circle at 88% 80%,rgba(124,58,237,.10),transparent 26rem),
        linear-gradient(180deg,var(--mg-portfolio-light) 0%,#fffaf3 48%,#fff 100%) !important;
    border:0 !important;
}
.dark .mg-portfolio-compact{
    background:
        radial-gradient(circle at 15% 8%,rgba(212,175,55,.18),transparent 24rem),
        radial-gradient(circle at 88% 80%,rgba(124,58,237,.17),transparent 27rem),
        radial-gradient(circle at 50% 104%,rgba(37,99,235,.08),transparent 31rem),
        linear-gradient(180deg,#160f09 0%,#11101b 48%,#070810 100%) !important;
}
.mg-portfolio-compact::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        radial-gradient(circle at 50% 18%,rgba(255,255,255,.58),transparent 23rem),
        repeating-linear-gradient(135deg,rgba(212,175,55,.075) 0 1px,transparent 1px 18px);
    mask-image:linear-gradient(to bottom,transparent,#000 16%,#000 88%,transparent);
    opacity:.70;
    pointer-events:none;
}
.dark .mg-portfolio-compact::before{
    background:
        radial-gradient(circle at 50% 18%,rgba(250,204,21,.07),transparent 24rem),
        repeating-linear-gradient(135deg,rgba(250,204,21,.055) 0 1px,transparent 1px 18px);
    opacity:.58;
}
.mg-portfolio-compact::after{
    content:"";
    position:absolute;
    right:7%;
    left:7%;
    bottom:1.45rem;
    z-index:2;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(212,175,55,.45),rgba(124,58,237,.25),transparent);
    pointer-events:none;
}
.mg-portfolio-shell{
    background:
        radial-gradient(circle at 0% 0%,rgba(212,175,55,.10),transparent 18rem),
        linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,248,237,.72)) !important;
    border-color:rgba(212,175,55,.20) !important;
    box-shadow:0 30px 84px rgba(120,72,18,.10) !important;
}
.dark .mg-portfolio-shell{
    background:
        radial-gradient(circle at 0% 0%,rgba(212,175,55,.12),transparent 19rem),
        linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.032)) !important;
    border-color:rgba(250,204,21,.12) !important;
    box-shadow:0 32px 90px rgba(0,0,0,.34) !important;
}
.mg-portfolio-card{
    border-color:rgba(212,175,55,.16) !important;
}
.dark .mg-portfolio-card{
    border-color:rgba(255,255,255,.09) !important;
}

@media (max-width:760px){
    :root{--mg-section-divider-height:3.9rem;}
    .mg-pro-market-section,
    .mg-services-lab,
    .mg-portfolio-compact{
        padding-top:4.8rem !important;
        padding-bottom:5.2rem !important;
    }
    .mg-pro-market-section::after,
    .mg-services-lab::after{
        clip-path:polygon(0 46%,18% 36%,38% 50%,58% 33%,78% 45%,100% 34%,100% 100%,0 100%);
    }
}


/* Homepage harmony v1.9.8: هماهنگی هیرو و بخش «سازنده‌ایم» با ریتم جدید لندینگ */
:root{
    --mg-hero-light:#f7fbff;
    --mg-builders-light:#f2f7ff;
    --mg-builder-card:rgba(255,255,255,.82);
    --mg-builder-card-strong:rgba(255,255,255,.94);
}
.dark{
    --mg-hero-light:#070d1a;
    --mg-builders-light:#071326;
    --mg-builder-card:rgba(15,23,42,.66);
    --mg-builder-card-strong:rgba(15,23,42,.82);
}

.mg-hero-section{
    position:relative;
    isolation:isolate;
    padding-bottom:clamp(4.8rem,7vw,7.4rem) !important;
    background:
        radial-gradient(circle at 88% 16%,rgba(37,99,235,.18),transparent 27rem),
        radial-gradient(circle at 17% 18%,rgba(124,58,237,.13),transparent 26rem),
        radial-gradient(circle at 54% 92%,rgba(14,165,233,.10),transparent 32rem),
        linear-gradient(180deg,var(--bg-main) 0%,var(--mg-hero-light) 56%,var(--mg-builders-light) 100%) !important;
    border-bottom:0 !important;
}
.dark .mg-hero-section{
    background:
        radial-gradient(circle at 88% 16%,rgba(37,99,235,.26),transparent 28rem),
        radial-gradient(circle at 17% 18%,rgba(124,58,237,.20),transparent 27rem),
        radial-gradient(circle at 54% 92%,rgba(14,165,233,.12),transparent 34rem),
        linear-gradient(180deg,#050812 0%,#071020 55%,#071326 100%) !important;
}
.mg-hero-section::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        linear-gradient(rgba(37,99,235,.045) 1px,transparent 1px),
        linear-gradient(90deg,rgba(37,99,235,.045) 1px,transparent 1px),
        radial-gradient(circle at 50% 12%,rgba(255,255,255,.58),transparent 24rem);
    background-size:52px 52px,52px 52px,auto;
    mask-image:linear-gradient(to bottom,#000 0%,#000 72%,transparent 100%);
    pointer-events:none;
    opacity:.75;
}
.dark .mg-hero-section::before{
    background:
        linear-gradient(rgba(96,165,250,.055) 1px,transparent 1px),
        linear-gradient(90deg,rgba(96,165,250,.055) 1px,transparent 1px),
        radial-gradient(circle at 50% 12%,rgba(96,165,250,.08),transparent 24rem);
    opacity:.68;
}
.mg-hero-section::after{
    content:"";
    position:absolute;
    right:0;
    left:0;
    bottom:-1px;
    z-index:2;
    height:var(--mg-section-divider-height,5rem);
    background:
        linear-gradient(90deg,transparent 0%,rgba(37,99,235,.24) 24%,rgba(124,58,237,.25) 52%,rgba(14,165,233,.17) 78%,transparent 100%),
        linear-gradient(180deg,rgba(255,255,255,0),rgba(242,247,255,.92));
    clip-path:polygon(0 45%,8% 35%,20% 47%,33% 28%,48% 42%,61% 24%,75% 38%,88% 27%,100% 41%,100% 100%,0 100%);
    pointer-events:none;
}
.dark .mg-hero-section::after{
    background:
        linear-gradient(90deg,transparent 0%,rgba(37,99,235,.32) 24%,rgba(124,58,237,.30) 52%,rgba(14,165,233,.21) 78%,transparent 100%),
        linear-gradient(180deg,rgba(7,16,32,0),rgba(7,19,38,.92));
}
.mg-hero-section .bg-glow{
    opacity:.52;
    filter:blur(10px);
}
.mg-hero-shell{
    position:relative;
    z-index:1;
}
.mg-hero-copy > .inline-flex.glass-card{
    background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(239,247,255,.66)) !important;
    border-color:rgba(37,99,235,.16) !important;
    box-shadow:0 18px 50px rgba(30,64,175,.10) !important;
}
.dark .mg-hero-copy > .inline-flex.glass-card{
    background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.035)) !important;
    border-color:rgba(96,165,250,.16) !important;
    box-shadow:0 18px 54px rgba(0,0,0,.30) !important;
}
.mg-hero-copy h1{
    max-width:790px;
}
.mg-hero-copy .text-gradient{
    background:linear-gradient(135deg,#1d4ed8 0%,#7c3aed 48%,#0ea5e9 100%);
    -webkit-background-clip:text;
    background-clip:text;
}
.mg-hero-metrics{
    background:
        radial-gradient(circle at 0% 100%,rgba(37,99,235,.09),transparent 14rem),
        linear-gradient(135deg,rgba(255,255,255,.82),rgba(239,247,255,.58)) !important;
    border-color:rgba(37,99,235,.14) !important;
    box-shadow:0 24px 68px rgba(30,64,175,.10) !important;
}
.dark .mg-hero-metrics{
    background:
        radial-gradient(circle at 0% 100%,rgba(59,130,246,.16),transparent 15rem),
        linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.035)) !important;
    border-color:rgba(255,255,255,.09) !important;
    box-shadow:0 26px 74px rgba(0,0,0,.32) !important;
}
.mg-hero-visual{
    isolation:isolate;
    background:
        radial-gradient(circle at 52% 42%,rgba(124,58,237,.14),transparent 18rem),
        linear-gradient(145deg,rgba(255,255,255,.72),rgba(239,247,255,.42));
    border:1px solid rgba(37,99,235,.14);
    box-shadow:0 30px 86px rgba(30,64,175,.12);
}
.dark .mg-hero-visual{
    background:
        radial-gradient(circle at 52% 42%,rgba(124,58,237,.22),transparent 19rem),
        linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.026));
    border-color:rgba(255,255,255,.09);
    box-shadow:0 34px 94px rgba(0,0,0,.38);
}
.mg-hero-visual::before{
    content:"";
    position:absolute;
    inset:1rem;
    z-index:0;
    border-radius:1.55rem;
    border:1px solid rgba(37,99,235,.10);
    background:linear-gradient(135deg,rgba(255,255,255,.15),transparent 42%,rgba(124,58,237,.08));
    pointer-events:none;
}
.dark .mg-hero-visual::before{
    border-color:rgba(255,255,255,.08);
    background:linear-gradient(135deg,rgba(255,255,255,.06),transparent 42%,rgba(124,58,237,.10));
}

.mg-builders-section{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    padding:clamp(5rem,7vw,7.2rem) 0 clamp(5.6rem,7.4vw,7.7rem) !important;
    background:
        radial-gradient(circle at 90% 10%,rgba(37,99,235,.14),transparent 25rem),
        radial-gradient(circle at 10% 84%,rgba(124,58,237,.12),transparent 27rem),
        linear-gradient(180deg,var(--mg-builders-light) 0%,#f8fbff 62%,var(--bg-main) 100%) !important;
    border:0 !important;
}
.dark .mg-builders-section{
    background:
        radial-gradient(circle at 90% 10%,rgba(37,99,235,.20),transparent 26rem),
        radial-gradient(circle at 10% 84%,rgba(124,58,237,.18),transparent 28rem),
        linear-gradient(180deg,#071326 0%,#071020 60%,#070f1d 100%) !important;
}
.mg-builders-section::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        radial-gradient(circle at 50% 8%,rgba(255,255,255,.62),transparent 22rem),
        repeating-linear-gradient(135deg,rgba(37,99,235,.055) 0 1px,transparent 1px 18px);
    mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent);
    pointer-events:none;
    opacity:.62;
}
.dark .mg-builders-section::before{
    background:
        radial-gradient(circle at 50% 8%,rgba(96,165,250,.07),transparent 23rem),
        repeating-linear-gradient(135deg,rgba(96,165,250,.045) 0 1px,transparent 1px 18px);
    opacity:.56;
}
.mg-builders-section::after{
    content:"";
    position:absolute;
    right:0;
    left:0;
    bottom:-1px;
    z-index:2;
    height:var(--mg-section-divider-height,5rem);
    background:
        linear-gradient(90deg,transparent,rgba(37,99,235,.24),rgba(124,58,237,.21),rgba(14,165,233,.16),transparent),
        linear-gradient(180deg,rgba(248,251,255,0),rgba(241,248,255,.92));
    clip-path:polygon(0 33%,14% 45%,27% 31%,41% 49%,55% 30%,70% 44%,85% 29%,100% 42%,100% 100%,0 100%);
    pointer-events:none;
}
.dark .mg-builders-section::after{
    background:
        linear-gradient(90deg,transparent,rgba(37,99,235,.30),rgba(124,58,237,.27),rgba(14,165,233,.20),transparent),
        linear-gradient(180deg,rgba(7,16,32,0),rgba(7,15,29,.86));
}
.mg-builders-section__glow{
    position:absolute;
    z-index:0;
    width:18rem;
    height:18rem;
    border-radius:999px;
    filter:blur(76px);
    opacity:.18;
    pointer-events:none;
}
.mg-builders-section__glow--blue{right:-7rem;top:4rem;background:#2563eb;}
.mg-builders-section__glow--purple{left:-7rem;bottom:5rem;background:#7c3aed;}
.mg-builders-head{
    position:relative;
    z-index:1;
    margin-inline:auto;
    max-width:820px;
}
.mg-builders-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:.55rem;
    margin-bottom:1rem;
    padding:.55rem .95rem;
    border-radius:999px;
    background:rgba(37,99,235,.075);
    border:1px solid rgba(37,99,235,.14);
    color:#1d4ed8;
    font-size:.76rem;
    line-height:1.7;
    font-weight:950;
}
.dark .mg-builders-eyebrow{
    background:rgba(37,99,235,.14);
    border-color:rgba(96,165,250,.18);
    color:#bfdbfe;
}
.mg-builders-eyebrow i{color:#7c3aed;}
.mg-builders-head h2{
    margin-bottom:.9rem !important;
    font-size:clamp(2.05rem,3.8vw,3.25rem) !important;
    line-height:1.32 !important;
    font-weight:1000 !important;
    letter-spacing:-.04em;
}
.mg-builders-head p{
    max-width:700px !important;
    line-height:2.05 !important;
    font-size:1rem;
    font-weight:720;
}
.mg-builders-grid{
    position:relative;
    z-index:1;
    gap:1.15rem !important;
}
.mg-builder-card{
    --builder-accent:#2563eb;
    --builder-accent-soft:#7c3aed;
    position:relative;
    min-height:285px;
    overflow:hidden;
    background:
        radial-gradient(circle at 0% 100%,rgba(37,99,235,.09),transparent 14rem),
        linear-gradient(145deg,var(--mg-builder-card-strong),var(--mg-builder-card)) !important;
    border:1px solid rgba(37,99,235,.13) !important;
    box-shadow:0 24px 72px rgba(30,64,175,.095) !important;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}
.mg-builder-card:nth-child(2){--builder-accent:#7c3aed;--builder-accent-soft:#ec4899;}
.mg-builder-card:nth-child(3){--builder-accent:#0ea5e9;--builder-accent-soft:#2563eb;}
.dark .mg-builder-card{
    background:
        radial-gradient(circle at 0% 100%,rgba(59,130,246,.14),transparent 15rem),
        linear-gradient(145deg,rgba(255,255,255,.078),rgba(255,255,255,.035)) !important;
    border-color:rgba(255,255,255,.09) !important;
    box-shadow:0 28px 78px rgba(0,0,0,.32) !important;
}
.mg-builder-card::before{
    content:"";
    position:absolute;
    top:0;
    right:0;
    left:0;
    height:3px;
    background:linear-gradient(90deg,var(--builder-accent),var(--builder-accent-soft));
    opacity:.86;
}
.mg-builder-card::after{
    content:"";
    position:absolute;
    left:-5rem;
    bottom:-5rem;
    width:12rem;
    height:12rem;
    border-radius:999px;
    background:radial-gradient(circle,var(--builder-accent) 0%,transparent 66%);
    opacity:.085;
    pointer-events:none;
    transition:transform .25s ease,opacity .25s ease;
}
.mg-builder-card:hover{
    transform:translateY(-6px);
    border-color:rgba(37,99,235,.20) !important;
    box-shadow:0 30px 88px rgba(30,64,175,.13) !important;
}
.dark .mg-builder-card:hover{
    border-color:rgba(96,165,250,.18) !important;
    box-shadow:0 32px 92px rgba(0,0,0,.40) !important;
}
.mg-builder-card:hover::after{
    transform:translate(1rem,-1rem) scale(1.08);
    opacity:.13;
}
.mg-builder-card__number{
    position:absolute;
    top:1.35rem;
    left:1.45rem;
    color:rgba(37,99,235,.14);
    font-size:2.35rem;
    line-height:1;
    font-weight:1000;
    letter-spacing:-.08em;
}
.dark .mg-builder-card__number{color:rgba(147,197,253,.16);}
.mg-builder-card__icon{
    position:relative;
    z-index:1;
    background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(124,58,237,.08)) !important;
    color:var(--builder-accent) !important;
    border:1px solid rgba(37,99,235,.12);
    box-shadow:0 14px 35px rgba(37,99,235,.10);
}
.mg-builder-card h3,
.mg-builder-card p{
    position:relative;
    z-index:1;
}
.mg-builder-card h3{
    font-weight:1000 !important;
    letter-spacing:-.025em;
}
.mg-builder-card p{
    line-height:2.05 !important;
    font-weight:720;
}

@media (max-width:1024px){
    .mg-hero-section{padding-top:7.25rem !important;}
    .mg-hero-visual{max-width:620px;}
}
@media (max-width:760px){
    .mg-hero-section::after,
    .mg-builders-section::after{
        clip-path:polygon(0 45%,18% 35%,38% 49%,58% 32%,78% 44%,100% 33%,100% 100%,0 100%);
    }
    .mg-builders-section{padding-top:4.9rem !important;}
    .mg-builders-head{margin-bottom:2rem !important;}
    .mg-builders-eyebrow{font-size:.72rem;}
    .mg-builder-card{min-height:250px;}
}


/* MasterGroup homepage harmony v1.9.9
   رویکرد: حفظ ظاهر و پس‌زمینه هیرو قبلی و هماهنگ‌سازی سایر بخش‌های صفحه با همان زبان بصری آبی/بنفش/گلس. */
:root{
    --mg-harmony-blue:#2563eb;
    --mg-harmony-purple:#7c3aed;
    --mg-harmony-gold:#d4af37;
    --mg-harmony-line:rgba(148,163,184,.14);
    --mg-harmony-card:rgba(255,255,255,.76);
    --mg-harmony-card-strong:rgba(255,255,255,.92);
    --mg-section-divider-height:4.9rem;
}
.dark{
    --mg-harmony-line:rgba(255,255,255,.09);
    --mg-harmony-card:rgba(15,23,42,.58);
    --mg-harmony-card-strong:rgba(15,23,42,.78);
}

/* بازگردانی حس اصلی هیرو: این مقادیر، override نسخه قبلی برای کارت آمار هیرو را به استایل اصلی نزدیک می‌کند. */
.mg-hero-metrics{
    background:linear-gradient(135deg,rgba(255,255,255,.74),rgba(255,255,255,.42)) !important;
    border:1px solid rgba(148,163,184,.22) !important;
    box-shadow:0 26px 70px rgba(15,23,42,.08),inset 0 1px 0 rgba(255,255,255,.7) !important;
}
.dark .mg-hero-metrics{
    background:linear-gradient(135deg,rgba(15,23,42,.78),rgba(15,23,42,.44)) !important;
    border-color:rgba(255,255,255,.11) !important;
    box-shadow:0 26px 80px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* Builders: ادامه طبیعی هیرو، بدون تغییر پس‌زمینه خود هیرو */
.mg-builders-section{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    padding:clamp(4.9rem,6.8vw,7.05rem) 0 clamp(5.7rem,7.5vw,7.9rem) !important;
    background:
        radial-gradient(circle at 86% 6%,rgba(37,99,235,.16),transparent 29rem),
        radial-gradient(circle at 10% 76%,rgba(124,58,237,.13),transparent 28rem),
        radial-gradient(circle at 52% 112%,rgba(212,175,55,.075),transparent 31rem),
        linear-gradient(180deg,var(--bg-main) 0%,var(--bg-panel) 48%,var(--bg-main) 100%) !important;
    border-top:1px solid rgba(148,163,184,.10) !important;
    border-bottom:0 !important;
}
.dark .mg-builders-section{
    background:
        radial-gradient(circle at 86% 6%,rgba(37,99,235,.20),transparent 30rem),
        radial-gradient(circle at 10% 76%,rgba(124,58,237,.18),transparent 29rem),
        radial-gradient(circle at 52% 112%,rgba(212,175,55,.075),transparent 32rem),
        linear-gradient(180deg,#05070e 0%,#080a13 48%,#05070e 100%) !important;
}
.mg-builders-section::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        radial-gradient(circle at 50% 8%,rgba(255,255,255,.24),transparent 23rem),
        linear-gradient(125deg,rgba(37,99,235,.070),transparent 39%,rgba(124,58,237,.065));
    opacity:.76;
    pointer-events:none;
}
.dark .mg-builders-section::before{
    background:
        radial-gradient(circle at 50% 8%,rgba(96,165,250,.08),transparent 24rem),
        linear-gradient(125deg,rgba(37,99,235,.095),transparent 41%,rgba(124,58,237,.09));
    opacity:.82;
}
.mg-builders-section::after,
.mg-pro-market-section::after,
.mg-services-lab::after{
    content:"";
    position:absolute;
    right:0;
    left:0;
    bottom:-1px;
    z-index:2;
    height:var(--mg-section-divider-height);
    background:
        linear-gradient(90deg,transparent 0%,rgba(37,99,235,.18) 24%,rgba(124,58,237,.19) 54%,rgba(212,175,55,.11) 76%,transparent 100%),
        linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.40));
    clip-path:polygon(0 46%,10% 38%,22% 48%,35% 34%,49% 45%,64% 31%,78% 43%,90% 33%,100% 42%,100% 100%,0 100%);
    pointer-events:none;
}
.dark .mg-builders-section::after,
.dark .mg-pro-market-section::after,
.dark .mg-services-lab::after{
    background:
        linear-gradient(90deg,transparent 0%,rgba(37,99,235,.26) 24%,rgba(124,58,237,.24) 54%,rgba(212,175,55,.13) 76%,transparent 100%),
        linear-gradient(180deg,rgba(8,10,19,0),rgba(8,10,19,.72));
}
.mg-builders-section__glow{
    opacity:.16 !important;
    filter:blur(82px) !important;
}
.mg-builders-head{
    position:relative;
    z-index:1;
    max-width:850px;
    margin-inline:auto;
    margin-bottom:clamp(2rem,4vw,3rem) !important;
}
.mg-builders-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:.55rem;
    margin-bottom:1.05rem;
    padding:.58rem 1rem;
    border-radius:999px;
    color:#1d4ed8;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(37,99,235,.13);
    box-shadow:0 18px 40px rgba(37,99,235,.09);
    font-size:.78rem;
    line-height:1.7;
    font-weight:950;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
}
.dark .mg-builders-eyebrow{
    color:#bfdbfe;
    background:rgba(255,255,255,.06);
    border-color:rgba(96,165,250,.18);
    box-shadow:0 20px 48px rgba(0,0,0,.26);
}
.mg-builders-eyebrow i{color:var(--mg-harmony-purple);}
.mg-builders-head h2{
    margin-bottom:.95rem !important;
    color:var(--text-main,var(--theme-text)) !important;
    font-size:clamp(2.05rem,3.7vw,3.35rem) !important;
    line-height:1.28 !important;
    font-weight:1000 !important;
    letter-spacing:-.045em;
}
.mg-builders-head p{
    max-width:760px !important;
    line-height:2.08 !important;
    font-size:1rem;
    font-weight:760;
}
.mg-builders-grid{
    position:relative;
    z-index:1;
    gap:1rem !important;
}
.mg-builder-card{
    --builder-accent:var(--mg-harmony-blue);
    --builder-accent-soft:var(--mg-harmony-purple);
    position:relative;
    min-height:278px;
    overflow:hidden;
    background:
        linear-gradient(145deg,var(--mg-harmony-card-strong),var(--mg-harmony-card)),
        radial-gradient(circle at 0% 0%,rgba(37,99,235,.12),transparent 58%) !important;
    border:1px solid var(--mg-harmony-line) !important;
    box-shadow:0 24px 70px rgba(15,23,42,.08),inset 0 1px 0 rgba(255,255,255,.54) !important;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}
.dark .mg-builder-card{
    background:
        linear-gradient(145deg,rgba(255,255,255,.070),rgba(255,255,255,.032)),
        radial-gradient(circle at 0% 0%,rgba(37,99,235,.18),transparent 62%) !important;
    border-color:rgba(255,255,255,.085) !important;
    box-shadow:0 26px 76px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.07) !important;
}
.mg-builder-card:nth-child(2){--builder-accent:var(--mg-harmony-purple);--builder-accent-soft:#db2777;}
.mg-builder-card:nth-child(3){--builder-accent:var(--mg-harmony-gold);--builder-accent-soft:var(--mg-harmony-blue);}
.mg-builder-card::before{
    height:2px !important;
    background:linear-gradient(90deg,var(--builder-accent),var(--builder-accent-soft),transparent) !important;
    opacity:.74 !important;
}
.mg-builder-card__number{
    color:color-mix(in srgb,var(--builder-accent) 18%,transparent) !important;
}
.mg-builder-card__icon{
    background:linear-gradient(135deg,color-mix(in srgb,var(--builder-accent) 13%,transparent),rgba(124,58,237,.07)) !important;
    color:var(--builder-accent) !important;
    border:1px solid color-mix(in srgb,var(--builder-accent) 16%,transparent) !important;
    box-shadow:0 14px 34px color-mix(in srgb,var(--builder-accent) 13%,transparent) !important;
}
.mg-builder-card:hover{
    transform:translateY(-5px) !important;
    border-color:color-mix(in srgb,var(--builder-accent) 26%,transparent) !important;
    box-shadow:0 30px 86px rgba(37,99,235,.11),inset 0 1px 0 rgba(255,255,255,.62) !important;
}
.dark .mg-builder-card:hover{
    box-shadow:0 30px 90px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* بخش‌های بعدی با همان پالت هیرو، اما با شدت و چیدمان متفاوت برای تفکیک حرفه‌ای */
.mg-pro-market-section,
.mg-services-lab,
.mg-portfolio-compact{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    border-top:1px solid rgba(148,163,184,.10) !important;
    border-bottom:0 !important;
}
.mg-pro-market-section > .container,
.mg-services-lab > .container,
.mg-portfolio-compact > .container{
    position:relative;
    z-index:3;
}
.mg-pro-market-section{
    padding:clamp(5.4rem,7vw,7.6rem) 0 clamp(6rem,7.8vw,8.05rem) !important;
    background:
        radial-gradient(circle at 88% 8%,rgba(37,99,235,.17),transparent 30rem),
        radial-gradient(circle at 8% 22%,rgba(124,58,237,.13),transparent 30rem),
        radial-gradient(circle at 54% 108%,rgba(212,175,55,.07),transparent 30rem),
        linear-gradient(180deg,var(--bg-main) 0%,var(--bg-panel) 52%,var(--bg-main) 100%) !important;
}
.dark .mg-pro-market-section{
    background:
        radial-gradient(circle at 88% 8%,rgba(37,99,235,.20),transparent 31rem),
        radial-gradient(circle at 8% 22%,rgba(124,58,237,.17),transparent 31rem),
        radial-gradient(circle at 54% 108%,rgba(212,175,55,.07),transparent 31rem),
        linear-gradient(180deg,#05070e 0%,#080a13 52%,#05070e 100%) !important;
}
.mg-pro-market-section::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        radial-gradient(circle at 72% 38%,rgba(255,255,255,.18),transparent 21rem),
        linear-gradient(125deg,rgba(37,99,235,.068),transparent 38%,rgba(124,58,237,.063)) !important;
    background-size:auto !important;
    mask-image:none !important;
    opacity:.84;
    pointer-events:none;
}
.dark .mg-pro-market-section::before{
    background:
        radial-gradient(circle at 72% 38%,rgba(96,165,250,.09),transparent 24rem),
        linear-gradient(125deg,rgba(37,99,235,.092),transparent 40%,rgba(124,58,237,.086)) !important;
}
.mg-pro-market-copy,
.mg-portfolio-shell{
    background:linear-gradient(135deg,var(--mg-harmony-card-strong),var(--mg-harmony-card)) !important;
    border-color:var(--mg-harmony-line) !important;
    box-shadow:0 24px 70px rgba(15,23,42,.08),inset 0 1px 0 rgba(255,255,255,.54) !important;
}
.dark .mg-pro-market-copy,
.dark .mg-portfolio-shell{
    background:linear-gradient(145deg,rgba(255,255,255,.070),rgba(255,255,255,.032)) !important;
    border-color:rgba(255,255,255,.085) !important;
    box-shadow:0 26px 76px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.07) !important;
}
.mg-services-lab{
    padding:clamp(5.65rem,7vw,7.85rem) 0 clamp(5.95rem,7.8vw,8.05rem) !important;
    background:
        radial-gradient(circle at 82% 10%,rgba(37,99,235,.16),transparent 28rem),
        radial-gradient(circle at 12% 85%,rgba(124,58,237,.14),transparent 27rem),
        linear-gradient(180deg,var(--bg-panel) 0%,var(--bg-main) 100%) !important;
}
.dark .mg-services-lab{
    background:
        radial-gradient(circle at 82% 10%,rgba(37,99,235,.20),transparent 28rem),
        radial-gradient(circle at 12% 85%,rgba(124,58,237,.15),transparent 27rem),
        linear-gradient(180deg,#080a13 0%,#05070e 100%) !important;
}
.mg-services-lab::before{
    background:
        radial-gradient(circle at 78% 12%,rgba(255,255,255,.18),transparent 22rem),
        linear-gradient(115deg,transparent 0 42%,rgba(37,99,235,.064) 42% 42.2%,transparent 42.2% 100%) !important;
    opacity:.78 !important;
}
.dark .mg-services-lab::before{
    background:
        radial-gradient(circle at 78% 12%,rgba(96,165,250,.075),transparent 24rem),
        linear-gradient(115deg,transparent 0 42%,rgba(124,58,237,.075) 42% 42.2%,transparent 42.2% 100%) !important;
}
.mg-services-lab-card{
    background:
        linear-gradient(145deg,rgba(255,255,255,.86),rgba(255,255,255,.60)),
        radial-gradient(circle at 0% 0%,var(--lab-glow),transparent 58%) !important;
    border-color:rgba(255,255,255,.62) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 20px 52px rgba(15,23,42,.08) !important;
}
.dark .mg-services-lab-card{
    background:
        linear-gradient(145deg,rgba(255,255,255,.070),rgba(255,255,255,.032)),
        radial-gradient(circle at 0% 0%,var(--lab-glow),transparent 60%) !important;
    border-color:rgba(255,255,255,.08) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 22px 58px rgba(0,0,0,.27) !important;
}
.mg-portfolio-compact{
    padding:clamp(5.45rem,6.8vw,7.35rem) 0 clamp(5.45rem,7vw,7.2rem) !important;
    background:
        radial-gradient(circle at 16% 10%,rgba(212,175,55,.11),transparent 25rem),
        radial-gradient(circle at 88% 78%,rgba(37,99,235,.12),transparent 27rem),
        radial-gradient(circle at 34% 100%,rgba(124,58,237,.10),transparent 30rem),
        linear-gradient(180deg,var(--bg-main) 0%,var(--bg-panel) 54%,var(--bg-main) 100%) !important;
}
.dark .mg-portfolio-compact{
    background:
        radial-gradient(circle at 16% 10%,rgba(212,175,55,.10),transparent 25rem),
        radial-gradient(circle at 88% 78%,rgba(37,99,235,.17),transparent 27rem),
        radial-gradient(circle at 34% 100%,rgba(124,58,237,.14),transparent 30rem),
        linear-gradient(180deg,#05070e 0%,#080a13 54%,#05070e 100%) !important;
}
.mg-portfolio-compact::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        radial-gradient(circle at 50% 18%,rgba(255,255,255,.18),transparent 23rem),
        repeating-linear-gradient(135deg,rgba(37,99,235,.050) 0 1px,transparent 1px 18px) !important;
    mask-image:linear-gradient(to bottom,transparent,#000 16%,#000 88%,transparent);
    opacity:.64;
    pointer-events:none;
}
.dark .mg-portfolio-compact::before{
    background:
        radial-gradient(circle at 50% 18%,rgba(96,165,250,.065),transparent 24rem),
        repeating-linear-gradient(135deg,rgba(124,58,237,.048) 0 1px,transparent 1px 18px) !important;
    opacity:.58;
}
.mg-portfolio-compact::after{
    right:7% !important;
    left:7% !important;
    bottom:1.35rem !important;
    height:1px !important;
    clip-path:none !important;
    background:linear-gradient(90deg,transparent,rgba(37,99,235,.28),rgba(124,58,237,.22),rgba(212,175,55,.18),transparent) !important;
}

@media (max-width:760px){
    :root{--mg-section-divider-height:3.75rem;}
    .mg-builders-section,
    .mg-pro-market-section,
    .mg-services-lab,
    .mg-portfolio-compact{
        padding-top:4.75rem !important;
        padding-bottom:5.15rem !important;
    }
    .mg-builders-section::after,
    .mg-pro-market-section::after,
    .mg-services-lab::after{
        clip-path:polygon(0 46%,18% 36%,38% 50%,58% 33%,78% 45%,100% 34%,100% 100%,0 100%);
    }
    .mg-builders-head h2{font-size:clamp(1.85rem,8vw,2.45rem) !important;}
    .mg-builder-card{min-height:245px;}
}

/* MasterGroup homepage sectional identity v2.0.0
   هدف: حفظ هیروی اصلی و برگشت تنوع بصری سکشن‌ها، اما در همان خانواده رنگی هیرو. */
:root{
    --mg-v200-blue:#2563eb;
    --mg-v200-sky:#0ea5e9;
    --mg-v200-purple:#7c3aed;
    --mg-v200-pink:#db2777;
    --mg-v200-gold:#d4af37;
    --mg-v200-line:rgba(37,99,235,.16);
    --mg-v200-card:rgba(255,255,255,.78);
    --mg-v200-card-strong:rgba(255,255,255,.94);
    --mg-v200-divider:5.4rem;
}
.dark{
    --mg-v200-line:rgba(255,255,255,.09);
    --mg-v200-card:rgba(255,255,255,.045);
    --mg-v200-card-strong:rgba(255,255,255,.078);
}

/* سکشن‌ها از نظر پالت به هیرو نزدیک‌اند، اما هرکدام شخصیت و ریتم جدا دارند. */
.mg-builders-section,
.mg-pro-market-section,
.mg-services-lab,
.mg-portfolio-compact{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    border-top:0 !important;
    border-bottom:0 !important;
}
.mg-builders-section > .container,
.mg-pro-market-section > .container,
.mg-services-lab > .container,
.mg-portfolio-compact > .container{
    position:relative;
    z-index:3;
}

/* 1) Builders: پل نرم بعد از هیرو، نزدیک‌ترین بخش به هویت هیرو */
.mg-builders-section{
    padding:clamp(5.05rem,7vw,7.25rem) 0 clamp(6.25rem,8vw,8.25rem) !important;
    background:
        radial-gradient(circle at 88% 6%,rgba(37,99,235,.18),transparent 27rem),
        radial-gradient(circle at 12% 72%,rgba(124,58,237,.13),transparent 28rem),
        linear-gradient(180deg,#f7fbff 0%,#eef6ff 52%,#f8fbff 100%) !important;
}
.dark .mg-builders-section{
    background:
        radial-gradient(circle at 88% 6%,rgba(37,99,235,.25),transparent 28rem),
        radial-gradient(circle at 12% 72%,rgba(124,58,237,.18),transparent 28rem),
        linear-gradient(180deg,#06101f 0%,#07172b 52%,#060f1d 100%) !important;
}
.mg-builders-section::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        linear-gradient(rgba(37,99,235,.052) 1px,transparent 1px),
        linear-gradient(90deg,rgba(124,58,237,.036) 1px,transparent 1px),
        radial-gradient(circle at 50% 10%,rgba(255,255,255,.62),transparent 24rem);
    background-size:56px 56px,56px 56px,auto;
    mask-image:linear-gradient(to bottom,transparent,#000 13%,#000 82%,transparent);
    opacity:.74;
    pointer-events:none;
}
.dark .mg-builders-section::before{
    background:
        linear-gradient(rgba(96,165,250,.050) 1px,transparent 1px),
        linear-gradient(90deg,rgba(167,139,250,.036) 1px,transparent 1px),
        radial-gradient(circle at 50% 10%,rgba(96,165,250,.075),transparent 24rem);
    opacity:.64;
}
.mg-builders-section::after{
    content:"";
    position:absolute;
    right:0;
    left:0;
    bottom:-1px;
    z-index:2;
    height:var(--mg-v200-divider);
    background:
        radial-gradient(120% 92% at 50% 100%,rgba(255,255,255,.86),transparent 63%),
        linear-gradient(90deg,transparent 0%,rgba(37,99,235,.28) 24%,rgba(124,58,237,.24) 54%,rgba(14,165,233,.18) 78%,transparent 100%);
    clip-path:ellipse(76% 64% at 50% 100%);
    pointer-events:none;
}
.dark .mg-builders-section::after{
    background:
        radial-gradient(120% 92% at 50% 100%,rgba(7,18,34,.86),transparent 63%),
        linear-gradient(90deg,transparent 0%,rgba(37,99,235,.35) 24%,rgba(124,58,237,.31) 54%,rgba(14,165,233,.22) 78%,transparent 100%);
}
.mg-builders-section__glow{opacity:.18 !important;filter:blur(76px) !important;}
.mg-builder-card{
    background:
        radial-gradient(circle at 0% 100%,rgba(37,99,235,.10),transparent 15rem),
        linear-gradient(145deg,var(--mg-v200-card-strong),var(--mg-v200-card)) !important;
    border-color:rgba(37,99,235,.14) !important;
    box-shadow:0 24px 72px rgba(30,64,175,.095),inset 0 1px 0 rgba(255,255,255,.58) !important;
}
.dark .mg-builder-card{
    background:
        radial-gradient(circle at 0% 100%,rgba(59,130,246,.15),transparent 15rem),
        linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.034)) !important;
    border-color:rgba(255,255,255,.09) !important;
    box-shadow:0 28px 78px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.07) !important;
}

/* 2) Market: آبی/سایان فروشگاهی، متفاوت از هیرو ولی هم‌خانواده */
.mg-pro-market-section{
    padding:clamp(5.55rem,7.2vw,7.8rem) 0 clamp(6.55rem,8.2vw,8.55rem) !important;
    background:
        radial-gradient(circle at 84% 9%,rgba(37,99,235,.22),transparent 28rem),
        radial-gradient(circle at 7% 70%,rgba(14,165,233,.15),transparent 25rem),
        radial-gradient(circle at 58% 102%,rgba(124,58,237,.08),transparent 29rem),
        linear-gradient(180deg,#fbfdff 0%,#eef8ff 48%,#f6fbff 100%) !important;
}
.dark .mg-pro-market-section{
    background:
        radial-gradient(circle at 84% 9%,rgba(37,99,235,.30),transparent 29rem),
        radial-gradient(circle at 7% 70%,rgba(14,165,233,.16),transparent 26rem),
        radial-gradient(circle at 58% 102%,rgba(124,58,237,.12),transparent 31rem),
        linear-gradient(180deg,#071322 0%,#081d35 48%,#071526 100%) !important;
}
.mg-pro-market-section::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background-image:
        linear-gradient(rgba(37,99,235,.058) 1px,transparent 1px),
        linear-gradient(90deg,rgba(14,165,233,.050) 1px,transparent 1px),
        radial-gradient(circle at 22% 20%,rgba(255,255,255,.62),transparent 23rem);
    background-size:42px 42px,42px 42px,auto;
    mask-image:linear-gradient(to bottom,transparent,#000 11%,#000 84%,transparent);
    opacity:.82;
    pointer-events:none;
}
.dark .mg-pro-market-section::before{
    background-image:
        linear-gradient(rgba(125,211,252,.058) 1px,transparent 1px),
        linear-gradient(90deg,rgba(96,165,250,.045) 1px,transparent 1px),
        radial-gradient(circle at 22% 20%,rgba(96,165,250,.08),transparent 24rem);
    opacity:.70;
}
.mg-pro-market-section::after{
    content:"";
    position:absolute;
    right:0;
    left:0;
    bottom:-1px;
    z-index:2;
    height:var(--mg-v200-divider);
    background:
        linear-gradient(180deg,rgba(255,255,255,0),rgba(248,245,255,.76)),
        linear-gradient(90deg,transparent,rgba(37,99,235,.30),rgba(14,165,233,.21),rgba(124,58,237,.24),transparent);
    clip-path:polygon(0 44%,9% 35%,18% 47%,29% 28%,39% 43%,51% 31%,63% 48%,76% 30%,88% 42%,100% 34%,100% 100%,0 100%);
    pointer-events:none;
}
.dark .mg-pro-market-section::after{
    background:
        linear-gradient(180deg,rgba(8,29,53,0),rgba(16,11,39,.74)),
        linear-gradient(90deg,transparent,rgba(37,99,235,.36),rgba(14,165,233,.24),rgba(124,58,237,.31),transparent);
}
.mg-pro-market-copy{
    background:
        radial-gradient(circle at 0% 100%,rgba(14,165,233,.12),transparent 16rem),
        linear-gradient(135deg,rgba(255,255,255,.95),rgba(235,247,255,.74)) !important;
    border-color:rgba(37,99,235,.18) !important;
    box-shadow:0 28px 80px rgba(30,64,175,.11),inset 0 1px 0 rgba(255,255,255,.65) !important;
}
.dark .mg-pro-market-copy{
    background:
        radial-gradient(circle at 0% 100%,rgba(14,165,233,.16),transparent 16rem),
        linear-gradient(135deg,rgba(15,31,56,.92),rgba(8,20,38,.74)) !important;
    border-color:rgba(96,165,250,.16) !important;
    box-shadow:0 30px 88px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.065) !important;
}
.mg-pro-market-more{
    background:linear-gradient(135deg,rgba(14,165,233,.10),rgba(37,99,235,.085),rgba(124,58,237,.055)) !important;
    border-color:rgba(37,99,235,.16) !important;
}

/* 3) Services: استودیوی بنفش/ایندیگو با جداکننده مورب متفاوت */
.mg-services-lab{
    padding:clamp(5.85rem,7.4vw,8rem) 0 clamp(6.45rem,8vw,8.45rem) !important;
    background:
        radial-gradient(circle at 18% 12%,rgba(124,58,237,.20),transparent 28rem),
        radial-gradient(circle at 92% 76%,rgba(219,39,119,.12),transparent 24rem),
        radial-gradient(circle at 50% 100%,rgba(37,99,235,.09),transparent 30rem),
        linear-gradient(135deg,#fff 0%,#f7f3ff 48%,#eef4ff 100%) !important;
}
.dark .mg-services-lab{
    background:
        radial-gradient(circle at 18% 12%,rgba(124,58,237,.31),transparent 29rem),
        radial-gradient(circle at 92% 76%,rgba(219,39,119,.16),transparent 25rem),
        radial-gradient(circle at 50% 100%,rgba(37,99,235,.12),transparent 31rem),
        linear-gradient(135deg,#0d0822 0%,#130a2c 48%,#080c18 100%) !important;
}
.mg-services-lab::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        linear-gradient(118deg,transparent 0 38%,rgba(124,58,237,.082) 38% 38.25%,transparent 38.25% 100%),
        linear-gradient(118deg,transparent 0 66%,rgba(219,39,119,.055) 66% 66.2%,transparent 66.2% 100%),
        radial-gradient(circle at 78% 14%,rgba(255,255,255,.64),transparent 22rem);
    opacity:.82;
    pointer-events:none;
}
.dark .mg-services-lab::before{
    background:
        linear-gradient(118deg,transparent 0 38%,rgba(167,139,250,.082) 38% 38.25%,transparent 38.25% 100%),
        linear-gradient(118deg,transparent 0 66%,rgba(244,114,182,.055) 66% 66.2%,transparent 66.2% 100%),
        radial-gradient(circle at 78% 14%,rgba(167,139,250,.075),transparent 23rem);
    opacity:.70;
}
.mg-services-lab::after{
    content:"";
    position:absolute;
    right:0;
    left:0;
    bottom:-1px;
    z-index:2;
    height:var(--mg-v200-divider);
    background:
        linear-gradient(180deg,rgba(247,243,255,0),rgba(255,249,237,.74)),
        linear-gradient(90deg,transparent,rgba(124,58,237,.30),rgba(219,39,119,.18),rgba(212,175,55,.22),transparent);
    clip-path:polygon(0 28%,12% 45%,26% 30%,39% 53%,52% 34%,66% 47%,80% 27%,100% 44%,100% 100%,0 100%);
    pointer-events:none;
}
.dark .mg-services-lab::after{
    background:
        linear-gradient(180deg,rgba(19,10,44,0),rgba(28,20,12,.72)),
        linear-gradient(90deg,transparent,rgba(124,58,237,.36),rgba(219,39,119,.22),rgba(212,175,55,.24),transparent);
}
.mg-services-lab__grid{opacity:.34 !important;}
.mg-services-lab-card{
    background:
        radial-gradient(circle at 100% 0%,var(--lab-glow),transparent 12rem),
        linear-gradient(150deg,rgba(255,255,255,.92),rgba(255,255,255,.66)) !important;
    border-color:rgba(124,58,237,.14) !important;
    box-shadow:0 24px 72px rgba(88,28,135,.10),inset 0 1px 0 rgba(255,255,255,.58) !important;
}
.dark .mg-services-lab-card{
    background:
        radial-gradient(circle at 100% 0%,var(--lab-glow),transparent 12rem),
        linear-gradient(150deg,rgba(255,255,255,.078),rgba(255,255,255,.034)) !important;
    border-color:rgba(255,255,255,.09) !important;
    box-shadow:0 28px 78px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.07) !important;
}

/* 4) Portfolio: پایان گرم و لوکس با طلایی ملایم؛ متفاوت از مارکت و خدمات */
.mg-portfolio-compact{
    padding:clamp(5.6rem,7.1vw,7.75rem) 0 clamp(5.55rem,7vw,7.3rem) !important;
    background:
        radial-gradient(circle at 14% 10%,rgba(212,175,55,.22),transparent 24rem),
        radial-gradient(circle at 88% 78%,rgba(124,58,237,.12),transparent 27rem),
        radial-gradient(circle at 38% 102%,rgba(37,99,235,.08),transparent 31rem),
        linear-gradient(180deg,#fffaf2 0%,#fff7e8 48%,#ffffff 100%) !important;
}
.dark .mg-portfolio-compact{
    background:
        radial-gradient(circle at 14% 10%,rgba(212,175,55,.18),transparent 25rem),
        radial-gradient(circle at 88% 78%,rgba(124,58,237,.18),transparent 27rem),
        radial-gradient(circle at 38% 102%,rgba(37,99,235,.10),transparent 31rem),
        linear-gradient(180deg,#160f09 0%,#11101b 48%,#070810 100%) !important;
}
.mg-portfolio-compact::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        radial-gradient(circle at 50% 18%,rgba(255,255,255,.62),transparent 23rem),
        repeating-linear-gradient(135deg,rgba(212,175,55,.078) 0 1px,transparent 1px 18px);
    mask-image:linear-gradient(to bottom,transparent,#000 16%,#000 88%,transparent);
    opacity:.70;
    pointer-events:none;
}
.dark .mg-portfolio-compact::before{
    background:
        radial-gradient(circle at 50% 18%,rgba(250,204,21,.07),transparent 24rem),
        repeating-linear-gradient(135deg,rgba(250,204,21,.056) 0 1px,transparent 1px 18px);
    opacity:.58;
}
.mg-portfolio-compact::after{
    content:"";
    position:absolute;
    right:7% !important;
    left:7% !important;
    bottom:1.45rem !important;
    z-index:2;
    height:1px !important;
    clip-path:none !important;
    background:linear-gradient(90deg,transparent,rgba(212,175,55,.52),rgba(124,58,237,.25),rgba(37,99,235,.18),transparent) !important;
    pointer-events:none;
}
.mg-portfolio-shell{
    background:
        radial-gradient(circle at 0% 0%,rgba(212,175,55,.11),transparent 18rem),
        linear-gradient(145deg,rgba(255,255,255,.90),rgba(255,248,237,.72)) !important;
    border-color:rgba(212,175,55,.22) !important;
    box-shadow:0 30px 84px rgba(120,72,18,.11),inset 0 1px 0 rgba(255,255,255,.62) !important;
}
.dark .mg-portfolio-shell{
    background:
        radial-gradient(circle at 0% 0%,rgba(212,175,55,.11),transparent 18rem),
        linear-gradient(145deg,rgba(255,255,255,.072),rgba(255,255,255,.032)) !important;
    border-color:rgba(212,175,55,.16) !important;
    box-shadow:0 30px 88px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.07) !important;
}
.mg-portfolio-card{
    box-shadow:0 20px 58px rgba(120,72,18,.075) !important;
}
.dark .mg-portfolio-card{
    box-shadow:0 22px 62px rgba(0,0,0,.28) !important;
}

@media (max-width:760px){
    :root{--mg-v200-divider:3.85rem;}
    .mg-builders-section,
    .mg-pro-market-section,
    .mg-services-lab,
    .mg-portfolio-compact{
        padding-top:4.85rem !important;
        padding-bottom:5.25rem !important;
    }
    .mg-builders-section::after{
        clip-path:ellipse(92% 60% at 50% 100%);
    }
    .mg-pro-market-section::after{
        clip-path:polygon(0 46%,18% 36%,38% 50%,58% 33%,78% 45%,100% 34%,100% 100%,0 100%);
    }
    .mg-services-lab::after{
        clip-path:polygon(0 32%,19% 48%,39% 31%,58% 52%,78% 34%,100% 47%,100% 100%,0 100%);
    }
    .mg-pro-market-copy,
    .mg-portfolio-shell{
        border-radius:1.75rem !important;
    }
}

/* Products archive redesign v2.0.1
   هدف: همسان‌سازی صفحه /products با کارت‌های بخش محصولات صفحه اصلی، حذف پترن و طراحی هیروی خلوت‌تر. */
.mg-product-archive-section.mg-products-archive{
    padding:8.7rem 0 5.8rem;
    background:
        radial-gradient(circle at 88% 10%,rgba(37,99,235,.16),transparent 30%),
        radial-gradient(circle at 8% 24%,rgba(124,58,237,.14),transparent 32%),
        radial-gradient(circle at 50% 100%,rgba(212,175,55,.08),transparent 38%),
        linear-gradient(180deg,var(--bg-main) 0%,var(--bg-panel) 48%,var(--bg-main) 100%) !important;
    border-bottom:1px solid rgba(148,163,184,.12);
}
.mg-product-archive-section.mg-products-archive:before,
.mg-product-archive-section.mg-products-archive::before{
    display:none !important;
    content:none !important;
    background:none !important;
}
.mg-products-archive__orb{
    position:absolute;
    z-index:0;
    width:28rem;
    height:28rem;
    border-radius:999px;
    filter:blur(110px);
    opacity:.24;
    pointer-events:none;
}
.mg-products-archive__orb--blue{
    top:5rem;
    right:-10rem;
    background:var(--mg-polish-blue);
}
.mg-products-archive__orb--purple{
    left:-11rem;
    bottom:8rem;
    background:var(--mg-polish-purple);
}
.mg-products-hero{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
    gap:1.25rem;
    align-items:stretch;
    margin-bottom:1.45rem;
}
.mg-products-hero__main,
.mg-products-hero__panel{
    position:relative;
    overflow:hidden;
    border-radius:2.1rem;
    background:linear-gradient(135deg,var(--mg-polish-card-strong),var(--mg-polish-card));
    border:1px solid var(--mg-polish-border);
    box-shadow:var(--mg-polish-shadow);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}
.mg-products-hero__main{
    padding:clamp(1.35rem,2.6vw,2.35rem);
}
.mg-products-hero__main:after{
    content:"";
    position:absolute;
    inset:auto auto -7rem -7rem;
    width:17rem;
    height:17rem;
    border-radius:999px;
    background:linear-gradient(135deg,rgba(37,99,235,.18),rgba(124,58,237,.13));
    pointer-events:none;
}
.mg-products-hero__main>*{
    position:relative;
    z-index:1;
}
.mg-products-hero__kicker{
    display:inline-flex;
    align-items:center;
    gap:.55rem;
    margin-bottom:1rem;
    padding:.58rem .92rem;
    border-radius:999px;
    background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(124,58,237,.08));
    border:1px solid rgba(96,165,250,.18);
    color:#2563eb;
    font-size:.76rem;
    font-weight:950;
}
.dark .mg-products-hero__kicker{
    color:#bfdbfe;
    background:linear-gradient(135deg,rgba(37,99,235,.17),rgba(124,58,237,.13));
    border-color:rgba(96,165,250,.18);
}
.mg-products-hero__kicker i{color:var(--mg-polish-purple);}
.dark .mg-products-hero__kicker i{color:#d8b4fe;}
.mg-products-hero h1{
    max-width:830px;
    margin:0 0 .85rem;
    color:var(--text-main);
    font-size:clamp(2.05rem,4.2vw,3.55rem);
    line-height:1.26;
    font-weight:1000;
    letter-spacing:-.045em;
}
.mg-products-hero p{
    max-width:820px;
    margin:0;
    color:var(--text-muted);
    font-size:1rem;
    line-height:2.06;
    font-weight:720;
}
.mg-products-hero__search{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:.72rem;
    max-width:780px;
    min-height:58px;
    margin-top:1.35rem;
    padding:.45rem .55rem;
    border-radius:1.35rem;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(148,163,184,.18);
    box-shadow:0 18px 46px rgba(15,23,42,.065);
}
.dark .mg-products-hero__search{
    background:rgba(255,255,255,.055);
    border-color:rgba(255,255,255,.09);
    box-shadow:0 18px 46px rgba(0,0,0,.22);
}
.mg-products-hero__search>i{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border-radius:1rem;
    background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(124,58,237,.10));
    color:#2563eb;
}
.dark .mg-products-hero__search>i{color:#bfdbfe;}
.mg-products-hero__search input{
    width:100%;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text-main);
    font-family:'Vazirmatn',sans-serif;
    font-size:.92rem;
    font-weight:800;
}
.mg-products-hero__search input::placeholder{color:var(--text-muted);opacity:.78;}
.mg-products-hero__search button{
    min-height:44px;
    padding:.74rem 1.1rem;
    border:0;
    border-radius:1.05rem;
    background:linear-gradient(135deg,var(--mg-polish-blue),var(--mg-polish-purple));
    color:#fff;
    font-family:'Vazirmatn',sans-serif;
    font-size:.8rem;
    font-weight:950;
    cursor:pointer;
    box-shadow:0 15px 32px rgba(37,99,235,.20);
    transition:transform .18s ease,box-shadow .18s ease;
}
.mg-products-hero__search button:hover{
    transform:translateY(-2px);
    box-shadow:0 20px 42px rgba(124,58,237,.28);
}
.mg-products-hero__trusts{
    display:flex;
    flex-wrap:wrap;
    gap:.65rem;
    margin-top:1.1rem;
}
.mg-products-hero__trusts span{
    display:inline-flex;
    align-items:center;
    gap:.45rem;
    padding:.64rem .88rem;
    border-radius:999px;
    background:rgba(255,255,255,.62);
    border:1px solid rgba(148,163,184,.15);
    color:var(--text-muted);
    font-size:.74rem;
    line-height:1.7;
    font-weight:900;
}
.dark .mg-products-hero__trusts span{
    background:rgba(255,255,255,.045);
    border-color:rgba(255,255,255,.08);
}
.mg-products-hero__trusts i{color:#2563eb;}
.dark .mg-products-hero__trusts i{color:#93c5fd;}
.mg-products-hero__panel{
    display:flex;
    flex-direction:column;
    gap:1rem;
    padding:1.18rem;
}
.mg-products-hero__panel-head{
    display:flex;
    align-items:center;
    gap:.85rem;
    padding:.25rem .2rem .15rem;
}
.mg-products-hero__panel-head>span{
    display:grid;
    place-items:center;
    width:48px;
    height:48px;
    flex:0 0 auto;
    border-radius:1.15rem;
    background:linear-gradient(135deg,var(--mg-polish-blue),var(--mg-polish-purple));
    color:#fff;
    box-shadow:0 15px 32px rgba(37,99,235,.18);
}
.mg-products-hero__panel-head strong{
    display:block;
    color:var(--text-main);
    font-size:1.08rem;
    line-height:1.55;
    font-weight:1000;
}
.mg-products-hero__panel-head small{
    display:block;
    color:var(--text-muted);
    font-size:.72rem;
    line-height:1.8;
    font-weight:850;
}
.mg-products-hero__stats{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.62rem;
}
.mg-products-hero__stats div{
    min-width:0;
    padding:.92rem .62rem;
    border-radius:1.25rem;
    background:rgba(255,255,255,.58);
    border:1px solid rgba(148,163,184,.15);
    text-align:center;
}
.dark .mg-products-hero__stats div{
    background:rgba(255,255,255,.045);
    border-color:rgba(255,255,255,.08);
}
.mg-products-hero__stats strong{
    display:block;
    color:var(--text-main);
    font-size:1.18rem;
    line-height:1.2;
    font-weight:1000;
}
.mg-products-hero__stats span{
    display:block;
    margin-top:.34rem;
    color:var(--text-muted);
    font-size:.68rem;
    line-height:1.7;
    font-weight:850;
}
.mg-products-hero__categories{
    display:flex;
    flex-wrap:wrap;
    gap:.52rem;
    margin-top:auto;
    padding-top:.15rem;
}
.mg-products-hero__categories a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:39px;
    padding:.58rem .82rem;
    border-radius:999px;
    background:rgba(148,163,184,.08);
    border:1px solid rgba(148,163,184,.14);
    color:var(--text-muted);
    font-size:.73rem;
    line-height:1.65;
    font-weight:900;
    transition:transform .18s ease,color .18s ease,background .18s ease,border-color .18s ease;
}
.dark .mg-products-hero__categories a{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.08);
}
.mg-products-hero__categories a:hover{
    transform:translateY(-2px);
    color:var(--text-main);
    border-color:rgba(96,165,250,.22);
}
.mg-products-hero__categories a.is-active{
    background:linear-gradient(135deg,var(--mg-polish-blue),var(--mg-polish-purple));
    border-color:transparent;
    color:#fff;
    box-shadow:0 14px 30px rgba(37,99,235,.22);
}
.mg-products-archive .mg-catalog-filter-shell{
    margin:1.45rem 0 1.08rem;
    border-radius:1.85rem;
    background:linear-gradient(135deg,var(--mg-polish-card-strong),var(--mg-polish-card));
    border-color:var(--mg-polish-border);
    box-shadow:var(--mg-polish-shadow);
}
.mg-products-archive .mg-product-filter-panel{
    align-items:end;
}
.mg-products-archive .mg-archive-toolbar{
    margin:1rem 0 1.2rem;
}
.mg-products-archive-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:1.25rem;
    align-items:stretch;
}
.mg-products-archive-grid .mg-pro-product-card{
    min-height:100%;
}
.mg-products-archive .mg-pagination{
    margin-top:2rem;
}

@media(max-width:1180px){
    .mg-products-hero{
        grid-template-columns:1fr;
    }
    .mg-products-hero__panel{
        display:grid;
        grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);
        align-items:center;
    }
    .mg-products-hero__categories{
        grid-column:1/-1;
    }
    .mg-products-archive-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:820px){
    .mg-product-archive-section.mg-products-archive{
        padding:7.4rem 0 4.6rem;
    }
    .mg-products-hero__main,
    .mg-products-hero__panel,
    .mg-products-archive .mg-catalog-filter-shell{
        border-radius:1.55rem;
    }
    .mg-products-hero__main{
        padding:1.2rem;
    }
    .mg-products-hero h1{
        font-size:1.9rem;
        line-height:1.35;
    }
    .mg-products-hero p{
        font-size:.9rem;
        line-height:1.95;
    }
    .mg-products-hero__search{
        grid-template-columns:auto minmax(0,1fr);
        gap:.55rem;
        min-height:0;
    }
    .mg-products-hero__search button{
        grid-column:1/-1;
        width:100%;
    }
    .mg-products-hero__panel{
        grid-template-columns:1fr;
    }
    .mg-products-hero__stats{
        grid-template-columns:1fr 1fr 1fr;
    }
    .mg-products-archive-grid{
        grid-template-columns:1fr;
    }
}
@media(max-width:520px){
    .mg-products-hero__stats{
        grid-template-columns:1fr;
    }
    .mg-products-hero__trusts,
    .mg-products-hero__categories{
        display:grid;
        grid-template-columns:1fr;
    }
    .mg-products-hero__trusts span,
    .mg-products-hero__categories a{
        justify-content:center;
    }
    .mg-products-archive .mg-catalog-filter-shell__head{
        align-items:flex-start;
        flex-direction:column;
    }
    .mg-products-archive .mg-catalog-filter-shell__summary{
        justify-content:flex-start;
    }
}


/* 5) Products Archive Hero v2.0.2: هیروی خلوت‌تر، جمع‌وجورتر و لوکس‌تر برای /products */
.mg-products-hero{
    margin-bottom:1.25rem;
}
.mg-products-hero__surface{
    position:relative;
    overflow:hidden;
    padding:1.35rem;
    border-radius:1.9rem;
    background:
        radial-gradient(circle at 100% 0%,rgba(212,175,55,.16),transparent 26%),
        radial-gradient(circle at 0% 100%,rgba(37,99,235,.10),transparent 24%),
        linear-gradient(135deg,rgba(255,255,255,.92),rgba(255,255,255,.74));
    border:1px solid rgba(148,163,184,.16);
    box-shadow:0 24px 60px rgba(15,23,42,.08);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
}
.dark .mg-products-hero__surface{
    background:
        radial-gradient(circle at 100% 0%,rgba(212,175,55,.14),transparent 26%),
        radial-gradient(circle at 0% 100%,rgba(37,99,235,.12),transparent 24%),
        linear-gradient(135deg,rgba(13,17,29,.92),rgba(11,14,24,.84));
    border-color:rgba(255,255,255,.08);
    box-shadow:0 24px 60px rgba(0,0,0,.24);
}
.mg-products-hero__surface::before{
    content:"";
    position:absolute;
    inset:0 auto auto 0;
    width:100%;
    height:1px;
    background:linear-gradient(90deg,rgba(212,175,55,.0),rgba(212,175,55,.8),rgba(37,99,235,.0));
    opacity:.82;
}
.mg-products-hero__content{
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
    gap:1rem 1.2rem;
    align-items:center;
}
.mg-products-hero__copy{
    min-width:0;
}
.mg-products-hero__eyebrow{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    margin-bottom:.8rem;
    padding:.48rem .82rem;
    border-radius:999px;
    background:rgba(15,23,42,.04);
    border:1px solid rgba(148,163,184,.16);
    color:#1e40af;
    font-size:.73rem;
    line-height:1.6;
    font-weight:950;
}
.dark .mg-products-hero__eyebrow{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.08);
    color:#dbeafe;
}
.mg-products-hero__eyebrow i{color:var(--mg-polish-gold);}
.mg-products-hero h1{
    max-width:760px;
    margin:0 0 .65rem;
    color:var(--text-main);
    font-size:clamp(1.55rem,2.7vw,2.35rem);
    line-height:1.42;
    font-weight:1000;
    letter-spacing:-.03em;
}
.mg-products-hero p{
    max-width:700px;
    margin:0;
    color:var(--text-muted);
    font-size:.93rem;
    line-height:1.95;
    font-weight:760;
}
.mg-products-hero__quick{
    display:grid;
    gap:.82rem;
    min-width:0;
}
.mg-products-hero__meta{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.6rem;
}
.mg-products-hero__meta-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:74px;
    padding:.75rem .5rem;
    border-radius:1.15rem;
    background:rgba(255,255,255,.64);
    border:1px solid rgba(148,163,184,.14);
    text-align:center;
}
.dark .mg-products-hero__meta-item{
    background:rgba(255,255,255,.045);
    border-color:rgba(255,255,255,.075);
}
.mg-products-hero__meta-item strong{
    color:var(--text-main);
    font-size:1.05rem;
    line-height:1.15;
    font-weight:1000;
}
.mg-products-hero__meta-item small{
    margin-top:.26rem;
    color:var(--text-muted);
    font-size:.68rem;
    line-height:1.7;
    font-weight:850;
}
.mg-products-hero__search{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:.65rem;
    min-height:54px;
    margin-top:0;
    padding:.42rem .48rem;
    border-radius:1.15rem;
    background:rgba(255,255,255,.86);
    border:1px solid rgba(148,163,184,.16);
    box-shadow:0 12px 28px rgba(15,23,42,.05);
}
.dark .mg-products-hero__search{
    background:rgba(255,255,255,.05);
    border-color:rgba(255,255,255,.08);
    box-shadow:none;
}
.mg-products-hero__search > i{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    border-radius:.95rem;
    background:linear-gradient(135deg,rgba(212,175,55,.18),rgba(37,99,235,.10));
    color:#1d4ed8;
}
.dark .mg-products-hero__search > i{color:#dbeafe;}
.mg-products-hero__search input{
    width:100%;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text-main);
    font-family:'Vazirmatn',sans-serif;
    font-size:.88rem;
    font-weight:800;
}
.mg-products-hero__search button{
    min-height:40px;
    padding:.68rem 1rem;
    border:0;
    border-radius:.95rem;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    font-family:'Vazirmatn',sans-serif;
    font-size:.78rem;
    font-weight:950;
    cursor:pointer;
    box-shadow:0 12px 24px rgba(37,99,235,.18);
    transition:transform .18s ease,box-shadow .18s ease;
}
.mg-products-hero__search button:hover{
    transform:translateY(-1px);
    box-shadow:0 16px 30px rgba(37,99,235,.22);
}
.mg-products-hero__meta-note{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:.55rem;
}
.mg-products-hero__meta-note span{
    display:inline-flex;
    align-items:center;
    gap:.38rem;
    padding:.45rem .74rem;
    border-radius:999px;
    background:rgba(148,163,184,.08);
    border:1px solid rgba(148,163,184,.14);
    color:var(--text-muted);
    font-size:.72rem;
    font-weight:900;
}
.dark .mg-products-hero__meta-note span{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.08);
}
.mg-products-hero__meta-note i{color:var(--mg-polish-gold);}
.mg-products-hero__links{
    display:flex;
    flex-wrap:wrap;
    gap:.5rem;
    margin-top:1rem;
    padding-top:.95rem;
    border-top:1px solid rgba(148,163,184,.12);
}
.dark .mg-products-hero__links{border-top-color:rgba(255,255,255,.07);}
.mg-products-hero__links a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:.54rem .85rem;
    border-radius:999px;
    background:rgba(255,255,255,.56);
    border:1px solid rgba(148,163,184,.14);
    color:var(--text-muted);
    font-size:.72rem;
    line-height:1.6;
    font-weight:900;
    transition:transform .18s ease,color .18s ease,border-color .18s ease,background .18s ease;
}
.dark .mg-products-hero__links a{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.08);
}
.mg-products-hero__links a:hover{
    transform:translateY(-1px);
    color:var(--text-main);
    border-color:rgba(212,175,55,.28);
}
.mg-products-hero__links a.is-active{
    background:linear-gradient(135deg,rgba(212,175,55,.15),rgba(37,99,235,.14));
    border-color:rgba(212,175,55,.22);
    color:var(--text-main);
}
@media(max-width:1180px){
    .mg-products-hero__content{
        grid-template-columns:1fr;
    }
}
@media(max-width:820px){
    .mg-products-hero__surface{
        padding:1.05rem;
        border-radius:1.5rem;
    }
    .mg-products-hero h1{
        font-size:1.65rem;
        line-height:1.45;
    }
    .mg-products-hero p{
        font-size:.88rem;
    }
    .mg-products-hero__meta{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .mg-products-hero__search{
        grid-template-columns:auto minmax(0,1fr);
    }
    .mg-products-hero__search button{
        grid-column:1/-1;
        width:100%;
    }
}
@media(max-width:560px){
    .mg-products-hero__meta{
        grid-template-columns:1fr;
    }
    .mg-products-hero__links{
        display:grid;
        grid-template-columns:1fr 1fr;
    }
    .mg-products-hero__links a,
    .mg-products-hero__meta-note span{
        justify-content:center;
    }
}
@media(max-width:420px){
    .mg-products-hero__links{
        grid-template-columns:1fr;
    }
}


/* 6) Products Archive Hero v2.0.3: نزدیک‌تر به استایل ژاکت / راست‌چین */
.mg-products-hero{
    margin-bottom:1.35rem;
}
.mg-products-hero__surface{
    position:relative;
    overflow:hidden;
    padding:1.3rem;
    border-radius:1.9rem;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
    border:1px solid rgba(226,232,240,.95);
    box-shadow:0 24px 60px rgba(15,23,42,.08);
}
.dark .mg-products-hero__surface{
    background:linear-gradient(180deg,#111827 0%,#0f172a 100%);
    border-color:rgba(255,255,255,.08);
    box-shadow:0 24px 60px rgba(0,0,0,.28);
}
.mg-products-hero__surface::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 100% 0%,rgba(59,130,246,.09),transparent 24%),
        radial-gradient(circle at 0% 100%,rgba(16,185,129,.08),transparent 20%),
        linear-gradient(90deg,rgba(245,158,11,.08),transparent 28%);
    pointer-events:none;
}
.mg-products-hero__surface::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    left:0;
    height:4px;
    background:linear-gradient(90deg,#10b981 0%,#3b82f6 52%,#f59e0b 100%);
}
.mg-products-hero__layout{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
    gap:1rem 1.15rem;
    align-items:stretch;
}
.mg-products-hero__main,
.mg-products-hero__spotlight{
    min-width:0;
    border-radius:1.55rem;
}
.mg-products-hero__main{
    padding:.15rem;
}
.mg-products-hero__topline{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:.55rem;
    margin-bottom:.9rem;
}
.mg-products-hero__eyebrow,
.mg-products-hero__signal{
    display:inline-flex;
    align-items:center;
    gap:.42rem;
    min-height:38px;
    padding:.48rem .82rem;
    border-radius:999px;
    font-size:.72rem;
    font-weight:950;
    line-height:1.6;
}
.mg-products-hero__eyebrow{
    background:rgba(59,130,246,.08);
    border:1px solid rgba(59,130,246,.14);
    color:#1d4ed8;
}
.mg-products-hero__signal{
    background:rgba(245,158,11,.10);
    border:1px solid rgba(245,158,11,.18);
    color:#92400e;
}
.dark .mg-products-hero__eyebrow{
    background:rgba(59,130,246,.12);
    border-color:rgba(96,165,250,.18);
    color:#dbeafe;
}
.dark .mg-products-hero__signal{
    background:rgba(245,158,11,.12);
    border-color:rgba(245,158,11,.16);
    color:#fde68a;
}
.mg-products-hero__eyebrow i,
.mg-products-hero__signal i{font-size:.85em;}
.mg-products-hero h1{
    max-width:780px;
    margin:0 0 .72rem;
    color:var(--text-main);
    font-size:clamp(1.72rem,3vw,2.55rem);
    line-height:1.35;
    font-weight:1000;
    letter-spacing:-.03em;
}
.mg-products-hero p{
    max-width:740px;
    margin:0;
    color:var(--text-muted);
    font-size:.94rem;
    line-height:1.95;
    font-weight:760;
}
.mg-products-hero__search{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:.62rem;
    max-width:780px;
    min-height:60px;
    margin-top:1.12rem;
    padding:.52rem;
    border-radius:1.2rem;
    background:#fff;
    border:1px solid rgba(203,213,225,.9);
    box-shadow:0 16px 32px rgba(15,23,42,.06);
}
.dark .mg-products-hero__search{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.08);
    box-shadow:none;
}
.mg-products-hero__search>i{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border-radius:1rem;
    background:rgba(59,130,246,.08);
    color:#2563eb;
}
.dark .mg-products-hero__search>i{
    background:rgba(59,130,246,.12);
    color:#dbeafe;
}
.mg-products-hero__search input{
    width:100%;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text-main);
    font-family:'Vazirmatn',sans-serif;
    font-size:.9rem;
    font-weight:800;
}
.mg-products-hero__search button{
    min-height:44px;
    padding:.74rem 1.05rem;
    border:0;
    border-radius:1rem;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    font-family:'Vazirmatn',sans-serif;
    font-size:.78rem;
    font-weight:950;
    white-space:nowrap;
    cursor:pointer;
    box-shadow:0 14px 28px rgba(37,99,235,.18);
    transition:transform .18s ease,box-shadow .18s ease;
}
.mg-products-hero__search button:hover{
    transform:translateY(-1px);
    box-shadow:0 18px 32px rgba(37,99,235,.22);
}
.mg-products-hero__trusts{
    display:flex;
    flex-wrap:wrap;
    gap:.6rem;
    margin-top:.95rem;
}
.mg-products-hero__trusts span{
    display:inline-flex;
    align-items:center;
    gap:.42rem;
    padding:.52rem .76rem;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(226,232,240,.95);
    color:var(--text-muted);
    font-size:.72rem;
    font-weight:900;
}
.dark .mg-products-hero__trusts span{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.08);
}
.mg-products-hero__trusts i{color:#10b981;}
.mg-products-hero__categories{
    display:flex;
    flex-wrap:wrap;
    gap:.55rem;
    margin-top:1rem;
    padding-top:1rem;
    border-top:1px dashed rgba(203,213,225,.9);
}
.dark .mg-products-hero__categories{border-top-color:rgba(255,255,255,.08);}
.mg-products-hero__categories a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:.56rem .86rem;
    border-radius:999px;
    background:rgba(248,250,252,.95);
    border:1px solid rgba(203,213,225,.85);
    color:var(--text-muted);
    font-size:.73rem;
    line-height:1.65;
    font-weight:900;
    transition:all .18s ease;
}
.dark .mg-products-hero__categories a{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.08);
}
.mg-products-hero__categories a:hover{
    transform:translateY(-1px);
    color:var(--text-main);
    border-color:rgba(59,130,246,.28);
}
.mg-products-hero__categories a.is-active{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    border-color:transparent;
    color:#fff;
    box-shadow:0 12px 24px rgba(37,99,235,.16);
}
.mg-products-hero__spotlight{
    display:flex;
    flex-direction:column;
    gap:.9rem;
    padding:1rem;
    background:linear-gradient(180deg,rgba(248,250,252,.9),rgba(255,255,255,.94));
    border:1px solid rgba(226,232,240,.95);
}
.dark .mg-products-hero__spotlight{
    background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.04));
    border-color:rgba(255,255,255,.08);
}
.mg-products-hero__spotlight-head{
    display:flex;
    align-items:center;
    gap:.8rem;
}
.mg-products-hero__spotlight-icon{
    width:50px;
    height:50px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:1.1rem;
    background:linear-gradient(135deg,#2563eb,#10b981);
    color:#fff;
    box-shadow:0 14px 28px rgba(37,99,235,.18);
}
.mg-products-hero__spotlight-head strong{
    display:block;
    color:var(--text-main);
    font-size:1rem;
    font-weight:1000;
    line-height:1.6;
}
.mg-products-hero__spotlight-head small{
    display:block;
    color:var(--text-muted);
    font-size:.72rem;
    font-weight:850;
    line-height:1.8;
}
.mg-products-hero__stats{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.6rem;
}
.mg-products-hero__stats div{
    min-width:0;
    padding:.82rem .45rem;
    border-radius:1.1rem;
    background:#fff;
    border:1px solid rgba(226,232,240,.95);
    text-align:center;
}
.dark .mg-products-hero__stats div{
    background:rgba(255,255,255,.045);
    border-color:rgba(255,255,255,.08);
}
.mg-products-hero__stats strong{
    display:block;
    color:var(--text-main);
    font-size:1.08rem;
    font-weight:1000;
    line-height:1.2;
}
.mg-products-hero__stats span{
    display:block;
    margin-top:.22rem;
    color:var(--text-muted);
    font-size:.67rem;
    font-weight:850;
    line-height:1.7;
}
.mg-products-hero__benefits{
    display:grid;
    gap:.55rem;
}
.mg-products-hero__benefits span{
    display:flex;
    align-items:flex-start;
    gap:.48rem;
    padding:.7rem .82rem;
    border-radius:1rem;
    background:#fff;
    border:1px solid rgba(226,232,240,.95);
    color:var(--text-muted);
    font-size:.74rem;
    line-height:1.8;
    font-weight:880;
}
.dark .mg-products-hero__benefits span{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.08);
}
.mg-products-hero__benefits i{
    margin-top:.16rem;
    color:#10b981;
}
.mg-products-hero__actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:.65rem;
    margin-top:auto;
}
.mg-products-hero__actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:.78rem .9rem;
    border-radius:1rem;
    text-decoration:none;
    font-size:.78rem;
    font-weight:950;
    line-height:1.5;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease,color .18s ease;
}
.mg-products-hero__actions a:hover{transform:translateY(-1px);}
.mg-products-hero__actions a.is-primary{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    box-shadow:0 14px 28px rgba(37,99,235,.18);
}
.mg-products-hero__actions a.is-secondary{
    background:#fff;
    color:var(--text-main);
    border:1px solid rgba(203,213,225,.95);
}
.dark .mg-products-hero__actions a.is-secondary{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.08);
    color:#fff;
}
@media(max-width:1180px){
    .mg-products-hero__layout{
        grid-template-columns:1fr;
    }
}
@media(max-width:820px){
    .mg-products-hero__surface{
        padding:1rem;
        border-radius:1.5rem;
    }
    .mg-products-hero h1{
        font-size:1.7rem;
        line-height:1.42;
    }
    .mg-products-hero p{
        font-size:.89rem;
    }
    .mg-products-hero__search{
        grid-template-columns:auto minmax(0,1fr);
    }
    .mg-products-hero__search button{
        grid-column:1/-1;
        width:100%;
    }
    .mg-products-hero__actions{
        grid-template-columns:1fr;
    }
}
@media(max-width:560px){
    .mg-products-hero__stats{
        grid-template-columns:1fr;
    }
    .mg-products-hero__trusts,
    .mg-products-hero__categories{
        display:grid;
        grid-template-columns:1fr;
    }
    .mg-products-hero__trusts span,
    .mg-products-hero__categories a{
        justify-content:center;
    }
}


/* 6) Products Archive Hero v2.0.3: ویترین فروشگاهی الهام‌گرفته از مارکت‌پلیس‌های ایرانی */
.mg-products-hero--marketplace{
    display:block;
    margin-bottom:1.3rem;
}
.mg-products-market-hero{
    position:relative;
    isolation:isolate;
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
    gap:1.15rem;
    align-items:stretch;
    overflow:hidden;
    padding:1.25rem;
    border-radius:2.15rem;
    background:
        radial-gradient(circle at 8% 12%,rgba(250,204,21,.18),transparent 27%),
        radial-gradient(circle at 88% 85%,rgba(37,99,235,.16),transparent 31%),
        linear-gradient(135deg,#ffffff 0%,#f8fafc 46%,#eef5ff 100%);
    border:1px solid rgba(148,163,184,.17);
    box-shadow:0 30px 80px rgba(15,23,42,.095);
}
.dark .mg-products-market-hero{
    background:
        radial-gradient(circle at 8% 12%,rgba(250,204,21,.16),transparent 27%),
        radial-gradient(circle at 88% 85%,rgba(37,99,235,.18),transparent 31%),
        linear-gradient(135deg,#0d1220 0%,#0a0e19 48%,#101827 100%);
    border-color:rgba(255,255,255,.09);
    box-shadow:0 30px 80px rgba(0,0,0,.32);
}
.mg-products-market-hero::before,
.mg-products-market-hero::after{
    content:"";
    position:absolute;
    z-index:-1;
    pointer-events:none;
}
.mg-products-market-hero::before{
    inset:-1px;
    border-radius:inherit;
    background:linear-gradient(90deg,rgba(212,175,55,.58),rgba(37,99,235,.20),rgba(124,58,237,.28),rgba(212,175,55,.42));
    mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    mask-composite:exclude;
    -webkit-mask-composite:xor;
    padding:1px;
    opacity:.82;
}
.mg-products-market-hero::after{
    width:19rem;
    height:19rem;
    left:-7rem;
    bottom:-8rem;
    border-radius:999px;
    background:linear-gradient(135deg,rgba(37,99,235,.18),rgba(212,175,55,.13));
    filter:blur(10px);
    opacity:.95;
}
.mg-products-market-hero__copy{
    position:relative;
    z-index:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
    padding:.75rem .55rem .75rem .15rem;
}
.mg-products-market-hero__labels{
    display:flex;
    flex-wrap:wrap;
    gap:.55rem;
    margin-bottom:.92rem;
}
.mg-products-market-hero__labels span{
    display:inline-flex;
    align-items:center;
    gap:.46rem;
    min-height:34px;
    padding:.45rem .78rem;
    border-radius:999px;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(148,163,184,.16);
    color:#1e3a8a;
    font-size:.72rem;
    line-height:1.65;
    font-weight:950;
    box-shadow:0 10px 22px rgba(15,23,42,.045);
}
.dark .mg-products-market-hero__labels span{
    background:rgba(255,255,255,.05);
    border-color:rgba(255,255,255,.085);
    color:#dbeafe;
    box-shadow:none;
}
.mg-products-market-hero__labels i{color:var(--mg-polish-gold);}
.mg-products-hero--marketplace h1{
    max-width:790px;
    margin:0 0 .72rem;
    color:var(--text-main);
    font-size:clamp(1.9rem,3.8vw,3.15rem);
    line-height:1.32;
    font-weight:1000;
    letter-spacing:-.045em;
}
.mg-products-hero--marketplace p{
    max-width:760px;
    margin:0;
    color:var(--text-muted);
    font-size:.98rem;
    line-height:2.02;
    font-weight:780;
}
.mg-products-market-hero__search{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:.65rem;
    max-width:760px;
    min-height:64px;
    margin:1.28rem 0 .85rem;
    padding:.54rem .58rem;
    border-radius:1.32rem;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(148,163,184,.17);
    box-shadow:0 18px 44px rgba(15,23,42,.08);
}
.dark .mg-products-market-hero__search{
    background:rgba(255,255,255,.065);
    border-color:rgba(255,255,255,.09);
    box-shadow:0 18px 44px rgba(0,0,0,.2);
}
.mg-products-market-hero__search-icon{
    display:grid;
    place-items:center;
    width:45px;
    height:45px;
    border-radius:1.05rem;
    background:linear-gradient(135deg,rgba(37,99,235,.13),rgba(212,175,55,.16));
    color:#1d4ed8;
}
.dark .mg-products-market-hero__search-icon{color:#dbeafe;}
.mg-products-market-hero__search input{
    width:100%;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text-main);
    font-family:'Vazirmatn',sans-serif;
    font-size:.92rem;
    font-weight:850;
}
.mg-products-market-hero__search input::placeholder{color:var(--text-muted);opacity:.82;}
.mg-products-market-hero__search button{
    min-height:46px;
    padding:.78rem 1.12rem;
    border:0;
    border-radius:1.06rem;
    background:linear-gradient(135deg,#2563eb,#1d4ed8 55%,#7c3aed);
    color:#fff;
    font-family:'Vazirmatn',sans-serif;
    font-size:.8rem;
    font-weight:1000;
    cursor:pointer;
    box-shadow:0 16px 32px rgba(37,99,235,.24);
    transition:transform .18s ease,box-shadow .18s ease;
}
.mg-products-market-hero__search button:hover{
    transform:translateY(-2px);
    box-shadow:0 20px 40px rgba(37,99,235,.30);
}
.mg-products-market-hero__chips{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:.48rem;
    max-width:820px;
}
.mg-products-market-hero__chips span{
    color:var(--text-muted);
    font-size:.73rem;
    font-weight:950;
}
.mg-products-market-hero__chips a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:.48rem .76rem;
    border-radius:999px;
    background:rgba(15,23,42,.045);
    border:1px solid rgba(148,163,184,.14);
    color:var(--text-muted);
    font-size:.72rem;
    line-height:1.7;
    font-weight:900;
    text-decoration:none;
    transition:transform .18s ease,color .18s ease,border-color .18s ease,background .18s ease;
}
.dark .mg-products-market-hero__chips a{
    background:rgba(255,255,255,.045);
    border-color:rgba(255,255,255,.08);
}
.mg-products-market-hero__chips a:hover{
    transform:translateY(-1px);
    color:var(--text-main);
    border-color:rgba(37,99,235,.24);
}
.mg-products-market-hero__chips a.is-active{
    color:#fff;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    border-color:transparent;
    box-shadow:0 12px 26px rgba(37,99,235,.2);
}
.mg-products-market-hero__trust{
    display:flex;
    flex-wrap:wrap;
    gap:.58rem;
    margin-top:1rem;
}
.mg-products-market-hero__trust span{
    display:inline-flex;
    align-items:center;
    gap:.42rem;
    color:var(--text-muted);
    font-size:.73rem;
    font-weight:920;
}
.mg-products-market-hero__trust i{color:#16a34a;}
.dark .mg-products-market-hero__trust i{color:#86efac;}
.mg-products-market-hero__showcase{
    position:relative;
    z-index:1;
    overflow:hidden;
    padding:1rem;
    border-radius:1.75rem;
    background:linear-gradient(155deg,rgba(255,255,255,.72),rgba(255,255,255,.46));
    border:1px solid rgba(148,163,184,.16);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 18px 50px rgba(15,23,42,.07);
}
.dark .mg-products-market-hero__showcase{
    background:linear-gradient(155deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
    border-color:rgba(255,255,255,.085);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 18px 50px rgba(0,0,0,.22);
}
.mg-products-market-hero__showcase::before{
    content:"";
    position:absolute;
    inset:auto -30% -42% auto;
    width:19rem;
    height:19rem;
    border-radius:999px;
    background:radial-gradient(circle,rgba(212,175,55,.20),transparent 62%);
    pointer-events:none;
}
.mg-products-market-hero__showcase-head{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.85rem;
    margin-bottom:.82rem;
}
.mg-products-market-hero__showcase-head span{
    display:block;
    color:#2563eb;
    font-size:.72rem;
    line-height:1.65;
    font-weight:1000;
}
.dark .mg-products-market-hero__showcase-head span{color:#bfdbfe;}
.mg-products-market-hero__showcase-head strong{
    display:block;
    color:var(--text-main);
    font-size:.98rem;
    line-height:1.55;
    font-weight:1000;
}
.mg-products-market-hero__showcase-head em{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    flex:0 0 auto;
    border-radius:1.12rem;
    background:linear-gradient(135deg,rgba(212,175,55,.22),rgba(37,99,235,.12));
    color:var(--mg-polish-gold);
    font-style:normal;
}
.mg-products-market-hero__stats{
    position:relative;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.58rem;
    margin-bottom:.8rem;
}
.mg-products-market-hero__stats div{
    min-width:0;
    padding:.78rem .52rem;
    border-radius:1.1rem;
    background:rgba(255,255,255,.68);
    border:1px solid rgba(148,163,184,.13);
    text-align:center;
}
.dark .mg-products-market-hero__stats div{
    background:rgba(255,255,255,.045);
    border-color:rgba(255,255,255,.075);
}
.mg-products-market-hero__stats strong{
    display:block;
    color:var(--text-main);
    font-size:1.12rem;
    line-height:1.15;
    font-weight:1000;
}
.mg-products-market-hero__stats span{
    display:block;
    margin-top:.25rem;
    color:var(--text-muted);
    font-size:.67rem;
    line-height:1.65;
    font-weight:900;
}
.mg-products-market-hero__mini-list{
    position:relative;
    display:grid;
    gap:.62rem;
}
.mg-products-market-hero__mini-card{
    display:grid;
    grid-template-columns:56px minmax(0,1fr) auto;
    align-items:center;
    gap:.7rem;
    min-width:0;
    padding:.58rem;
    border-radius:1.14rem;
    background:rgba(255,255,255,.76);
    border:1px solid rgba(148,163,184,.14);
    color:inherit;
    text-decoration:none;
    box-shadow:0 12px 30px rgba(15,23,42,.055);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.dark .mg-products-market-hero__mini-card{
    background:rgba(255,255,255,.052);
    border-color:rgba(255,255,255,.08);
    box-shadow:none;
}
.mg-products-market-hero__mini-card:nth-child(2){transform:translateX(-.35rem);}
.mg-products-market-hero__mini-card:nth-child(3){transform:translateX(.25rem);}
.mg-products-market-hero__mini-card:hover{
    transform:translateY(-3px) translateX(0);
    border-color:rgba(37,99,235,.24);
    box-shadow:0 18px 38px rgba(15,23,42,.10);
}
.dark .mg-products-market-hero__mini-card:hover{box-shadow:0 18px 38px rgba(0,0,0,.24);}
.mg-products-market-hero__mini-media{
    display:grid;
    place-items:center;
    width:56px;
    height:56px;
    overflow:hidden;
    border-radius:1rem;
    background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(124,58,237,.10));
    color:#2563eb;
}
.dark .mg-products-market-hero__mini-media{color:#bfdbfe;}
.mg-products-market-hero__mini-media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.mg-products-market-hero__mini-info{
    min-width:0;
}
.mg-products-market-hero__mini-info strong{
    display:block;
    overflow:hidden;
    color:var(--text-main);
    font-size:.82rem;
    line-height:1.75;
    font-weight:1000;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.mg-products-market-hero__mini-info small{
    display:block;
    overflow:hidden;
    margin-top:.06rem;
    color:var(--text-muted);
    font-size:.68rem;
    line-height:1.7;
    font-weight:850;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.mg-products-market-hero__mini-price{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    max-width:108px;
    padding:.44rem .55rem;
    border-radius:.9rem;
    background:rgba(22,163,74,.09);
    color:#15803d;
    font-size:.72rem;
    line-height:1.6;
    font-weight:1000;
    white-space:nowrap;
}
.dark .mg-products-market-hero__mini-price{
    background:rgba(34,197,94,.11);
    color:#86efac;
}
.mg-products-market-hero__mini-empty{
    display:grid;
    place-items:center;
    gap:.38rem;
    min-height:190px;
    padding:1.2rem;
    border-radius:1.2rem;
    background:rgba(255,255,255,.58);
    border:1px dashed rgba(148,163,184,.24);
    text-align:center;
}
.dark .mg-products-market-hero__mini-empty{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.11);
}
.mg-products-market-hero__mini-empty i{
    color:var(--mg-polish-gold);
    font-size:1.4rem;
}
.mg-products-market-hero__mini-empty strong{
    color:var(--text-main);
    font-size:.92rem;
    font-weight:1000;
}
.mg-products-market-hero__mini-empty span{
    color:var(--text-muted);
    font-size:.74rem;
    line-height:1.8;
    font-weight:800;
}
@media(max-width:1120px){
    .mg-products-market-hero{
        grid-template-columns:1fr;
    }
    .mg-products-market-hero__copy{
        padding:.35rem;
    }
    .mg-products-market-hero__mini-card:nth-child(2),
    .mg-products-market-hero__mini-card:nth-child(3){
        transform:none;
    }
}
@media(max-width:760px){
    .mg-products-market-hero{
        padding:.95rem;
        border-radius:1.55rem;
    }
    .mg-products-hero--marketplace h1{
        font-size:1.72rem;
        line-height:1.45;
    }
    .mg-products-hero--marketplace p{
        font-size:.89rem;
        line-height:1.92;
    }
    .mg-products-market-hero__search{
        grid-template-columns:auto minmax(0,1fr);
        min-height:0;
        margin-top:1rem;
    }
    .mg-products-market-hero__search button{
        grid-column:1/-1;
        width:100%;
    }
    .mg-products-market-hero__stats{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .mg-products-market-hero__showcase{
        padding:.78rem;
        border-radius:1.35rem;
    }
}
@media(max-width:560px){
    .mg-products-market-hero__labels,
    .mg-products-market-hero__trust,
    .mg-products-market-hero__chips{
        display:grid;
        grid-template-columns:1fr;
    }
    .mg-products-market-hero__labels span,
    .mg-products-market-hero__trust span,
    .mg-products-market-hero__chips a{
        justify-content:center;
    }
    .mg-products-market-hero__chips span{
        text-align:center;
    }
    .mg-products-market-hero__stats{
        grid-template-columns:1fr;
    }
    .mg-products-market-hero__mini-card{
        grid-template-columns:48px minmax(0,1fr);
    }
    .mg-products-market-hero__mini-media{
        width:48px;
        height:48px;
    }
    .mg-products-market-hero__mini-price{
        grid-column:2/3;
        justify-self:start;
        max-width:100%;
    }
}

/* 6) Products Marketplace Template v2.0.4: پیاده‌سازی قالب HTML ارسالی کاربر برای /products، با حفظ کارت‌های محصول فعلی */
.mg-product-archive-section.mg-products-archive.mg-market-template{
    padding:0 0 5rem;
    background:var(--bg-main) !important;
    border-bottom:0;
    overflow:hidden;
}
.mg-market-template,
.mg-market-template *{
    box-sizing:border-box;
}
.mg-market-template{
    --mg-template-blue:#2563eb;
    --mg-template-purple:#7c3aed;
    --mg-template-gold:#d4af37;
    --mg-template-pink:#ec4899;
    --mg-template-panel:var(--bg-panel,#fff);
    --mg-template-main:var(--bg-main,#f8fafc);
    --mg-template-text:var(--text-main,#0f172a);
    --mg-template-muted:var(--text-muted,#475569);
    --mg-template-border:var(--border-color,#e2e8f0);
    --mg-template-glass:rgba(255,255,255,.75);
    --mg-template-glass-border:rgba(15,23,42,.08);
    --mg-template-shadow:0 10px 30px -5px rgba(15,23,42,.04),0 4px 6px -2px rgba(15,23,42,.02);
    color:var(--mg-template-text);
}
.dark .mg-market-template{
    --mg-template-main:#05050a;
    --mg-template-panel:#0b0c15;
    --mg-template-text:#fff;
    --mg-template-muted:#94a3b8;
    --mg-template-border:#1a1c2e;
    --mg-template-glass:rgba(10,11,20,.65);
    --mg-template-glass-border:rgba(255,255,255,.08);
    --mg-template-shadow:0 4px 30px rgba(0,0,0,.25);
}
.mg-market-template .glass-card{
    background:var(--mg-template-glass);
    border:1px solid var(--mg-template-glass-border);
    box-shadow:var(--mg-template-shadow);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
}
.mg-market-search-hero{
    position:relative;
    padding:9.3rem 0 4.8rem;
    overflow:hidden;
    border-bottom:1px solid var(--mg-template-border);
}
.mg-market-search-hero__gradient{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(37,99,235,.06),transparent 72%);
    z-index:0;
    pointer-events:none;
}
.mg-market-search-hero__glow{
    position:absolute;
    top:5.2rem;
    right:6vw;
    width:18rem;
    height:18rem;
    border-radius:999px;
    background:rgba(124,58,237,.11);
    filter:blur(100px);
    pointer-events:none;
}
.dark .mg-market-search-hero__glow{
    background:rgba(124,58,237,.18);
}
.mg-market-search-hero__inner{
    max-width:48rem;
    margin:0 auto;
    text-align:center;
}
.mg-market-search-hero__badge{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    margin-bottom:1rem;
    padding:.48rem .78rem;
    border-radius:999px;
    color:var(--mg-template-blue);
    font-size:.75rem;
    line-height:1.7;
    font-weight:900;
}
.mg-market-search-hero__badge i{
    font-size:.8rem;
}
.mg-market-search-hero h1{
    margin:0 0 1.15rem;
    color:var(--mg-template-text);
    font-size:clamp(2rem,4.5vw,3.45rem);
    line-height:1.27;
    font-weight:1000;
    letter-spacing:-.045em;
}
.mg-market-search-hero h1 span{
    background:linear-gradient(to left,#3b82f6,#8b5cf6,#ec4899);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}
.mg-market-search-hero p{
    max-width:42rem;
    margin:0 auto 2.15rem;
    color:var(--mg-template-muted);
    font-size:1rem;
    line-height:2.05;
    font-weight:650;
}
.mg-market-main-search{
    position:relative;
    display:flex;
    align-items:center;
    gap:.55rem;
    max-width:42rem;
    margin:0 auto;
    padding:.5rem;
    border-radius:1.25rem;
    background:var(--mg-template-panel);
    border:1px solid var(--mg-template-border);
    box-shadow:0 18px 50px rgba(15,23,42,.10);
}
.dark .mg-market-main-search{
    box-shadow:0 18px 50px rgba(0,0,0,.34);
}
.mg-market-main-search:before{
    content:"";
    position:absolute;
    inset:-4px;
    z-index:-1;
    border-radius:1.45rem;
    background:linear-gradient(90deg,var(--mg-template-blue),var(--mg-template-purple),var(--mg-template-pink));
    filter:blur(12px);
    opacity:.28;
    pointer-events:none;
}
.mg-market-main-search>i{
    flex:0 0 auto;
    padding:0 .85rem 0 .45rem;
    color:var(--mg-template-muted);
    font-size:1.05rem;
}
.mg-market-main-search input{
    width:100%;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--mg-template-text);
    font-family:'Vazirmatn',sans-serif;
    font-size:.95rem;
    font-weight:750;
}
.mg-market-main-search input::placeholder{
    color:var(--mg-template-muted);
    opacity:.9;
}
.mg-market-main-search button{
    flex:0 0 auto;
    min-height:44px;
    padding:.72rem 1.45rem;
    border:0;
    border-radius:.95rem;
    background:var(--mg-template-blue);
    color:#fff;
    font-family:'Vazirmatn',sans-serif;
    font-size:.84rem;
    font-weight:950;
    white-space:nowrap;
    cursor:pointer;
    transition:background .18s ease,transform .18s ease,box-shadow .18s ease;
}
.mg-market-main-search button:hover{
    transform:translateY(-1px);
    background:#1d4ed8;
    box-shadow:0 12px 28px rgba(37,99,235,.24);
}
.mg-market-popular-tags{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:.5rem;
    margin-top:1.3rem;
}
.mg-market-popular-tags span{
    margin-left:.35rem;
    color:var(--mg-template-muted);
    font-size:.74rem;
    font-weight:800;
}
.mg-market-popular-tags a{
    display:inline-flex;
    align-items:center;
    min-height:29px;
    padding:.34rem .72rem;
    border-radius:.6rem;
    background:rgba(148,163,184,.16);
    color:var(--mg-template-text);
    font-size:.72rem;
    line-height:1.6;
    font-weight:850;
    text-decoration:none;
    transition:background .18s ease,color .18s ease,transform .18s ease;
}
.mg-market-popular-tags a:hover{
    transform:translateY(-1px);
    background:rgba(148,163,184,.26);
}
.mg-market-shop-layout{
    padding:3rem 0 0;
}
.mg-market-layout-grid{
    display:grid;
    grid-template-columns:minmax(250px,1fr) minmax(0,3fr);
    gap:2rem;
    align-items:start;
}
.mg-market-filter-toggle{
    display:none;
    width:100%;
    align-items:center;
    justify-content:center;
    gap:.55rem;
    min-height:48px;
    border-radius:.95rem;
    color:var(--mg-template-text);
    font-family:'Vazirmatn',sans-serif;
    font-size:.9rem;
    font-weight:950;
    cursor:pointer;
}
.mg-market-filter-toggle i{color:var(--mg-template-blue);}
.mg-market-sidebar{
    display:grid;
    gap:1.5rem;
    min-width:0;
}
.mg-market-filter-form{
    display:grid;
    gap:1.5rem;
}
.mg-market-side-card{
    padding:1.5rem;
    border-radius:1.25rem;
}
.mg-market-side-card h3{
    display:flex;
    align-items:center;
    gap:.55rem;
    margin:0 0 1rem;
    color:var(--mg-template-text);
    font-size:1.05rem;
    line-height:1.7;
    font-weight:950;
}
.mg-market-side-card h3 i{
    font-size:.86rem;
    color:var(--mg-template-purple);
}
.mg-market-filter-form .mg-market-side-card:nth-child(2) h3 i{color:var(--mg-template-blue);}
.mg-market-filter-form .mg-market-side-card:nth-child(3) h3 i{color:var(--mg-template-gold);}
.mg-market-category-list,
.mg-market-checkbox-list{
    display:grid;
    gap:.78rem;
}
.mg-market-category-list a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.8rem;
    color:var(--mg-template-muted);
    text-decoration:none;
    font-size:.86rem;
    line-height:1.75;
    font-weight:750;
    transition:color .18s ease;
}
.mg-market-category-list a:hover,
.mg-market-category-list a.is-active{
    color:var(--mg-template-blue);
    font-weight:950;
}
.mg-market-category-list b,
.mg-market-checkbox b{
    flex:0 0 auto;
    padding:.1rem .45rem;
    border-radius:.35rem;
    background:rgba(148,163,184,.18);
    color:var(--mg-template-text);
    font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
    font-size:.66rem;
    line-height:1.6;
    font-weight:850;
}
.mg-market-category-list a.is-active b{
    background:rgba(37,99,235,.16);
    color:var(--mg-template-blue);
}
.mg-market-checkbox{
    display:flex;
    align-items:center;
    gap:.7rem;
    color:var(--mg-template-muted);
    cursor:pointer;
    font-size:.84rem;
    line-height:1.7;
    font-weight:750;
}
.mg-market-checkbox input{
    display:none;
}
.mg-market-checkbox span{
    display:grid;
    place-items:center;
    width:20px;
    height:20px;
    flex:0 0 auto;
    border-radius:.35rem;
    border:1px solid var(--mg-template-border);
    transition:background .18s ease,border-color .18s ease;
}
.mg-market-checkbox span i{
    color:#fff;
    font-size:.62rem;
    opacity:0;
    transition:opacity .18s ease;
}
.mg-market-checkbox em{
    min-width:0;
    flex:1 1 auto;
    font-style:normal;
}
.mg-market-checkbox input:checked + span,
.mg-market-checkbox.is-active span{
    background:var(--mg-template-blue);
    border-color:var(--mg-template-blue);
}
.mg-market-checkbox input:checked + span i,
.mg-market-checkbox.is-active span i{
    opacity:1;
}
.mg-market-checkbox.is-active em{
    color:var(--mg-template-text);
    font-weight:900;
}
.mg-market-tech-links{
    display:flex;
    flex-wrap:wrap;
    gap:.5rem;
}
.mg-market-tech-links a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:31px;
    padding:.34rem .65rem;
    border-radius:.55rem;
    background:rgba(37,99,235,.09);
    border:1px solid rgba(37,99,235,.10);
    color:var(--mg-template-blue);
    text-decoration:none;
    font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
    font-size:.7rem;
    font-weight:850;
    transition:transform .18s ease,background .18s ease;
}
.mg-market-tech-links a:hover,
.mg-market-tech-links a.is-active{
    transform:translateY(-1px);
    background:rgba(37,99,235,.16);
}
.mg-market-price-fields{
    display:flex;
    align-items:center;
    gap:.65rem;
    margin-bottom:1rem;
}
.mg-market-price-fields input{
    width:100%;
    min-width:0;
    border:1px solid var(--mg-template-border);
    border-radius:.7rem;
    background:var(--mg-template-main);
    color:var(--mg-template-text);
    font-family:'Vazirmatn',sans-serif;
    font-size:.74rem;
    line-height:1.7;
    font-weight:750;
    outline:0;
    padding:.58rem .7rem;
    transition:border-color .18s ease;
}
.mg-market-price-fields input:focus{
    border-color:var(--mg-template-blue);
}
.mg-market-price-fields span{
    color:var(--mg-template-muted);
}
.mg-market-side-submit{
    width:100%;
    border:0;
    border-radius:.7rem;
    background:rgba(148,163,184,.18);
    color:var(--mg-template-text);
    font-family:'Vazirmatn',sans-serif;
    font-size:.76rem;
    font-weight:950;
    padding:.7rem 1rem;
    cursor:pointer;
    transition:background .18s ease,color .18s ease;
}
.mg-market-side-submit:hover{
    background:var(--mg-template-blue);
    color:#fff;
}
.mg-market-switch-list{
    display:grid;
    gap:1rem;
}
.mg-market-switch-list label{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    cursor:pointer;
}
.mg-market-switch-list span{
    color:var(--mg-template-text);
    font-size:.84rem;
    line-height:1.7;
    font-weight:950;
}
.mg-market-switch-list input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
.mg-market-switch-list em{
    position:relative;
    display:block;
    width:40px;
    height:20px;
    flex:0 0 auto;
    border-radius:999px;
    background:var(--mg-template-border);
    transition:background .18s ease;
}
.mg-market-switch-list em:after{
    content:"";
    position:absolute;
    top:4px;
    right:4px;
    width:12px;
    height:12px;
    border-radius:999px;
    background:#fff;
    transition:transform .18s ease;
}
.mg-market-switch-list input:checked + em{
    background:var(--mg-template-blue);
}
.mg-market-switch-list input:checked + em:after{
    transform:translateX(-20px);
}
.mg-market-product-area{
    min-width:0;
}
.mg-market-products-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:1rem;
    margin-bottom:1.1rem;
    padding:1rem;
    border-radius:1.15rem;
    background:var(--mg-template-panel);
    border:1px solid var(--mg-template-border);
    box-shadow:0 6px 24px rgba(15,23,42,.035);
}
.dark .mg-market-products-topbar{
    box-shadow:none;
}
.mg-market-result-count{
    color:var(--mg-template-muted);
    font-size:.86rem;
    line-height:1.8;
    font-weight:750;
}
.mg-market-result-count strong{
    color:var(--mg-template-text);
    font-weight:950;
}
.mg-market-result-count b{
    color:var(--mg-template-blue);
    font-weight:950;
}
.mg-market-sort-form{
    display:flex;
    align-items:center;
    gap:.7rem;
}
.mg-market-sort-form label{
    color:var(--mg-template-muted);
    font-size:.84rem;
    line-height:1.7;
    font-weight:800;
}
.mg-market-sort-form select{
    border:1px solid var(--mg-template-border);
    border-radius:.7rem;
    background:var(--mg-template-main);
    color:var(--mg-template-text);
    font-family:'Vazirmatn',sans-serif;
    font-size:.84rem;
    font-weight:800;
    outline:0;
    padding:.45rem .75rem;
    cursor:pointer;
}
.mg-market-active-bar{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:.5rem;
    margin-bottom:1.4rem;
}
.mg-market-active-bar span,
.mg-market-active-bar a{
    display:inline-flex;
    align-items:center;
    gap:.4rem;
    min-height:32px;
    padding:.38rem .7rem;
    border-radius:.65rem;
    background:rgba(148,163,184,.12);
    color:var(--mg-template-muted);
    border:1px solid rgba(148,163,184,.13);
    text-decoration:none;
    font-size:.74rem;
    line-height:1.65;
    font-weight:850;
}
.mg-market-active-bar .is-sort{
    background:rgba(37,99,235,.10);
    border-color:rgba(37,99,235,.16);
    color:var(--mg-template-blue);
}
.mg-market-active-bar a{
    background:rgba(239,68,68,.08);
    border-color:rgba(239,68,68,.12);
    color:#ef4444;
}
.mg-market-products-grid{
    gap:1.5rem;
}
.mg-market-empty-state{
    margin-top:0;
}
.mg-market-pagination{
    margin-top:3rem !important;
}
@media(max-width:1180px){
    .mg-market-layout-grid{
        grid-template-columns:1fr;
    }
    .mg-market-filter-toggle{
        display:flex;
    }
    .mg-market-sidebar{
        display:none;
    }
    .mg-market-sidebar.is-open{
        display:grid;
    }
}
@media(max-width:820px){
    .mg-market-search-hero{
        padding:7.5rem 0 3.4rem;
    }
    .mg-market-search-hero h1{
        font-size:2rem;
        line-height:1.42;
    }
    .mg-market-search-hero p{
        margin-bottom:1.7rem;
        font-size:.9rem;
    }
    .mg-market-main-search{
        align-items:stretch;
        flex-wrap:wrap;
    }
    .mg-market-main-search>i{
        display:grid;
        place-items:center;
        min-height:42px;
        padding:0 .65rem;
    }
    .mg-market-main-search input{
        flex:1 1 calc(100% - 52px);
        min-height:42px;
    }
    .mg-market-main-search button{
        width:100%;
    }
    .mg-market-shop-layout{
        padding-top:2rem;
    }
    .mg-market-side-card{
        padding:1.15rem;
    }
    .mg-market-products-topbar{
        align-items:flex-start;
        flex-direction:column;
    }
    .mg-market-sort-form{
        width:100%;
        justify-content:space-between;
    }
    .mg-market-sort-form select{
        min-width:11rem;
    }
}
@media(max-width:560px){
    .mg-market-search-hero__inner{
        text-align:right;
    }
    .mg-market-search-hero__badge{
        margin-right:0;
    }
    .mg-market-search-hero p{
        margin-right:0;
        margin-left:0;
    }
    .mg-market-popular-tags{
        justify-content:flex-start;
    }
    .mg-market-layout-grid{
        gap:1.25rem;
    }
    .mg-market-price-fields{
        flex-direction:column;
        align-items:stretch;
    }
    .mg-market-price-fields span{
        display:none;
    }
}

/* MasterGroup v3.0.6 hotfix: open portfolio/footer layout, no enclosing shell boxes */
.mg-portfolio-compact{
    padding:clamp(5.7rem,7vw,7.8rem) 0 clamp(5.3rem,6.6vw,7rem) !important;
    background:
        radial-gradient(circle at 14% 8%,rgba(37,99,235,.13),transparent 25rem),
        radial-gradient(circle at 88% 18%,rgba(124,58,237,.10),transparent 24rem),
        radial-gradient(circle at 55% 100%,rgba(212,175,55,.10),transparent 28rem),
        linear-gradient(180deg,var(--bg-main) 0%,var(--bg-panel) 100%) !important;
}
.dark .mg-portfolio-compact{
    background:
        radial-gradient(circle at 14% 8%,rgba(37,99,235,.17),transparent 26rem),
        radial-gradient(circle at 88% 18%,rgba(124,58,237,.15),transparent 25rem),
        radial-gradient(circle at 55% 100%,rgba(212,175,55,.11),transparent 29rem),
        linear-gradient(180deg,#080b14 0%,#070810 100%) !important;
}
.mg-portfolio-shell{
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
}
.dark .mg-portfolio-shell{
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.mg-portfolio-head{
    margin-bottom:clamp(1.7rem,3vw,2.35rem) !important;
    align-items:center !important;
}
.mg-portfolio-eyebrow{
    background:rgba(37,99,235,.075) !important;
    border-color:rgba(37,99,235,.16) !important;
    color:var(--mg-polish-blue) !important;
}
.dark .mg-portfolio-eyebrow{
    background:rgba(96,165,250,.12) !important;
    border-color:rgba(147,197,253,.18) !important;
    color:#bfdbfe !important;
}
.mg-portfolio-head h2{
    letter-spacing:-.035em !important;
}
.mg-portfolio-head p{
    max-width:760px !important;
}
.mg-portfolio-brief-link{
    border:1px solid rgba(255,255,255,.14) !important;
    box-shadow:0 18px 42px rgba(37,99,235,.20) !important;
}
.mg-portfolio-grid{
    gap:clamp(1rem,2vw,1.35rem) !important;
}
.mg-portfolio-card{
    background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,255,255,.68)) !important;
    border-color:rgba(148,163,184,.18) !important;
    box-shadow:0 20px 58px rgba(15,23,42,.075) !important;
}
.dark .mg-portfolio-card{
    background:linear-gradient(145deg,rgba(255,255,255,.070),rgba(255,255,255,.032)) !important;
    border-color:rgba(255,255,255,.09) !important;
    box-shadow:0 22px 64px rgba(0,0,0,.30) !important;
}
.mg-portfolio-empty{
    background:rgba(255,255,255,.62) !important;
    box-shadow:none !important;
}
.dark .mg-portfolio-empty{
    background:rgba(255,255,255,.045) !important;
}

.mg-footer-main{
    gap:clamp(1.65rem,2.8vw,2.6rem) !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
}
.dark .mg-footer-main{
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.mg-footer-brand,
.mg-footer-links,
.mg-footer-contact,
.mg-footer-symbols{
    padding:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
}
.mg-footer-links,
.mg-footer-contact,
.mg-footer-symbols{
    border-right:1px solid rgba(148,163,184,.16) !important;
    padding-right:clamp(1.1rem,2vw,1.55rem) !important;
}
.dark .mg-footer-links,
.dark .mg-footer-contact,
.dark .mg-footer-symbols{
    border-right-color:rgba(255,255,255,.075) !important;
}
.mg-footer-symbols{
    overflow:visible !important;
}
.dark .mg-footer-symbols{
    background:transparent !important;
    box-shadow:none !important;
}
.mg-footer-bottom{
    margin-top:1.25rem !important;
    padding-top:1.15rem !important;
    border-top:1px solid rgba(148,163,184,.14) !important;
}
.dark .mg-footer-bottom{
    border-top-color:rgba(255,255,255,.075) !important;
}
@media (max-width:1180px){
    .mg-footer-main{grid-template-columns:1fr 1fr !important;}
    .mg-footer-brand{
        grid-column:1/-1;
        padding:0 0 1.35rem !important;
        border-bottom:1px solid rgba(148,163,184,.16) !important;
    }
    .mg-footer-links{border-right:0 !important;padding-right:0 !important;}
    .mg-footer-contact,
    .mg-footer-symbols{border-right:1px solid rgba(148,163,184,.16) !important;}
}
@media (max-width:860px){
    .mg-footer-main{grid-template-columns:1fr !important;}
    .mg-footer-links,
    .mg-footer-contact,
    .mg-footer-symbols{
        border-right:0 !important;
        padding-right:0 !important;
    }
    .mg-footer-brand,
    .mg-footer-links,
    .mg-footer-contact{
        padding-bottom:1.25rem !important;
        margin-bottom:0 !important;
        border-bottom:1px solid rgba(148,163,184,.16) !important;
    }
    .dark .mg-footer-brand,
    .dark .mg-footer-links,
    .dark .mg-footer-contact{border-bottom-color:rgba(255,255,255,.075) !important;}
    .mg-footer-symbols{padding:0 !important;}
}
@media (max-width:760px){
    .mg-portfolio-head__aside{max-width:none !important;}
    .mg-portfolio-brief-link{width:100%;}
}

/* MasterGroup homepage update v3.1.9
   هدف: حذف حالت باکس از شاخص‌های هیرو و هدر مارکت، بدون تغییر پس‌زمینه هیرو. */
.mg-hero-metrics{
    display:flex !important;
    align-items:stretch !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    gap:clamp(.85rem,1.8vw,1.35rem) !important;
    width:100% !important;
    max-width:680px !important;
    margin:0 0 2.45rem !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    overflow:visible !important;
    text-align:right !important;
}
.dark .mg-hero-metrics{
    background:transparent !important;
    border-color:transparent !important;
    box-shadow:none !important;
}
.mg-hero-metrics::before,
.mg-hero-metrics__shine{
    display:none !important;
    content:none !important;
}
.mg-hero-metric{
    --metric-color:var(--mg-v200-blue,#2563eb);
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    gap:.78rem !important;
    min-height:0 !important;
    flex:1 1 150px !important;
    max-width:205px !important;
    padding:.25rem 1rem .25rem 0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
}
.mg-hero-metric::before{
    content:"";
    position:absolute;
    top:.18rem;
    right:0;
    bottom:.18rem;
    width:3px;
    border-radius:999px;
    background:linear-gradient(180deg,var(--metric-color),color-mix(in srgb,var(--metric-color) 36%,transparent));
    box-shadow:0 0 22px color-mix(in srgb,var(--metric-color) 28%,transparent);
}
.mg-hero-metric:not(:last-child)::after{
    display:none !important;
    content:none !important;
}
.mg-hero-metric:hover{
    transform:translateY(-2px) !important;
    background:transparent !important;
    box-shadow:none !important;
}
.dark .mg-hero-metric:hover{
    background:transparent !important;
}
.mg-hero-metric__icon{
    width:42px !important;
    height:42px !important;
    border-radius:16px !important;
    background:
        radial-gradient(circle at 30% 22%,rgba(255,255,255,.38),transparent 42%),
        linear-gradient(135deg,var(--metric-color),color-mix(in srgb,var(--metric-color) 64%,#0f172a)) !important;
    color:#fff !important;
    box-shadow:0 12px 28px color-mix(in srgb,var(--metric-color) 22%,transparent) !important;
}
.mg-hero-metric__icon::after{
    inset:-5px !important;
    border-color:color-mix(in srgb,var(--metric-color) 18%,transparent) !important;
    opacity:.95 !important;
}
.mg-hero-metric__copy strong{
    font-size:clamp(1.25rem,2.2vw,1.62rem) !important;
    line-height:1.05 !important;
    color:var(--text-main) !important;
    letter-spacing:-.055em !important;
}
.mg-hero-metric__copy small{
    font-size:.76rem !important;
    line-height:1.75 !important;
    font-weight:850 !important;
    color:var(--text-muted) !important;
}
.mg-hero-metric.is-blue{--metric-color:var(--mg-v200-blue,#2563eb);}
.mg-hero-metric.is-purple{--metric-color:var(--mg-v200-purple,#7c3aed);}
.mg-hero-metric.is-gold{--metric-color:var(--mg-v200-gold,#d4af37);}

.mg-pro-market-head{
    grid-template-columns:1fr !important;
    margin-bottom:clamp(2rem,4vw,3.1rem) !important;
}
.mg-pro-market-copy{
    position:relative !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:end !important;
    gap:1.35rem 2rem !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    overflow:visible !important;
}
.dark .mg-pro-market-copy{
    background:transparent !important;
    border-color:transparent !important;
    box-shadow:none !important;
}
.mg-pro-market-copy::after{
    display:none !important;
    content:none !important;
}
.mg-pro-market-copy__content{
    position:relative !important;
    z-index:1 !important;
    max-width:900px !important;
    padding-right:1.15rem !important;
}
.mg-pro-market-copy__content::before{
    content:"";
    position:absolute;
    top:.42rem;
    right:0;
    width:4px;
    height:calc(100% - .84rem);
    min-height:5.25rem;
    border-radius:999px;
    background:linear-gradient(180deg,var(--mg-v200-blue,#2563eb),var(--mg-v200-sky,#0ea5e9),var(--mg-v200-purple,#7c3aed));
    box-shadow:0 0 30px rgba(37,99,235,.22);
}
.mg-pro-market-kicker{
    margin-bottom:.95rem !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:var(--mg-v200-blue,#2563eb) !important;
    box-shadow:none !important;
    font-size:.82rem !important;
    letter-spacing:-.01em;
}
.dark .mg-pro-market-kicker{
    color:#93c5fd !important;
}
.mg-pro-market-kicker i{
    width:34px !important;
    height:34px !important;
    border-radius:14px !important;
    background:linear-gradient(135deg,rgba(37,99,235,.14),rgba(14,165,233,.10)) !important;
    border:1px solid rgba(37,99,235,.16) !important;
    color:var(--mg-v200-purple,#7c3aed) !important;
}
.dark .mg-pro-market-kicker i{
    background:rgba(147,197,253,.10) !important;
    border-color:rgba(147,197,253,.16) !important;
    color:#bfdbfe !important;
}
.mg-pro-market-copy h2{
    max-width:900px !important;
    margin-bottom:.85rem !important;
    font-size:clamp(2.05rem,4.2vw,3.75rem) !important;
    line-height:1.22 !important;
    letter-spacing:-.055em !important;
}
.mg-pro-market-copy p{
    max-width:820px !important;
    font-size:1rem !important;
    line-height:2.08 !important;
    font-weight:760 !important;
}
.mg-pro-market-copy__actions{
    position:relative !important;
    z-index:1 !important;
    align-self:center !important;
    justify-content:flex-end !important;
}
.mg-pro-market-copy__actions a{
    min-height:48px !important;
    padding:.82rem 1.15rem !important;
    border-radius:999px !important;
    background:linear-gradient(135deg,var(--mg-v200-blue,#2563eb),var(--mg-v200-purple,#7c3aed)) !important;
    color:#fff !important;
    box-shadow:0 18px 42px rgba(37,99,235,.22) !important;
}
.mg-pro-market-copy__actions a:hover{
    transform:translateY(-3px) !important;
    box-shadow:0 24px 56px rgba(124,58,237,.30) !important;
}

@media (max-width:1180px){
    .mg-pro-market-copy{
        grid-template-columns:1fr !important;
    }
    .mg-pro-market-copy__actions{
        justify-content:flex-start !important;
    }
}
@media (max-width:760px){
    .mg-hero-metrics{
        display:grid !important;
        grid-template-columns:1fr !important;
        max-width:430px !important;
        gap:.95rem !important;
        margin-bottom:2rem !important;
    }
    .mg-hero-metric{
        max-width:none !important;
        padding:.1rem .95rem .1rem 0 !important;
    }
    .mg-hero-metric__icon{
        width:40px !important;
        height:40px !important;
        border-radius:15px !important;
    }
    .mg-pro-market-head{
        margin-bottom:2rem !important;
    }
    .mg-pro-market-copy__content{
        padding-right:1rem !important;
    }
    .mg-pro-market-copy__content::before{
        width:3px;
    }
    .mg-pro-market-copy h2{
        font-size:clamp(1.85rem,8vw,2.55rem) !important;
    }
    .mg-pro-market-copy p{
        font-size:.92rem !important;
    }
    .mg-pro-market-copy__actions,
    .mg-pro-market-copy__actions a{
        width:100% !important;
    }
    .mg-pro-market-copy__actions a{
        justify-content:center !important;
    }
}

/* MasterGroup v3.1.10 - Market title divider-center refinement */
.mg-pro-market-head{
    margin-bottom:2rem !important;
}
.mg-pro-market-copy{
    align-items:center !important;
    justify-content:center !important;
    flex-direction:column !important;
    gap:1.05rem !important;
    padding:0 0 .35rem !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
    text-align:center;
}
.mg-pro-market-copy:after{
    display:none !important;
}
.mg-pro-market-copy__content{
    width:100%;
    max-width:930px !important;
    margin:0 auto;
    padding:0 !important;
    display:flex;
    flex-direction:column;
    align-items:center;
}
.mg-pro-market-copy__content::before{
    display:none !important;
    content:none !important;
}
.mg-pro-market-kicker{
    margin:0 auto .85rem !important;
    padding:.44rem .78rem !important;
    border-radius:999px !important;
    font-size:.82rem !important;
    line-height:1.8 !important;
    background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(124,58,237,.08)) !important;
    border:1px solid rgba(96,165,250,.16) !important;
    box-shadow:none !important;
}
.dark .mg-pro-market-kicker{
    background:linear-gradient(135deg,rgba(59,130,246,.13),rgba(139,92,246,.10)) !important;
    border-color:rgba(255,255,255,.08) !important;
}
.mg-pro-market-title.divider-center{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:1rem;
    margin:0 auto .85rem !important;
    font-size:clamp(1.42rem,2.4vw,2.25rem) !important;
    line-height:1.75 !important;
    letter-spacing:-.025em;
    text-align:center;
}
.mg-pro-market-title.divider-center:before,
.mg-pro-market-title.divider-center:after{
    content:"";
    flex:1 1 0;
    max-width:190px;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(37,99,235,.52),rgba(212,175,55,.34));
}
.mg-pro-market-title.divider-center:after{
    background:linear-gradient(90deg,rgba(212,175,55,.34),rgba(124,58,237,.52),transparent);
}
.mg-pro-market-copy p{
    margin:0 auto !important;
    max-width:760px !important;
    font-size:.98rem !important;
    line-height:2.15 !important;
}
.mg-pro-market-copy__actions{
    margin-top:.25rem;
}
@media (max-width:860px){
    .mg-pro-market-head{
        margin-bottom:1.35rem !important;
    }
    .mg-pro-market-kicker{
        font-size:.76rem !important;
    }
    .mg-pro-market-title.divider-center{
        gap:.7rem;
        font-size:clamp(1.18rem,6vw,1.55rem) !important;
    }
    .mg-pro-market-title.divider-center:before,
    .mg-pro-market-title.divider-center:after{
        max-width:62px;
    }
    .mg-pro-market-copy p{
        font-size:.9rem !important;
        line-height:2 !important;
    }
}


/* MasterGroup v3.2.2 - صفحه اصلی: نمایش خدمات به‌صورت مسیرهای مدرن، بدون کارت‌های باکسی سنگین */
.mg-services-flow-section .mg-services-lab__head{margin-bottom:2.2rem !important;}
.mg-services-flow{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(280px,.34fr) minmax(0,.66fr);gap:1.25rem;align-items:stretch;}
.mg-services-flow__intro{position:relative;overflow:hidden;border-radius:2rem;padding:1.55rem 1.6rem;background:linear-gradient(150deg,rgba(255,255,255,.82),rgba(255,255,255,.54));border:1px solid rgba(148,163,184,.16);box-shadow:0 22px 62px rgba(15,23,42,.08);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);}
.dark .mg-services-flow__intro{background:linear-gradient(150deg,rgba(255,255,255,.075),rgba(255,255,255,.034));border-color:rgba(255,255,255,.08);box-shadow:0 22px 62px rgba(0,0,0,.28);}
.mg-services-flow__intro::before{content:"";position:absolute;inset:auto -4rem -5rem auto;width:14rem;height:14rem;border-radius:999px;background:radial-gradient(circle,rgba(37,99,235,.22),transparent 68%);pointer-events:none;}
.mg-services-flow__intro span{display:inline-flex;margin-bottom:.75rem;color:#7c3aed;font-size:.72rem;font-weight:1000;letter-spacing:.08em;text-transform:uppercase;}
.dark .mg-services-flow__intro span{color:#c4b5fd;}
.mg-services-flow__intro h3{position:relative;z-index:1;margin:0 0 .8rem;color:var(--text-main);font-size:1.34rem;line-height:1.8;font-weight:1000;letter-spacing:-.03em;}
.mg-services-flow__intro p{position:relative;z-index:1;margin:0;color:var(--text-muted);font-size:.91rem;line-height:2.05;font-weight:760;}
.mg-services-flow__list{display:flex;flex-direction:column;gap:.78rem;}
.mg-services-flow-item{--flow-accent:#2563eb;--flow-soft:rgba(37,99,235,.1);position:relative;display:grid;grid-template-columns:72px minmax(0,1fr) minmax(190px,.32fr);align-items:center;gap:1rem;min-height:116px;padding:1.05rem 1.1rem 1.05rem 1.28rem;border-radius:1.45rem;text-decoration:none;background:linear-gradient(135deg,rgba(255,255,255,.78),rgba(255,255,255,.48));border:1px solid rgba(148,163,184,.14);box-shadow:0 14px 42px rgba(15,23,42,.055);overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;background-clip:padding-box;}
.dark .mg-services-flow-item{background:linear-gradient(135deg,rgba(255,255,255,.064),rgba(255,255,255,.028));border-color:rgba(255,255,255,.075);box-shadow:0 16px 48px rgba(0,0,0,.24);}
.mg-services-flow-item:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--flow-accent) 34%,transparent);box-shadow:0 22px 56px rgba(15,23,42,.10);}
.dark .mg-services-flow-item:hover{box-shadow:0 24px 62px rgba(0,0,0,.35);}
.mg-services-flow-item__rail{position:absolute;top:1rem;bottom:1rem;right:0;width:5px;border-radius:999px 0 0 999px;background:linear-gradient(180deg,var(--flow-accent),rgba(124,58,237,.82));box-shadow:0 0 24px color-mix(in srgb,var(--flow-accent) 38%,transparent);}
.mg-services-flow-item__icon{display:grid;place-items:center;width:60px;height:60px;border-radius:1.25rem;color:var(--flow-accent);background:var(--flow-soft);border:1px solid color-mix(in srgb,var(--flow-accent) 18%,transparent);font-size:1.25rem;}
.mg-services-flow-item__copy{display:flex;flex-direction:column;min-width:0;}
.mg-services-flow-item__copy small{color:var(--flow-accent);font-size:.68rem;font-weight:1000;letter-spacing:.06em;text-transform:uppercase;margin-bottom:.32rem;}
.mg-services-flow-item__copy strong{color:var(--text-main);font-size:1.08rem;line-height:1.75;font-weight:1000;letter-spacing:-.02em;}
.mg-services-flow-item__copy em{font-style:normal;color:var(--text-muted);font-size:.83rem;line-height:1.95;font-weight:700;}
.mg-services-flow-item__meta{display:flex;align-items:center;justify-content:space-between;gap:.8rem;min-height:54px;padding:.62rem .8rem;border-radius:1rem;background:linear-gradient(135deg,var(--flow-soft),rgba(255,255,255,.22));border:1px solid color-mix(in srgb,var(--flow-accent) 15%,transparent);}
.dark .mg-services-flow-item__meta{background:linear-gradient(135deg,color-mix(in srgb,var(--flow-accent) 16%,transparent),rgba(255,255,255,.035));border-color:rgba(255,255,255,.075);}
.mg-services-flow-item__meta b{color:var(--text-muted);font-size:.75rem;line-height:1.7;font-weight:950;}
.mg-services-flow-item__meta i{display:grid;place-items:center;flex:0 0 auto;width:32px;height:32px;border-radius:999px;color:#fff;background:var(--flow-accent);box-shadow:0 12px 28px color-mix(in srgb,var(--flow-accent) 28%,transparent);}
.mg-services-flow-item.is-blue{--flow-accent:#2563eb;--flow-soft:rgba(37,99,235,.095);}
.mg-services-flow-item.is-purple{--flow-accent:#7c3aed;--flow-soft:rgba(124,58,237,.095);}
.mg-services-flow-item.is-green,.mg-services-flow-item.is-emerald{--flow-accent:#059669;--flow-soft:rgba(5,150,105,.092);}
.mg-services-flow-item.is-cyan{--flow-accent:#0891b2;--flow-soft:rgba(8,145,178,.092);}
.mg-services-flow-item.is-gold{--flow-accent:#b98a10;--flow-soft:rgba(212,175,55,.12);}
.mg-services-flow-item.is-steel{--flow-accent:#475569;--flow-soft:rgba(71,85,105,.095);}
.mg-services-flow__cta{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;border-radius:1.45rem;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(124,58,237,.09),rgba(212,175,55,.07));border:1px solid rgba(96,165,250,.18);box-shadow:0 18px 50px rgba(15,23,42,.06);}
.dark .mg-services-flow__cta{background:linear-gradient(135deg,rgba(37,99,235,.14),rgba(124,58,237,.10),rgba(212,175,55,.06));border-color:rgba(255,255,255,.08);box-shadow:0 18px 52px rgba(0,0,0,.24);}
.mg-services-flow__cta span{color:var(--text-muted);font-size:.84rem;line-height:1.9;font-weight:780;}
.mg-services-flow__cta a{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:46px;padding:.8rem 1.14rem;border-radius:999px;color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);font-size:.82rem;line-height:1.6;font-weight:950;text-decoration:none;white-space:nowrap;box-shadow:0 16px 34px rgba(37,99,235,.18);transition:transform .18s ease,box-shadow .18s ease;}
.mg-services-flow__cta a:hover{transform:translateY(-2px);box-shadow:0 21px 42px rgba(124,58,237,.24);}
@media (prefers-reduced-motion:reduce){.mg-services-flow-item,.mg-services-flow__cta a{transition:none !important;}}
@media (max-width:1080px){.mg-services-flow{grid-template-columns:1fr;}.mg-services-flow__intro{padding:1.35rem 1.4rem;}.mg-services-flow-item{grid-template-columns:64px minmax(0,1fr);}.mg-services-flow-item__meta{grid-column:2;}}
@media (max-width:720px){.mg-services-flow-item{grid-template-columns:1fr;gap:.8rem;min-height:auto;padding:1.05rem 1.05rem 1.05rem 1.18rem;}.mg-services-flow-item__icon{width:56px;height:56px;}.mg-services-flow-item__meta{grid-column:auto;align-items:flex-start;}.mg-services-flow__cta{align-items:stretch;flex-direction:column;}.mg-services-flow__cta a{width:100%;}.mg-services-flow__intro h3{font-size:1.15rem;}}

/* MasterGroup v3.2.3 - open, non-boxed services section */
.mg-services-flow-section .mg-services-lab__head{margin-bottom:2.35rem !important;}
.mg-services-flow--open{max-width:1080px !important;margin:0 auto !important;display:block !important;}
.mg-services-flow--open .mg-services-flow__intro{display:none !important;}
.mg-services-flow--open .mg-services-flow__list{position:relative;display:flex !important;flex-direction:column !important;gap:0 !important;padding:0 !important;margin:0 auto !important;background:transparent !important;border:0 !important;box-shadow:none !important;}
.mg-services-flow--open .mg-services-flow__list::before{content:"";position:absolute;top:.8rem;bottom:.8rem;right:30px;width:2px;border-radius:999px;background:linear-gradient(180deg,rgba(37,99,235,.32),rgba(124,58,237,.22),rgba(212,175,55,.18));opacity:.9;}
.mg-services-flow--open .mg-services-flow-item{--flow-accent:#2563eb;--flow-soft:rgba(37,99,235,.1);position:relative;display:grid !important;grid-template-columns:76px minmax(0,1fr) minmax(170px,.27fr) !important;align-items:center !important;gap:1.05rem !important;min-height:112px !important;padding:1.05rem 0 1.05rem 0 !important;border-radius:0 !important;text-decoration:none !important;background:transparent !important;border:0 !important;border-bottom:1px solid rgba(148,163,184,.18) !important;box-shadow:none !important;overflow:visible !important;transition:transform .2s ease,border-color .2s ease,color .2s ease !important;background-clip:initial !important;}
.dark .mg-services-flow--open .mg-services-flow-item{background:transparent !important;border-color:rgba(255,255,255,.085) !important;box-shadow:none !important;}
.mg-services-flow--open .mg-services-flow-item:last-child{border-bottom:0 !important;}
.mg-services-flow--open .mg-services-flow-item:hover{transform:translateX(-7px) !important;border-color:color-mix(in srgb,var(--flow-accent) 32%,rgba(148,163,184,.18)) !important;box-shadow:none !important;background:transparent !important;}
.dark .mg-services-flow--open .mg-services-flow-item:hover{box-shadow:none !important;background:transparent !important;}
.mg-services-flow--open .mg-services-flow-item__rail{position:absolute !important;top:50% !important;right:24px !important;bottom:auto !important;width:14px !important;height:14px !important;transform:translateY(-50%) !important;border-radius:999px !important;background:var(--flow-accent) !important;border:4px solid var(--bg-main) !important;box-shadow:0 0 0 6px var(--flow-soft),0 12px 26px color-mix(in srgb,var(--flow-accent) 26%,transparent) !important;}
.dark .mg-services-flow--open .mg-services-flow-item__rail{border-color:#0f172a !important;box-shadow:0 0 0 6px color-mix(in srgb,var(--flow-accent) 18%,transparent),0 12px 26px rgba(0,0,0,.24) !important;}
.mg-services-flow--open .mg-services-flow-item__icon{display:grid !important;place-items:center !important;width:54px !important;height:54px !important;margin-right:52px !important;border-radius:1rem !important;color:var(--flow-accent) !important;background:linear-gradient(135deg,var(--flow-soft),rgba(255,255,255,.28)) !important;border:1px solid color-mix(in srgb,var(--flow-accent) 18%,transparent) !important;font-size:1.14rem !important;box-shadow:none !important;}
.dark .mg-services-flow--open .mg-services-flow-item__icon{background:linear-gradient(135deg,color-mix(in srgb,var(--flow-accent) 15%,transparent),rgba(255,255,255,.035)) !important;border-color:rgba(255,255,255,.08) !important;}
.mg-services-flow--open .mg-services-flow-item__copy{display:flex !important;flex-direction:column !important;min-width:0 !important;padding-inline-end:.2rem !important;}
.mg-services-flow--open .mg-services-flow-item__copy small{display:inline-flex !important;width:max-content !important;max-width:100% !important;color:var(--flow-accent) !important;font-size:.68rem !important;font-weight:1000 !important;letter-spacing:.06em !important;text-transform:uppercase !important;margin-bottom:.24rem !important;}
.mg-services-flow--open .mg-services-flow-item__copy strong{color:var(--text-main) !important;font-size:1.13rem !important;line-height:1.78 !important;font-weight:1000 !important;letter-spacing:-.025em !important;}
.mg-services-flow--open .mg-services-flow-item__copy em{font-style:normal !important;color:var(--text-muted) !important;font-size:.86rem !important;line-height:2 !important;font-weight:720 !important;}
.mg-services-flow--open .mg-services-flow-item__meta{display:flex !important;align-items:center !important;justify-content:flex-end !important;gap:.75rem !important;min-height:auto !important;padding:0 !important;border-radius:0 !important;background:transparent !important;border:0 !important;box-shadow:none !important;text-align:left !important;}
.dark .mg-services-flow--open .mg-services-flow-item__meta{background:transparent !important;border:0 !important;}
.mg-services-flow--open .mg-services-flow-item__meta b{color:var(--text-muted) !important;font-size:.75rem !important;line-height:1.75 !important;font-weight:900 !important;}
.mg-services-flow--open .mg-services-flow-item__meta i{display:grid !important;place-items:center !important;flex:0 0 auto !important;width:34px !important;height:34px !important;border-radius:999px !important;color:var(--flow-accent) !important;background:var(--flow-soft) !important;border:1px solid color-mix(in srgb,var(--flow-accent) 18%,transparent) !important;box-shadow:none !important;transition:transform .2s ease,background .2s ease,color .2s ease !important;}
.mg-services-flow--open .mg-services-flow-item:hover .mg-services-flow-item__meta i{transform:translateX(-4px) !important;color:#fff !important;background:var(--flow-accent) !important;}
.mg-services-flow--open .mg-services-flow__cta{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:1rem !important;margin-top:1.35rem !important;padding:1.05rem 0 0 !important;border-radius:0 !important;background:transparent !important;border:0 !important;border-top:1px solid rgba(148,163,184,.2) !important;box-shadow:none !important;}
.dark .mg-services-flow--open .mg-services-flow__cta{background:transparent !important;border-color:rgba(255,255,255,.09) !important;box-shadow:none !important;}
.mg-services-flow--open .mg-services-flow__cta span{color:var(--text-muted) !important;font-size:.84rem !important;line-height:1.9 !important;font-weight:760 !important;}
.mg-services-flow--open .mg-services-flow__cta a{display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:.55rem !important;min-height:46px !important;padding:.8rem 1.14rem !important;border-radius:999px !important;color:#fff !important;background:linear-gradient(135deg,#2563eb,#7c3aed) !important;font-size:.82rem !important;line-height:1.6 !important;font-weight:950 !important;text-decoration:none !important;white-space:nowrap !important;box-shadow:0 16px 34px rgba(37,99,235,.18) !important;}
.mg-services-flow--open .mg-services-flow__cta a:hover{transform:translateY(-2px) !important;box-shadow:0 21px 42px rgba(124,58,237,.24) !important;}
@media (max-width:1080px){.mg-services-flow--open .mg-services-flow-item{grid-template-columns:70px minmax(0,1fr) !important;}.mg-services-flow--open .mg-services-flow-item__meta{grid-column:2 !important;justify-content:flex-start !important;text-align:right !important;}.mg-services-flow--open .mg-services-flow-item__icon{margin-right:48px !important;}}
@media (max-width:720px){.mg-services-flow--open .mg-services-flow__list::before{right:22px !important;}.mg-services-flow--open .mg-services-flow-item{grid-template-columns:1fr !important;gap:.72rem !important;min-height:auto !important;padding:1rem 3.1rem 1rem 0 !important;}.mg-services-flow--open .mg-services-flow-item:hover{transform:none !important;}.mg-services-flow--open .mg-services-flow-item__rail{right:16px !important;}.mg-services-flow--open .mg-services-flow-item__icon{width:48px !important;height:48px !important;margin-right:0 !important;}.mg-services-flow--open .mg-services-flow-item__meta{grid-column:auto !important;justify-content:flex-start !important;align-items:flex-start !important;text-align:right !important;}.mg-services-flow--open .mg-services-flow__cta{align-items:stretch !important;flex-direction:column !important;}.mg-services-flow--open .mg-services-flow__cta a{width:100% !important;}}

/* 2) Services v3.2.4: رنگ‌بندی متنوع‌تر و طراحی بازِ حرفه‌ای بدون حالت باکسی */
.mg-services-flow-section{
    position:relative;
    background:
        radial-gradient(circle at 86% 12%, rgba(37,99,235,.16), transparent 28%),
        radial-gradient(circle at 12% 20%, rgba(124,58,237,.14), transparent 30%),
        radial-gradient(circle at 52% 100%, rgba(16,185,129,.10), transparent 34%),
        linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-main) 100%) !important;
}
.mg-services-flow-section .mg-services-lab__bg{opacity:1 !important;}
.mg-services-flow-section .mg-services-lab__grid{
    opacity:.22 !important;
    background-image:
        linear-gradient(rgba(148,163,184,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.12) 1px, transparent 1px) !important;
    background-size:28px 28px !important;
    mask-image:linear-gradient(180deg, transparent, rgba(0,0,0,.85) 12%, rgba(0,0,0,.85) 86%, transparent) !important;
}
.dark .mg-services-flow-section{
    background:
        radial-gradient(circle at 86% 12%, rgba(37,99,235,.18), transparent 30%),
        radial-gradient(circle at 12% 20%, rgba(124,58,237,.16), transparent 32%),
        radial-gradient(circle at 52% 100%, rgba(16,185,129,.10), transparent 36%),
        linear-gradient(180deg, #0b1020 0%, #060914 100%) !important;
}
.mg-services-flow-section .mg-services-lab__head{
    max-width:920px;
    margin:0 auto 2.55rem !important;
    text-align:center;
}
.mg-services-flow-section .mg-services-lab__eyebrow{
    gap:.5rem;
    padding:.58rem .95rem;
    border-radius:999px;
    background:linear-gradient(135deg, rgba(37,99,235,.11), rgba(124,58,237,.09)) !important;
    border:1px solid rgba(96,165,250,.20) !important;
    color:#1d4ed8 !important;
    box-shadow:0 12px 28px rgba(37,99,235,.08);
}
.dark .mg-services-flow-section .mg-services-lab__eyebrow{
    color:#dbeafe !important;
    border-color:rgba(255,255,255,.08) !important;
    background:linear-gradient(135deg, rgba(37,99,235,.18), rgba(124,58,237,.12)) !important;
    box-shadow:none;
}
.mg-services-flow-section .mg-services-lab__eyebrow i{color:#7c3aed !important;}
.mg-services-flow-section .mg-services-lab__head h2{
    margin-bottom:.95rem !important;
    letter-spacing:-.04em;
}
.mg-services-flow-section .mg-services-lab__head p{
    max-width:820px;
    margin:0 auto !important;
    font-size:1rem;
    line-height:2.1;
}

.mg-services-flow--open{
    max-width:1120px !important;
}
.mg-services-flow--open .mg-services-flow__list{
    position:relative;
    padding:0 0 0 0 !important;
}
.mg-services-flow--open .mg-services-flow__list::before{
    right:42px !important;
    width:3px !important;
    top:1.2rem !important;
    bottom:1.2rem !important;
    background:linear-gradient(180deg, rgba(37,99,235,.34), rgba(124,58,237,.28), rgba(16,185,129,.24), rgba(212,175,55,.20)) !important;
    box-shadow:0 0 18px rgba(37,99,235,.10);
}
.mg-services-flow--open .mg-services-flow-item{
    --flow-accent:#2563eb;
    --flow-soft:rgba(37,99,235,.10);
    --flow-soft-strong:rgba(37,99,235,.16);
    --flow-stroke:rgba(37,99,235,.28);
    position:relative !important;
    display:grid !important;
    grid-template-columns:108px minmax(0,1fr) minmax(200px,.3fr) !important;
    gap:1.2rem !important;
    min-height:126px !important;
    padding:1.2rem 0 !important;
    isolation:isolate;
    border-bottom:1px solid rgba(148,163,184,.16) !important;
}
.mg-services-flow--open .mg-services-flow-item::before{
    content:"";
    position:absolute;
    inset:14px .35rem 14px 1rem;
    border-radius:1.65rem;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--flow-accent) 6%, transparent), transparent 45%),
        radial-gradient(circle at 96% 50%, color-mix(in srgb, var(--flow-accent) 8%, transparent), transparent 28%);
    opacity:.96;
    z-index:-1;
    transition:transform .22s ease, opacity .22s ease, background .22s ease;
}
.dark .mg-services-flow--open .mg-services-flow-item::before{
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--flow-accent) 12%, transparent), transparent 50%),
        radial-gradient(circle at 96% 50%, color-mix(in srgb, var(--flow-accent) 11%, transparent), transparent 30%);
}
.mg-services-flow--open .mg-services-flow-item::after{
    content:"";
    position:absolute;
    right:62px;
    left:1rem;
    bottom:-1px;
    height:1px;
    background:linear-gradient(90deg, color-mix(in srgb, var(--flow-accent) 38%, transparent), transparent 82%);
    opacity:.85;
}
.mg-services-flow--open .mg-services-flow-item:hover{
    transform:translateX(-8px) !important;
    background:transparent !important;
}
.mg-services-flow--open .mg-services-flow-item:hover::before{
    transform:translateX(-6px);
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--flow-accent) 11%, transparent), transparent 52%),
        radial-gradient(circle at 92% 50%, color-mix(in srgb, var(--flow-accent) 14%, transparent), transparent 32%);
}
.mg-services-flow--open .mg-services-flow-item__rail{
    right:35px !important;
    width:18px !important;
    height:18px !important;
    border:5px solid var(--bg-main) !important;
    box-shadow:0 0 0 7px var(--flow-soft), 0 16px 32px color-mix(in srgb, var(--flow-accent) 22%, transparent) !important;
}
.dark .mg-services-flow--open .mg-services-flow-item__rail{
    border-color:#0b1020 !important;
}
.mg-services-flow-item__visual{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:.58rem;
    min-width:0;
    margin-right:58px;
}
.mg-services-flow--open .mg-services-flow-item__icon{
    position:relative;
    width:64px !important;
    height:64px !important;
    border-radius:1.4rem !important;
    color:#fff !important;
    background:linear-gradient(135deg, color-mix(in srgb, var(--flow-accent) 86%, white 0%), color-mix(in srgb, var(--flow-accent) 62%, #7c3aed 38%)) !important;
    border:0 !important;
    box-shadow:0 18px 38px color-mix(in srgb, var(--flow-accent) 28%, transparent) !important;
}
.mg-services-flow--open .mg-services-flow-item__icon::before{
    content:"";
    position:absolute;
    inset:1px;
    border-radius:inherit;
    border:1px solid rgba(255,255,255,.34);
}
.mg-services-flow-item__number{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:46px;
    min-height:26px;
    padding:.2rem .65rem;
    border-radius:999px;
    background:linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.76));
    border:1px solid var(--flow-stroke);
    color:var(--flow-accent);
    font-size:.73rem;
    line-height:1;
    font-weight:1000;
    letter-spacing:.14em;
    box-shadow:0 12px 24px rgba(15,23,42,.06);
}
.dark .mg-services-flow-item__number{
    background:linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    border-color:rgba(255,255,255,.08);
    box-shadow:none;
}
.mg-services-flow--open .mg-services-flow-item__copy{
    position:relative;
    gap:.36rem !important;
    padding:.15rem 0 .15rem 1.1rem;
}
.mg-services-flow--open .mg-services-flow-item__copy::before{
    content:"";
    position:absolute;
    right:0;
    top:.35rem;
    bottom:.35rem;
    width:4px;
    border-radius:999px;
    background:linear-gradient(180deg, var(--flow-accent), color-mix(in srgb, var(--flow-accent) 18%, #ffffff 82%));
    box-shadow:0 0 18px color-mix(in srgb, var(--flow-accent) 20%, transparent);
}
.mg-services-flow--open .mg-services-flow-item__copy small{
    display:inline-flex !important;
    align-items:center;
    width:max-content;
    max-width:100%;
    padding:.28rem .68rem;
    border-radius:999px;
    background:linear-gradient(135deg, var(--flow-soft-strong), rgba(255,255,255,.55));
    border:1px solid color-mix(in srgb, var(--flow-accent) 18%, transparent);
    color:var(--flow-accent) !important;
    font-size:.66rem !important;
    letter-spacing:.08em !important;
    box-shadow:0 10px 26px rgba(15,23,42,.04);
}
.dark .mg-services-flow--open .mg-services-flow-item__copy small{
    background:linear-gradient(135deg, color-mix(in srgb, var(--flow-accent) 18%, transparent), rgba(255,255,255,.03));
    box-shadow:none;
}
.mg-services-flow--open .mg-services-flow-item__copy strong{
    font-size:1.16rem !important;
    line-height:1.7 !important;
    letter-spacing:-.03em !important;
}
.mg-services-flow--open .mg-services-flow-item__copy em{
    display:block;
    max-width:720px;
    color:var(--text-muted) !important;
    font-size:.86rem !important;
    line-height:2.05 !important;
    font-weight:760 !important;
}
.mg-services-flow--open .mg-services-flow-item__meta{
    position:relative;
    display:flex !important;
    flex-direction:column;
    align-items:flex-end !important;
    justify-content:center !important;
    gap:.8rem !important;
    padding:.25rem 0 !important;
}
.mg-services-flow--open .mg-services-flow-item__meta b{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:flex-end;
    max-width:230px;
    padding:.72rem .95rem;
    border-radius:1rem 1rem .32rem 1rem;
    background:linear-gradient(135deg, rgba(255,255,255,.72), var(--flow-soft));
    border:1px solid color-mix(in srgb, var(--flow-accent) 14%, transparent);
    color:var(--text-main) !important;
    font-size:.76rem !important;
    line-height:1.9 !important;
    font-weight:900 !important;
    text-align:right !important;
}
.dark .mg-services-flow--open .mg-services-flow-item__meta b{
    background:linear-gradient(135deg, rgba(255,255,255,.05), color-mix(in srgb, var(--flow-accent) 16%, transparent));
    color:#e5eefc !important;
}
.mg-services-flow--open .mg-services-flow-item__meta i{
    width:38px !important;
    height:38px !important;
    color:var(--flow-accent) !important;
    background:linear-gradient(135deg, rgba(255,255,255,.95), var(--flow-soft)) !important;
    border:1px solid color-mix(in srgb, var(--flow-accent) 18%, transparent) !important;
    box-shadow:0 14px 30px rgba(15,23,42,.06) !important;
}
.dark .mg-services-flow--open .mg-services-flow-item__meta i{
    background:linear-gradient(135deg, rgba(255,255,255,.06), color-mix(in srgb, var(--flow-accent) 18%, transparent)) !important;
    box-shadow:none !important;
}
.mg-services-flow--open .mg-services-flow-item:hover .mg-services-flow-item__meta i{
    transform:translateX(-5px) rotate(-7deg) !important;
    color:#fff !important;
    background:linear-gradient(135deg, var(--flow-accent), color-mix(in srgb, var(--flow-accent) 68%, #7c3aed 32%)) !important;
}
.mg-services-flow--open .mg-services-flow__cta{
    margin-top:1.6rem !important;
    padding:1.15rem 0 0 !important;
    border-top:1px solid rgba(148,163,184,.18) !important;
}
.mg-services-flow--open .mg-services-flow__cta span{
    font-size:.86rem !important;
}
.mg-services-flow--open .mg-services-flow__cta a{
    background:linear-gradient(135deg, #2563eb, #7c3aed, #0891b2) !important;
    box-shadow:0 18px 38px rgba(37,99,235,.18) !important;
}

.mg-services-flow-item.is-blue{--flow-accent:#2563eb;--flow-soft:rgba(37,99,235,.11);--flow-soft-strong:rgba(37,99,235,.16);--flow-stroke:rgba(37,99,235,.24);}
.mg-services-flow-item.is-purple{--flow-accent:#7c3aed;--flow-soft:rgba(124,58,237,.11);--flow-soft-strong:rgba(124,58,237,.16);--flow-stroke:rgba(124,58,237,.25);}
.mg-services-flow-item.is-green,.mg-services-flow-item.is-emerald{--flow-accent:#059669;--flow-soft:rgba(5,150,105,.11);--flow-soft-strong:rgba(5,150,105,.16);--flow-stroke:rgba(5,150,105,.24);}
.mg-services-flow-item.is-cyan{--flow-accent:#0891b2;--flow-soft:rgba(8,145,178,.11);--flow-soft-strong:rgba(8,145,178,.16);--flow-stroke:rgba(8,145,178,.24);}
.mg-services-flow-item.is-gold{--flow-accent:#b98a10;--flow-soft:rgba(212,175,55,.14);--flow-soft-strong:rgba(212,175,55,.18);--flow-stroke:rgba(185,138,16,.24);}
.mg-services-flow-item.is-steel{--flow-accent:#475569;--flow-soft:rgba(71,85,105,.12);--flow-soft-strong:rgba(71,85,105,.16);--flow-stroke:rgba(71,85,105,.24);}

@media (max-width:1080px){
    .mg-services-flow--open .mg-services-flow__list::before{right:34px !important;}
    .mg-services-flow--open .mg-services-flow-item{grid-template-columns:96px minmax(0,1fr) !important;gap:1rem !important;}
    .mg-services-flow--open .mg-services-flow-item__meta{grid-column:2 !important;align-items:flex-start !important;justify-content:flex-start !important;}
    .mg-services-flow--open .mg-services-flow-item__meta b{text-align:right !important;max-width:100%;}
    .mg-services-flow-item__visual{margin-right:46px;}
}
@media (max-width:720px){
    .mg-services-flow-section .mg-services-lab__head{text-align:right;}
    .mg-services-flow-section .mg-services-lab__head p{margin:0 !important;}
    .mg-services-flow--open .mg-services-flow__list::before{right:18px !important;}
    .mg-services-flow--open .mg-services-flow-item{
        grid-template-columns:1fr !important;
        gap:.82rem !important;
        min-height:auto !important;
        padding:1rem 2.85rem 1rem .2rem !important;
    }
    .mg-services-flow--open .mg-services-flow-item::before{inset:10px 0 10px 0 !important;border-radius:1.25rem;}
    .mg-services-flow--open .mg-services-flow-item::after{right:32px;left:0;}
    .mg-services-flow--open .mg-services-flow-item__rail{right:10px !important;}
    .mg-services-flow-item__visual{flex-direction:row;align-items:center;gap:.72rem;margin-right:0;}
    .mg-services-flow--open .mg-services-flow-item__icon{width:54px !important;height:54px !important;border-radius:1.2rem !important;}
    .mg-services-flow-item__number{min-width:42px;min-height:24px;padding:.14rem .55rem;}
    .mg-services-flow--open .mg-services-flow-item__copy{padding-left:0;padding-right:.95rem;}
    .mg-services-flow--open .mg-services-flow-item__copy::before{width:3px;}
    .mg-services-flow--open .mg-services-flow-item__meta{grid-column:auto !important;align-items:flex-start !important;gap:.65rem !important;}
    .mg-services-flow--open .mg-services-flow-item__meta b{padding:.64rem .82rem;}
}

/* 2) Services v3.2.5: اصلاح کامل بهم‌ریختگی، RTL و فاصله‌گذاری آیتم‌ها */
.mg-services-flow--open .mg-services-flow__list{
    display:flex !important;
    flex-direction:column !important;
    gap:1rem !important;
}
.mg-services-flow--open .mg-services-flow__list::before{
    right:54px !important;
    top:1.4rem !important;
    bottom:1.4rem !important;
    width:2px !important;
}
.mg-services-flow--open .mg-services-flow-item{
    direction:rtl !important;
    grid-template-columns:126px minmax(0,1fr) 220px !important;
    align-items:center !important;
    gap:1.35rem !important;
    min-height:128px !important;
    padding:1.15rem 0 !important;
    border-bottom:0 !important;
}
.mg-services-flow--open .mg-services-flow-item::before{
    inset:8px 0 8px 0 !important;
    border-radius:1.5rem !important;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--flow-accent) 8%, transparent), rgba(255,255,255,.02) 46%, transparent 100%),
        radial-gradient(circle at 12% 50%, color-mix(in srgb, var(--flow-accent) 12%, transparent), transparent 30%) !important;
    border:1px solid color-mix(in srgb, var(--flow-accent) 10%, rgba(148,163,184,.18)) !important;
}
.dark .mg-services-flow--open .mg-services-flow-item::before{
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--flow-accent) 14%, transparent), rgba(255,255,255,.01) 46%, transparent 100%),
        radial-gradient(circle at 12% 50%, color-mix(in srgb, var(--flow-accent) 13%, transparent), transparent 32%) !important;
    border-color:color-mix(in srgb, var(--flow-accent) 16%, rgba(255,255,255,.08)) !important;
}
.mg-services-flow--open .mg-services-flow-item::after{
    display:none !important;
}
.mg-services-flow--open .mg-services-flow-item:hover{
    transform:translateX(-5px) !important;
}
.mg-services-flow--open .mg-services-flow-item:hover::before{
    transform:none !important;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--flow-accent) 10%, transparent), rgba(255,255,255,.03) 48%, transparent 100%),
        radial-gradient(circle at 12% 50%, color-mix(in srgb, var(--flow-accent) 14%, transparent), transparent 32%) !important;
}

.mg-services-flow-item__visual{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:.62rem !important;
    padding-right:1.2rem !important;
    margin-right:0 !important;
}
.mg-services-flow--open .mg-services-flow-item__rail{
    right:45px !important;
    width:16px !important;
    height:16px !important;
    border-width:4px !important;
}
.mg-services-flow--open .mg-services-flow-item__icon{
    width:60px !important;
    height:60px !important;
    font-size:1.18rem !important;
}
.mg-services-flow-item__number{
    min-width:44px !important;
    min-height:24px !important;
    padding:.12rem .55rem !important;
    font-size:.7rem !important;
}

.mg-services-flow--open .mg-services-flow-item__copy{
    min-width:0 !important;
    padding:.15rem 1.15rem .15rem 0 !important;
    text-align:right !important;
    justify-self:stretch !important;
}
.mg-services-flow--open .mg-services-flow-item__copy::before{
    right:0 !important;
    left:auto !important;
    width:3px !important;
    top:.25rem !important;
    bottom:.25rem !important;
}
.mg-services-flow--open .mg-services-flow-item__copy small{
    margin:0 0 .5rem 0 !important;
}
.mg-services-flow--open .mg-services-flow-item__copy strong{
    display:block !important;
    margin:0 0 .38rem 0 !important;
    font-size:1.28rem !important;
    line-height:1.7 !important;
    word-break:break-word !important;
}
.mg-services-flow--open .mg-services-flow-item__copy em{
    display:block !important;
    max-width:none !important;
    font-size:.88rem !important;
    line-height:2 !important;
}

.mg-services-flow--open .mg-services-flow-item__meta{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    gap:.78rem !important;
    padding:0 1rem 0 0 !important;
    text-align:right !important;
}
.mg-services-flow--open .mg-services-flow-item__meta b{
    max-width:200px !important;
    padding:.72rem .9rem !important;
    border-radius:1rem !important;
    font-size:.75rem !important;
    line-height:1.9 !important;
}
.mg-services-flow--open .mg-services-flow-item__meta i{
    width:36px !important;
    height:36px !important;
}

.mg-services-flow--open .mg-services-flow__cta{
    margin-top:1.2rem !important;
    padding:1.2rem .1rem 0 !important;
}

@media (max-width:1180px){
    .mg-services-flow--open .mg-services-flow-item{
        grid-template-columns:112px minmax(0,1fr) 190px !important;
    }
    .mg-services-flow--open .mg-services-flow-item__copy strong{
        font-size:1.18rem !important;
    }
}

@media (max-width:980px){
    .mg-services-flow--open .mg-services-flow__list::before{
        right:42px !important;
    }
    .mg-services-flow--open .mg-services-flow-item{
        grid-template-columns:104px minmax(0,1fr) !important;
        gap:1rem !important;
    }
    .mg-services-flow--open .mg-services-flow-item__meta{
        grid-column:2 !important;
        align-items:flex-start !important;
        padding-right:1.15rem !important;
        margin-top:-.15rem !important;
    }
    .mg-services-flow--open .mg-services-flow-item__meta b{
        max-width:none !important;
    }
    .mg-services-flow--open .mg-services-flow-item__rail{
        right:33px !important;
    }
    .mg-services-flow-item__visual{
        padding-right:.7rem !important;
    }
}

@media (max-width:720px){
    .mg-services-flow--open .mg-services-flow__list::before{
        right:18px !important;
        top:1rem !important;
        bottom:1rem !important;
    }
    .mg-services-flow--open .mg-services-flow-item{
        grid-template-columns:1fr !important;
        gap:.82rem !important;
        min-height:auto !important;
        padding:1rem 2.8rem 1rem .35rem !important;
    }
    .mg-services-flow--open .mg-services-flow-item::before{
        border-radius:1.25rem !important;
    }
    .mg-services-flow--open .mg-services-flow-item__rail{
        right:10px !important;
    }
    .mg-services-flow-item__visual{
        flex-direction:row !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:.72rem !important;
        padding-right:0 !important;
    }
    .mg-services-flow--open .mg-services-flow-item__copy{
        padding:.1rem .95rem .1rem 0 !important;
    }
    .mg-services-flow--open .mg-services-flow-item__copy strong{
        font-size:1.08rem !important;
    }
    .mg-services-flow--open .mg-services-flow-item__meta{
        grid-column:auto !important;
        padding-right:.95rem !important;
        margin-top:0 !important;
    }
    .mg-services-flow--open .mg-services-flow__cta{
        align-items:stretch !important;
        flex-direction:column !important;
        gap:.85rem !important;
    }
    .mg-services-flow--open .mg-services-flow__cta a{
        width:100% !important;
    }
}

/* 2) Services v3.2.6: حذف پترن پس‌زمینه و بازطراحی حرفه‌ایِ غیر باکسی */
.mg-services-flow-section{
    background:
        radial-gradient(circle at 88% 10%, rgba(37,99,235,.12), transparent 26%),
        radial-gradient(circle at 10% 18%, rgba(124,58,237,.10), transparent 28%),
        linear-gradient(180deg, #07101f 0%, #08111d 42%, #08101a 100%) !important;
}
.dark .mg-services-flow-section{
    background:
        radial-gradient(circle at 88% 10%, rgba(37,99,235,.14), transparent 28%),
        radial-gradient(circle at 10% 18%, rgba(124,58,237,.12), transparent 30%),
        linear-gradient(180deg, #060b16 0%, #07101a 42%, #070d15 100%) !important;
}
.mg-services-flow-section .mg-services-lab__grid{display:none !important;}
.mg-services-flow-section .mg-services-lab__orb{opacity:.45 !important;filter:blur(70px) !important;}
.mg-services-flow-section .mg-services-lab__orb--blue{background:rgba(37,99,235,.28) !important;}
.mg-services-flow-section .mg-services-lab__orb--purple{background:rgba(124,58,237,.20) !important;}
.mg-services-flow-section .mg-services-lab__head{max-width:900px;margin:0 auto 2.65rem !important;text-align:center;}
.mg-services-flow-section .mg-services-lab__eyebrow{
    background:rgba(37,99,235,.10) !important;
    border:1px solid rgba(96,165,250,.16) !important;
    box-shadow:none !important;
}
.dark .mg-services-flow-section .mg-services-lab__eyebrow{background:rgba(37,99,235,.12) !important;border-color:rgba(255,255,255,.08) !important;}
.mg-services-flow-section .mg-services-lab__head h2{margin-bottom:.95rem !important;}
.mg-services-flow-section .mg-services-lab__head p{max-width:760px;margin:0 auto !important;}

.mg-services-flow--open{max-width:1110px !important;}
.mg-services-flow--open .mg-services-flow__list{
    position:relative;
    display:flex !important;
    flex-direction:column !important;
    gap:0 !important;
    padding:0 !important;
    background:transparent !important;
}
.mg-services-flow--open .mg-services-flow__list::before{
    content:"";
    position:absolute;
    top:1.25rem;
    bottom:1.25rem;
    right:43px;
    width:1px;
    background:linear-gradient(180deg, rgba(59,130,246,.35), rgba(124,58,237,.28), rgba(6,182,212,.18));
    box-shadow:none;
}
.mg-services-flow--open .mg-services-flow-item{
    --flow-accent:#2563eb;
    --flow-soft:rgba(37,99,235,.10);
    position:relative !important;
    direction:rtl !important;
    display:grid !important;
    grid-template-columns:104px minmax(0,1fr) 208px !important;
    align-items:center !important;
    gap:1.2rem !important;
    min-height:118px !important;
    padding:1.25rem 0 !important;
    text-decoration:none !important;
    background:transparent !important;
    border:0 !important;
    border-bottom:1px solid rgba(148,163,184,.14) !important;
    box-shadow:none !important;
    overflow:visible !important;
    transition:transform .18s ease,border-color .18s ease !important;
}
.dark .mg-services-flow--open .mg-services-flow-item{border-bottom-color:rgba(255,255,255,.075) !important;}
.mg-services-flow--open .mg-services-flow-item:last-child{border-bottom:0 !important;}
.mg-services-flow--open .mg-services-flow-item::before,
.mg-services-flow--open .mg-services-flow-item::after{display:none !important;content:none !important;}
.mg-services-flow--open .mg-services-flow-item:hover{
    transform:translateX(-4px) !important;
    border-bottom-color:color-mix(in srgb, var(--flow-accent) 28%, rgba(148,163,184,.16)) !important;
}
.mg-services-flow--open .mg-services-flow-item__rail{
    position:absolute !important;
    top:50% !important;
    right:35px !important;
    width:16px !important;
    height:16px !important;
    transform:translateY(-50%) !important;
    border-radius:999px !important;
    background:var(--flow-accent) !important;
    border:4px solid #08111d !important;
    box-shadow:0 0 0 5px color-mix(in srgb, var(--flow-accent) 16%, transparent) !important;
}
.dark .mg-services-flow--open .mg-services-flow-item__rail{border-color:#07101a !important;}
.mg-services-flow-item__visual{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:.58rem !important;
    padding-right:1rem !important;
    margin-right:0 !important;
}
.mg-services-flow--open .mg-services-flow-item__icon{
    width:58px !important;
    height:58px !important;
    display:grid !important;
    place-items:center !important;
    border-radius:18px !important;
    color:#fff !important;
    background:linear-gradient(135deg, var(--flow-accent), color-mix(in srgb, var(--flow-accent) 55%, #7c3aed 45%)) !important;
    border:0 !important;
    box-shadow:0 12px 28px color-mix(in srgb, var(--flow-accent) 22%, transparent) !important;
    font-size:1.15rem !important;
}
.mg-services-flow--open .mg-services-flow-item__icon::before{display:none !important;}
.mg-services-flow-item__number{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:42px !important;
    min-height:24px !important;
    padding:.15rem .55rem !important;
    border-radius:999px !important;
    background:transparent !important;
    border:1px solid color-mix(in srgb, var(--flow-accent) 24%, rgba(148,163,184,.14)) !important;
    color:var(--flow-accent) !important;
    box-shadow:none !important;
    font-size:.7rem !important;
    font-weight:1000 !important;
    letter-spacing:.16em !important;
}
.dark .mg-services-flow-item__number{border-color:color-mix(in srgb, var(--flow-accent) 24%, rgba(255,255,255,.08)) !important;}

.mg-services-flow--open .mg-services-flow-item__copy{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    min-width:0 !important;
    padding:.1rem 1.15rem .1rem 0 !important;
    text-align:right !important;
}
.mg-services-flow--open .mg-services-flow-item__copy::before{
    content:"";
    position:absolute;
    right:0;
    top:.35rem;
    bottom:.35rem;
    width:3px;
    border-radius:999px;
    background:linear-gradient(180deg, var(--flow-accent), color-mix(in srgb, var(--flow-accent) 45%, #ffffff 55%));
}
.mg-services-flow--open .mg-services-flow-item__copy small{
    display:inline-flex !important;
    align-items:center !important;
    width:max-content !important;
    max-width:100% !important;
    margin:0 0 .45rem 0 !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    color:var(--flow-accent) !important;
    font-size:.7rem !important;
    line-height:1.4 !important;
    font-weight:950 !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
}
.mg-services-flow--open .mg-services-flow-item__copy strong{
    display:block !important;
    margin:0 0 .42rem 0 !important;
    color:#ffffff !important;
    font-size:1.23rem !important;
    line-height:1.72 !important;
    font-weight:1000 !important;
    letter-spacing:-.03em !important;
    word-break:break-word !important;
}
.mg-services-flow--open .mg-services-flow-item__copy em{
    display:block !important;
    max-width:none !important;
    color:rgba(226,232,240,.84) !important;
    font-style:normal !important;
    font-size:.88rem !important;
    line-height:2.02 !important;
    font-weight:760 !important;
}

.mg-services-flow--open .mg-services-flow-item__meta{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    gap:.72rem !important;
    padding:0 0 0 .35rem !important;
    text-align:right !important;
}
.mg-services-flow--open .mg-services-flow-item__meta b{
    display:block !important;
    max-width:180px !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    color:rgba(226,232,240,.78) !important;
    font-size:.78rem !important;
    line-height:1.95 !important;
    font-weight:900 !important;
    text-align:right !important;
}
.mg-services-flow--open .mg-services-flow-item__meta i{
    display:grid !important;
    place-items:center !important;
    width:38px !important;
    height:38px !important;
    border-radius:999px !important;
    color:var(--flow-accent) !important;
    background:transparent !important;
    border:1px solid color-mix(in srgb, var(--flow-accent) 26%, rgba(148,163,184,.16)) !important;
    box-shadow:none !important;
    transition:transform .18s ease,background .18s ease,color .18s ease !important;
}
.mg-services-flow--open .mg-services-flow-item:hover .mg-services-flow-item__meta i{
    transform:translateX(-4px) !important;
    color:#fff !important;
    background:color-mix(in srgb, var(--flow-accent) 22%, transparent) !important;
}

.mg-services-flow-item.is-blue{--flow-accent:#3b82f6;--flow-soft:rgba(59,130,246,.12);}
.mg-services-flow-item.is-purple{--flow-accent:#8b5cf6;--flow-soft:rgba(139,92,246,.12);}
.mg-services-flow-item.is-green,.mg-services-flow-item.is-emerald{--flow-accent:#10b981;--flow-soft:rgba(16,185,129,.12);}
.mg-services-flow-item.is-cyan{--flow-accent:#f59e0b;--flow-soft:rgba(245,158,11,.13);}
.mg-services-flow-item.is-gold{--flow-accent:#f59e0b;--flow-soft:rgba(245,158,11,.13);}
.mg-services-flow-item.is-steel{--flow-accent:#0ea5e9;--flow-soft:rgba(14,165,233,.12);}

.mg-services-flow--open .mg-services-flow__cta{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:1rem !important;
    margin-top:1.25rem !important;
    padding:1.1rem 0 0 !important;
    background:transparent !important;
    border:0 !important;
    border-top:1px solid rgba(148,163,184,.16) !important;
    box-shadow:none !important;
    border-radius:0 !important;
}
.dark .mg-services-flow--open .mg-services-flow__cta{border-top-color:rgba(255,255,255,.08) !important;}
.mg-services-flow--open .mg-services-flow__cta span{
    color:rgba(226,232,240,.78) !important;
    font-size:.85rem !important;
    line-height:1.95 !important;
    font-weight:760 !important;
}
.mg-services-flow--open .mg-services-flow__cta a{
    min-height:48px !important;
    padding:.85rem 1.2rem !important;
    border-radius:999px !important;
    background:linear-gradient(135deg, #2563eb, #7c3aed) !important;
    border:0 !important;
    box-shadow:0 14px 34px rgba(37,99,235,.18) !important;
}

@media (max-width:1080px){
    .mg-services-flow--open .mg-services-flow__list::before{right:38px !important;}
    .mg-services-flow--open .mg-services-flow-item{grid-template-columns:98px minmax(0,1fr) 170px !important;gap:1rem !important;}
    .mg-services-flow--open .mg-services-flow-item__copy strong{font-size:1.12rem !important;}
    .mg-services-flow--open .mg-services-flow-item__meta b{max-width:160px !important;}
}
@media (max-width:860px){
    .mg-services-flow--open .mg-services-flow__list::before{right:34px !important;}
    .mg-services-flow--open .mg-services-flow-item{grid-template-columns:92px minmax(0,1fr) !important;gap:1rem !important;}
    .mg-services-flow--open .mg-services-flow-item__meta{grid-column:2 !important;align-items:flex-start !important;padding-right:1.15rem !important;padding-left:0 !important;}
    .mg-services-flow--open .mg-services-flow-item__meta b{max-width:none !important;}
    .mg-services-flow--open .mg-services-flow-item__rail{right:26px !important;}
}
@media (max-width:720px){
    .mg-services-flow-section .mg-services-lab__head{text-align:right !important;}
    .mg-services-flow-section .mg-services-lab__head p{margin:0 !important;}
    .mg-services-flow--open .mg-services-flow__list::before{right:15px !important;top:1rem !important;bottom:1rem !important;}
    .mg-services-flow--open .mg-services-flow-item{
        grid-template-columns:1fr !important;
        gap:.82rem !important;
        min-height:auto !important;
        padding:1rem 2.55rem 1rem 0 !important;
    }
    .mg-services-flow--open .mg-services-flow-item__rail{right:7px !important;}
    .mg-services-flow-item__visual{flex-direction:row !important;justify-content:flex-start !important;align-items:center !important;padding-right:0 !important;gap:.7rem !important;}
    .mg-services-flow--open .mg-services-flow-item__copy{padding-right:.95rem !important;}
    .mg-services-flow--open .mg-services-flow-item__copy strong{font-size:1.04rem !important;}
    .mg-services-flow--open .mg-services-flow-item__meta{grid-column:auto !important;padding-right:.95rem !important;}
    .mg-services-flow--open .mg-services-flow__cta{flex-direction:column !important;align-items:stretch !important;}
    .mg-services-flow--open .mg-services-flow__cta a{width:100% !important;}
}

/* 2) Services v3.2.7: کارت‌های حرفه‌ای رنگی، بدون خط عمودی لیست و خارج از حالت لیست ساده */
.mg-services-flow-section{
    background:
        radial-gradient(circle at 82% 8%, rgba(37,99,235,.13), transparent 28%),
        radial-gradient(circle at 16% 12%, rgba(124,58,237,.11), transparent 30%),
        radial-gradient(circle at 50% 105%, rgba(14,165,233,.10), transparent 34%),
        linear-gradient(180deg, #07101f 0%, #08111d 44%, #070d16 100%) !important;
}
.mg-services-flow-section .mg-services-lab__grid,
.mg-services-flow--open .mg-services-flow__list::before{
    display:none !important;
    content:none !important;
}
.mg-services-flow--open{
    max-width:1120px !important;
}
.mg-services-flow--open .mg-services-flow__list{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:1.15rem !important;
    padding:0 !important;
    margin:0 auto !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}
.mg-services-flow--open .mg-services-flow-item{
    --flow-accent:#3b82f6;
    --flow-accent-2:#06b6d4;
    position:relative !important;
    direction:rtl !important;
    display:grid !important;
    grid-template-columns:82px minmax(0, 1fr) !important;
    grid-template-areas:
        "visual copy"
        "visual meta" !important;
    align-items:center !important;
    gap:.95rem 1.05rem !important;
    min-height:218px !important;
    padding:1.35rem 1.25rem !important;
    text-decoration:none !important;
    border:1px solid rgba(255,255,255,.075) !important;
    border-radius:1.85rem !important;
    background:
        radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--flow-accent) 16%, transparent), transparent 34%),
        linear-gradient(145deg, color-mix(in srgb, var(--flow-accent) 11%, transparent), rgba(255,255,255,.025) 46%, color-mix(in srgb, var(--flow-accent-2) 8%, transparent)) !important;
    box-shadow:none !important;
    overflow:hidden !important;
    isolation:isolate !important;
    transition:transform .2s ease, border-color .2s ease, background .2s ease !important;
}
.mg-services-flow--open .mg-services-flow-item:nth-child(5){
    grid-column:1/-1 !important;
    min-height:184px !important;
    grid-template-columns:86px minmax(0, 1fr) 230px !important;
    grid-template-areas:"visual copy meta" !important;
}
.mg-services-flow--open .mg-services-flow-item::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    display:block !important;
    border-radius:inherit !important;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,.06) 50%, transparent 100%),
        radial-gradient(circle at 86% 14%, rgba(255,255,255,.10), transparent 26%) !important;
    opacity:.62 !important;
    z-index:-2 !important;
    pointer-events:none !important;
}
.mg-services-flow--open .mg-services-flow-item::after{
    content:"" !important;
    position:absolute !important;
    inset:0 auto 0 0 !important;
    display:block !important;
    width:5px !important;
    height:auto !important;
    border-radius:999px 0 0 999px !important;
    background:linear-gradient(180deg, var(--flow-accent), var(--flow-accent-2)) !important;
    opacity:.9 !important;
    z-index:1 !important;
}
.mg-services-flow--open .mg-services-flow-item:hover{
    transform:translateY(-5px) !important;
    border-color:color-mix(in srgb, var(--flow-accent) 28%, rgba(255,255,255,.08)) !important;
    background:
        radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--flow-accent) 20%, transparent), transparent 34%),
        linear-gradient(145deg, color-mix(in srgb, var(--flow-accent) 15%, transparent), rgba(255,255,255,.035) 46%, color-mix(in srgb, var(--flow-accent-2) 11%, transparent)) !important;
}
.mg-services-flow--open .mg-services-flow-item__rail{
    display:none !important;
}
.mg-services-flow-item__visual{
    grid-area:visual !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:.72rem !important;
    padding:0 !important;
    margin:0 !important;
    min-width:0 !important;
}
.mg-services-flow--open .mg-services-flow-item__icon{
    position:relative !important;
    display:grid !important;
    place-items:center !important;
    width:66px !important;
    height:66px !important;
    border-radius:1.45rem !important;
    color:#fff !important;
    background:linear-gradient(135deg, var(--flow-accent), var(--flow-accent-2)) !important;
    border:1px solid rgba(255,255,255,.18) !important;
    box-shadow:0 18px 42px color-mix(in srgb, var(--flow-accent) 26%, transparent) !important;
    font-size:1.28rem !important;
}
.mg-services-flow--open .mg-services-flow-item__icon::before{
    display:block !important;
    content:"" !important;
    position:absolute !important;
    inset:-8px !important;
    border-radius:inherit !important;
    background:color-mix(in srgb, var(--flow-accent) 18%, transparent) !important;
    z-index:-1 !important;
    filter:blur(10px) !important;
}
.mg-services-flow-item__number{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:44px !important;
    min-height:25px !important;
    padding:.16rem .58rem !important;
    border-radius:999px !important;
    color:#e5f0ff !important;
    background:rgba(255,255,255,.065) !important;
    border:1px solid color-mix(in srgb, var(--flow-accent) 24%, rgba(255,255,255,.10)) !important;
    box-shadow:none !important;
    font-size:.69rem !important;
    font-weight:1000 !important;
    letter-spacing:.15em !important;
}
.mg-services-flow--open .mg-services-flow-item__copy{
    grid-area:copy !important;
    min-width:0 !important;
    padding:0 !important;
    text-align:right !important;
}
.mg-services-flow--open .mg-services-flow-item__copy::before{
    display:none !important;
    content:none !important;
}
.mg-services-flow--open .mg-services-flow-item__copy small{
    display:inline-flex !important;
    align-items:center !important;
    width:auto !important;
    max-width:100% !important;
    margin:0 0 .52rem 0 !important;
    padding:.28rem .62rem !important;
    border-radius:999px !important;
    background:color-mix(in srgb, var(--flow-accent) 14%, transparent) !important;
    border:1px solid color-mix(in srgb, var(--flow-accent) 22%, rgba(255,255,255,.06)) !important;
    color:color-mix(in srgb, var(--flow-accent) 72%, #ffffff 28%) !important;
    box-shadow:none !important;
    font-size:.66rem !important;
    line-height:1.45 !important;
    font-weight:1000 !important;
    letter-spacing:.08em !important;
}
.mg-services-flow--open .mg-services-flow-item__copy strong{
    display:block !important;
    margin:0 0 .52rem 0 !important;
    color:#ffffff !important;
    font-size:1.24rem !important;
    line-height:1.72 !important;
    font-weight:1000 !important;
    letter-spacing:-.035em !important;
}
.mg-services-flow--open .mg-services-flow-item__copy em{
    display:block !important;
    max-width:none !important;
    color:rgba(226,232,240,.82) !important;
    font-style:normal !important;
    font-size:.86rem !important;
    line-height:2.02 !important;
    font-weight:740 !important;
}
.mg-services-flow--open .mg-services-flow-item__meta{
    grid-area:meta !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:.78rem !important;
    min-width:0 !important;
    margin-top:.25rem !important;
    padding:.82rem .9rem !important;
    text-align:right !important;
    background:rgba(255,255,255,.045) !important;
    border:1px solid rgba(255,255,255,.07) !important;
    border-radius:1.1rem !important;
    box-shadow:none !important;
}
.mg-services-flow--open .mg-services-flow-item:nth-child(5) .mg-services-flow-item__meta{
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    margin-top:0 !important;
    min-height:96px !important;
}
.mg-services-flow--open .mg-services-flow-item__meta b{
    display:block !important;
    max-width:none !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    color:rgba(226,232,240,.80) !important;
    font-size:.76rem !important;
    line-height:1.9 !important;
    font-weight:900 !important;
    text-align:right !important;
}
.mg-services-flow--open .mg-services-flow-item__meta i{
    display:grid !important;
    place-items:center !important;
    flex:0 0 auto !important;
    width:36px !important;
    height:36px !important;
    border-radius:999px !important;
    color:#fff !important;
    background:linear-gradient(135deg, var(--flow-accent), var(--flow-accent-2)) !important;
    border:0 !important;
    box-shadow:0 12px 28px color-mix(in srgb, var(--flow-accent) 22%, transparent) !important;
    transition:transform .18s ease !important;
}
.mg-services-flow--open .mg-services-flow-item:hover .mg-services-flow-item__meta i{
    transform:translateX(-4px) !important;
}
.mg-services-flow-item.is-blue{--flow-accent:#3b82f6;--flow-accent-2:#06b6d4;}
.mg-services-flow-item.is-purple{--flow-accent:#8b5cf6;--flow-accent-2:#ec4899;}
.mg-services-flow-item.is-green,.mg-services-flow-item.is-emerald{--flow-accent:#10b981;--flow-accent-2:#22c55e;}
.mg-services-flow-item.is-cyan{--flow-accent:#f59e0b;--flow-accent-2:#f97316;}
.mg-services-flow-item.is-gold{--flow-accent:#f59e0b;--flow-accent-2:#f97316;}
.mg-services-flow-item.is-steel{--flow-accent:#0ea5e9;--flow-accent-2:#6366f1;}
.mg-services-flow--open .mg-services-flow__cta{
    margin-top:1.35rem !important;
    padding:1.15rem 0 0 !important;
    border-top:1px solid rgba(255,255,255,.08) !important;
    background:transparent !important;
    box-shadow:none !important;
}
@media (max-width:1080px){
    .mg-services-flow--open .mg-services-flow__list{grid-template-columns:1fr !important;}
    .mg-services-flow--open .mg-services-flow-item,
    .mg-services-flow--open .mg-services-flow-item:nth-child(5){
        grid-column:auto !important;
        grid-template-columns:88px minmax(0, 1fr) !important;
        grid-template-areas:
            "visual copy"
            "visual meta" !important;
        min-height:188px !important;
    }
    .mg-services-flow--open .mg-services-flow-item:nth-child(5) .mg-services-flow-item__meta{
        flex-direction:row !important;
        align-items:center !important;
        justify-content:space-between !important;
        min-height:auto !important;
    }
}
@media (max-width:720px){
    .mg-services-flow-section .mg-services-lab__head{text-align:right !important;}
    .mg-services-flow-section .mg-services-lab__head p{margin:0 !important;}
    .mg-services-flow--open .mg-services-flow__list{gap:.95rem !important;}
    .mg-services-flow--open .mg-services-flow-item,
    .mg-services-flow--open .mg-services-flow-item:nth-child(5){
        grid-template-columns:1fr !important;
        grid-template-areas:
            "visual"
            "copy"
            "meta" !important;
        min-height:auto !important;
        padding:1.15rem !important;
        border-radius:1.45rem !important;
    }
    .mg-services-flow-item__visual{flex-direction:row !important;justify-content:flex-start !important;}
    .mg-services-flow--open .mg-services-flow-item__icon{width:56px !important;height:56px !important;border-radius:1.2rem !important;}
    .mg-services-flow--open .mg-services-flow-item__copy strong{font-size:1.08rem !important;}
    .mg-services-flow--open .mg-services-flow-item__meta,
    .mg-services-flow--open .mg-services-flow-item:nth-child(5) .mg-services-flow-item__meta{
        flex-direction:row !important;
        align-items:center !important;
        justify-content:space-between !important;
        padding:.75rem .78rem !important;
    }
    .mg-services-flow--open .mg-services-flow__cta{flex-direction:column !important;align-items:stretch !important;gap:.85rem !important;}
    .mg-services-flow--open .mg-services-flow__cta a{width:100% !important;}
}


/* 2) Services v3.2.8: بازطراحی پایدار، مرتب و مدرن کارت‌های خدمات */
.mg-services-flow-section{
    background:
        radial-gradient(circle at 85% 10%, rgba(37,99,235,.12), transparent 28%),
        radial-gradient(circle at 12% 18%, rgba(124,58,237,.10), transparent 30%),
        linear-gradient(180deg, #060c18 0%, #07101d 42%, #060d18 100%) !important;
}
.mg-services-flow-section .mg-services-lab__bg,
.mg-services-flow-section .mg-services-lab__grid,
.mg-services-flow--open .mg-services-flow__list::before,
.mg-services-flow--open .mg-services-flow-item__rail{
    display:none !important;
    content:none !important;
}
.mg-services-flow-section .mg-services-lab__head{
    max-width:900px;
    margin:0 auto 2.75rem !important;
    text-align:center;
}
.mg-services-flow-section .mg-services-lab__eyebrow{
    padding:.56rem .92rem !important;
    border-radius:999px !important;
    background:rgba(59,130,246,.10) !important;
    border:1px solid rgba(96,165,250,.16) !important;
    box-shadow:none !important;
}
.dark .mg-services-flow-section .mg-services-lab__eyebrow{
    background:rgba(59,130,246,.12) !important;
    border-color:rgba(255,255,255,.08) !important;
}
.mg-services-flow-section .mg-services-lab__head p{
    max-width:760px;
    margin:0 auto !important;
}

.mg-services-flow--open{
    max-width:1120px !important;
}
.mg-services-flow--open .mg-services-flow__list{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:1.25rem !important;
    margin:0 auto !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}
.mg-services-flow--open .mg-services-flow-item{
    --flow-accent:#3b82f6;
    --flow-accent-2:#06b6d4;
    position:relative !important;
    direction:rtl !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 92px !important;
    grid-template-areas:
        "copy visual"
        "meta visual" !important;
    gap:1rem 1.15rem !important;
    min-height:250px !important;
    padding:1.45rem 1.45rem 1.35rem !important;
    text-decoration:none !important;
    border:1px solid rgba(255,255,255,.08) !important;
    border-radius:1.7rem !important;
    background:
        radial-gradient(circle at 8% 14%, color-mix(in srgb, var(--flow-accent) 14%, transparent), transparent 28%),
        linear-gradient(180deg, rgba(8,14,27,.94), rgba(7,13,24,.82)) !important;
    box-shadow:0 24px 54px rgba(2,8,23,.24) !important;
    overflow:hidden !important;
    isolation:isolate !important;
    transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}
.dark .mg-services-flow--open .mg-services-flow-item{
    border-color:rgba(255,255,255,.075) !important;
    box-shadow:0 24px 58px rgba(0,0,0,.26) !important;
}
.mg-services-flow--open .mg-services-flow-item::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    border-radius:inherit !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.055), transparent 34%, transparent 70%, rgba(255,255,255,.025)),
        radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--flow-accent) 16%, transparent), transparent 28%) !important;
    opacity:1 !important;
    z-index:-2 !important;
    pointer-events:none !important;
}
.mg-services-flow--open .mg-services-flow-item::after{
    content:"" !important;
    position:absolute !important;
    top:0 !important;
    right:1.25rem !important;
    left:1.25rem !important;
    height:4px !important;
    border-radius:0 0 999px 999px !important;
    background:linear-gradient(90deg, var(--flow-accent), var(--flow-accent-2)) !important;
    opacity:.95 !important;
    z-index:1 !important;
}
.mg-services-flow--open .mg-services-flow-item:hover{
    transform:translateY(-5px) !important;
    border-color:color-mix(in srgb, var(--flow-accent) 28%, rgba(255,255,255,.09)) !important;
    box-shadow:0 28px 64px color-mix(in srgb, var(--flow-accent) 12%, rgba(2,8,23,.28)) !important;
}
.mg-services-flow--open .mg-services-flow-item:last-child{
    grid-column:1 / -1 !important;
    max-width:calc(50% - .625rem) !important;
    width:100% !important;
    justify-self:center !important;
}
.mg-services-flow-item__visual{
    grid-area:visual !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:.72rem !important;
    min-width:0 !important;
    padding-top:.2rem !important;
    margin:0 !important;
}
.mg-services-flow--open .mg-services-flow-item__icon{
    position:relative !important;
    display:grid !important;
    place-items:center !important;
    width:70px !important;
    height:70px !important;
    border-radius:1.4rem !important;
    color:#fff !important;
    background:linear-gradient(135deg, var(--flow-accent), var(--flow-accent-2)) !important;
    border:1px solid rgba(255,255,255,.20) !important;
    box-shadow:0 18px 38px color-mix(in srgb, var(--flow-accent) 22%, transparent) !important;
    font-size:1.3rem !important;
}
.mg-services-flow--open .mg-services-flow-item__icon::before{
    content:"" !important;
    position:absolute !important;
    inset:-10px !important;
    border-radius:inherit !important;
    background:color-mix(in srgb, var(--flow-accent) 18%, transparent) !important;
    filter:blur(12px) !important;
    z-index:-1 !important;
}
.mg-services-flow-item__number{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:44px !important;
    min-height:25px !important;
    padding:.16rem .56rem !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.065) !important;
    border:1px solid color-mix(in srgb, var(--flow-accent) 22%, rgba(255,255,255,.12)) !important;
    color:#dbeafe !important;
    font-size:.69rem !important;
    line-height:1 !important;
    font-weight:1000 !important;
    letter-spacing:.14em !important;
    box-shadow:none !important;
}
.mg-services-flow--open .mg-services-flow-item__copy{
    grid-area:copy !important;
    min-width:0 !important;
    padding:0 !important;
    text-align:right !important;
}
.mg-services-flow--open .mg-services-flow-item__copy::before{
    display:none !important;
    content:none !important;
}
.mg-services-flow--open .mg-services-flow-item__copy small{
    display:inline-flex !important;
    align-items:center !important;
    width:auto !important;
    max-width:100% !important;
    margin:0 0 .65rem 0 !important;
    padding:.3rem .7rem !important;
    border-radius:999px !important;
    background:color-mix(in srgb, var(--flow-accent) 14%, transparent) !important;
    border:1px solid color-mix(in srgb, var(--flow-accent) 22%, rgba(255,255,255,.07)) !important;
    color:color-mix(in srgb, var(--flow-accent) 76%, #ffffff 24%) !important;
    font-size:.66rem !important;
    line-height:1.45 !important;
    font-weight:1000 !important;
    letter-spacing:.08em !important;
    box-shadow:none !important;
}
.mg-services-flow--open .mg-services-flow-item__copy strong{
    display:block !important;
    margin:0 0 .58rem 0 !important;
    color:#ffffff !important;
    font-size:1.28rem !important;
    line-height:1.72 !important;
    font-weight:1000 !important;
    letter-spacing:-.035em !important;
    word-break:break-word !important;
}
.mg-services-flow--open .mg-services-flow-item__copy em{
    display:block !important;
    max-width:none !important;
    margin:0 !important;
    color:rgba(226,232,240,.82) !important;
    font-style:normal !important;
    font-size:.87rem !important;
    line-height:2.02 !important;
    font-weight:760 !important;
}
.mg-services-flow--open .mg-services-flow-item__meta{
    grid-area:meta !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:.85rem !important;
    min-width:0 !important;
    margin-top:.12rem !important;
    padding-top:.92rem !important;
    border-top:1px solid rgba(255,255,255,.07) !important;
    background:transparent !important;
    border-radius:0 !important;
    box-shadow:none !important;
}
.mg-services-flow--open .mg-services-flow-item__meta b{
    display:block !important;
    max-width:100% !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    color:#f8fafc !important;
    font-size:.79rem !important;
    line-height:1.9 !important;
    font-weight:900 !important;
    text-align:right !important;
}
.mg-services-flow--open .mg-services-flow-item__meta i{
    display:grid !important;
    place-items:center !important;
    flex:0 0 auto !important;
    width:38px !important;
    height:38px !important;
    border-radius:999px !important;
    color:#fff !important;
    background:linear-gradient(135deg, var(--flow-accent), var(--flow-accent-2)) !important;
    border:0 !important;
    box-shadow:0 12px 26px color-mix(in srgb, var(--flow-accent) 22%, transparent) !important;
    transition:transform .18s ease !important;
}
.mg-services-flow--open .mg-services-flow-item:hover .mg-services-flow-item__meta i{
    transform:translateX(-4px) !important;
}

.mg-services-flow-item.is-blue{--flow-accent:#3b82f6;--flow-accent-2:#06b6d4;}
.mg-services-flow-item.is-purple{--flow-accent:#8b5cf6;--flow-accent-2:#ec4899;}
.mg-services-flow-item.is-green,.mg-services-flow-item.is-emerald{--flow-accent:#10b981;--flow-accent-2:#14b8a6;}
.mg-services-flow-item.is-cyan{--flow-accent:#f59e0b;--flow-accent-2:#f97316;}
.mg-services-flow-item.is-gold{--flow-accent:#f59e0b;--flow-accent-2:#f97316;}
.mg-services-flow-item.is-steel{--flow-accent:#0ea5e9;--flow-accent-2:#6366f1;}

.mg-services-flow--open .mg-services-flow__cta{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:1rem !important;
    margin-top:1.35rem !important;
    padding:1.15rem 0 0 !important;
    background:transparent !important;
    border:0 !important;
    border-top:1px solid rgba(255,255,255,.08) !important;
    border-radius:0 !important;
    box-shadow:none !important;
}
.mg-services-flow--open .mg-services-flow__cta span{
    color:rgba(226,232,240,.78) !important;
    font-size:.85rem !important;
    line-height:1.95 !important;
    font-weight:760 !important;
}
.mg-services-flow--open .mg-services-flow__cta a{
    min-height:48px !important;
    padding:.85rem 1.2rem !important;
    border-radius:999px !important;
    background:linear-gradient(135deg,#2563eb,#7c3aed) !important;
    border:0 !important;
    box-shadow:0 16px 34px rgba(37,99,235,.18) !important;
}

@media (max-width:1080px){
    .mg-services-flow-section .mg-services-lab__head{
        text-align:right !important;
    }
    .mg-services-flow-section .mg-services-lab__head p{
        margin:0 !important;
    }
    .mg-services-flow--open .mg-services-flow__list{
        grid-template-columns:1fr !important;
    }
    .mg-services-flow--open .mg-services-flow-item,
    .mg-services-flow--open .mg-services-flow-item:last-child{
        grid-column:auto !important;
        max-width:none !important;
        justify-self:stretch !important;
        min-height:220px !important;
    }
}
@media (max-width:720px){
    .mg-services-flow--open .mg-services-flow__list{
        gap:1rem !important;
    }
    .mg-services-flow--open .mg-services-flow-item,
    .mg-services-flow--open .mg-services-flow-item:last-child{
        grid-template-columns:1fr !important;
        grid-template-areas:
            "visual"
            "copy"
            "meta" !important;
        gap:.95rem !important;
        min-height:auto !important;
        padding:1.15rem !important;
        border-radius:1.45rem !important;
    }
    .mg-services-flow-item__visual{
        flex-direction:row !important;
        justify-content:flex-start !important;
    }
    .mg-services-flow--open .mg-services-flow-item__icon{
        width:58px !important;
        height:58px !important;
        border-radius:1.2rem !important;
        font-size:1.15rem !important;
    }
    .mg-services-flow--open .mg-services-flow-item__copy strong{
        font-size:1.08rem !important;
    }
    .mg-services-flow--open .mg-services-flow-item__meta{
        padding-top:.78rem !important;
    }
    .mg-services-flow--open .mg-services-flow__cta{
        flex-direction:column !important;
        align-items:stretch !important;
        gap:.85rem !important;
    }
    .mg-services-flow--open .mg-services-flow__cta a{
        width:100% !important;
    }
}

/* ==== MasterGroup Modern Services Section v3.2.9 ==== */
.mg-modern-services-section{position:relative;isolation:isolate;overflow:hidden;padding:6.4rem 0;background:linear-gradient(180deg,rgba(248,250,252,.98),rgba(241,245,249,.94));color:var(--text-main)}
.dark .mg-modern-services-section{background:linear-gradient(180deg,rgba(5,5,10,.98),rgba(2,6,23,.96));color:#e2e8f0}
.mg-modern-services-grid{position:absolute;inset:0;z-index:0;pointer-events:none;background-image:radial-gradient(rgba(15,23,42,.085) 1.35px,transparent 1.35px);background-size:30px 30px;mask-image:linear-gradient(180deg,transparent,black 15%,black 84%,transparent);-webkit-mask-image:linear-gradient(180deg,transparent,black 15%,black 84%,transparent)}
.dark .mg-modern-services-grid{background-image:radial-gradient(rgba(255,255,255,.055) 1.35px,transparent 1.35px)}
.mg-modern-services-orb{position:absolute;z-index:0;pointer-events:none;border-radius:999px;filter:blur(110px);opacity:.58;mix-blend-mode:multiply;animation:mgModernServicesBlob 8s ease-in-out infinite}
.dark .mg-modern-services-orb{opacity:.38;mix-blend-mode:screen}
.mg-modern-services-orb--blue{top:-9rem;right:-8rem;width:34rem;height:34rem;background:rgba(96,165,250,.38)}
.mg-modern-services-orb--purple{top:16%;left:-8rem;width:30rem;height:30rem;background:rgba(168,85,247,.32);animation-delay:2s}
.mg-modern-services-orb--emerald{right:18%;bottom:-12rem;width:35rem;height:35rem;background:rgba(52,211,153,.26);animation-delay:4s}
@keyframes mgModernServicesBlob{0%,100%{transform:translate3d(0,0,0) scale(1)}33%{transform:translate3d(28px,-44px,0) scale(1.08)}66%{transform:translate3d(-22px,22px,0) scale(.94)}}
.mg-modern-services-head{max-width:900px;margin:0 auto 4.4rem;text-align:center;position:relative;z-index:1}
.mg-modern-services-eyebrow{display:inline-flex;align-items:center;gap:.55rem;margin-bottom:1.15rem;padding:.62rem 1rem;border-radius:999px;background:rgba(255,255,255,.82);border:1px solid rgba(148,163,184,.24);box-shadow:0 14px 34px rgba(15,23,42,.065);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:#2563eb;font-size:.74rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.dark .mg-modern-services-eyebrow{background:rgba(15,23,42,.76);border-color:rgba(255,255,255,.08);box-shadow:0 18px 42px rgba(0,0,0,.18);color:#60a5fa}
.mg-modern-services-eyebrow i{font-size:.55rem;animation:mgModernServicesPulse 1.75s ease-in-out infinite;color:#2563eb}.dark .mg-modern-services-eyebrow i{color:#60a5fa}
@keyframes mgModernServicesPulse{0%,100%{opacity:.55;transform:scale(.9)}50%{opacity:1;transform:scale(1.15)}}
.mg-modern-services-head h2{margin:0 0 1.1rem;padding-bottom:.12rem;font-size:clamp(2.1rem,5.2vw,4.95rem);font-weight:1000;line-height:1.22;letter-spacing:-.055em;background:linear-gradient(270deg,#0f172a,#475569);-webkit-background-clip:text;background-clip:text;color:transparent;text-wrap:balance}
.dark .mg-modern-services-head h2{background-image:linear-gradient(270deg,#fff,#94a3b8)}
.mg-modern-services-head p{max-width:760px;margin:0 auto;color:var(--text-muted);font-size:clamp(.98rem,1.35vw,1.17rem);font-weight:700;line-height:2.1;text-wrap:balance}.dark .mg-modern-services-head p{color:#94a3b8}
.mg-modern-services-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.55rem;position:relative;z-index:1;align-items:stretch}
.mg-modern-service-card{--mg-accent-from:#2563eb;--mg-accent-to:#06b6d4;--mg-accent-soft:rgba(37,99,235,.11);--mg-accent-border:rgba(37,99,235,.20);--mg-accent-text:#2563eb;position:relative;display:flex;flex-direction:column;min-height:100%;overflow:hidden;padding:2rem;border-radius:2.45rem;text-decoration:none;color:inherit;background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.62);box-shadow:0 22px 58px rgba(15,23,42,.095);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);transition:transform .32s ease,border-color .32s ease,box-shadow .32s ease,background .32s ease;will-change:transform}
.dark .mg-modern-service-card{background:rgba(15,23,42,.62);border-color:rgba(255,255,255,.08);box-shadow:0 24px 70px rgba(0,0,0,.25);color:#e2e8f0}
.mg-modern-service-card.is-blue{--mg-accent-from:#2563eb;--mg-accent-to:#06b6d4;--mg-accent-soft:rgba(37,99,235,.10);--mg-accent-border:rgba(37,99,235,.18);--mg-accent-text:#2563eb}
.mg-modern-service-card.is-orange{--mg-accent-from:#f97316;--mg-accent-to:#f59e0b;--mg-accent-soft:rgba(249,115,22,.11);--mg-accent-border:rgba(249,115,22,.20);--mg-accent-text:#ea580c}
.mg-modern-service-card.is-emerald{--mg-accent-from:#10b981;--mg-accent-to:#14b8a6;--mg-accent-soft:rgba(16,185,129,.11);--mg-accent-border:rgba(16,185,129,.20);--mg-accent-text:#059669}
.mg-modern-service-card.is-violet{--mg-accent-from:#7c3aed;--mg-accent-to:#a855f7;--mg-accent-soft:rgba(124,58,237,.11);--mg-accent-border:rgba(124,58,237,.20);--mg-accent-text:#7c3aed}
.mg-modern-service-card.is-cyan{--mg-accent-from:#06b6d4;--mg-accent-to:#3b82f6;--mg-accent-soft:rgba(6,182,212,.11);--mg-accent-border:rgba(6,182,212,.20);--mg-accent-text:#0891b2}
.mg-modern-service-card.is-rose{--mg-accent-from:#f43f5e;--mg-accent-to:#ec4899;--mg-accent-soft:rgba(244,63,94,.11);--mg-accent-border:rgba(244,63,94,.20);--mg-accent-text:#e11d48}
.mg-modern-service-card__glow{position:absolute;inset:-2px;border-radius:inherit;background:linear-gradient(120deg,var(--mg-accent-from),var(--mg-accent-to));opacity:0;filter:blur(12px);transition:opacity .32s ease;z-index:-1;pointer-events:none}.mg-modern-service-card:hover .mg-modern-service-card__glow{opacity:.28}.dark .mg-modern-service-card:hover .mg-modern-service-card__glow{opacity:.46}
.mg-modern-service-card__watermark{position:absolute;left:.9rem;bottom:-1.8rem;font-size:7.4rem;line-height:1;font-weight:1000;letter-spacing:-.08em;background:linear-gradient(0deg,rgba(203,213,225,.72),rgba(203,213,225,0));-webkit-background-clip:text;background-clip:text;color:transparent;pointer-events:none;user-select:none;transition:transform .42s ease,opacity .42s ease;opacity:.9}.dark .mg-modern-service-card__watermark{background-image:linear-gradient(0deg,rgba(51,65,85,.82),rgba(51,65,85,0));opacity:.8}
.mg-modern-service-card__spotlight{position:absolute;top:-3.5rem;right:-3.5rem;width:11rem;height:11rem;border-radius:999px;background:var(--mg-accent-soft);filter:blur(26px);transition:transform .45s ease,background .45s ease;pointer-events:none}.mg-modern-service-card:hover .mg-modern-service-card__spotlight{transform:scale(1.35);background:color-mix(in srgb,var(--mg-accent-from) 22%,transparent)}
.mg-modern-service-card__top,.mg-modern-service-card__body,.mg-modern-service-card__footer{position:relative;z-index:1}.mg-modern-service-card__top{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.9rem}.mg-modern-service-card__icon{width:4rem;height:4rem;display:grid;place-items:center;flex:0 0 auto;border-radius:1.25rem;background:linear-gradient(135deg,var(--mg-accent-from),var(--mg-accent-to));color:#fff;box-shadow:0 14px 30px color-mix(in srgb,var(--mg-accent-from) 30%,transparent);animation:mgModernServicesFloat 5.8s ease-in-out infinite;animation-delay:var(--mg-float-delay,0s);transition:transform .32s ease}.mg-modern-service-card__icon i{font-size:1.55rem}.mg-modern-service-card:hover .mg-modern-service-card__icon{transform:scale(1.08)}
@keyframes mgModernServicesFloat{0%,100%{translate:0 0}50%{translate:0 -10px}}
.mg-modern-service-card__label{display:inline-flex;align-items:center;justify-content:center;min-height:2rem;padding:.46rem .72rem;border-radius:999px;background:var(--mg-accent-soft);border:1px solid var(--mg-accent-border);color:var(--mg-accent-text);font-size:.68rem;font-weight:1000;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}.dark .mg-modern-service-card__label{color:#dbeafe;background:rgba(255,255,255,.045);border-color:color-mix(in srgb,var(--mg-accent-from) 32%,rgba(255,255,255,.06))}
.mg-modern-service-card__body{display:flex;flex-direction:column;gap:.85rem;flex:1}.mg-modern-service-card__body strong{display:block;color:#1e293b;font-size:1.38rem;font-weight:1000;line-height:1.62;letter-spacing:-.035em}.dark .mg-modern-service-card__body strong{color:#fff}.mg-modern-service-card__body em{display:block;min-height:8.8rem;margin:0;color:#475569;font-style:normal;font-size:.88rem;font-weight:650;line-height:2.05}.dark .mg-modern-service-card__body em{color:#94a3b8}
.mg-modern-service-card__footer{display:flex;align-items:center;gap:.55rem;margin-top:1.65rem;color:#64748b;font-size:.82rem;font-weight:950;transition:color .24s ease}.dark .mg-modern-service-card__footer{color:#94a3b8}.mg-modern-service-card__footer i{font-size:.78rem;transition:transform .24s ease}.mg-modern-service-card:hover{transform:translateY(-9px);border-color:color-mix(in srgb,var(--mg-accent-from) 28%,rgba(255,255,255,.7));box-shadow:0 32px 86px color-mix(in srgb,var(--mg-accent-from) 16%,rgba(15,23,42,.08))}.dark .mg-modern-service-card:hover{border-color:color-mix(in srgb,var(--mg-accent-from) 35%,rgba(255,255,255,.08));box-shadow:0 34px 90px color-mix(in srgb,var(--mg-accent-from) 20%,rgba(0,0,0,.26))}.mg-modern-service-card:hover .mg-modern-service-card__watermark{transform:scale(1.08) translateY(-2px)}.mg-modern-service-card:hover .mg-modern-service-card__footer{color:var(--mg-accent-text)}.mg-modern-service-card:hover .mg-modern-service-card__footer i{transform:translateX(-7px)}
.fade-in-up{animation:mgModernServicesFadeInUp .78s ease-out both}.delay-1{animation-delay:.08s}.delay-2{animation-delay:.16s}.delay-3{animation-delay:.24s}.delay-4{animation-delay:.32s}.delay-5{animation-delay:.40s}.delay-6{animation-delay:.48s}@keyframes mgModernServicesFadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1180px){.mg-modern-services-section{padding:5.6rem 0}.mg-modern-services-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-modern-service-card__body em{min-height:7.1rem}}
@media(max-width:760px){.mg-modern-services-section{padding:4.8rem 0}.mg-modern-services-head{margin-bottom:2.7rem;text-align:right}.mg-modern-services-head p{margin-right:0}.mg-modern-services-cards{grid-template-columns:1fr;gap:1rem}.mg-modern-service-card{border-radius:2rem;padding:1.35rem}.mg-modern-service-card__top{margin-bottom:1.4rem}.mg-modern-service-card__icon{width:3.45rem;height:3.45rem;border-radius:1.05rem}.mg-modern-service-card__icon i{font-size:1.28rem}.mg-modern-service-card__label{font-size:.62rem}.mg-modern-service-card__body strong{font-size:1.18rem}.mg-modern-service-card__body em{min-height:0;font-size:.82rem;line-height:1.95}.mg-modern-service-card__watermark{font-size:5.8rem;left:.7rem;bottom:-1.25rem}.mg-modern-service-card__footer{margin-top:1.3rem}.mg-modern-services-orb{filter:blur(82px)}}
@media(max-width:420px){.mg-modern-services-eyebrow{font-size:.66rem;padding:.54rem .78rem}.mg-modern-service-card__top{align-items:flex-start}.mg-modern-service-card__label{max-width:9.5rem;white-space:normal;text-align:center;line-height:1.55}.mg-modern-services-head h2{font-size:2rem}}
@media(prefers-reduced-motion:reduce){.mg-modern-services-orb,.mg-modern-service-card__icon,.fade-in-up,.mg-modern-services-eyebrow i{animation:none!important}.mg-modern-service-card,.mg-modern-service-card *{transition:none!important}}

/* MasterGroup v3.2.10 - همسان‌سازی عنوان خدمات با عنوان مارکت و بازطراحی نمادهای فوتر */
.mg-modern-services-head .mg-home-section-title--market-match{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:1rem !important;
    margin:0 auto .85rem !important;
    padding:0 !important;
    font-size:clamp(1.42rem,2.4vw,2.25rem) !important;
    line-height:1.75 !important;
    letter-spacing:-.025em !important;
    text-align:center !important;
    color:var(--text-main) !important;
    background:none !important;
    -webkit-background-clip:border-box !important;
    background-clip:border-box !important;
    -webkit-text-fill-color:currentColor !important;
}
.dark .mg-modern-services-head .mg-home-section-title--market-match{
    color:#f8fafc !important;
    background:none !important;
}
.mg-modern-services-head .mg-home-section-title--market-match::before,
.mg-modern-services-head .mg-home-section-title--market-match::after{
    content:"";
    flex:1 1 0;
    max-width:190px;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(37,99,235,.52),rgba(212,175,55,.34));
}
.mg-modern-services-head .mg-home-section-title--market-match::after{
    background:linear-gradient(90deg,rgba(212,175,55,.34),rgba(124,58,237,.52),transparent);
}
@media (max-width:860px){
    .mg-modern-services-head .mg-home-section-title--market-match{
        gap:.7rem !important;
        font-size:clamp(1.18rem,6vw,1.55rem) !important;
    }
    .mg-modern-services-head .mg-home-section-title--market-match::before,
    .mg-modern-services-head .mg-home-section-title--market-match::after{
        max-width:62px;
    }
}

.mg-footer-badges{
    grid-template-columns:repeat(auto-fit,minmax(86px,1fr)) !important;
    align-items:stretch !important;
}
.mg-footer-badge{
    isolation:isolate;
    min-height:98px !important;
    padding:.78rem .68rem !important;
    border-radius:1.15rem !important;
    overflow:hidden;
}
.mg-footer-badge::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    opacity:.72;
    background:radial-gradient(circle at 50% 0,rgba(37,99,235,.10),transparent 58%);
    transition:opacity .18s ease,transform .18s ease;
}
.mg-footer-badge:hover::before{
    opacity:1;
    transform:scale(1.04);
}
.mg-footer-badge.is-enamad::before{background:radial-gradient(circle at 50% 0,rgba(34,197,94,.16),transparent 60%);}
.mg-footer-badge.is-zarinpal::before{background:radial-gradient(circle at 50% 0,rgba(212,175,55,.18),transparent 60%);}
.mg-footer-badge.is-zibal::before{background:radial-gradient(circle at 50% 0,rgba(37,99,235,.16),transparent 60%);}
.mg-footer-badge__media{
    min-height:54px;
    display:grid;
    place-items:center;
    width:100%;
}
.mg-footer-badge__media img{
    display:block;
    max-width:94px !important;
    max-height:54px !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain;
    filter:drop-shadow(0 8px 12px rgba(15,23,42,.10));
}
.mg-footer-badge.has-image:not(.has-fallback) .mg-footer-badge-logo{
    display:none;
}
.mg-footer-badge.has-fallback .mg-footer-badge__media img{
    display:none !important;
}
.mg-footer-badge-logo{
    width:min(96px,100%);
    min-height:54px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:.12rem;
    padding:.42rem .54rem;
    border-radius:.95rem;
    background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(248,250,252,.62));
    border:1px solid rgba(148,163,184,.20);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.74),0 10px 22px rgba(15,23,42,.06);
}
.dark .mg-footer-badge-logo{
    background:linear-gradient(145deg,rgba(15,23,42,.82),rgba(30,41,59,.50));
    border-color:rgba(255,255,255,.10);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 26px rgba(0,0,0,.18);
}
.mg-footer-badge-logo strong{
    display:block;
    color:#1e293b;
    font-family:Arial,Tahoma,sans-serif;
    font-size:1.08rem;
    line-height:1.05;
    font-weight:1000;
    letter-spacing:-.04em;
    direction:ltr;
}
.dark .mg-footer-badge-logo strong{color:#f8fafc;}
.mg-footer-badge-logo em{
    display:block;
    color:var(--text-muted);
    font-style:normal;
    font-size:.66rem;
    line-height:1.45;
    font-weight:950;
    white-space:nowrap;
}
.mg-footer-badge-logo--enamad strong{color:#16a34a;}
.mg-footer-badge-logo--zarinpal strong{color:#b45309;}
.mg-footer-badge-logo--zibal strong{color:#2563eb;}
.mg-footer-badge-logo--samandehi strong{color:#7c3aed;}
.mg-footer-badge small{
    margin-top:.08rem;
    color:var(--text-main) !important;
    font-size:.68rem !important;
}
.dark .mg-footer-badge small{color:#e2e8f0 !important;}
@media (max-width:430px){
    .mg-footer-badges{grid-template-columns:1fr 1fr !important;}
    .mg-footer-badge{min-height:94px !important;}
}

/* MasterGroup v3.2.11 - نمادهای واقعی اینماد، زرین‌پال و زیبال در فوتر */
.mg-footer-symbols{
    overflow:visible !important;
}
.mg-footer-symbols__head{
    margin-bottom:.9rem !important;
}
.mg-footer-badges{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:.58rem !important;
}
.mg-footer-badge{
    min-height:112px !important;
    padding:.72rem .45rem .62rem !important;
    border-radius:1.18rem !important;
    align-content:center !important;
    justify-items:center !important;
    text-align:center !important;
}
.mg-footer-badge__media{
    min-height:66px !important;
    display:grid !important;
    place-items:center !important;
}
.mg-footer-badge__media img{
    max-width:92px !important;
    max-height:66px !important;
    object-fit:contain !important;
}
.mg-footer-badge.is-enamad .mg-footer-badge__media img{
    max-width:82px !important;
    max-height:66px !important;
}
.mg-footer-badge-logo{
    width:min(82px,100%) !important;
    min-height:58px !important;
    border-radius:1rem !important;
}
.mg-footer-badge-logo strong{
    font-size:1.02rem !important;
}
.mg-footer-badge-logo em{
    font-size:.61rem !important;
}
.mg-footer-badge small{
    margin-top:.16rem !important;
    font-size:.64rem !important;
    line-height:1.55 !important;
    max-width:100% !important;
    white-space:normal !important;
}
@media (max-width:1180px){
    .mg-footer-badges{gap:.7rem !important;}
    .mg-footer-badge{padding:.78rem .62rem .66rem !important;}
}
@media (max-width:520px){
    .mg-footer-badges{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:.45rem !important;}
    .mg-footer-badge{min-height:104px !important;padding:.58rem .34rem .52rem !important;}
    .mg-footer-badge__media{min-height:58px !important;}
    .mg-footer-badge__media img{max-width:74px !important;max-height:58px !important;}
    .mg-footer-badge-logo{width:min(72px,100%) !important;min-height:52px !important;padding:.35rem .34rem !important;}
    .mg-footer-badge-logo strong{font-size:.9rem !important;}
    .mg-footer-badge-logo em{font-size:.55rem !important;}
    .mg-footer-badge small{font-size:.58rem !important;}
}
@media (max-width:340px){
    .mg-footer-badges{grid-template-columns:1fr !important;}
    .mg-footer-badge{min-height:96px !important;}
}

/* MasterGroup v3.2.12 - روش بهینه و معتبر برای نمادهای اعتماد فوتر */
.mg-footer-badge{
    cursor:pointer !important;
}
.mg-footer-badge.is-enamad{
    --trust-accent:rgba(22,163,74,.18);
}
.mg-footer-badge.is-zarinpal{
    --trust-accent:rgba(245,158,11,.20);
}
.mg-footer-badge.is-zibal{
    --trust-accent:rgba(37,99,235,.18);
}
.mg-footer-badge::before{
    background:radial-gradient(circle at 50% 0,var(--trust-accent,rgba(37,99,235,.12)),transparent 62%) !important;
}
.mg-footer-badge.is-zarinpal .mg-footer-badge__media img{
    max-width:88px !important;
    max-height:54px !important;
}
.mg-footer-badge.is-enamad .mg-footer-badge__media img{
    max-width:82px !important;
    max-height:66px !important;
}
.mg-footer-badge.is-zibal.has-fallback .mg-footer-badge-logo{
    background:linear-gradient(145deg,rgba(239,246,255,.96),rgba(255,255,255,.70)) !important;
}
.dark .mg-footer-badge.is-zibal.has-fallback .mg-footer-badge-logo{
    background:linear-gradient(145deg,rgba(30,41,59,.88),rgba(15,23,42,.72)) !important;
}

/* MasterGroup multilingual hero LTR polish v3.3.3 */
[dir="ltr"] .mg-hero,
[dir="ltr"] .mg-hero__content,
[dir="ltr"] .mg-hero-title,
[dir="ltr"] .mg-hero-lead{
    direction:ltr!important;
    text-align:left!important;
}
[dir="ltr"] .mg-hero__layout{
    direction:ltr!important;
}
[dir="ltr"] .mg-hero-kicker,
[dir="ltr"] .mg-hero-actions{
    justify-content:flex-start!important;
}
[dir="ltr"] .mg-hero-metrics{
    direction:ltr!important;
    text-align:left!important;
    margin-left:0!important;
    margin-right:auto!important;
}
[dir="ltr"] .mg-hero-metric{
    direction:ltr!important;
    text-align:left!important;
}
[dir="ltr"] .mg-hero-metric__copy strong{
    text-align:left!important;
}
[dir="ltr"] .mg-hero-metric:not(:last-child)::after{
    left:auto!important;
    right:0!important;
}
[dir="ltr"] .mg-hero__visual .text-right{
    text-align:left!important;
}
[dir="ltr"] .mg-hero__visual .border-r-2{
    border-right-width:0!important;
    border-left-width:2px!important;
}
[dir="ltr"] .mg-hero__visual .border-l-2{
    border-left-width:0!important;
    border-right-width:2px!important;
}
[dir="ltr"] .mg-hero-cta:hover .mg-hero-cta__arrow{
    transform:translateX(3px)!important;
}

/* MasterGroup homepage hero visual v3.4.2
   تصویر هیرو به صورت CSS-only بین hero1.png و hero2.png تغییر وضعیت می‌دهد؛ بزرگ‌تر، سبک، رسپانسیو و بدون JS/GIF. */
.mg-hero-html-visual{
    position:relative;
    isolation:isolate;
    width:100%;
    height:100%;
    min-height:clamp(450px,44vw,700px);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:visible;
    contain:layout paint style;
}
.mg-hero-html-visual::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background-image:
        linear-gradient(rgba(148,163,184,.075) 1px,transparent 1px),
        linear-gradient(90deg,rgba(148,163,184,.075) 1px,transparent 1px);
    background-size:40px 40px;
    opacity:.55;
    -webkit-mask-image:radial-gradient(ellipse at center,#000 30%,transparent 70%);
    mask-image:radial-gradient(ellipse at center,#000 30%,transparent 70%);
}
.dark .mg-hero-html-visual::before{
    opacity:.24;
}
.mg-hero-html-wrap{
    position:relative;
    z-index:2;
    width:min(118%,670px);
    max-width:670px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:1.25rem;
}
.mg-hero-html-wrap::after{
    display:none!important;
    content:none!important;
}

.mg-hero-html-pedestal-line{
    position:absolute;
    z-index:0;
    bottom:0;
    left:50%;
    width:108%;
    height:1px;
    transform:translateX(-50%);
    background:linear-gradient(90deg,transparent,rgba(37,99,235,.72),transparent);
    opacity:.62;
    pointer-events:none;
}
.mg-hero-html-pedestal-glow{
    position:absolute;
    z-index:0;
    bottom:-1rem;
    left:50%;
    width:74%;
    height:2rem;
    transform:translateX(-50%);
    border-radius:100%;
    background:rgba(37,99,235,.22);
    filter:blur(20px);
    pointer-events:none;
    transition:opacity .45s ease,transform .45s ease;
}
.mg-hero-html-wrap:hover .mg-hero-html-pedestal-glow{
    opacity:1;
    transform:translateX(-50%) scale(1.04);
}
@keyframes mgHeroHtmlImageFloat{
    0%,100%{
        transform:translate3d(0,0,0);
    }
    50%{
        transform:translate3d(0,-14px,0);
    }
}
@keyframes mgHeroHtmlPulseImage{
    0%,42%{
        opacity:0;
    }
    50%,88%{
        opacity:1;
    }
    96%,100%{
        opacity:0;
    }
}
.mg-hero-html-image-float{
    position:relative;
    z-index:10;
    display:block;
    width:100%;
    animation:mgHeroHtmlImageFloat 7.5s ease-in-out infinite;
    will-change:transform;
    transform:translate3d(0,0,0);
    backface-visibility:hidden;
}
.mg-hero-html-image-frame{
    position:relative;
    z-index:10;
    display:block;
    width:100%;
    aspect-ratio:1/1;
    transform:translate3d(0,0,0);
    transition:transform .7s ease;
}
.mg-hero-html-image{
    position:absolute;
    inset:0;
    z-index:10;
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    filter:drop-shadow(0 15px 30px rgba(15,23,42,.15));
    transform:translate3d(0,0,0);
    backface-visibility:hidden;
    transition:filter .7s ease,opacity .24s linear;
}
.mg-hero-html-image--base{
    opacity:1;
}
.mg-hero-html-image--active{
    z-index:11;
    opacity:0;
    animation:mgHeroHtmlPulseImage 3.2s linear infinite;
    will-change:opacity;
}
.dark .mg-hero-html-image{
    filter:drop-shadow(0 15px 35px rgba(0,0,0,.50));
}
.mg-hero-html-wrap:hover .mg-hero-html-image-frame{
    transform:translate3d(0,-.5rem,0) scale(1.02);
}
.mg-hero-html-card{
    position:absolute;
    z-index:20;
    display:flex;
    align-items:center;
    gap:.75rem;
    padding:.75rem 1rem;
    border-radius:.9rem;
    border:1px solid rgba(148,163,184,.24);
    background:rgba(255,255,255,.82);
    color:var(--text-main);
    box-shadow:0 18px 42px rgba(15,23,42,.11);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    transition:border-color .35s ease,box-shadow .35s ease,background .35s ease;
    white-space:nowrap;
}
.dark .mg-hero-html-card{
    border-color:rgba(255,255,255,.10);
    background:rgba(11,12,21,.78);
    box-shadow:0 18px 46px rgba(0,0,0,.36);
}
.mg-hero-html-wrap:hover .mg-hero-html-card--security{
    border-color:rgba(37,99,235,.34);
}
.mg-hero-html-wrap:hover .mg-hero-html-card--performance{
    border-color:rgba(124,58,237,.34);
}
.mg-hero-html-card--security{
    top:15%;
    right:-1rem;
}
.mg-hero-html-card--performance{
    left:-1rem;
    bottom:20%;
}
.mg-hero-html-card__icon{
    width:2rem;
    height:2rem;
    flex:0 0 2rem;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:.65rem;
    font-size:.85rem;
}
.mg-hero-html-card__icon.is-blue{
    color:#2563eb;
    background:rgba(37,99,235,.10);
}
.mg-hero-html-card__icon.is-purple{
    color:#7c3aed;
    background:rgba(124,58,237,.10);
}
.mg-hero-html-card__copy{
    display:flex;
    flex-direction:column;
    text-align:left;
    line-height:1.25;
}
.mg-hero-html-card--performance .mg-hero-html-card__copy{
    text-align:right;
}
.mg-hero-html-card__copy span{
    color:var(--text-muted);
    font-size:.56rem;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.mg-hero-html-card__copy strong{
    color:var(--text-main);
    font-size:.76rem;
    font-weight:950;
    margin-top:.2rem;
}
@media (max-width:1024px){
    .mg-hero-html-visual{
        max-width:720px;
        margin-inline:auto;
    }
}
@media (max-width:640px){
    .mg-hero-html-visual{
        min-height:420px;
    }
    .mg-hero-html-wrap{
        width:min(94vw,410px);
        max-width:410px;
        margin-top:.35rem;
    }
    .mg-hero-html-card{
        gap:.55rem;
        padding:.62rem .72rem;
        border-radius:.78rem;
    }
    .mg-hero-html-card__icon{
        width:1.75rem;
        height:1.75rem;
        flex-basis:1.75rem;
        border-radius:.58rem;
        font-size:.78rem;
    }
    .mg-hero-html-card__copy span{
        font-size:.49rem;
    }
    .mg-hero-html-card__copy strong{
        font-size:.66rem;
    }
    .mg-hero-html-card--security{
        top:13%;
        right:-.25rem;
    }
    .mg-hero-html-card--performance{
        left:-.25rem;
        bottom:18%;
    }
}
@media (prefers-reduced-motion:reduce){
    .mg-hero-html-image-float,
    .mg-hero-html-image,
    .mg-hero-html-image-frame,
    .mg-hero-html-card{
        animation:none!important;
        transition:none!important;
    }
    .mg-hero-html-image--active{
        opacity:0!important;
    }
}

/* MasterGroup v3.4.2 - modular hero image swap
   Keeps hero1.png static and only reveals hero2.png on hover, focus or touch/click. */
.mg-hero-html-image-frame[data-hero-image-swap]{
    cursor:pointer;
    border-radius:2.5rem;
    outline:none;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
}
.mg-hero-html-image-frame[data-hero-image-swap]:focus-visible{
    box-shadow:0 0 0 4px rgba(37,99,235,.18);
}
.mg-hero-html-image-frame[data-hero-image-swap] .mg-hero-html-image--active{
    opacity:0;
    animation:none!important;
    will-change:auto;
    pointer-events:none;
}
.mg-hero-html-image-frame[data-hero-image-swap]:hover .mg-hero-html-image--active,
.mg-hero-html-image-frame[data-hero-image-swap]:focus .mg-hero-html-image--active,
.mg-hero-html-image-frame[data-hero-image-swap].is-hero-alt-visible .mg-hero-html-image--active{
    opacity:1;
}
.mg-hero-html-image-frame[data-hero-image-swap]:hover .mg-hero-html-image--base,
.mg-hero-html-image-frame[data-hero-image-swap]:focus .mg-hero-html-image--base,
.mg-hero-html-image-frame[data-hero-image-swap].is-hero-alt-visible .mg-hero-html-image--base{
    opacity:.08;
}
@media (hover:none){
    .mg-hero-html-wrap:hover .mg-hero-html-image-frame[data-hero-image-swap]{
        transform:translate3d(0,0,0);
    }
}
@media (prefers-reduced-motion:reduce){
    .mg-hero-html-image-frame[data-hero-image-swap] .mg-hero-html-image--active{
        animation:none!important;
    }
}

/* MasterGroup v3.4.3 - footer trust/payment badges integrated with footer columns
   Removes the remaining card/border visual shell from footer symbols while keeping logos clickable. */
.mg-footer-symbols{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    overflow:visible !important;
}
.mg-footer-badges{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    align-items:start !important;
    gap:clamp(.7rem,1.4vw,1rem) !important;
}
.mg-footer-badge,
.dark .mg-footer-badge,
.mg-footer-badge:hover,
.dark .mg-footer-badge:hover{
    min-height:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
    isolation:auto !important;
}
.mg-footer-badge{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:.46rem !important;
    text-align:center !important;
    color:var(--text-muted) !important;
    text-decoration:none !important;
    transition:transform .18s ease,color .18s ease,opacity .18s ease !important;
}
.mg-footer-badge::before,
.mg-footer-badge::after{
    content:none !important;
    display:none !important;
}
.mg-footer-badge:hover{
    transform:translateY(-2px) !important;
    color:var(--text-main) !important;
}
.mg-footer-badge__media{
    width:100% !important;
    min-height:62px !important;
    display:grid !important;
    place-items:center !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.mg-footer-badge__media img,
.mg-footer-badge.is-enamad .mg-footer-badge__media img,
.mg-footer-badge.is-zarinpal .mg-footer-badge__media img{
    display:block !important;
    width:auto !important;
    height:auto !important;
    max-width:88px !important;
    max-height:62px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    object-fit:contain !important;
    filter:drop-shadow(0 8px 13px rgba(15,23,42,.10)) !important;
}
.dark .mg-footer-badge__media img{
    filter:drop-shadow(0 10px 14px rgba(0,0,0,.24)) !important;
}
.mg-footer-badge-logo,
.dark .mg-footer-badge-logo,
.mg-footer-badge.is-zibal.has-fallback .mg-footer-badge-logo,
.dark .mg-footer-badge.is-zibal.has-fallback .mg-footer-badge-logo{
    width:auto !important;
    min-width:0 !important;
    min-height:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.mg-footer-badge-logo strong{
    font-size:1.22rem !important;
    line-height:1.05 !important;
}
.mg-footer-badge-logo em{
    margin-top:.1rem !important;
    font-size:.62rem !important;
    line-height:1.45 !important;
}
.mg-footer-badge small{
    margin:0 !important;
    color:currentColor !important;
    font-size:.64rem !important;
    line-height:1.65 !important;
    font-weight:900 !important;
    max-width:100% !important;
    opacity:.9 !important;
}
.mg-footer-badge:hover small{
    opacity:1 !important;
}
@media (max-width:520px){
    .mg-footer-badges{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:.6rem !important;
    }
    .mg-footer-badge__media{
        min-height:54px !important;
    }
    .mg-footer-badge__media img,
    .mg-footer-badge.is-enamad .mg-footer-badge__media img,
    .mg-footer-badge.is-zarinpal .mg-footer-badge__media img{
        max-width:72px !important;
        max-height:54px !important;
    }
    .mg-footer-badge small{
        font-size:.57rem !important;
    }
}
@media (max-width:340px){
    .mg-footer-badges{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}
