@font-face{font-family:MGSE;font-style:normal;font-weight:400;font-display:swap;src:url(fonts/vazirmatn-arabic-400-normal.woff2) format('woff2')}@font-face{font-family:MGSE;font-style:normal;font-weight:700;font-display:swap;src:url(fonts/vazirmatn-arabic-700-normal.woff2) format('woff2')}@font-face{font-family:MGSE;font-style:normal;font-weight:800;font-display:swap;src:url(fonts/vazirmatn-arabic-800-normal.woff2) format('woff2')}
.mgse{--mgse-blue:#103f82;color:#14243b;background:#fff;font-family:MGSE,Tahoma,sans-serif;line-height:1.9;text-align:right}.mgse,.mgse *{box-sizing:border-box;font-style:normal!important}.mgse :is(h1,h2,h3,p,ul,figure){margin:0}.mgse :is(button,a,input){font-family:inherit}.mgse a{text-decoration:none;color:inherit}.mgse button{cursor:pointer}.mgse :focus-visible{outline:2px solid #438ac9;outline-offset:4px}.mgse-container{width:min(1180px,calc(100% - 48px));margin:auto}.mgse-section{padding:48px 0}.mgse h2{font-size:clamp(23px,2.2vw,30px);line-height:1.8;font-weight:800;color:#14243b}.mgse-eyebrow{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--mgse-blue);font-weight:700;margin-bottom:10px}.mgse-eyebrow:before{content:'';width:23px;height:2px;background:var(--mgse-blue);flex-shrink:0}.mgse-hero{padding:22px 0 42px;background:linear-gradient(180deg,#fff 40%,#f5f8fc 100%)}.mgse-breadcrumb{display:flex;gap:12px;color:#7c8da4;font-size:10px;margin-bottom:28px}.mgse-hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:55px;align-items:center}.mgse-hero h1{font-size:clamp(30px,3.3vw,44px);font-weight:800;line-height:1.65;letter-spacing:-.8px;color:#14243b;margin:0 0 19px}.mgse-hero-copy>p{font-size:13px;color:#5e718b;max-width:490px}.mgse-actions{display:flex;align-items:center;flex-wrap:wrap;gap:23px;margin-top:25px}.mgse .mgse-btn{display:inline-flex;align-items:center;justify-content:center;gap:22px;border:0;border-radius:24px;background:var(--mgse-blue);color:#fff!important;padding:10px 18px;min-height:42px;font-size:12px;font-weight:700;transition:background .2s,transform .2s}.mgse .mgse-btn:hover{background:#0b3168;transform:translateY(-2px)}.mgse-btn>span{font-size:18px;font-weight:400}.mgse-text-link{display:flex;gap:15px;align-items:center;font-size:12px;color:var(--mgse-blue)!important}.mgse-hero-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin-top:28px!important}.mgse-hero-tags li{border:1px solid #dce6f0;border-radius:20px;padding:4px 11px;font-size:10px;color:#62758f;background:#fff}.mgse-hero-photo{position:relative;height:380px;overflow:hidden;border-radius:22px;background:#e7edf4}.mgse-hero-photo>img{display:block;width:100%;height:100%;object-fit:cover}.mgse-hero-photo:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#071b39bb);pointer-events:none}.mgse-photo-label{position:absolute;right:22px;bottom:22px;color:#fff;font-size:15px;font-weight:700;z-index:1}.mgse-photo-label>span{display:block;font-size:10px;font-weight:400;margin-top:3px;color:#d7e3f1}.mgse-section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:26px}.mgse-section-head>p{max-width:390px;font-size:12px;color:#74839a}.mgse-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mgse-service-card{border:1px solid #dde5ee;border-radius:17px;padding:22px 19px;background:#fff;transition:transform .2s,border-color .2s,box-shadow .2s}.mgse-service-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:13px;background:#eef4fb;color:var(--mgse-blue);margin-bottom:19px}.mgse-service-icon svg{width:25px;height:25px;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.mgse-service-card h3{font-size:16px;font-weight:700;margin-bottom:11px;color:#14243b}.mgse-service-card>p{font-size:11px;color:#6a7d95;line-height:2;min-height:88px}.mgse-service-card ul{list-style:none;padding:14px 0 0;margin-top:17px;border-top:1px solid #edf1f6;display:flex;flex-direction:column;gap:6px}.mgse-service-card li{font-size:11px;color:#486481;display:flex;align-items:center;gap:7px}.mgse-service-card li:before{content:'↖';color:var(--mgse-blue);font-size:13px}@media(hover:hover){.mgse-service-card:hover{transform:translateY(-4px);border-color:#b0c5df;box-shadow:0 12px 28px #103f820c}}
.mgse-process{background:#f5f8fc}.mgse-step-controls{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:20px}.mgse-step-controls button{position:relative;border:1px solid #dce5ef;border-radius:12px;background:#fff;text-align:right;padding:14px;color:#5a718e;font-size:12px;min-width:0;line-height:1.9;transition:background .2s,color .2s}.mgse-step-controls button>span{display:block;font-size:10px;color:#8696ac;font-family:Arial,sans-serif;margin-bottom:4px}.mgse-step-controls button>strong{font-size:12px;font-weight:700}.mgse-step-controls i{position:absolute;left:11px;top:11px;font-size:13px;color:#94a6bd}.mgse-step-controls button[aria-selected=true]{background:var(--mgse-blue);color:#fff;border-color:var(--mgse-blue)}.mgse-step-controls button[aria-selected=true] :is(span,i){color:#c2d4ef}.mgse-step-panel{background:#fff;border:1px solid #dce5ef;border-radius:15px;padding:25px;display:grid;grid-template-columns:1.6fr 1fr;gap:35px;align-items:center;margin-top:12px}.mgse-step-panel[hidden]{display:none!important}.mgse-step-panel h3{font-size:19px;font-weight:700;color:#14243b;margin-bottom:8px}.mgse-step-panel p{font-size:12px;color:#71829b}.mgse-step-output{border-right:1px solid #e4ebf3;padding-right:28px}.mgse-step-output>span{display:block;font-size:10px;color:#8193aa;margin-bottom:8px}.mgse-step-output>strong{font-size:13px;color:var(--mgse-blue);font-weight:700}.mgse-project-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:65px;align-items:center}.mgse-project-photo{height:330px;border-radius:20px;background:#f1f5fa;overflow:hidden}.mgse-project-photo img{display:block;width:100%;height:100%;object-fit:cover}.mgse-project-copy>p{font-size:12px;color:#72839b;margin:13px 0 20px}.mgse-project-copy ul{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:11px;color:#4d6889;margin-bottom:25px}.mgse-project-copy li:before{content:'✓';color:var(--mgse-blue);margin-left:8px}.mgse-faq{padding-top:18px}.mgse-faq-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:55px}.mgse-faq details{border-bottom:1px solid #e2e9f1;padding:16px 0}.mgse-faq summary{display:flex;justify-content:space-between;align-items:center;gap:20px;list-style:none;cursor:pointer;font-size:13px;font-weight:700;color:#28476b}.mgse-faq summary::-webkit-details-marker{display:none}.mgse-faq summary span{font-size:17px;color:var(--mgse-blue);font-weight:400}.mgse-faq details[open] summary span{transform:rotate(45deg)}.mgse-faq details p{font-size:12px;line-height:2;color:#71829a;padding:13px 0 0}.mgse-cta{background:#103f82;color:white;padding:34px 0}.mgse-cta>.mgse-container{display:flex;justify-content:space-between;align-items:center;gap:30px}.mgse-cta h2{font-size:22px;color:#fff;font-weight:700}.mgse-cta p{font-size:12px;color:#d2dff0;margin-top:7px}.mgse-cta .mgse-actions{margin-top:0;flex-shrink:0}.mgse-cta .mgse-btn{background:#fff;color:#103f82!important}.mgse-cta .mgse-btn:hover{background:#e7eff9}.mgse-contact-link{display:flex;gap:14px;align-items:center;font-size:12px;color:#e1ebfa!important}
@media(max-width:1024px){.mgse-hero-grid{gap:30px}.mgse-hero-photo{height:340px}.mgse-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgse-service-card>p{min-height:0}.mgse-project-grid{gap:35px}.mgse-step-controls{gap:7px}.mgse-step-controls button{padding:12px 10px}.mgse-step-controls button>strong{font-size:11px}.mgse-cta>.mgse-container{flex-direction:column;align-items:start}.mgse-hero h1{font-size:34px}}
@media(max-width:767px){.mgse-container{width:calc(100% - 36px)}.mgse-section{padding:32px 0}.mgse-hero{padding:20px 0 30px}.mgse-breadcrumb{margin-bottom:20px}.mgse-hero-grid,.mgse-project-grid,.mgse-faq-grid{grid-template-columns:1fr;gap:24px}.mgse-hero h1{font-size:30px;line-height:1.7;margin-bottom:14px}.mgse-hero-copy>p{font-size:12px}.mgse-hero-photo{height:265px}.mgse-hero-tags{margin-top:18px!important}.mgse-actions{margin-top:20px;gap:18px}.mgse-section-head{display:block;margin-bottom:20px}.mgse-section-head>p{max-width:none;margin-top:10px;font-size:11px}.mgse h2{font-size:23px}.mgse-service-grid{gap:12px}.mgse-service-card{padding:18px 15px}.mgse-service-card h3{font-size:14px}.mgse-service-icon{margin-bottom:14px;width:39px;height:39px}.mgse-service-card>p{font-size:10px}.mgse-step-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mgse-step-controls button:last-child{grid-column:1/-1}.mgse-step-controls button>strong{font-size:12px}.mgse-step-panel{grid-template-columns:1fr;gap:18px;padding:20px}.mgse-step-output{border-right:0;border-top:1px solid #e4ebf3;padding:14px 0 0}.mgse-project-photo{height:260px}.mgse-project-copy ul{font-size:10px}.mgse-faq-grid{gap:10px}.mgse-faq summary{font-size:12px}.mgse-cta h2{font-size:20px}.mgse-cta{padding:27px 0}}
@media(max-width:380px){.mgse-service-grid{grid-template-columns:1fr}.mgse-project-copy ul{grid-template-columns:1fr}.mgse-hero h1{font-size:27px}}@media(prefers-reduced-motion:reduce){.mgse *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* 1.1.0: current Mashhad Gearbox visual identity. */
.mgse{overflow-x:clip}.mgse section[id]{scroll-margin-top:100px}
.mgse-hero{position:relative;padding:26px 0 38px;background:linear-gradient(135deg,#fff 25%,#f4f7fb)}
.mgse-hero-grid{gap:40px;min-width:0}.mgse-hero-copy,.mgse-project-copy{min-width:0}
.mgse-hero h1{font-size:clamp(29px,3vw,40px);line-height:1.65;letter-spacing:-.6px}
.mgse-hero-photo{height:360px;border:1px solid #dce6f1;border-radius:24px;box-shadow:0 14px 40px #103f820c}
.mgse-hero-tags li{border-radius:24px;padding:6px 12px}
.mgse .mgse-btn{gap:16px;padding:10px 20px;border-radius:24px;line-height:1.6;box-shadow:none;transform:none}
.mgse .mgse-btn:hover{transform:none}.mgse-btn>span{display:flex;align-items:center;justify-content:center;width:18px;height:18px;line-height:1;font-size:0}
.mgse-btn svg,.mgse-service-link svg{display:block;width:18px;height:18px}
.mgse .mgse-text-link,.mgse .mgse-contact-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:42px;border:1px solid #dce6f1;border-radius:24px;padding:10px 18px;background:#fff;color:#103f82!important;font-size:12px;font-weight:700;line-height:1.6}
.mgse .mgse-text-link:hover,.mgse .mgse-contact-link:hover{background:#eef4fb}
.mgse-section{padding:40px 0}.mgse-services{background:#fff}
.mgse-service-grid{align-items:stretch}.mgse-service-card{position:relative;display:flex;flex-direction:column;padding:24px 20px;border-radius:20px;overflow:hidden;min-width:0}
.mgse-service-card::before{content:'';height:3px;width:34px;position:absolute;top:0;right:20px;background:var(--mgse-blue);border-radius:0 0 4px 4px}
.mgse-service-icon{width:50px;height:50px;border-radius:15px;margin-bottom:18px}
.mgse-service-card>p{min-height:0;flex:1}.mgse-service-card h3{line-height:1.8;font-size:16px}
.mgse-service-card ul{margin:17px 0 20px;min-height:90px;line-height:1.8}
.mgse .mgse-service-link{display:flex;align-items:center;justify-content:center;gap:16px;min-height:42px;border:1px solid #dce6f1;border-radius:24px;padding:10px 14px;background:#fff;color:var(--mgse-blue);font-size:11px;font-weight:700;line-height:1.6;margin-top:auto}
.mgse .mgse-service-link:hover{background:var(--mgse-blue);border-color:var(--mgse-blue);color:#fff}
.mgse-step-controls button{border-radius:24px;min-height:76px;padding:13px 16px;background:#fff;color:#496584;box-shadow:none}
.mgse-step-controls button:hover{background:#eef4fb;color:var(--mgse-blue)}
.mgse-step-controls button[aria-selected=true]{background:var(--mgse-blue);color:#fff}
.mgse-step-controls i{display:none}.mgse-step-controls button>strong{display:block;overflow-wrap:anywhere}
.mgse-step-panel{border-radius:20px;padding:26px;min-height:158px}
.mgse-project-photo{border-radius:24px;border:1px solid #dce6f1}.mgse-faq{padding-top:12px}
.mgse-faq summary{min-height:44px}.mgse-faq summary span{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border:1px solid #dce6f1;border-radius:50%;background:#f1f6fc}
.mgse p,.mgse h2,.mgse h3{overflow-wrap:anywhere}.mgse-cta .mgse-btn:hover{background:#eef4fb}
@media(max-width:1024px){.mgse-hero-grid{gap:26px}.mgse-hero-photo{height:320px}.mgse-step-controls button{padding:12px}}
@media(max-width:767px){.mgse-section{padding:30px 0}.mgse-hero{padding:20px 0 28px}.mgse-hero-grid{gap:22px}.mgse-hero-photo{height:260px}.mgse-hero h1{font-size:29px}.mgse-service-card{padding:20px 15px}.mgse-service-card h3{font-size:14px}.mgse-service-card ul{min-height:0}.mgse-service-card>p{font-size:11px}.mgse-step-controls button{min-height:74px}.mgse-step-panel{padding:20px}.mgse .mgse-actions{gap:10px}.mgse .mgse-btn,.mgse .mgse-text-link,.mgse .mgse-contact-link,.mgse .mgse-service-link{min-height:44px}.mgse-cta .mgse-actions{width:100%;flex-wrap:wrap}.mgse-faq{padding-top:8px}}
@media(max-width:380px){.mgse-hero h1{font-size:27px}.mgse-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgse-service-card{padding:17px 11px}.mgse-service-card h3{font-size:13px}.mgse-service-card li{font-size:10px}.mgse .mgse-service-link{padding:9px 8px;gap:6px;font-size:10px}}

/* 1.2.0: scroll-linked isometric engineering timeline. */
.mgse-process{position:relative;background:#f5f7fa}
.mgse-timeline-layout{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:44px;direction:ltr}
.mgse-timeline-art{position:relative;min-width:0;max-width:510px;margin:auto;width:100%}
.mgse-timeline-svg{display:block;width:100%;height:auto;max-height:400px;overflow:visible}
.mgse-stair-front{fill:#d5e1ef;transition:fill .25s}.mgse-stair-side{fill:#b6c8de;transition:fill .25s}.mgse-stair-top{fill:#eef4fb;transition:fill .25s}
.mgse-stair text{fill:#5a7597;font:700 13px Arial,sans-serif}
.mgse-stair.is-complete .mgse-stair-front{fill:#3e70af}.mgse-stair.is-complete .mgse-stair-side{fill:#214f8d}.mgse-stair.is-complete .mgse-stair-top{fill:#81a4d0}
.mgse-stair.is-active .mgse-stair-front{fill:#103f82}.mgse-stair.is-active .mgse-stair-side{fill:#0b2e62}.mgse-stair.is-active .mgse-stair-top{fill:#438ac9}.mgse-stair.is-active text,.mgse-stair.is-complete text{fill:#fff}
.mgse-timeline-caption{text-align:center;font-size:11px;color:#6a7e98;margin-top:4px;direction:rtl}
.mgse-timeline-layout .mgse-step-panels{direction:rtl;min-width:0}
.mgse-timeline-layout .mgse-step-panel{display:flex;flex-direction:column;align-items:stretch;gap:24px;margin:0;border-radius:24px;padding:30px;min-height:260px}
.mgse-timeline-layout .mgse-step-panel[hidden]{display:none!important}
.mgse-timeline-layout .mgse-step-output{border-right:0;border-top:1px solid #e4ebf3;padding:20px 0 0}
.mgse-process .mgse-step-controls{margin-bottom:10px}
.mgse-process .mgse-step-panel.is-entering{animation:mgse-stage-in .3s ease-out}
@keyframes mgse-stage-in{from{opacity:.3;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(min-width:768px) and (min-height:700px){
 .mgse-process.mgse-scroll-ready{height:230vh;padding:0}
 .mgse-scroll-ready .mgse-process-sticky{position:sticky;top:40px;padding:30px 0;min-height:630px}
}
@media(max-width:767px),(max-height:699px){
 .mgse-timeline-layout{grid-template-columns:1fr;gap:18px}
 .mgse-timeline-svg{max-height:280px}.mgse-timeline-art{max-width:380px}
 .mgse-timeline-layout .mgse-step-panel{min-height:220px;padding:22px}
 .mgse-process .mgse-step-controls{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
 .mgse-process .mgse-step-controls button{border-radius:16px;padding:9px 5px;min-height:82px;text-align:center}
 .mgse-process .mgse-step-controls button:last-child{grid-column:auto}
 .mgse-process .mgse-step-controls button>strong{font-size:10px;line-height:1.8}
}
@media(prefers-reduced-motion:reduce){.mgse-process.mgse-scroll-ready{height:auto}.mgse-scroll-ready .mgse-process-sticky{position:static;min-height:0}.mgse-process .mgse-step-panel.is-entering{animation:none}.mgse-stair path{transition:none}}

/* 1.2.1: soft industrial photo on a white timeline background. */
.mgse-process{background:#fff}
.mgse-process-sticky{position:relative;isolation:isolate}
.mgse-process-sticky::before{content:'';position:absolute;top:0;bottom:0;left:calc(50% - 50vw);width:100vw;z-index:-1;pointer-events:none;background:url("images/engineering.webp") center 54%/cover no-repeat;opacity:.13;filter:blur(6px);-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 80%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 80%,transparent)}
@media(max-width:767px){.mgse-process-sticky::before{opacity:.1;filter:blur(4px);background-position:45% center}}

/* 1.2.3: consistent final contact banner controls. */
.mgse .mgse-cta .mgse-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mgse .mgse-cta .mgse-btn,.mgse .mgse-cta .mgse-contact-link{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:44px;padding:11px 20px;border:1px solid #fff;border-radius:24px;background:#fff;color:#103f82!important;font-family:inherit;font-size:12px;font-weight:700;line-height:1.6;text-align:center;white-space:nowrap;box-shadow:none;transform:none}
.mgse .mgse-cta .mgse-btn:hover,.mgse .mgse-cta .mgse-contact-link:hover{background:#eef4fb;border-color:#eef4fb}
.mgse .mgse-cta .mgse-contact-link>span{display:flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px;margin:0;line-height:1}
.mgse .mgse-cta .mgse-contact-link svg{display:block;width:18px;height:18px}
@media(max-width:767px){.mgse .mgse-cta .mgse-actions{width:100%}.mgse .mgse-cta .mgse-btn,.mgse .mgse-cta .mgse-contact-link{flex:1 1 160px}}
