@font-face{font-family:MGBVazirmatn;font-style:normal;font-weight:400;font-display:swap;src:url(fonts/vazirmatn-arabic-400-normal.woff2) format("woff2")}
@font-face{font-family:MGBVazirmatn;font-style:normal;font-weight:700;font-display:swap;src:url(fonts/vazirmatn-arabic-700-normal.woff2) format("woff2")}
@font-face{font-family:MGBVazirmatn;font-style:normal;font-weight:800;font-display:swap;src:url(fonts/vazirmatn-arabic-800-normal.woff2) format("woff2")}
.mgbh{--mgb-accent:#103f82;--mgb-ink:#14243b;--mgb-muted:#687585;--mgb-line:#e1e7ee;--mgb-soft:#f4f7fa;font-family:MGBVazirmatn,Tahoma,sans-serif;color:var(--mgb-ink);padding:90px 0;line-height:1.85;text-align:right;position:relative;box-sizing:border-box;scroll-margin-top:100px}.mgbh *{box-sizing:border-box}.mgbh-container{width:min(1180px,calc(100% - 48px));margin:auto}.mgbh a{text-decoration:none;color:inherit}.mgbh img{max-width:100%;display:block}.mgbh h1,.mgbh h2,.mgbh h3,.mgbh p{margin:0}.mgbh-heading{color:var(--mgb-ink);font-size:clamp(27px,3.1vw,40px);font-weight:800;line-height:1.6;letter-spacing:-.8px;white-space:normal}.mgbh-eyebrow{display:flex;align-items:center;gap:12px;color:var(--mgb-accent);font-size:12px;font-weight:700;margin-bottom:14px}.mgbh-eyebrow:before{content:"";width:28px;height:2px;background:currentColor}.mgbh-copy{font-size:14px;color:var(--mgb-muted);margin-top:18px!important;max-width:580px}.mgbh-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:35px;padding:14px 23px;border:1px solid var(--mgb-accent);background:var(--mgb-accent);color:white!important;border-radius:7px;font-family:inherit;font-size:13px;font-weight:700;line-height:1.6;cursor:pointer;transition:transform .2s,box-shadow .2s}.mgbh-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px #103f8230}.mgbh-btn span{font-size:20px;font-weight:400}.mgbh a:focus-visible,.mgbh button:focus-visible,.mgbh [tabindex]:focus-visible{outline:3px solid #28a7df;outline-offset:4px}.mgbh-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}.mgbh-hero{min-height:660px;display:flex;align-items:center;padding:100px 0 120px;background:#10243c;overflow:hidden}.mgbh-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.mgbh-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(270deg,rgba(5,22,43,.92),rgba(5,22,43,.65) 45%,rgba(5,22,43,.15))}.mgbh-hero-inner{position:relative;z-index:1}.mgbh-hero-copy{max-width:700px}.mgbh-hero .mgbh-heading{font-size:clamp(35px,4.5vw,60px);line-height:1.5;color:#fff;letter-spacing:-1.5px}.mgbh-hero .mgbh-eyebrow{color:#a7c7ec}.mgbh-hero .mgbh-copy{color:#dae3ee;font-size:16px;max-width:570px}.mgbh-hero .mgbh-btn{background:white;border-color:white;color:#103f82!important}.mgbh-hero .mgbh-btn-ghost{background:transparent;border-color:#ffffff66;color:white!important}.mgbh-hero-bottom{position:absolute;top:calc(100% + 50px);left:0;right:0;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff33;padding-top:20px;color:#c3cedd;font-size:11px;letter-spacing:.3px}.mgbh-hero-bottom a{border:1px solid #ffffff55;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:18px}.mgbh-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:35px}.mgbh-section-head .mgbh-copy{margin-top:10px!important}.mgbh-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.mgbh-card{background:#fff;border:1px solid var(--mgb-line);border-radius:13px;overflow:hidden;min-width:0;display:flex;flex-direction:column;transition:border-color .25s,transform .25s,box-shadow .25s}.mgbh a.mgbh-card:hover{border-color:var(--mgb-accent);transform:translateY(-5px);box-shadow:0 15px 35px #103f8210}.mgbh-card-media{height:205px;padding:24px;background:var(--mgb-soft);display:flex;align-items:center;justify-content:center}.mgbh-card-media img{height:100%;width:100%;object-fit:contain}.mgbh-card-content{padding:23px;flex:1;display:flex;flex-direction:column}.mgbh-card h3{font-size:17px;font-weight:700;line-height:1.8}.mgbh-card p{color:var(--mgb-muted);font-size:12px;margin-top:8px;line-height:1.9}.mgbh-card-link{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--mgb-line);padding-top:16px;margin-top:22px;color:var(--mgb-accent);font-size:11px;font-weight:600}.mgbh-card-link b{font-size:20px;font-weight:400}.mgbh-split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.mgbh-about{background:var(--mgb-soft)}.mgbh-about-media{position:relative;min-height:440px;border-radius:14px;overflow:hidden;background:#dae2ec}.mgbh-about-media>img,.mgbh-about-media>.mgbh-placeholder{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}.mgbh-media-caption{position:absolute;bottom:20px;right:20px;padding:9px 15px;border-radius:6px;background:#fff;color:var(--mgb-ink);font-size:11px;z-index:1}.mgbh-features{display:grid;grid-template-columns:1fr 1fr;margin:27px 0;gap:0 22px}.mgbh-features>div{border-top:1px solid #d6dfe9;padding:14px 0;font-size:12px;font-weight:600}.mgbh-features span{font-family:Arial,sans-serif;color:var(--mgb-accent);margin-left:12px;font-size:11px}.mgbh-certificates{padding-bottom:70px}.mgbh-certificates .mgbh-card-media{height:280px;background:#fafbfc}.mgbh-services{background:var(--mgb-soft)}.mgbh-services .mgbh-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mgbh-services .mgbh-card{padding:28px}.mgbh-services .mgbh-card-content{padding:35px 0 0}.mgbh-card-num{font-family:Arial,sans-serif;color:var(--mgb-accent);font-size:12px;padding-bottom:15px;border-bottom:1px solid var(--mgb-line)}.mgbh-services .mgbh-card h3{font-size:19px}.mgbh-services .mgbh-card p{min-height:55px}.mgbh-carousel{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#cbd8e8 transparent;padding:7px 2px 18px;scroll-behavior:smooth;direction:rtl}.mgbh-carousel>.mgbh-card{flex:0 0 calc((100% - 60px)/4);scroll-snap-align:start}.mgbh-carousel-nav{display:flex;gap:8px;flex-shrink:0}.mgbh-carousel-nav button{width:43px;height:43px;display:grid;place-items:center;border:1px solid var(--mgb-line);border-radius:50%;background:#fff;color:var(--mgb-accent);font-size:22px;cursor:pointer}.mgbh-stats{background:var(--mgb-accent);padding:55px 0;color:white}.mgbh-stats .mgbh-heading{color:#fff;font-size:26px}.mgbh-stats .mgbh-eyebrow{color:#c9def7}.mgbh-stats .mgbh-copy{color:#d5e0ef}.mgbh-stats .mgbh-section-head{margin-bottom:25px}.mgbh-stat{border-right:1px solid #ffffff40;padding:12px 25px}.mgbh-stat strong{display:block;font-size:42px;line-height:1.4;font-weight:800;direction:ltr;text-align:right}.mgbh-stat span{font-size:12px;opacity:.82}.mgbh-contact{background:#f7f9fc}.mgbh-contact .mgbh-split{grid-template-columns:.9fr 1.1fr;align-items:start}.mgbh-contact-details{display:flex;flex-direction:column;align-items:flex-start;gap:12px;border-top:1px solid var(--mgb-line);margin-top:30px;padding-top:25px;font-size:14px}.mgbh-contact-details a{font-weight:600;color:var(--mgb-accent)}.mgbh-form{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:#fff;padding:30px;border:1px solid var(--mgb-line);border-radius:14px;margin:0}.mgbh-field{display:flex;flex-direction:column;gap:8px;min-width:0}.mgbh-field label{font-size:11px;font-weight:600}.mgbh-field input,.mgbh-field textarea{font-family:inherit;line-height:1.6;width:100%;border:1px solid #dce3ec;border-radius:7px;padding:12px;background:#fafbfd;color:var(--mgb-ink);font-size:13px;box-shadow:none}.mgbh-field input:focus,.mgbh-field textarea:focus{outline:2px solid #103f8230;outline-offset:1px;border-color:var(--mgb-accent)}.mgbh-field input[type=tel],.mgbh-field input[type=email]{direction:ltr;text-align:left}.mgbh-field textarea{resize:vertical;min-height:130px}.mgbh-field-wide{grid-column:1/-1}.mgbh-consent{font-size:11px;color:var(--mgb-muted);display:flex;gap:8px;align-items:flex-start}.mgbh-consent input{margin-top:4px;flex-shrink:0}.mgbh-form .mgbh-btn{width:100%}.mgbh-form-status{font-size:12px;margin-top:12px!important;color:var(--mgb-accent)}.mgbh-form-status[data-error=true]{color:#ad2532}.mgbh-btn:disabled{opacity:.65;cursor:wait}.mgbh-honeypot{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}.mgbh-placeholder{width:100%;height:100%;min-height:100px;display:grid;place-items:center;color:#8eabc9;background:#eaf0f6}.mgbh-placeholder svg{width:64px;height:64px}.mgbh-editor-note{padding:15px;border:1px dashed #aebdcd;background:#fff;color:#506479;font-size:13px;margin-bottom:20px}
@media(min-width:1025px){.mgbh-contact .mgbh-heading{font-size:36px}}
@media(max-width:1024px){.mgbh{padding:65px 0}.mgbh-hero{padding:80px 0 120px;min-height:580px}.mgbh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgbh-split,.mgbh-contact .mgbh-split{gap:35px}.mgbh-about-media{min-height:390px}.mgbh-carousel>.mgbh-card{flex-basis:calc((100% - 40px)/3)}.mgbh-services .mgbh-grid{gap:14px}.mgbh-services .mgbh-card{padding:20px}.mgbh-form{padding:24px;gap:16px}.mgbh-stats{padding:50px 0}}
@media(max-width:767px){.mgbh{padding:48px 0}.mgbh-container{width:calc(100% - 36px)}.mgbh-hero{min-height:590px;padding:70px 0 120px}.mgbh-hero:after{background:linear-gradient(270deg,#05162bed,#05162bb3)}.mgbh-hero .mgbh-heading{font-size:36px;letter-spacing:-1px}.mgbh-hero .mgbh-copy{font-size:14px}.mgbh-hero-bottom{top:calc(100% + 35px);font-size:10px}.mgbh-hero-bottom>span:last-child{display:none}.mgbh-actions{gap:10px}.mgbh-btn{font-size:12px;gap:20px;padding:13px 17px}.mgbh-section-head{gap:14px;align-items:flex-start;margin-bottom:25px}.mgbh-heading{font-size:27px;letter-spacing:-.5px}.mgbh-copy{font-size:13px}.mgbh-grid{gap:12px}.mgbh-card-media{height:155px;padding:17px}.mgbh-card-content{padding:16px}.mgbh-card h3{font-size:14px}.mgbh-card p{font-size:11px}.mgbh-card-link{font-size:10px;gap:5px}.mgbh-split,.mgbh-contact .mgbh-split{grid-template-columns:1fr;gap:30px}.mgbh-about-media{min-height:300px}.mgbh-features{margin:20px 0}.mgbh-services .mgbh-grid{grid-template-columns:1fr}.mgbh-services .mgbh-card{padding:24px}.mgbh-services .mgbh-card-content{padding-top:22px}.mgbh-services .mgbh-card p{min-height:0}.mgbh-carousel>.mgbh-card{flex-basis:76%;max-width:320px}.mgbh-carousel-nav button{width:36px;height:36px}.mgbh-products .mgbh-section-head{flex-direction:column}.mgbh-stats{padding:40px 0}.mgbh-stat{padding:12px 17px}.mgbh-stat strong{font-size:34px}.mgbh-form{padding:20px;gap:17px 12px}.mgbh-certificates .mgbh-card-media{height:210px}.mgbh-contact-details{margin-top:22px}}
@media(max-width:380px){.mgbh-form{grid-template-columns:1fr}.mgbh-grid{grid-template-columns:1fr}.mgbh-stats .mgbh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgbh-hero .mgbh-heading{font-size:31px}}
@media(prefers-reduced-motion:reduce){.mgbh *{scroll-behavior:auto!important;transition:none!important}}

/* Reference statistics strip — v2.1 */
.mgbh-stats{padding:30px 0;background:var(--mgb-accent)}
.mgbh-stats .mgbh-container{width:100%;max-width:1248px}
.mgbh-stats .mgbh-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.mgbh-stats .mgbh-section-head:has(>div:empty){display:none}
.mgbh-stats .mgbh-stat{min-height:87px;padding:4px 22px;display:flex;flex-direction:column;justify-content:center;align-items:center;border-right:0;border-left:1px solid #ffffff24;text-align:center;gap:12px}
.mgbh-stats .mgbh-stat:last-child{border-left:0}
.mgbh-stats .mgbh-stat strong{font-size:32px;line-height:1.5;direction:rtl;text-align:center;font-weight:800}
.mgbh-stats .mgbh-stat span{font-size:11px;color:#d7e1ef;opacity:1}
@media(max-width:767px){.mgbh-stats{padding:24px 18px}.mgbh-stats .mgbh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgbh-stats .mgbh-stat{min-height:104px;padding:16px 8px}.mgbh-stats .mgbh-stat:nth-child(2){border-left:0}.mgbh-stats .mgbh-stat:nth-child(-n+2){border-bottom:1px solid #ffffff24}.mgbh-stats .mgbh-stat strong{font-size:29px}}

/* 2.3.3: retain brand colors when Hello Elementor styles focused buttons. */
.mgbh .mgbh-carousel-nav button:hover,.mgbh .mgbh-carousel-nav button:focus{background:#eef4fc;color:var(--mgb-accent);border-color:var(--mgb-accent)}
.mgbh .mgbh-carousel-nav button:disabled{opacity:.35;cursor:default;background:#fff;color:var(--mgb-accent);border-color:var(--mgb-line)}
.mgbh .mgbh-btn:hover,.mgbh .mgbh-btn:focus{background:var(--mgb-accent);border-color:var(--mgb-accent)}
.mgbh.mgbh-hero .mgbh-btn:hover,.mgbh.mgbh-hero .mgbh-btn:focus{background:#fff;border-color:#fff}
.mgbh.mgbh-hero .mgbh-btn-ghost:hover,.mgbh.mgbh-hero .mgbh-btn-ghost:focus{background:#ffffff12;border-color:#ffffff99}
.mgbh-contact-details:empty,.mgbh-form-status:empty{display:none}

/* 2.4.0: compact section rhythm, still editable through Elementor spacing controls. */
.mgbh{padding:44px 0}
.mgbh-section-head{margin-bottom:24px;gap:20px}
.mgbh-eyebrow{margin-bottom:8px}
.mgbh-copy{margin-top:12px!important}
.mgbh-actions{margin-top:24px}
.mgbh-split{gap:40px}
.mgbh-about-media{min-height:360px}
.mgbh-features{margin:20px 0}
.mgbh-features>div{padding:10px 0}
.mgbh-card-content{padding:18px}
.mgbh-card-link{margin-top:16px;padding-top:12px}
.mgbh-services .mgbh-card{padding:24px}
.mgbh-services .mgbh-card-content{padding-top:22px}
.mgbh-certificates{padding-bottom:44px}
.mgbh-contact-details{margin-top:22px;padding-top:18px}
.mgbh-hero{min-height:520px;padding:64px 0 90px}
.mgbh-hero-bottom{top:calc(100% + 28px);padding-top:14px}
.mgbh-stats{padding:24px 0}
@media(max-width:1024px){.mgbh{padding:36px 0}.mgbh-hero{min-height:480px;padding:54px 0 88px}.mgbh-split,.mgbh-contact .mgbh-split{gap:28px}.mgbh-about-media{min-height:330px}.mgbh-stats{padding:24px 0}}
@media(max-width:767px){.mgbh{padding:28px 0}.mgbh-hero{min-height:460px;padding:42px 0 85px}.mgbh-hero-bottom{top:calc(100% + 26px)}.mgbh-section-head{margin-bottom:18px;gap:12px}.mgbh-split,.mgbh-contact .mgbh-split{gap:22px}.mgbh-about-media{min-height:260px}.mgbh-card-content{padding:16px}.mgbh-services .mgbh-card{padding:20px}.mgbh-services .mgbh-card-content{padding-top:18px}.mgbh-features{margin:16px 0}.mgbh-stats{padding:18px}.mgbh-stats .mgbh-stat{min-height:90px;padding:12px 8px;gap:8px}}

/* 2.4.1: engineering services, technical drawing language. */
.mgbh-services{background:#f3f6fa;overflow:hidden}
.mgbh-services .mgbh-section-head{margin-bottom:26px}
.mgbh-services .mgbh-grid{gap:18px;align-items:stretch}
.mgbh-services .mgbh-card{position:relative;isolation:isolate;padding:26px;border:1px solid #dbe4ef;border-radius:16px;box-shadow:0 4px 16px #103f8204;overflow:hidden;transition:transform .25s,border-color .25s,box-shadow .25s}
.mgbh-services .mgbh-card::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#103f8207 1px,transparent 1px),linear-gradient(90deg,#103f8207 1px,transparent 1px);background-size:24px 24px;mask-image:linear-gradient(to bottom,#000,transparent 62%);pointer-events:none}
.mgbh-services .mgbh-card::after{content:"";position:absolute;top:0;right:26px;width:38px;height:3px;background:var(--mgb-accent);border-radius:0 0 4px 4px}
.mgbh-service-top{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:98px}
.mgbh-services .mgbh-card-num{align-self:flex-start;font-size:42px;font-weight:400;letter-spacing:-2px;line-height:1;direction:ltr;color:#b3c5de;padding:0;border:0;margin-top:6px}
.mgbh-service-visual{position:relative;width:96px;height:96px;flex:0 0 96px;color:var(--mgb-accent)}
.mgbh-service-visual svg{width:96px;height:96px;display:block;transition:transform .35s}
.mgbh-service-cross{position:absolute;bottom:0;left:0;color:#98adc7;font:14px Arial,sans-serif}
.mgbh-services .mgbh-card-content{padding:22px 0 0}
.mgbh-services .mgbh-card h3{font-size:20px;line-height:1.7;font-weight:800;color:var(--mgb-ink)}
.mgbh-services .mgbh-card p{font-size:12px;line-height:1.95;min-height:48px;margin-top:10px;color:#66768a}
.mgbh-services .mgbh-card-link{margin-top:auto;padding-top:18px;border:0;min-height:58px;gap:12px;font-size:11px}
.mgbh-services .mgbh-card-link b{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #dbe4ef;border-radius:50%;font-size:20px;transition:background .25s,color .25s,border-color .25s}
.mgbh-services .mgbh-card:first-child{background:var(--mgb-accent);border-color:var(--mgb-accent);box-shadow:0 10px 24px #103f8218;color:#fff}
.mgbh-services .mgbh-card:first-child::before{background-image:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px)}
.mgbh-services .mgbh-card:first-child::after{background:#adc9ed}
.mgbh-services .mgbh-card:first-child .mgbh-card-num{color:#ffffff38}
.mgbh-services .mgbh-card:first-child .mgbh-service-visual{color:#d5e5fa}
.mgbh-services .mgbh-card:first-child h3{color:#fff}
.mgbh-services .mgbh-card:first-child p{color:#d7e2f0}
.mgbh-services .mgbh-card:first-child .mgbh-card-link{color:#fff}
.mgbh-services .mgbh-card:first-child .mgbh-card-link b{border-color:#ffffff40;background:#ffffff0c}
@media(hover:hover) and (pointer:fine){
 .mgbh-services a.mgbh-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px #103f8215}
 .mgbh-services a.mgbh-card:hover .mgbh-service-visual svg{transform:translateY(-3px) rotate(-4deg)}
 .mgbh-services a.mgbh-card:hover .mgbh-card-link b{background:var(--mgb-accent);color:#fff;border-color:var(--mgb-accent)}
 .mgbh-services a.mgbh-card:first-child:hover .mgbh-card-link b{background:#fff;color:var(--mgb-accent);border-color:#fff}
}
@media(max-width:1024px){.mgbh-services .mgbh-grid{gap:14px}.mgbh-services .mgbh-card{padding:22px}.mgbh-services .mgbh-card h3{font-size:18px}.mgbh-services .mgbh-card-num{font-size:36px}.mgbh-service-visual,.mgbh-service-visual svg{width:80px;height:80px}.mgbh-service-visual{flex-basis:80px}.mgbh-service-top{min-height:80px}}
@media(max-width:767px){.mgbh-services .mgbh-section-head{margin-bottom:20px}.mgbh-services .mgbh-grid{grid-template-columns:1fr;gap:14px}.mgbh-services .mgbh-card{padding:22px}.mgbh-service-top{min-height:72px}.mgbh-service-visual,.mgbh-service-visual svg{width:72px;height:72px}.mgbh-service-visual{flex-basis:72px}.mgbh-services .mgbh-card-content{padding-top:16px}.mgbh-services .mgbh-card h3{font-size:19px}.mgbh-services .mgbh-card p{min-height:0;font-size:12px}.mgbh-services .mgbh-card-link{min-height:50px;padding-top:14px}}

/* 2.4.2: a calmer hero title with a high-resolution industrial background. */
.mgbh.mgbh-hero .mgbh-heading{font-size:clamp(34px,3.2vw,44px);line-height:1.65;letter-spacing:-.7px}
.mgbh-hero-copy{max-width:640px}
.mgbh-hero-bg{object-position:center center}
.mgbh-hero::after{background:linear-gradient(270deg,rgba(5,22,43,.88),rgba(5,22,43,.55) 48%,rgba(5,22,43,.12))}
@media(max-width:1024px){.mgbh.mgbh-hero .mgbh-heading{font-size:36px}}
@media(max-width:767px){.mgbh.mgbh-hero .mgbh-heading{font-size:30px;line-height:1.7;letter-spacing:-.4px}.mgbh-hero::after{background:linear-gradient(270deg,rgba(5,22,43,.9),rgba(5,22,43,.66))}.mgbh-hero-bg{object-position:40% center}}
@media(max-width:380px){.mgbh.mgbh-hero .mgbh-heading{font-size:27px}}

/* 2.6.2: compact product-family banners. */
.mgbh-categories{background:#fff;font-style:normal}
.mgbh-categories .mgbh-section-head{margin-bottom:24px}
.mgbh-categories .mgbh-heading{font-size:clamp(25px,2.8vw,34px);line-height:1.65}
.mgbh-categories .mgbh-grid{gap:18px;align-items:stretch}
.mgbh-categories .mgbh-card{position:relative;isolation:isolate;min-height:173px;border:0;border-radius:20px;background:#dfe3e8;overflow:hidden;box-shadow:0 8px 22px #14243b08;transition:transform .3s,box-shadow .3s}
.mgbh-categories .mgbh-card-media{position:absolute;inset:0;height:100%;padding:0;background:#273a4d;z-index:-2}
.mgbh-categories .mgbh-card-media img{width:100%;height:100%;object-fit:cover;object-position:center center;transition:transform .4s}
.mgbh-categories .mgbh-card::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(16,63,130,.16) 0%,rgba(12,49,103,.24) 42%,rgba(8,34,73,.64) 75%,rgba(5,25,54,.88) 100%)}
.mgbh-categories .mgbh-card-content{position:relative;justify-content:flex-end;padding:20px 18px;min-height:173px;flex:1;text-align:right}
.mgbh-categories .mgbh-card h3{padding-left:52px;color:#fff;font-size:19px;font-weight:800;line-height:1.7;font-style:normal;text-shadow:0 1px 8px #0002}
.mgbh-categories .mgbh-card p{padding-left:52px;margin-top:4px;color:#e1eaf5;font-size:10px;line-height:1.85}
.mgbh-categories .mgbh-card-link{position:absolute;bottom:20px;left:18px;display:flex;align-items:center;justify-content:center;gap:0;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #ffffffb3;border-radius:50%;background:#fff;color:var(--mgb-accent);box-shadow:0 4px 14px #001c4430;transition:background .25s,color .25s,box-shadow .25s}
.mgbh-categories .mgbh-card-link b{display:flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;margin:0;padding:0;font-size:0;line-height:1}
.mgbh-categories .mgbh-card-link b::before{content:none}
.mgbh-categories .mgbh-card-link svg{display:block;width:22px;height:22px;transition:transform .25s}
@media(hover:hover) and (pointer:fine){.mgbh-categories a.mgbh-card:hover .mgbh-card-link svg{transform:translateX(-2px)}}
@media(prefers-reduced-motion:reduce){.mgbh-categories .mgbh-card-link svg{transition:none}.mgbh-categories a.mgbh-card:hover .mgbh-card-link svg{transform:none}}
.mgbh-category-link-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
@media(hover:hover) and (pointer:fine){.mgbh-categories a.mgbh-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #103f8220}.mgbh-categories a.mgbh-card:hover img{transform:scale(1.06)}.mgbh-categories a.mgbh-card:hover .mgbh-card-link{background:var(--mgb-accent);color:#fff;border-color:var(--mgb-accent)}}
.mgbh-categories a.mgbh-card:focus-visible .mgbh-card-link{background:var(--mgb-accent);color:#fff;border-color:var(--mgb-accent)}
@media(max-width:1024px){.mgbh-categories .mgbh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mgbh-categories .mgbh-card,.mgbh-categories .mgbh-card-content{min-height:169px}}
@media(max-width:767px){.mgbh-categories .mgbh-grid{grid-template-columns:1fr;gap:14px}.mgbh-categories .mgbh-heading{font-size:25px}.mgbh-categories .mgbh-card,.mgbh-categories .mgbh-card-content{min-height:161px}.mgbh-categories .mgbh-card-media{padding:0}.mgbh-categories .mgbh-card h3{font-size:20px}.mgbh-categories .mgbh-card p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.mgbh-categories .mgbh-card,.mgbh-categories .mgbh-card-media img,.mgbh-categories .mgbh-card-link{transition:none}.mgbh-categories a.mgbh-card:hover,.mgbh-categories a.mgbh-card:hover img{transform:none}}

/* 2.6.8: full-page UI audit refinements. */
.mgbh-carousel-nav[hidden]{display:none!important}
.mgbh .mgbh-section-head>div,.mgbh .mgbh-split>div{min-width:0}
.mgbh .mgbh-heading,.mgbh .mgbh-card h3,.mgbh .mgbh-copy{overflow-wrap:anywhere}
.mgbh .mgbh-form input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;accent-color:var(--mgb-accent)}
@media(max-width:767px){
 .mgbh .mgbh-field input,.mgbh .mgbh-field textarea{font-size:16px}
 .mgbh .mgbh-carousel-nav button{width:44px;height:44px}
 .mgbh .mgbh-consent{line-height:1.9;align-items:center;min-height:44px}
}

/* 2.6.9: four category banners in a 2 x 2 mobile grid. */
@media(max-width:767px){
 .mgbh-categories .mgbh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .mgbh-categories .mgbh-card{border-radius:14px}
 .mgbh-categories .mgbh-card,.mgbh-categories .mgbh-card-content{min-height:176px}
 .mgbh-categories .mgbh-card-content{padding:12px 10px 56px}
 .mgbh-categories .mgbh-card h3{font-size:14px;line-height:1.7;padding-left:0}
 .mgbh-categories .mgbh-card p{font-size:9px;line-height:1.8;padding-left:0;margin-top:3px}
 .mgbh-categories .mgbh-card-link{width:36px;height:36px;min-height:36px;bottom:10px;left:10px}
 .mgbh-categories .mgbh-card-link::after{content:"";position:absolute;inset:-4px;border-radius:50%}
 .mgbh-categories .mgbh-card-link b,.mgbh-categories .mgbh-card-link svg{width:20px;height:20px}
}

/* Carousel icon alignment, isolated from theme button padding and text metrics. */
.mgbh .mgbh-carousel-nav button{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;line-height:1;font-size:0;box-shadow:none}
.mgbh .mgbh-carousel-nav button svg{display:block;width:22px;height:22px;flex:0 0 22px;margin:0;pointer-events:none}

/* 2.7.1: retain 2.6.9 colors; unify button shape and alignment only. */
.mgbh .mgbh-btn,.mgbg .mgbh-btn{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:42px;padding:10px 20px;border-radius:24px;box-shadow:none;font-family:inherit;font-style:normal;font-size:12px;font-weight:700;line-height:1.6;text-align:center;transform:none}
.mgbh .mgbh-btn:hover,.mgbg .mgbh-btn:hover{box-shadow:none;transform:none}
.mgbh .mgbh-btn span,.mgbg .mgbh-btn span{display:flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;margin:0;padding:0;line-height:1;font-size:0}
.mgbh .mgbh-btn svg,.mgbg .mgbh-btn svg{display:block;width:18px;height:18px}
.mgbh:not(.mgbh-categories) .mgbh-card-link{display:flex;align-items:center;justify-content:center;gap:16px;min-height:42px;padding:10px 20px;border:0;border-radius:24px;width:100%;font-size:12px;font-weight:700;line-height:1.6;text-align:center}
.mgbh:not(.mgbh-categories) .mgbh-card-link b{display:flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;margin:0;padding:0;border:0;border-radius:0;font-size:0;line-height:1}
.mgbh:not(.mgbh-categories) .mgbh-card-link svg{display:block;width:18px;height:18px}

/* 2.9.0: published product cards keep the existing homepage layout. */
.mgbh-products .mgbh-live-product{display:flex;flex-direction:column;height:auto}
.mgbh-products .mgbh-live-product .mgbh-card-media{flex-shrink:0;background:#f3f4f6;min-height:0;height:205px;padding:22px}
.mgbh-products .mgbh-live-product .mgbh-card-media img{object-fit:contain;mix-blend-mode:normal}
.mgbh-products .mgbh-live-product h3{color:#3f4349!important;font-size:16px!important;font-weight:700;line-height:1.65;text-decoration:none!important;letter-spacing:0}
.mgbh-products .mgbh-live-product .mgbh-card-content{gap:12px;padding:18px;min-height:0}
.mgbh-products .mgbh-live-product p{margin:0;color:#687585;font-size:12px}
.mgbh-products .mgbh-product-actions{margin-top:auto;padding-top:8px;display:grid;gap:8px}
.mgbh-products .mgbh-product-detail{width:100%;min-height:42px;border-radius:24px;padding:10px 15px;font-size:12px;text-decoration:none!important}
.mgbh-products .mgbh-product-catalog{display:flex;justify-content:center;align-items:center;gap:9px;min-height:40px;border:1px solid #e1e7ee;border-radius:24px;background:#fff;color:var(--mgb-accent);font-size:11px;font-weight:700;text-decoration:none!important}
.mgbh-products .mgbh-product-catalog:hover{border-color:var(--mgb-accent);background:#f4f7fa}
@media(max-width:767px){.mgbh-products .mgbh-live-product .mgbh-card-media{height:175px;padding:18px}.mgbh-products .mgbh-live-product h3{font-size:14px!important}}

/* Live category cards use their own actual product image on the existing banner layout. */
.mgbh-categories.mgbh-categories-live .mgbh-card-media{background:#e8edf2 url("images/workshop.webp") center/cover no-repeat}
.mgbh-categories.mgbh-categories-live .mgbh-card-media img{object-fit:contain;object-position:center 20%;padding:12px 16px 54px}
.mgbh-categories.mgbh-categories-live .mgbh-card::after{background:linear-gradient(180deg,rgba(16,63,130,.08),rgba(12,49,103,.2) 40%,rgba(10,31,63,.95) 100%)}

/* 2.13.0: content-aware hero dimensions across screen sizes. */
.mgbh.mgbh-hero{min-height:620px;height:auto;padding:72px 0 48px}
.mgbh-hero-inner,.mgbh-hero-copy{min-width:0}
.mgbh-hero .mgbh-hero-bottom{position:static;margin-top:36px;padding-top:18px;gap:16px;flex-wrap:wrap}
.mgbh-hero .mgbh-actions{margin-top:26px}
@media(max-width:1024px){.mgbh.mgbh-hero{min-height:520px;padding:54px 0 34px}.mgbh.mgbh-hero .mgbh-heading{font-size:clamp(29px,4vw,36px)}.mgbh-hero-copy{max-width:600px}}
@media(max-width:767px){.mgbh.mgbh-hero{min-height:480px;padding:38px 0 26px}.mgbh-hero .mgbh-container{width:calc(100% - 32px)}.mgbh-hero-copy{max-width:none}.mgbh.mgbh-hero .mgbh-heading{font-size:clamp(24px,6.8vw,32px);line-height:1.65;letter-spacing:0}.mgbh-hero .mgbh-copy{font-size:14px;line-height:1.95}.mgbh-hero .mgbh-eyebrow{font-size:11px;line-height:1.8;gap:8px}.mgbh-hero .mgbh-actions{gap:10px;margin-top:22px}.mgbh-hero .mgbh-btn{flex:1 1 140px;min-width:0;min-height:46px;gap:12px;padding:12px 14px;white-space:normal}.mgbh-hero .mgbh-hero-bottom{margin-top:26px;font-size:10px;gap:12px}.mgbh-hero .mgbh-hero-bg{object-position:40% center}}
@media(max-width:767px) and (orientation:landscape){.mgbh.mgbh-hero{min-height:360px;padding:28px 0 22px}}

/* 2.13.1: cover the hero despite Elementor/theme image height:auto rules. */
.mgbh.mgbh-hero > img.mgbh-hero-bg,
.mgbh.mgbh-hero > .mgbh-placeholder.mgbh-hero-bg{
 position:absolute!important;inset:0!important;display:block!important;
 width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;
 max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;
 object-fit:cover!important;align-self:stretch;pointer-events:none;
}
/* 2.14.0: equal-height, content-aware hero slides. */
.mgbh.mgbh-hero{display:block;padding:0}
.mgbh-hero::after{display:none}
.mgbh-hero-slider{position:relative;min-height:inherit;display:grid;overflow:hidden;touch-action:pan-y;--hero-speed:650ms}
.mgbh-hero-slide{grid-area:1/1;position:relative;min-height:inherit;display:flex;align-items:center;padding:72px 0 100px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--hero-speed) ease,transform var(--hero-speed) ease,visibility var(--hero-speed);transform:translateX(0)}
.mgbh-hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.mgbh-hero-slider[data-effect=slide] .mgbh-hero-slide:not(.is-active){transform:translateX(-8%)}
.mgbh-hero-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(270deg,rgba(5,22,43,.88),rgba(5,22,43,.55) 48%,rgba(5,22,43,.12))}
.mgbh.mgbh-hero .mgbh-hero-slide > .mgbh-hero-bg{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;margin:0!important;padding:0!important;pointer-events:none}
.mgbh.mgbh-hero .mgbh-hero-slide > .mgbh-hero-mobile{display:none}
.mgbh-hero-nav{position:absolute;z-index:3;bottom:22px;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:12px}
.mgbh-hero-nav button{padding:0;width:36px;height:36px;border:1px solid #ffffff60;border-radius:50%;background:#10243c88;color:#fff;font:18px/1 inherit;cursor:pointer;display:grid;place-items:center}
.mgbh-hero-nav button:disabled{opacity:.35;cursor:default}
.mgbh-hero-dots{display:flex;gap:8px;align-items:center}
.mgbh-hero-dots button{width:10px;height:10px;background:#ffffff55;border:0;transition:width .2s;border-radius:8px}
.mgbh-hero-dots button[aria-current=true]{background:#fff;width:26px}
@media(max-width:1024px){.mgbh.mgbh-hero{padding:0}.mgbh-hero-slide{padding:54px 0 88px}}
@media(max-width:767px){.mgbh.mgbh-hero{padding:0}.mgbh-hero-slide{padding:38px 0 80px}.mgbh-hero-slide::after{background:linear-gradient(270deg,rgba(5,22,43,.9),rgba(5,22,43,.66))}.mgbh.mgbh-hero .mgbh-hero-slide > .mgbh-hero-mobile{display:block}.mgbh-hero-nav{bottom:16px}}
@media(prefers-reduced-motion:reduce){.mgbh-hero-slide{transition:none!important;transform:none!important}}
/* 2.14.1: refined SVG navigation with generous touch targets. */
.mgbh-hero-nav{gap:14px;direction:rtl}
.mgbh-hero-nav > button{width:44px;height:44px;border:1px solid #ffffff40;background:rgba(8,27,48,.65);box-shadow:0 4px 16px #00000012;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:background .2s,border-color .2s,transform .2s;flex-shrink:0}
.mgbh-hero-nav > button svg{display:block;width:20px;height:20px}
.mgbh-hero-nav > button:hover:not(:disabled){background:#fff;color:#103f82;border-color:#fff;transform:translateY(-2px)}
.mgbh-hero-nav > button:active:not(:disabled){transform:scale(.95)}
.mgbh-hero-dots{gap:0;padding:0 3px}
.mgbh-hero-dots button,.mgbh-hero-dots button[aria-current=true]{position:relative;width:30px;height:44px;background:transparent;border:0;border-radius:8px}
.mgbh-hero-dots button::before{content:"";display:block;width:6px;height:6px;border-radius:8px;background:#ffffff70;transition:width .25s,background .25s}
.mgbh-hero-dots button[aria-current=true]::before{width:22px;background:#fff;box-shadow:0 0 12px #ffffff18}
.mgbh-hero-dots button:hover::before{background:#fff}
@media(max-width:767px){.mgbh-hero-nav{gap:10px}.mgbh-hero-nav > button{width:44px;height:44px}.mgbh-hero-nav > button svg{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.mgbh-hero-nav button,.mgbh-hero-dots button::before{transition:none}}

/* Custom category backgrounds keep the product on a separate foreground layer. */
.mgbh-categories.mgbh .mgbh-card-media.mgbh-category-custom-background{background:#273a4d;isolation:isolate}
.mgbh-categories .mgbh-card-media.mgbh-category-custom-background > img{position:relative;z-index:1;object-fit:contain;object-position:center 20%;padding:12px 16px 54px}
.mgbh-categories .mgbh-card-media.mgbh-category-custom-background .mgbh-category-background-layer{position:absolute;inset:0;display:block;z-index:0;pointer-events:none}
.mgbh-categories .mgbh-card-media.mgbh-category-custom-background .mgbh-category-background-layer > img{width:100%;height:100%;max-width:none;object-fit:cover;padding:0;margin:0;border:0}

/* Single-row category cards; native horizontal scroll also works without JavaScript. */
.mgbh-categories .mgbh-grid.mgbh-carousel{display:flex;flex-wrap:nowrap;gap:18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-inline:0;padding:4px 0;scrollbar-width:none;-ms-overflow-style:none}
.mgbh-categories .mgbh-carousel > .mgbh-card{flex:0 0 calc((100% - 54px)/4);min-width:0;max-width:none;scroll-snap-align:start}
@media(max-width:1024px){.mgbh-categories .mgbh-grid.mgbh-carousel{gap:16px}.mgbh-categories .mgbh-carousel > .mgbh-card{flex-basis:calc((100% - 16px)/2)}}
@media(max-width:767px){.mgbh-categories .mgbh-grid.mgbh-carousel{gap:12px}.mgbh-categories .mgbh-carousel > .mgbh-card{flex-basis:82%}.mgbh-categories .mgbh-section-head{flex-wrap:wrap}}

@media(pointer:fine){.mgbh-categories .mgbh-carousel,.mgbh-categories .mgbh-carousel a{cursor:grab}}
.mgbh-categories .mgbh-carousel.mgbh-is-dragging{scroll-snap-type:none;user-select:none;scroll-behavior:auto}
.mgbh-categories .mgbh-carousel.mgbh-is-dragging,.mgbh-categories .mgbh-carousel.mgbh-is-dragging a{cursor:grabbing}

.mgbh-categories .mgbh-carousel::-webkit-scrollbar{display:none;width:0;height:0}
