/* R.A.K. GROUP Design A v3.6 — Motion Clarity & Premium Polish (v1.8.0)
   Trigger: body.rak-v18-active. Content, images and Elementor metadata are unchanged.
   Video-based improvements: readable copy, stable non-ghosting reveals, editorial cards.
*/
body.rak-v18-active{
  --rak-v36-ink:#101b2a;
  --rak-v36-accent:#ff870f;
  --rak-v36-muted:#536170;
  --rak-v36-ease:cubic-bezier(.2,.7,.2,1);
}
/* Preserve the video-approved header proportions while improving legibility and tap targets. */
body.rak-v18-active .rak-header-inner{min-height:88px!important}
body.rak-v18-active .rak-nav-item .elementor-button{
  font-size:clamp(14px,.96vw,16px)!important;line-height:1.35!important;
  padding:13px 11px!important;letter-spacing:0!important;
}
body.rak-v18-active .rak-header-cta .elementor-button{
  font-size:15px!important;min-height:46px!important;
  box-shadow:0 9px 24px rgba(244,107,0,.23)!important;
}
body.rak-v18-active .rak-header .elementor-button:focus-visible{
  outline:2px solid #ffbe79!important;outline-offset:4px!important;
}
/* Clarity first: readable hero text and an unobscured call to action. */
body.rak-v18-active .rak-hero{
  min-height:clamp(640px,80svh,890px)!important;
  overflow:hidden!important;
}
body.rak-v18-active .rak-hero:after{
  background:linear-gradient(92deg,rgba(4,10,17,.97) 0%,rgba(5,12,22,.86) 29%,rgba(6,14,24,.44) 55%,rgba(6,13,22,.09) 88%),
             linear-gradient(0deg,rgba(5,11,20,.55),transparent 38%)!important;
}
body.rak-v18-active .rak-hero-image img{
  object-position:56% 70%!important;
  filter:brightness(.89) contrast(1.12) saturate(1.12)!important;
}
body.rak-v18-active .rak-hero-content{max-width:min(920px,79%)!important}
body.rak-v18-active .rak-hero-title .elementor-heading-title,
body.rak-v18-active .rak-hero-highlight .elementor-heading-title{
  font-size:clamp(56px,5.5vw,92px)!important;line-height:1.14!important;
  text-wrap:balance;
}
body.rak-v18-active .rak-hero-company .elementor-widget-container,
body.rak-v18-active .rak-hero-desc .elementor-widget-container{
  font-size:clamp(17px,1.22vw,21px)!important;
  line-height:1.85!important;color:#e6ebf0!important;
  text-shadow:0 2px 9px rgba(0,0,0,.24);
}
body.rak-v18-active .rak-hero-actions{margin-top:27px!important;gap:16px!important}
body.rak-v18-active .rak-hero-actions .elementor-button{
  min-height:56px!important;font-size:16px!important;
}
/* Motion stability: do not move the button row or fade it during the initial page load.
   Scroll reveal remains for section content, with lower travel & no full invisibility. */
