/* STAVI V18 — only shared non-Home final CTA and Services card typography/buttons. */
/* Approved user photo, preserved at its native proportions. No cover cropping or nonuniform stretching. */
body:not(.home-page) .final-cta .cta-pane.v17-next-pane{
  width:100%!important;
  min-height:clamp(480px,56.28vw,1050px)!important;
  background-color:#060c1a!important;
  background-image:linear-gradient(180deg,rgba(3,9,23,.28),rgba(3,9,23,.32)),url('assets/next-chapter-approved-v18.png')!important;
  background-size:100% 100%,contain!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
/* Reuse the image in Services, Portfolio, Pricing, About only; Home and its own CTA unaffected. */
@media(max-width:900px){
 body:not(.home-page) .final-cta .cta-pane.v17-next-pane{
   min-height:600px!important;
   background-size:100% 100%,100% auto!important;
   background-position:center center,center top!important;
   background-color:#060c1a!important;
 }
}
@media(max-width:600px){
 body:not(.home-page) .final-cta .cta-pane.v17-next-pane{min-height:490px!important;padding:52px 18px!important}
}
/* Services: icon and larger service name share one row, icons themselves untouched. */
body.services-page .detail-services .v18-service-heading-row{
  display:flex!important;align-items:center!important;gap:15px!important;
  margin:12px 0 15px!important;min-width:0!important;
}
body.services-page .detail-services .v18-service-heading-row .detail-symbol{
  flex:0 0 46px!important;width:46px!important;height:46px!important;
  margin:0!important;
}
body.services-page .detail-services .v18-service-heading-row h2{
  flex:1!important;min-width:0!important;margin:0!important;
  font-size:clamp(22px,1.8vw,29px)!important;
  line-height:1.12!important;min-height:0!important;letter-spacing:-.035em!important;
}
/* Services: replace plain text links with visible action buttons. */
body.services-page .detail-services .detail-heading>a.btn-text{
  display:inline-flex!important;align-items:center!important;justify-content:space-between!important;
  width:100%!important;min-height:46px!important;margin-top:auto!important;
  padding:10px 14px!important;box-sizing:border-box!important;
  color:#f7faff!important;background:linear-gradient(110deg,#18316a,#0b1e43)!important;
  border:1px solid rgba(100,156,255,.55)!important;border-radius:11px!important;
  font-size:13px!important;font-weight:750!important;text-decoration:none!important;
  box-shadow:0 5px 18px rgba(0,44,140,.16)!important;
  transition:transform .22s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease!important;
}
body.services-page .detail-services .detail-heading>a.btn-text:hover{
  background:linear-gradient(110deg,#2161e8,#1244c8)!important;
  border-color:#94bfff!important;transform:translateY(-2px)!important;
  box-shadow:0 10px 25px rgba(28,91,255,.26)!important;
}
body.services-page .detail-services .detail-heading>a.btn-text .icon{flex:0 0 auto!important;width:17px!important;height:17px!important;color:#fff!important}
@media(max-width:1250px){body.services-page .detail-services .v18-service-heading-row h2{font-size:21px!important}}
@media(max-width:960px){body.services-page .detail-services .v18-service-heading-row h2{font-size:clamp(23px,3vw,29px)!important}}
@media(max-width:650px){body.services-page .detail-services .v18-service-heading-row h2{font-size:25px!important}}
@media(prefers-reduced-motion:reduce){body.services-page .detail-services .detail-heading>a.btn-text{transition:none!important}}
