/* V29 - professional first page framing and layout */
html body.public-body {
  background: linear-gradient(180deg,#f8fbfc 0%, #eef4f7 100%) !important;
}
html body.public-body .ingene-home,
html body.global-medical-ui.public-body .ingene-home{
  max-width: 1460px !important;
  margin: 0 auto !important;
  padding: 14px 20px 20px !important;
}

/* Main services section framed */
html body.public-body .compact-services-section,
html body.global-medical-ui.public-body .compact-services-section{
  margin: 12px auto 24px !important;
  padding: 16px !important;
  background: linear-gradient(180deg,#f7fbfd 0%, #eef6f8 100%) !important;
  border: 2px solid #c7dde4 !important;
  border-radius: 28px !important;
  box-shadow: 0 18px 40px rgba(28,62,88,.08) !important;
  position: relative !important;
  overflow: hidden !important;
}
html body.public-body .compact-services-section::before,
html body.global-medical-ui.public-body .compact-services-section::before{
  content:"" !important;
  position:absolute !important;
  inset: 0 auto auto 0 !important;
  width: 180px !important;
  height: 180px !important;
  background: radial-gradient(circle at center, rgba(80,142,170,.10) 0%, rgba(80,142,170,0) 70%) !important;
  pointer-events:none !important;
}
html body.public-body .compact-services-section .ingene-section-inner,
html body.global-medical-ui.public-body .compact-services-section .ingene-section-inner{
  max-width: 100% !important;
  margin: 0 !important;
}
html body.public-body .compact-services-section .ingene-service-grid,
html body.global-medical-ui.public-body .compact-services-section .ingene-service-grid{
  display:grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}
html body.public-body .compact-services-section .ingene-service-card,
html body.global-medical-ui.public-body .compact-services-section .ingene-service-card{
  min-height: 300px !important;
  padding: 26px 28px 24px !important;
  border: 1px solid #c8d9e1 !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 34px rgba(24,58,86,.08) !important;
  position: relative !important;
  overflow: hidden !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  gap: 12px !important;
  text-align:right !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}
html body.public-body .compact-services-section .ingene-service-card:hover,
html body.global-medical-ui.public-body .compact-services-section .ingene-service-card:hover{
  transform: translateY(-4px) !important;
  box-shadow: 0 22px 42px rgba(24,58,86,.12) !important;
  border-color: #8bb8c6 !important;
}
html body.public-body .compact-services-section .ingene-service-card::after,
html body.global-medical-ui.public-body .compact-services-section .ingene-service-card::after{
  content:"" !important;
  position:absolute !important;
  inset:auto 0 0 auto !important;
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at center, rgba(60,132,157,.09) 0%, rgba(60,132,157,0) 72%) !important;
  pointer-events:none !important;
}
html body.public-body .compact-services-section .ingene-service-card .ingene-service-icon,
html body.global-medical-ui.public-body .compact-services-section .ingene-service-card .ingene-service-icon{
  width: 72px !important;
  height: 72px !important;
  margin: 0 0 12px auto !important;
  border-radius: 22px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size: 31px !important;
  background: linear-gradient(180deg,#eef6f8 0%, #deedf1 100%) !important;
  color: #2f7080 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7) !important;
}
html body.public-body .compact-services-section .ingene-service-card:nth-child(1) .ingene-service-icon,
html body.global-medical-ui.public-body .compact-services-section .ingene-service-card:nth-child(1) .ingene-service-icon{background:linear-gradient(180deg,#e3f4ef 0%,#d5eee5 100%) !important;color:#2e8e63 !important;}
html body.public-body .compact-services-section .ingene-service-card:nth-child(2) .ingene-service-icon,
html body.global-medical-ui.public-body .compact-services-section .ingene-service-card:nth-child(2) .ingene-service-icon{background:linear-gradient(180deg,#ece8fb 0%,#e2dcf7 100%) !important;color:#6b59b7 !important;}
html body.public-body .compact-services-section .ingene-service-card:nth-child(3) .ingene-service-icon,
html body.global-medical-ui.public-body .compact-services-section .ingene-service-card:nth-child(3) .ingene-service-icon{background:linear-gradient(180deg,#fbf0dc 0%,#f5e5bb 100%) !important;color:#b07b1f !important;}
html body.public-body .compact-services-section .ingene-service-card:nth-child(4) .ingene-service-icon,
html body.global-medical-ui.public-body .compact-services-section .ingene-service-card:nth-child(4) .ingene-service-icon{background:linear-gradient(180deg,#e4eef9 0%,#d8e7f6 100%) !important;color:#4e77ce !important;}
html body.public-body .compact-services-section .ingene-service-card b,
html body.global-medical-ui.public-body .compact-services-section .ingene-service-card b{
  display:block !important;
  min-height: 48px !important;
  margin: 0 !important;
  color: #163f64 !important;
  font-size: 20px !important;
  line-height: 1.45 !important;
  font-weight: 900 !important;
}
html body.public-body .compact-services-section .ingene-service-card small,
html body.global-medical-ui.public-body .compact-services-section .ingene-service-card small{
  display:block !important;
  min-height: 72px !important;
  margin: 0 !important;
  color: #587287 !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
}
html body.public-body .compact-services-section .ingene-service-card .ingene-card-link,
html body.global-medical-ui.public-body .compact-services-section .ingene-service-card .ingene-card-link{
  margin-top: auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  align-self:flex-start !important;
  min-width: 150px !important;
  height: 46px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  border: 1px solid #9cc6cd !important;
  background: #f5fbfc !important;
  color: #2c7d84 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

/* Process section cleaner and smaller */
html body.public-body .compact-process-section,
html body.global-medical-ui.public-body .compact-process-section{
  margin: 0 auto 22px !important;
  padding: 0 !important;
  background: transparent !important;
}
html body.public-body .compact-process-section .ingene-section-inner,
html body.global-medical-ui.public-body .compact-process-section .ingene-section-inner{
  padding: 18px 20px 10px !important;
  background: #ffffff !important;
  border: 1px solid #d8e4e8 !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 28px rgba(24,58,86,.05) !important;
}
html body.public-body .compact-process-title,
html body.global-medical-ui.public-body .compact-process-title{
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #1a4d63 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-align: right !important;
}
html body.public-body .compact-process-section .ingene-process,
html body.global-medical-ui.public-body .compact-process-section .ingene-process{
  display:grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: 14px !important;
}
html body.public-body .compact-process-section .ingene-step,
html body.global-medical-ui.public-body .compact-process-section .ingene-step{
  min-height: 160px !important;
  padding: 18px 16px !important;
  border: 1px solid #d7e3e8 !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg,#fbfdfe 0%, #f5f9fb 100%) !important;
  box-shadow: none !important;
}
html body.public-body .compact-process-section .ingene-step-number,
html body.global-medical-ui.public-body .compact-process-section .ingene-step-number{
  width: 38px !important;
  height: 38px !important;
  margin-bottom: 12px !important;
  font-size: 16px !important;
}
html body.public-body .compact-process-section .ingene-step h3,
html body.global-medical-ui.public-body .compact-process-section .ingene-step h3{
  color: #153e63 !important;
  font-size: 18px !important;
  margin-bottom: 8px !important;
}
html body.public-body .compact-process-section .ingene-step p,
html body.global-medical-ui.public-body .compact-process-section .ingene-step p{
  color: #60788d !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

/* Footer cleaner */
html body.public-body .growthics-home-footer,
html body.global-medical-ui.public-body .growthics-home-footer{
  margin-top: 8px !important;
  border-top: 1px solid #d7e3e8 !important;
}

@media (max-width: 1200px){
  html body.public-body .compact-services-section .ingene-service-grid,
  html body.global-medical-ui.public-body .compact-services-section .ingene-service-grid,
  html body.public-body .compact-process-section .ingene-process,
  html body.global-medical-ui.public-body .compact-process-section .ingene-process{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}
@media (max-width: 768px){
  html body.public-body .ingene-home,
  html body.global-medical-ui.public-body .ingene-home{padding: 10px 12px 14px !important;}
  html body.public-body .compact-services-section,
  html body.global-medical-ui.public-body .compact-services-section{padding: 12px !important;border-radius: 20px !important;}
  html body.public-body .compact-services-section .ingene-service-grid,
  html body.global-medical-ui.public-body .compact-services-section .ingene-service-grid,
  html body.public-body .compact-process-section .ingene-process,
  html body.global-medical-ui.public-body .compact-process-section .ingene-process{grid-template-columns: 1fr !important;}
  html body.public-body .compact-services-section .ingene-service-card,
  html body.global-medical-ui.public-body .compact-services-section .ingene-service-card{min-height: auto !important;padding: 22px 20px !important;}
  html body.public-body .compact-services-section .ingene-service-card b,
  html body.global-medical-ui.public-body .compact-services-section .ingene-service-card b{font-size: 18px !important;min-height: 0 !important;}
  html body.public-body .compact-services-section .ingene-service-card small,
  html body.global-medical-ui.public-body .compact-services-section .ingene-service-card small{font-size: 14px !important;min-height: 0 !important;}
}