body.rak-v18-active .rak-hero-content .rak-hero-actions{
  animation:none!important;opacity:1!important;transform:none!important;
}
body.rak-v18-active.rak-wow-js-ready .rak-wow-reveal:not(.rak-wow-inview){
  opacity:.97!important;transform:translate3d(0,9px,0)!important;
}
body.rak-v18-active.rak-wow-js-ready .rak-wow-reveal{
  transition:opacity .45s ease,transform .52s var(--rak-v36-ease)!important;
  transition-delay:0ms!important;
}
body.rak-v18-active.rak-wow-js-ready .rak-wow-reveal.rak-wow-inview{
  opacity:1!important;transform:none!important;
}
/* Section hierarchy, service descriptions and figure captions at comfortable sizes. */
body.rak-v18-active .rak-section-title .elementor-heading-title,
body.rak-v18-active .rak-v11-heading-title .elementor-heading-title{
  font-size:clamp(35px,3.12vw,55px)!important;line-height:1.3!important;
}
body.rak-v18-active .rak-section-intro .elementor-widget-container,
body.rak-v18-active .rak-v11-intro .elementor-widget-container{
  font-size:clamp(16px,1.12vw,19px)!important;
  line-height:1.85!important;color:var(--rak-v36-muted)!important;
}
body.rak-v18-active .rak-service-card{
  overflow:hidden!important;border-radius:11px!important;
  box-shadow:0 14px 40px rgba(16,30,46,.12)!important;
  transition:transform .28s var(--rak-v36-ease),box-shadow .28s ease,border-color .28s ease!important;
}
body.rak-v18-active .rak-service-card:focus-within,
body.rak-v18-active .rak-service-card:hover{
  box-shadow:0 22px 50px rgba(13,32,54,.19)!important;
  border-color:rgba(255,135,15,.4)!important;
  transform:translateY(-4px)!important;
}
body.rak-v18-active .rak-card-content{padding:21px 22px 25px!important;gap:7px!important}
body.rak-v18-active .rak-service-index .elementor-heading-title{
  font-size:clamp(29px,2.65vw,43px)!important;line-height:1.05!important;
  opacity:.95!important;
}
body.rak-v18-active .rak-card-heading .elementor-heading-title{
  font-size:clamp(19px,1.46vw,24px)!important;line-height:1.4!important;
  overflow-wrap:anywhere;
}
body.rak-v18-active .rak-english .elementor-widget-container{
  font-size:clamp(14px,.98vw,16px)!important;line-height:1.5!important;
}
body.rak-v18-active .rak-link-button .elementor-button{
  min-height:42px!important;font-size:14px!important;
}
/* About and article copy should not disappear against charcoal backgrounds. */
body.rak-v18-active .rak-about-text .elementor-widget-text-editor .elementor-widget-container{
  font-size:clamp(16px,1.09vw,19px)!important;line-height:1.95!important;color:#ecf1f7!important;
}
body.rak-v18-active .rak-v11-step-card,
body.rak-v18-active .rak-v11-value-card{
  transition:transform .25s var(--rak-v36-ease),box-shadow .25s ease!important;
}
/* Readable forms: labels are not represented by color/placeholder alone. */
body.rak-v18-active .rak-v11-pro-form :is(input,textarea,select){
  font-size:16px!important;min-height:48px!important;
}
body.rak-v18-active .rak-v11-pro-form :is(input,textarea,select):focus-visible{
  outline:2px solid #f88a24!important;outline-offset:2px!important;
}
@media(max-width:1239px){
  body.rak-v18-active .rak-header-inner{min-height:76px!important}
  body.rak-v18-active .rak-hero{min-height:clamp(620px,73svh,800px)!important}
  body.rak-v18-active .rak-hero-content{max-width:86%!important}
  body.rak-v18-active .rak-card-heading .elementor-heading-title{font-size:clamp(19px,2.1vw,23px)!important}
}
@media(max-width:767px){
  body.rak-v18-active .rak-hero{min-height:690px!important}
  body.rak-v18-active .rak-hero-content{max-width:100%!important}
  body.rak-v18-active .rak-hero-company .elementor-widget-container,
  body.rak-v18-active .rak-hero-desc .elementor-widget-container{font-size:16px!important;line-height:1.8!important}
  body.rak-v18-active .rak-section-title .elementor-heading-title,
  body.rak-v18-active .rak-v11-heading-title .elementor-heading-title{font-size:clamp(30px,7.8vw,42px)!important}
  body.rak-v18-active .rak-card-heading .elementor-heading-title{font-size:21px!important}
  body.rak-v18-active .rak-english .elementor-widget-container{font-size:15px!important}
  body.rak-v18-active .rak-service-card:focus-within,
  body.rak-v18-active .rak-service-card:hover{transform:none!important}
}
@media(prefers-reduced-motion:reduce){
  body.rak-v18-active .rak-hero-image img{animation:none!important;transform:none!important}
  body.rak-v18-active .rak-hero-content *{animation:none!important;transition:none!important}
  body.rak-v18-active.rak-wow-js-ready .rak-wow-reveal{opacity:1!important;transform:none!important;transition:none!important}
  body.rak-v18-active .rak-service-card:hover{transform:none!important}
}
