
/* =========================================================
   AMSYNK V12.7 — DATA OPERATIONS HERO COMPACTION
   Fixes the large empty visual gap caused by vertically
   centering a shorter media panel beside a much taller copy.
   ========================================================= */

body.amsynk-enterprise-v21.page-services .service-page-hero{
  padding:48px 0 30px !important;
}

body.amsynk-enterprise-v21.page-services .service-page-hero .breadcrumbs{
  margin-bottom:26px !important;
}

body.amsynk-enterprise-v21.page-services .service-premium-grid{
  grid-template-columns:minmax(0,1fr) minmax(520px,1.02fr) !important;
  gap:clamp(34px,4.2vw,62px) !important;
  align-items:start !important;
}

body.amsynk-enterprise-v21.page-services .service-hero-copy{
  align-self:start !important;
}

body.amsynk-enterprise-v21.page-services .service-page-hero h1{
  max-width:13.5ch !important;
  margin:12px 0 18px !important;
  font-size:clamp(2.75rem,4.55vw,4.45rem) !important;
  line-height:.94 !important;
  letter-spacing:-.06em !important;
}

body.amsynk-enterprise-v21.page-services .service-page-hero .service-hero-copy > p{
  max-width:690px !important;
  margin:0 !important;
  font-size:1rem !important;
  line-height:1.67 !important;
}

body.amsynk-enterprise-v21.page-services .service-hero-kpis{
  gap:10px !important;
  margin-top:22px !important;
}

body.amsynk-enterprise-v21.page-services .service-hero-kpis article{
  min-height:0 !important;
  padding:15px 15px 16px !important;
  border-radius:14px !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

body.amsynk-enterprise-v21.page-services .service-hero-kpis strong{
  margin-top:7px !important;
  font-size:.9rem !important;
  line-height:1.38 !important;
}

body.amsynk-enterprise-v21.page-services .service-hero-kpis p{
  margin-top:6px !important;
  font-size:.76rem !important;
  line-height:1.48 !important;
}

/* Most important fix: image begins at top of the content grid,
   instead of sitting in the vertical middle of the tall left column. */
body.amsynk-enterprise-v21.page-services .service-hero-media{
  align-self:start !important;
  margin-top:0 !important;
  padding:10px !important;
  border-radius:22px !important;
  box-shadow:0 22px 50px rgba(0,0,0,.27) !important;
}

body.amsynk-enterprise-v21.page-services .service-hero-media img{
  width:100% !important;
  height:455px !important;
  min-height:455px !important;
  border-radius:16px !important;
  object-fit:cover !important;
  object-position:center 39% !important;
}

body.amsynk-enterprise-v21.page-services .service-hero-media .hero-media-badge{
  border-radius:10px !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  background:rgba(5,19,38,.93) !important;
}

body.amsynk-enterprise-v21.page-services .service-anchor-nav{
  position:relative !important;
  top:auto !important;
  margin-top:24px !important;
  border-radius:12px !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  background:rgba(5,18,35,.76) !important;
}

/* Mid-size desktop/laptop: keep the two-column hero instead of
   collapsing too early, while allowing the image to stay high. */
@media (max-width:1180px) and (min-width:951px){
  body.amsynk-enterprise-v21.page-services .service-premium-grid{
    grid-template-columns:minmax(0,1fr) minmax(420px,.9fr) !important;
    gap:30px !important;
  }
  body.amsynk-enterprise-v21.page-services .service-page-hero h1{
    font-size:clamp(2.65rem,4.6vw,3.9rem) !important;
  }
  body.amsynk-enterprise-v21.page-services .service-hero-media img{
    height:420px !important;
    min-height:420px !important;
  }
}

/* Tablet: stack cleanly only when the viewport genuinely needs it. */
@media (max-width:950px){
  body.amsynk-enterprise-v21.page-services .service-premium-grid{
    grid-template-columns:1fr !important;
    gap:28px !important;
  }
  body.amsynk-enterprise-v21.page-services .service-page-hero h1{
    max-width:15ch !important;
  }
  body.amsynk-enterprise-v21.page-services .service-hero-media{
    max-width:760px !important;
  }
  body.amsynk-enterprise-v21.page-services .service-hero-media img{
    height:390px !important;
    min-height:390px !important;
  }
}

/* Mobile: compact first screen, no unnecessary vertical gaps. */
@media (max-width:640px){
  body.amsynk-enterprise-v21.page-services .service-page-hero{
    padding:36px 0 24px !important;
  }
  body.amsynk-enterprise-v21.page-services .service-page-hero .breadcrumbs{
    margin-bottom:20px !important;
  }
  body.amsynk-enterprise-v21.page-services .service-page-hero h1{
    max-width:none !important;
    margin:10px 0 15px !important;
    font-size:clamp(2.45rem,11vw,3.35rem) !important;
  }
  body.amsynk-enterprise-v21.page-services .service-hero-kpis{
    grid-template-columns:1fr !important;
  }
  body.amsynk-enterprise-v21.page-services .service-hero-media img{
    height:300px !important;
    min-height:300px !important;
  }
  body.amsynk-enterprise-v21.page-services .service-anchor-nav{
    margin-top:18px !important;
  }
}
