
/* MP Tech v3.0 final visual polish */
body.mptech-custom-page:not(.light),
body.mptech-extra-page:not(.light),
body.mptech-service-single:not(.light){background:#000!important;color:#f2f2f2!important}
body.mptech-custom-page:not(.light) .mptech-extra,
body.mptech-extra-page:not(.light) .mptech-extra{--m-bg:#000;--m-card:#0b0b0b;--m-line:#1f1f1f;--m-ink:#f5f5f5;--m-muted:#c7c7c7; background:#000!important}
body.mptech-custom-page:not(.light) .hero,
body.mptech-custom-page:not(.light) footer,
body.mptech-custom-page:not(.light) .top,
body.mptech-custom-page:not(.light) .hero-extra{background-color:#000!important}
body.mptech-custom-page:not(.light) .hero{background-image:linear-gradient(rgba(0,0,0,.84),rgba(0,0,0,.9)),url('home/assets/hero-background.svg')!important;background-color:#000!important}
body.mptech-custom-page .projects{height:auto!important;overflow:visible!important;padding-bottom:96px}
body.mptech-custom-page .project-track{width:100%!important;transform:none!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:28px;direction:rtl;padding:0;margin-top:42px}
body.mptech-custom-page .project{width:auto!important;min-width:0!important}
body.mptech-custom-page .project-art{height:auto!important;min-height:240px;aspect-ratio:16/9;border-radius:18px!important;background-position:center center!important;background-size:cover!important;overflow:hidden;box-shadow:0 16px 38px rgba(0,0,0,.28)}
body.mptech-custom-page .project-art>div{left:24px;right:24px;bottom:22px}
body.mptech-custom-page .project-art h3{font-family:Cairo,sans-serif!important;font-size:22px!important;line-height:1.5!important;color:#fff!important;text-shadow:0 3px 10px rgba(0,0,0,.35)}
body.mptech-custom-page .project-art small{font-family:Cairo,sans-serif!important;font-size:13px!important;color:#d7c28b!important;text-shadow:0 2px 6px rgba(0,0,0,.35)}
body.mptech-custom-page .project-external{display:inline-flex;align-items:center;gap:8px;padding:14px 0 2px;color:#d7c28b;font-weight:700;font-family:Cairo,sans-serif}
body.mptech-custom-page .project-heading{align-items:end;gap:20px;flex-wrap:wrap}
body.mptech-custom-page .project-heading h2{margin-bottom:0}
body.mptech-custom-page .about{min-height:704px;height:auto;padding-bottom:80px}
body.mptech-custom-page .about-image img,
body.mptech-custom-page .about-image picture img,
body.mptech-custom-page .about-image video{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:24px}
body.mptech-custom-page .contact form,
body.mptech-custom-page .contact-card,
body.mptech-custom-page .service,
body.mptech-custom-page .mptech-extra .tile{background:#0b0b0b!important}
body.mptech-custom-page .contact form>p,
body.mptech-custom-page .contact aside>p,
body.mptech-custom-page .fields label,
body.mptech-custom-page .contact-card small{color:#b5b5b5!important}
body.mptech-custom-page .fields input::placeholder,
body.mptech-custom-page .fields textarea::placeholder{color:#6f6f6f!important}
@media(max-width:999px){body.mptech-custom-page .project-track{grid-template-columns:1fr!important;gap:20px}body.mptech-custom-page .project-art{min-height:210px}}


/* v3.1 — About section: text first, true viewport-width panoramic banner beneath */
body.mptech-home .about.mptech-about-full-banner{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:flex-start!important;gap:0!important;
  width:100%!important;max-width:none!important;
  height:auto!important;min-height:0!important;
  margin:0!important;padding:88px 0 0!important;
  overflow:hidden;background:#000;
}
body.mptech-home .about.mptech-about-full-banner .about-copy{
  width:min(1496px,calc(100% - 80px))!important;max-width:1496px!important;
  margin:0 auto!important;padding:0 0 65px!important;
  flex:initial!important;text-align:right!important;
}
body.mptech-home .about.mptech-about-full-banner .about-copy h2{
  margin-top:16px!important;margin-bottom:20px!important;
}
body.mptech-home .about.mptech-about-full-banner .about-copy>p:not(.section-label){
  max-width:1100px!important;width:100%!important;
}
body.mptech-home .about.mptech-about-full-banner .mptech-about-banner{
  display:block!important;position:relative!important;
  width:100vw!important;max-width:none!important;
  margin:0!important;padding:0!important;
  height:clamp(380px,47vw,780px)!important;
  overflow:hidden!important;flex:none!important;
  background:#050505;
}
body.mptech-home .about.mptech-about-full-banner .mptech-about-banner .about-image{
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;max-width:none!important;height:100%!important;
  aspect-ratio:auto!important;object-fit:cover!important;
  object-position:center 47%!important;
  border-radius:0!important;margin:0!important;padding:0!important;
  filter:none!important;
}
body.mptech-home .about.mptech-about-full-banner .mptech-about-banner:after{
  content:"";pointer-events:none;position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(0,0,0,.12),transparent 25%,transparent 77%,rgba(0,0,0,.18));
}
@media(max-width:999px){
 body.mptech-home .about.mptech-about-full-banner{padding-top:55px!important}
 body.mptech-home .about.mptech-about-full-banner .about-copy{width:calc(100% - 48px)!important;padding-bottom:38px!important}
 body.mptech-home .about.mptech-about-full-banner .about-copy h2{font-size:clamp(30px,6vw,52px)!important}
 body.mptech-home .about.mptech-about-full-banner .mptech-about-banner{height:clamp(270px,58vw,520px)!important}
}
@media(max-width:600px){
 body.mptech-home .about.mptech-about-full-banner .about-copy{width:calc(100% - 36px)!important;padding-bottom:28px!important}
 body.mptech-home .about.mptech-about-full-banner .mptech-about-banner{height:310px!important}
 body.mptech-home .about.mptech-about-full-banner .mptech-about-banner .about-image{object-position:center center!important}
}


/* v3.2: true edge-to-edge cover art. The original SVG is square, so the
   browser crops vertically instead of showing a narrow constrained image. */
html:has(body.mptech-home){overflow-x:clip}
body.mptech-home #about.mptech-about-full-banner{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  inline-size:100%!important;
  max-inline-size:none!important;
  overflow:visible!important;
  padding-inline:0!important;
  margin-inline:0!important;
}
body.mptech-home #about.mptech-about-full-banner > .mptech-about-banner{
  display:block!important;
  box-sizing:border-box!important;
  position:relative!important;
  inset:auto!important;
  flex:none!important;
  inline-size:100vw!important;
  min-inline-size:100vw!important;
  max-inline-size:none!important;
  block-size:clamp(340px,42vw,720px)!important;
  margin-inline:calc(50% - 50vw)!important;
  margin-block:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  transform:none!important;
  background-color:#000!important;
  background-repeat:no-repeat!important;
  background-position:center 51%!important;
  background-size:cover!important;
  overflow:hidden!important;
}
body.mptech-home #about.mptech-about-full-banner > .mptech-about-banner::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(to bottom,rgba(0,0,0,.12),transparent 24%,transparent 82%,rgba(0,0,0,.16));
}
@media (max-width:760px){
  body.mptech-home #about.mptech-about-full-banner > .mptech-about-banner{
    block-size:clamp(260px,65vw,440px)!important;
    background-position:center center!important;
  }
}
