/* R.A.K. GROUP — Design A 3.4 Cinematic WOW Experience
   All enhancements are opt-in and scoped to rak-v16-active.
   No Elementor content/style metadata is overwritten.
   Motion is progressive and fully disabled under reduced-motion.
*/
body.rak-v16-active{
  --rak-wow-orange:#ff8c1a;
  --rak-wow-copper:#ffb159;
  --rak-wow-dark:#101821;
  --rak-wow-ease:cubic-bezier(.22,1,.36,1);
}
/* Crisp executive header: a subtle line rather than oversized ornaments. */
body.rak-v16-active .rak-global-header{box-shadow:0 15px 38px rgba(0,0,0,.19)!important;}
body.rak-v16-active .rak-header{
  background:linear-gradient(115deg,#090f17,#15202d 58%,#0c141d)!important;
  border-bottom:1px solid rgba(255,140,26,.42)!important;
}
body.rak-v16-active .rak-header:after{
  content:"";display:block;position:absolute;left:0;bottom:0;width:100%;height:2px;
  background:linear-gradient(90deg,#ff7700 0%,#ffb451 19%,transparent 56%);
  opacity:.9;pointer-events:none;
}
body.rak-v16-active .rak-nav-item .elementor-button{
  position:relative;transition:color .25s ease, background-color .25s ease!important;
}
body.rak-v16-active .rak-nav-item .elementor-button::after{
  content:"";position:absolute;left:12px;right:12px;bottom:5px;height:2px;
  background:linear-gradient(90deg,#ff7300,#ffbe67);transform:scaleX(0);
  transform-origin:left;transition:transform .28s var(--rak-wow-ease);pointer-events:none;
}
body.rak-v16-active .rak-nav-item .elementor-button:hover::after,
body.rak-v16-active .rak-nav-item .elementor-button:focus-visible::after{transform:scaleX(1)}
body.rak-v16-active .rak-header-cta .elementor-button,
body.rak-v16-active .rak-btn-orange .elementor-button{
  position:relative;overflow:hidden!important;isolation:isolate;
  background:linear-gradient(130deg,#ffa02d,#ff7900 62%,#ee6100)!important;
  box-shadow:0 13px 30px rgba(242,109,0,.32)!important;
  transition:transform .28s var(--rak-wow-ease),box-shadow .28s var(--rak-wow-ease)!important;
}
body.rak-v16-active .rak-header-cta .elementor-button:hover,
body.rak-v16-active .rak-btn-orange .elementor-button:hover{
  transform:translateY(-3px)!important;box-shadow:0 18px 34px rgba(247,103,0,.4)!important;
}
/* Gradient sheen is only shown on hover: no endless distraction. */
body.rak-v16-active .rak-header-cta .elementor-button::before,
body.rak-v16-active .rak-btn-orange .elementor-button::before{
  content:"";position:absolute;inset:-55% auto -55% -60%;width:38%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);
  transform:skewX(-19deg);transition:left .75s var(--rak-wow-ease);
  pointer-events:none;z-index:-1;
}
body.rak-v16-active .rak-header-cta .elementor-button:hover::before,
body.rak-v16-active .rak-btn-orange .elementor-button:hover::before{left:135%}
/* Cinematic hero, retaining the user's existing Elementor-editable photo. */
body.rak-v16-active .rak-hero{
  min-height:clamp(680px,82svh,900px)!important;
  background:radial-gradient(ellipse at 72% 40%,#1e2f3e 0%,#070e16 75%)!important;
}
body.rak-v16-active .rak-hero:after{
  background:linear-gradient(95deg,rgba(4,9,16,.98) 0%,rgba(5,10,18,.88) 30%,rgba(5,10,16,.58) 50%,rgba(5,10,16,.12) 82%),
  linear-gradient(0deg,rgba(6,12,20,.50),transparent 45%)!important;
}
body.rak-v16-active .rak-hero:before{
  filter:drop-shadow(0 0 20px rgba(255,125,18,.26));opacity:.95!important;
}
body.rak-v16-active .rak-hero-image img{
  object-position:51% 70%!important;
  filter:contrast(1.14) saturate(1.19) brightness(.92)!important;
  transform:scale(1.045);transform-origin:53% 65%;
}
body.rak-v16-active .rak-hero-content{max-width:min(850px,72vw)!important;gap:12px!important;}
body.rak-v16-active .rak-hero-eyebrow .elementor-heading-title{
  font-size:clamp(13px,1.15vw,17px)!important;
  letter-spacing:.16em!important;color:#ffe1b6!important;
}
body.rak-v16-active .rak-hero-title .elementor-heading-title,
body.rak-v16-active .rak-hero-highlight .elementor-heading-title{
  font-size:clamp(61px,5.7vw,93px)!important;line-height:1.12!important;
  font-weight:900!important;letter-spacing:-.045em!important;
  text-shadow:0 10px 27px rgba(0,0,0,.45)!important;
}
body.rak-v16-active .rak-hero-highlight .elementor-heading-title{
  color:#ff8b16!important;text-shadow:0 5px 22px rgba(255,128,0,.15)!important;
}
body.rak-v16-active .rak-hero-desc .elementor-widget-container,
body.rak-v16-active .rak-hero-company .elementor-widget-container{
  font-size:clamp(17px,1.36vw,21px)!important;line-height:1.9!important;
}
body.rak-v16-active .rak-hero-actions{margin-top:32px!important;gap:17px!important}
body.rak-v16-active .rak-hero-actions .elementor-button{min-height:57px!important;font-size:16px!important;padding:16px 29px!important}
/* One-time cinematic opening, never an infinite or distracting animation. */
@keyframes rak-wow-camera-arrive{
  from{transform:scale(1.12);opacity:.70}
  to{transform:scale(1.045);opacity:1}
}
@keyframes rak-wow-copy-arrive{
  from{opacity:.1;transform:translateY(24px)}
  to{opacity:1;transform:translateY(0)}
}
body.rak-v16-active .rak-hero-image img{
  animation:rak-wow-camera-arrive 1.75s var(--rak-wow-ease) both;
}
body.rak-v16-active .rak-hero-content .rak-hero-eyebrow,
body.rak-v16-active .rak-hero-content .rak-hero-title,
body.rak-v16-active .rak-hero-content .rak-hero-highlight,
body.rak-v16-active .rak-hero-content .rak-hero-actions{
  animation:rak-wow-copy-arrive .85s var(--rak-wow-ease) both;
}
body.rak-v16-active .rak-hero-content .rak-hero-title{animation-delay:90ms}
body.rak-v16-active .rak-hero-content .rak-hero-highlight{animation-delay:165ms}
body.rak-v16-active .rak-hero-content .rak-hero-actions{animation-delay:310ms}

/* Trust bar looks like a strong engineered platform below the hero. */
body.rak-v16-active .rak-stat-bar{
  background:linear-gradient(105deg,#0d1723,#182536)!important;
  border-top:3px solid #f78b22!important;
  box-shadow:0 -14px 30px rgba(0,0,0,.17),0 14px 35px rgba(13,28,43,.1)!important;
}
body.rak-v16-active .rak-stat{
  background:transparent!important;position:relative!important;
  padding:28px 18px 32px!important;
}
body.rak-v16-active .rak-stat:after{
  content:"";position:absolute;right:0;top:22%;height:56%;width:1px;
  background:linear-gradient(transparent,rgba(255,255,255,.2),transparent);
}
body.rak-v16-active .rak-stat-num .elementor-heading-title{
  font-size:clamp(38px,3.3vw,54px)!important;color:#ff972f!important;
  text-shadow:0 4px 25px rgba(252,116,0,.13);
}
/* Generous rhythm plus engineered ornament: does not hide or rewrite editable content. */
body.rak-v16-active .rak-section-heading,
body.rak-v16-active .rak-v11-section .rak-v11-heading-title{position:relative}
body.rak-v16-active .rak-section-heading:after{
  content:"";position:absolute;bottom:-17px;left:0;width:84px;height:4px;
  border-radius:5px;background:linear-gradient(90deg,#ff7200,#ffb65a);
}
body.rak-v16-active .rak-section-title .elementor-heading-title,
body.rak-v16-active .rak-v11-heading-title .elementor-heading-title{
  font-size:clamp(37px,3.25vw,57px)!important;line-height:1.28!important;
}
/* Service cards: editorial-sized photos, graphic numbering, dimensional interaction. */
body.rak-v16-active .rak-service-card,
body.rak-v16-active .rak-project-card,
body.rak-v16-active .rak-article-card{
  border:1px solid rgba(10,26,40,.08)!important;border-radius:12px!important;
  box-shadow:0 16px 36px rgba(9,24,41,.12)!important;
  transition:transform .48s var(--rak-wow-ease),box-shadow .48s var(--rak-wow-ease),border-color .48s!important;
  will-change:auto;
}
body.rak-v16-active .rak-service-card:hover,
body.rak-v16-active .rak-project-card:hover,
body.rak-v16-active .rak-article-card:hover{
  transform:translateY(-11px)!important;box-shadow:0 32px 65px rgba(9,25,41,.20)!important;
  border-color:rgba(255,129,12,.42)!important;
}
body.rak-v16-active .rak-service-card:before{
  background:linear-gradient(90deg,#ff7c03,#ffbd5d)!important;height:5px!important;
}
body.rak-v16-active .rak-card-photo,
body.rak-v16-active .rak-card-photo img{height:clamp(260px,21vw,350px)!important}
body.rak-v16-active .rak-card-photo img{
  transition:transform .8s var(--rak-wow-ease),filter .8s var(--rak-wow-ease)!important;
  filter:contrast(1.06) saturate(1.1)!important;
}
body.rak-v16-active .rak-service-card:hover .rak-card-photo img,
body.rak-v16-active .rak-project-card:hover .rak-card-photo img,
body.rak-v16-active .rak-article-card:hover .rak-card-photo img{
  transform:scale(1.075)!important;filter:contrast(1.1) saturate(1.18)!important;
}
body.rak-v16-active .rak-card-content{padding:29px clamp(22px,2vw,32px) 34px!important}
body.rak-v16-active .rak-card-heading .elementor-heading-title{
  font-size:clamp(22px,1.65vw,28px)!important;font-weight:850!important;
}
body.rak-v16-active .rak-link-button .elementor-button{
  font-weight:800!important;letter-spacing:.01em;
  transition:color .25s,transform .25s!important;
}
body.rak-v16-active .rak-link-button .elementor-button:hover{color:#b54b00!important;transform:translateX(4px)!important}
/* About + interior pages: strong contrast and engineering magazine feel. */
body.rak-v16-active .rak-about-teaser{
  position:relative!important;box-shadow:0 23px 62px rgba(10,26,45,.15)!important;
}
body.rak-v16-active .rak-about-media,
body.rak-v16-active .rak-about-photo img{min-height:560px!important}
body.rak-v16-active .rak-about-photo img{
  filter:contrast(1.1) saturate(1.14)!important;
  transition:transform .9s var(--rak-wow-ease)!important;
}
body.rak-v16-active .rak-about-teaser:hover .rak-about-photo img{transform:scale(1.045)!important}
body.rak-v16-active .rak-about-text{
  background:linear-gradient(135deg,#1c2e41 0%,#091521 100%)!important;
  border-left:4px solid #fb8411!important;
}
body.rak-v16-active .rak-about-text .rak-section-title .elementor-heading-title{
  font-size:clamp(38px,3.25vw,54px)!important;
}
body.rak-v16-active .rak-page-hero{min-height:clamp(440px,39vw,575px)!important;}
body.rak-v16-active .rak-page-hero:after{
  background:linear-gradient(95deg,rgba(4,11,20,.97),rgba(4,11,20,.73) 44%,rgba(4,11,20,.2)),linear-gradient(0deg,rgba(4,11,20,.3),transparent)!important;
}
body.rak-v16-active .rak-page-title .elementor-heading-title{
  font-size:clamp(46px,4.35vw,70px)!important;
  text-shadow:0 8px 26px rgba(0,0,0,.35)!important;
}
body.rak-v16-active .rak-v11-value-card{
  box-shadow:0 18px 42px rgba(11,30,49,.12)!important;
  transition:transform .4s var(--rak-wow-ease),box-shadow .4s var(--rak-wow-ease)!important;
}
body.rak-v16-active .rak-v11-value-card:hover{
  transform:translateY(-7px)!important;box-shadow:0 26px 52px rgba(11,30,49,.17)!important;
}
body.rak-v16-active .rak-cta-banner{
  border-top:3px solid #ff8721!important;border-bottom:3px solid #ff8721!important;
}
body.rak-v16-active .rak-v11-contact-form-wrap{box-shadow:0 25px 60px rgba(8,22,40,.17)!important}
body.rak-v16-active .rak-v11-pro-form .elementor-button{box-shadow:0 10px 28px rgba(234,98,0,.2)!important}
/* JS-enhanced entrance. Content remains visible if JavaScript is missing. */
body.rak-v16-active.rak-wow-js-ready .rak-wow-reveal:not(.rak-wow-inview){
  opacity:0;transform:translateY(30px);
}
body.rak-v16-active.rak-wow-js-ready .rak-wow-reveal{
  transition:opacity .8s var(--rak-wow-ease),transform .8s var(--rak-wow-ease)!important;
  transition-delay:var(--rak-wow-delay,0ms)!important;
}
body.rak-v16-active.rak-wow-js-ready .rak-wow-reveal.rak-wow-inview{
  opacity:1;transform:translateY(0);
}
body.rak-v16-active .rak-wow-progress{
  position:fixed;top:0;left:0;z-index:100050;width:100%;height:3px;
  pointer-events:none;transform-origin:left center;transform:scaleX(0);
  background:linear-gradient(90deg,#ff7200,#ffc271);
  box-shadow:0 0 13px rgba(255,140,30,.33);
}
body.admin-bar.rak-v16-active .rak-wow-progress{top:32px}
/* Responsiveness: preserve the already-working hamburger and scale headline sanely. */
@media(max-width:1239px){
  body.rak-v16-active .rak-hero{min-height:clamp(630px,76svh,780px)!important;padding:95px 6% 100px!important}
  body.rak-v16-active .rak-hero-content{max-width:78%!important}
  body.rak-v16-active .rak-hero-title .elementor-heading-title,
  body.rak-v16-active .rak-hero-highlight .elementor-heading-title{font-size:clamp(49px,6vw,75px)!important}
  body.rak-v16-active .rak-card-photo,body.rak-v16-active .rak-card-photo img{height:280px!important}
}
@media(max-width:850px){
  body.rak-v16-active .rak-hero{min-height:650px!important;padding:90px 6% 82px!important}
  body.rak-v16-active .rak-hero-content{max-width:88%!important}
  body.rak-v16-active .rak-hero-title .elementor-heading-title,
  body.rak-v16-active .rak-hero-highlight .elementor-heading-title{font-size:clamp(42px,6.8vw,61px)!important}
  body.rak-v16-active .rak-about-media,body.rak-v16-active .rak-about-photo img{min-height:390px!important}
}
@media(max-width:767px){
  body.rak-v16-active .rak-header-logo,body.rak-v16-active .rak-header-logo img{width:146px!important;max-width:146px!important}
  body.rak-v16-active .rak-hero{min-height:680px!important;padding:76px 23px 65px!important;justify-content:flex-end!important}
  body.rak-v16-active .rak-hero:after{
    background:linear-gradient(0deg,rgba(4,9,15,.98),rgba(4,9,15,.94) 39%,rgba(5,10,17,.5) 75%,rgba(5,10,17,.27))!important;
  }
  body.rak-v16-active .rak-hero-image img{object-position:57% 51%!important;transform:none!important}
  body.rak-v16-active .rak-hero-content{max-width:100%!important;gap:10px!important}
  body.rak-v16-active .rak-hero-title .elementor-heading-title,
  body.rak-v16-active .rak-hero-highlight .elementor-heading-title{font-size:clamp(38px,9.25vw,55px)!important}
  body.rak-v16-active .rak-hero-desc .elementor-widget-container,
  body.rak-v16-active .rak-hero-company .elementor-widget-container{font-size:15px!important}
  body.rak-v16-active .rak-hero-actions .elementor-button{min-height:52px!important;width:100%!important}
  body.rak-v16-active .rak-hero-actions{gap:11px!important;margin-top:22px!important}
  body.rak-v16-active .rak-stat{padding:22px 10px!important}
  body.rak-v16-active .rak-section-title .elementor-heading-title,
  body.rak-v16-active .rak-v11-heading-title .elementor-heading-title{font-size:clamp(30px,7.5vw,39px)!important}
  body.rak-v16-active .rak-card-photo,body.rak-v16-active .rak-card-photo img{height:270px!important}
  body.rak-v16-active .rak-about-media,body.rak-v16-active .rak-about-photo img{min-height:340px!important}
  body.rak-v16-active .rak-about-text{border-left:0!important;border-top:4px solid #fb8411!important}
  body.rak-v16-active .rak-page-hero{min-height:360px!important}
  body.rak-v16-active .rak-page-title .elementor-heading-title{font-size:clamp(34px,9vw,48px)!important}
}
/* Responsive keyboard & reduced-motion safety */
body.rak-v16-active :is(a,button,input,select,textarea):focus-visible{outline:3px solid #ffb34b!important;outline-offset:3px!important}
@media(max-width:782px){body.admin-bar.rak-v16-active .rak-wow-progress{top:46px}}
@media(prefers-reduced-motion:reduce){
  body.rak-v16-active *,body.rak-v16-active *::before,body.rak-v16-active *::after{
    scroll-behavior:auto!important;animation-duration:.01ms!important;
    transition-duration:.01ms!important;transition-delay:0ms!important;
  }
  body.rak-v16-active .rak-hero-image img{transform:none!important}
  body.rak-v16-active.rak-wow-js-ready .rak-wow-reveal{opacity:1!important;transform:none!important}
  body.rak-v16-active .rak-service-card:hover,body.rak-v16-active .rak-project-card:hover,
  body.rak-v16-active .rak-article-card:hover,body.rak-v16-active .rak-v11-value-card:hover{transform:none!important}
}
