.ambsan-render{--amb-navy:#051829;--amb-navy-2:#07203a;--amb-card:#0a2338;--amb-card-2:#0c2b45;--amb-line:rgba(255,255,255,.11);--amb-line-soft:rgba(255,255,255,.07);--amb-gold:#fcb216;--amb-gold-2:#c46f23;--amb-grad:linear-gradient(120deg,#fcb216 0%,#c46f23 100%);--amb-white:#fff;--amb-muted:rgba(233,241,248,.72);--amb-muted-2:rgba(233,241,248,.55);--amb-maxw:1600px;--amb-radius:22px;--amb-shadow:0 24px 60px rgba(0,0,0,.35);width:100%;max-width:none;margin-left:auto;margin-right:auto;min-width:0;isolation:isolate}
.ambsan-render .ambsan-section{width:100%;max-width:100%;min-width:0}
.ambsan-render .ambsan-section :is(.ambsan-container,div,article,aside){min-width:0}
.ambsan-render img{max-width:100%;height:auto}
@media(max-width:767px){.ambsan-render .ambsan-section [class*="grid"]{min-width:0}.ambsan-render .ambsan-section [class*="cols"]{min-width:0}}

/* Elementor's widget and container wrappers must not constrain Ambsan blocks. */
.elementor-widget-shortcode:has(.ambsan-render),
.elementor-widget-shortcode:has(.ambsan-render) > .elementor-widget-container,
.elementor-widget-shortcode .ambsan-render,
.e-con .ambsan-render {
 width:100%;max-width:none;min-width:0;
}
/* The page shell must not inset the sections: backgrounds run edge to edge,
   the inner .ambsan-container keeps the content on the 1600px grid. */
.e-con-full:has(.ambsan-render),
.e-con:has(.ambsan-render){
 padding-left:0!important;padding-right:0!important;
}
.elementor-widget-shortcode .ambsan-render .ambsan-container{
 max-width:none;
}
.elementor-widget-shortcode .ambsan-render .ambsan-section{
 box-sizing:border-box;
}
/* Keep section columns responsive inside Elementor's narrower editor canvas.
   Container queries supplement original viewport media queries. */
.ambsan-render{container-type:inline-size}
@container (max-width:820px){
 .ambsan-render #ambsan-hero .amb-hero-grid{grid-template-columns:minmax(0,1fr)}
}

/* v1.2 spacing: applied to full page and independently rendered sections. */
.ambsan-render .ambsan-section {
 margin-top:0!important;margin-bottom:0!important;
 padding:50px 0!important;
}
.ambsan-render .ambsan-section > .ambsan-container,
.ambsan-render .ambsan-section .ambsan-container {
 width:min(var(--amb-maxw),100% - 80px);max-width:var(--amb-maxw);margin-left:auto;margin-right:auto;
}
@media (max-width:900px){
 .ambsan-render .ambsan-section > .ambsan-container,
 .ambsan-render .ambsan-section .ambsan-container{width:calc(100% - 40px);max-width:calc(100% - 40px)}
}
@media (max-width:520px){
 .ambsan-render .ambsan-section > .ambsan-container,
 .ambsan-render .ambsan-section .ambsan-container{width:calc(100% - 36px);max-width:calc(100% - 36px)}
}
.ambsan-render--section {margin-block:0!important;padding-block:0!important;}
@media(max-width:767px){
 .ambsan-render .ambsan-section {padding:25px 0!important;margin-block:0!important}
 .ambsan-render .ambsan-section .ambsan-container {width:calc(100% - 36px);max-width:calc(100% - 36px)}
 /* Text alignment: preserve FAQ accordion bodies, input labels and service card details. */
 .ambsan-render .ambsan-section:not(#ambsan-faqs) .ambsan-head,
 .ambsan-render .ambsan-section:not(#ambsan-faqs) .ambsan-head--left,
 .ambsan-render .ambsan-section:not(#ambsan-faqs) .ambsan-eyebrow,
 .ambsan-render .ambsan-section:not(#ambsan-faqs) .ambsan-lead {text-align:center!important}
 .ambsan-render .ambsan-section:not(#ambsan-faqs) .ambsan-head--left {margin-left:auto;margin-right:auto}
 .ambsan-render .ambsan-section:not(#ambsan-faqs) > .ambsan-container > h1,
 .ambsan-render .ambsan-section:not(#ambsan-faqs) > .ambsan-container > h2,
 .ambsan-render .ambsan-section:not(#ambsan-faqs) > .ambsan-container > p {text-align:center!important}
 .ambsan-render .ambsan-section:not(#ambsan-faqs) .ambsan-head .ambsan-eyebrow {justify-content:center}
 .ambsan-render #ambsan-services .amb-group__head {justify-content:center;text-align:center}
 .ambsan-render #ambsan-services .amb-group__title,
 .ambsan-render #ambsan-services .amb-group__line {text-align:center}
}


/* v1.3: protect theme/Elementor link colors and visited states. */
.ambsan-render a:not(.button):not(.wp-element-button),
.ambsan-render a:link,
.ambsan-render a:visited { color:inherit; }
.ambsan-render a:hover,
.ambsan-render a:focus-visible { color:var(--amb-gold,#fcb216); }
.ambsan-render a[class*="btn"],.ambsan-render a[class*="button"],
.ambsan-render a[class*="cta"] { text-decoration:none; }
.ambsan-render a[class*="btn"]:hover,.ambsan-render a[class*="button"]:hover,
.ambsan-render a[class*="cta"]:hover { filter:brightness(1.07); }
.ambsan-render a:focus-visible {outline:2px solid var(--amb-gold,#fcb216);outline-offset:3px;}
/* Keep carousels clipped to viewport without interfering with internal scrolling. */
.ambsan-render { overflow-x:clip; }
.ambsan-render .ambsan-section { box-sizing:border-box; }
.ambsan-render .ambsan-section * { box-sizing:border-box; }
.ambsan-render :is(.ambsan-head,.ambsan-lead,h1,h2,h3,p){overflow-wrap:break-word;}
/* Subtle consistent interactive transitions, preserving section-specific styling. */
.ambsan-render :is(a,button,[role="button"]) {
 transition:color .22s ease,background-color .22s ease,background-size .3s ease,border-color .22s ease,box-shadow .22s ease,transform .25s ease,filter .22s ease;
}
@media(hover:hover) {
 .ambsan-render :is(a,button,[role="button"]):not(:disabled):hover {filter:brightness(1.06);}
}
@media(prefers-reduced-motion:reduce){
 .ambsan-render *, .ambsan-render *::before, .ambsan-render *::after {
  animation-duration:.01ms!important;animation-iteration-count:1!important;
  scroll-behavior:auto!important;transition-duration:.01ms!important;
 }
}

/* Explicit colors for link cards and the client link; prevents purple visited/link defaults. */
.ambsan-render #ambsan-industries a.amb-ind,
.ambsan-render #ambsan-industries a.amb-ind:link,
.ambsan-render #ambsan-industries a.amb-ind:visited,
.ambsan-render #ambsan-industries a.amb-ind:hover { color:#fff!important;text-decoration:none!important; }
.ambsan-render #ambsan-industries a.amb-ind h3 {color:#fff!important;}
.ambsan-render #ambsan-industries a.amb-ind p {color:var(--amb-muted)!important;}
.ambsan-render #ambsan-industries a.amb-ind .amb-ind__arrow {color:#181818!important;}
.ambsan-render #ambsan-trust a.ambsan-link,
.ambsan-render #ambsan-trust a.ambsan-link:visited,
.ambsan-render .amb-trust-link a.ambsan-link,
.ambsan-render .amb-trust-link a.ambsan-link:visited {color:var(--amb-gold,#fcb216)!important;}

/* v1.4.2: Restore the link underline sweep after Elementor/global transition resets. */
.ambsan-render a.ambsan-link,
.ambsan-render a.ambsan-link:link,
.ambsan-render a.ambsan-link:visited {
  background-size:0 1px;
  transition:background-size .3s ease,color .22s ease,transform .25s ease;
}
.ambsan-render a.ambsan-link:hover,
.ambsan-render a.ambsan-link:focus-visible {
  background-size:100% 1px;
}


/* Ambsan Experience v1.5 — scoped, opt-in motion system.
   No global transition override: original underlines/carousels remain intact. */
.ambsan-render.amb-motion-active .amb-motion-item {
  transition-property:opacity,transform;
  transition-duration:var(--amb-motion-duration,720ms);
  transition-timing-function:cubic-bezier(.22,1,.36,1);
  transition-delay:var(--amb-stagger,0ms);
}
.ambsan-render[data-amb-motion-speed="fast"]{--amb-motion-duration:480ms}
.ambsan-render[data-amb-motion-speed="normal"]{--amb-motion-duration:720ms}
.ambsan-render[data-amb-motion-speed="slow"]{--amb-motion-duration:950ms}
.ambsan-render.amb-motion-active .amb-motion-item:not(.amb-motion-visible){
  opacity:0;
  transform:translate3d(0,18px,0);
}
.ambsan-render.amb-motion-active[data-amb-motion-intensity="balanced"] .amb-motion-item:not(.amb-motion-visible){transform:translate3d(0,28px,0)}
.ambsan-render.amb-motion-active[data-amb-motion-intensity="expressive"] .amb-motion-item:not(.amb-motion-visible){transform:translate3d(0,38px,0)}
.ambsan-render.amb-motion-active .amb-motion-item.amb-motion-visible{
  opacity:1;transform:none;
}
/* The reveal reset above must not cancel the shared card hover lift. */
.ambsan-render.amb-motion-active .ambsan-card.amb-motion-item.amb-motion-visible:hover,
.ambsan-render.amb-motion-active [class*="card"]:not([class*="card__"]).amb-motion-item.amb-motion-visible:hover{
  transform:translateY(-6px);
}
/* Avoid motion on inactive/hidden tab contents, and never affect form input focus. */
.ambsan-render [hidden]{display:none!important}
.ambsan-render.amb-motion-hover [class*="card"]:not([class*="card__"]):hover,
.ambsan-render.amb-motion-hover [class*="tile"]:hover {
  border-color:rgba(255,177,24,.44);
  box-shadow:0 16px 38px rgba(0,0,0,.12);
}
@media (hover:hover) and (pointer:fine) {
  .ambsan-render.amb-motion-hover [class*="card"]:not([class*="card__"]),
  .ambsan-render.amb-motion-hover [class*="tile"] {
    transition:border-color .3s ease,box-shadow .3s ease;
  }
  .ambsan-render.amb-motion-hover a[class*="button"] > svg,
  .ambsan-render.amb-motion-hover a[class*="btn"] > svg{
    transition:transform .28s cubic-bezier(.22,1,.36,1);
  }
  .ambsan-render.amb-motion-hover a[class*="button"]:hover > svg,
  .ambsan-render.amb-motion-hover a[class*="btn"]:hover > svg {transform:translateX(4px)}
}
/* Background-position parallax only when a hero has a CSS background. */
@media (min-width:1024px) {
  .ambsan-render.amb-motion-parallax .amb-motion-hero {
    background-position:center calc(50% + var(--amb-hero-shift,0px));
  }
}
@media (prefers-reduced-motion:reduce) {
  .ambsan-render .amb-motion-item,
  .ambsan-render .ambsan-reveal {
    opacity:1!important;transform:none!important;transition:none!important;
  }
  .ambsan-render.amb-motion-parallax .amb-motion-hero {background-position:center center!important}
}
/* Elementor editing: never hide a section while the editor is composing it. */
body.elementor-editor-active .ambsan-render .amb-motion-item,
body.elementor-editor-active .ambsan-render .ambsan-reveal {
  opacity:1!important;transform:none!important;
}

/* ============================================================
   v1.8 - Figma-matched first three sections
   These three are full-bleed by design, so the generic
   `.ambsan-section{padding:50px 5px!important}` rule must not
   inset them and the Elementor container override must not
   stretch their inner container.
   ============================================================ */
.ambsan-render #ambsan-hero,
.ambsan-render #ambsan-takeaways{
  width:100%!important;
  max-width:100%!important;
  padding:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
.ambsan-render #ambsan-why{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
.ambsan-render #ambsan-hero > .ambsan-container,
.ambsan-render #ambsan-takeaways > .ambsan-container,
.ambsan-render #ambsan-why > .ambsan-container{
  width:min(var(--amb-maxw,1600px),100% - 80px);
  max-width:var(--amb-maxw,1600px);
  margin-left:auto;
  margin-right:auto;
}
@media (max-width:900px){
  .ambsan-render #ambsan-hero > .ambsan-container,
  .ambsan-render #ambsan-takeaways > .ambsan-container,
  .ambsan-render #ambsan-why > .ambsan-container{
    width:calc(100% - 40px);
  }
}

/* Desktop: 100vw includes the scrollbar, which nudged the hero content ~7px
   left of the header logo. The render is full width, so 100% is exact. */
@media (min-width:1081px){
  .ambsan-render #ambsan-hero,
  .ambsan-render #ambsan-takeaways,
  .ambsan-render #ambsan-why{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}

/* ============================================================
   v1.9 - motion upgrades
   Hero image parallax, pointer spotlight on cards, button shine,
   ambient section glows and a no-animation QA switch. Everything
   is scoped to .ambsan-render so the theme stays untouched.
   ============================================================ */

/* Slightly deeper scroll reveal (subtle setting). */
.ambsan-render.amb-motion-active .amb-motion-item:not(.amb-motion-visible){
  transform:translate3d(0,24px,0);
}

/* Hero background image parallax. JS writes --amb-hero-shift. */
@media (min-width:1024px){
  .ambsan-render #ambsan-hero .amb-hero-bg img{
    transform:translate3d(0,var(--amb-hero-shift,0px),0) scale(1.08);
    transform-origin:center top;
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    will-change:transform;
  }
}

/* Card spotlight that follows the cursor (JS sets --amb-mx/--amb-my). */
.ambsan-render.amb-motion-hover .ambsan-card{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.ambsan-render.amb-motion-hover .ambsan-card::after{
  content:"";
  position:absolute;inset:0;z-index:0;border-radius:inherit;
  pointer-events:none;
  background:radial-gradient(340px circle at var(--amb-mx,50%) var(--amb-my,0%),rgba(252,178,22,.18),rgba(252,178,22,0) 64%);
  opacity:0;
  transition:opacity .38s ease;
}
.ambsan-render.amb-motion-hover .ambsan-card:hover::after{opacity:1}
.ambsan-render.amb-motion-hover .ambsan-card > *{position:relative;z-index:1}

/* Button shine sweep on hover. */
.ambsan-render.amb-motion-hover .ambsan-btn{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.ambsan-render.amb-motion-hover .ambsan-btn::after{
  content:"";
  position:absolute;top:-55%;bottom:-55%;left:0;width:45%;
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.42),rgba(255,255,255,0));
  transform:translate3d(-180%,0,0) skewX(-18deg);
  opacity:0;
  pointer-events:none;
}
.ambsan-render.amb-motion-hover .ambsan-btn:hover::after,
.ambsan-render.amb-motion-hover .ambsan-btn:focus-visible::after{
  animation:amb-btn-shine .88s cubic-bezier(.22,1,.36,1);
}
@keyframes amb-btn-shine{
  0%{opacity:0;transform:translate3d(-180%,0,0) skewX(-18deg)}
  18%{opacity:1}
  100%{opacity:0;transform:translate3d(330%,0,0) skewX(-18deg)}
}

/* Ambient, slowly drifting background glows. */
@keyframes amb-glow-drift{
  0%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(6%,7%,0) scale(1.14)}
  100%{transform:translate3d(-5%,-3%,0) scale(.98)}
}
@keyframes amb-glow-drift-alt{
  0%{transform:translate3d(0,0,0) scale(1.05)}
  50%{transform:translate3d(-7%,-5%,0) scale(.94)}
  100%{transform:translate3d(4%,6%,0) scale(1.12)}
}
.ambsan-render :is(#ambsan-services,#ambsan-faq,#ambsan-contact,#ambsan-why){isolation:isolate}
.ambsan-render :is(#ambsan-services,#ambsan-faq,#ambsan-contact,#ambsan-why)::before{
  content:"";
  position:absolute;z-index:1;left:-16%;top:-22%;
  width:min(860px,90vw);height:min(860px,90vw);
  border-radius:50%;
  background:radial-gradient(circle,rgba(252,178,22,.20) 0%,rgba(252,178,22,.06) 42%,rgba(252,178,22,0) 70%);
  filter:blur(24px);
  pointer-events:none;
  animation:amb-glow-drift 26s ease-in-out infinite alternate;
}
.ambsan-render :is(#ambsan-services,#ambsan-contact)::after{
  content:"";
  position:absolute;z-index:1;right:-14%;bottom:-28%;
  width:min(760px,85vw);height:min(760px,85vw);
  border-radius:50%;
  background:radial-gradient(circle,rgba(74,158,255,.16),rgba(74,158,255,0) 68%);
  filter:blur(28px);
  pointer-events:none;
  animation:amb-glow-drift-alt 31s ease-in-out infinite alternate;
}

/* QA switch: ?ambqa=1 disables every animation on the page. */
.ambsan-render.amb-motion-off *,
.ambsan-render.amb-motion-off *::before,
.ambsan-render.amb-motion-off *::after{
  animation:none!important;
  transition:none!important;
}

@media (prefers-reduced-motion:reduce){
  .ambsan-render #ambsan-hero .amb-hero-bg img{transform:none}
  .ambsan-render :is(#ambsan-services,#ambsan-faq,#ambsan-contact,#ambsan-why)::before,
  .ambsan-render :is(#ambsan-services,#ambsan-contact)::after{animation:none}
  .ambsan-render.amb-motion-hover .ambsan-btn::after{display:none}
}

/* Mobile gutter: the Elementor container inset is removed, so a single 40px
   reserve gives 20px each side and matches the header logo. */
@media (max-width:520px){
  .ambsan-render .ambsan-section > .ambsan-container,
  .ambsan-render .ambsan-section .ambsan-container,
  .ambsan-render #ambsan-hero > .ambsan-container,
  .ambsan-render #ambsan-takeaways > .ambsan-container,
  .ambsan-render #ambsan-why > .ambsan-container{
    width:calc(100% - 40px);
    max-width:calc(100% - 40px);
  }
}

/* ============================================================
   v1.10 - animated cursor follower
   Enabled from Ambsan Experience > Animation Settings. The JS only
   creates the element on fine-pointer, non-reduced-motion devices,
   so touch and keyboard users keep the native cursor.
   ============================================================ */
html.amb-cursor-on,
html.amb-cursor-on body,
html.amb-cursor-on *{cursor:none!important}

.amb-cursor{
  position:fixed;left:0;top:0;width:0;height:0;
  z-index:2147483000;pointer-events:none;
  opacity:0;transition:opacity .2s ease;
}
.amb-cursor.is-on{opacity:1}
.amb-cursor__dot,.amb-cursor__ring{position:absolute;left:0;top:0;will-change:transform}

/* Inner dot: tracks the pointer with no lag. */
.amb-cursor__dot{
  width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;
  background:#fcb216;box-shadow:0 0 10px rgba(252,178,22,.85);
  transition:width .18s ease,height .18s ease,margin .18s ease,border-radius .18s ease,background .18s ease;
}

/* Outer ring: eases behind the pointer, with a slowly rotating arc. */
.amb-cursor__ring{
  width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;
  border:1.5px solid rgba(252,178,22,.45);
  transition:width .26s cubic-bezier(.22,1,.36,1),height .26s cubic-bezier(.22,1,.36,1),
             margin .26s cubic-bezier(.22,1,.36,1),border-color .26s ease,
             background .26s ease,opacity .2s ease;
}
.amb-cursor__ring::before{
  content:"";position:absolute;inset:-5px;border-radius:50%;
  background:conic-gradient(from 0deg,rgba(252,178,22,.85),rgba(252,178,22,0) 28%,rgba(252,178,22,0) 68%,rgba(196,111,35,.75));
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1.5px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1.5px));
  animation:amb-cursor-spin 3.4s linear infinite;
}
@keyframes amb-cursor-spin{to{transform:rotate(360deg)}}

/* Hovering anything clickable: ring blooms, dot shrinks. */
.amb-cursor[data-state="hover"] .amb-cursor__ring{
  width:62px;height:62px;margin:-31px 0 0 -31px;
  border-color:rgba(252,178,22,.95);
  background:rgba(252,178,22,.10);
  box-shadow:0 0 0 2px rgba(5,24,41,.28),0 0 26px rgba(252,178,22,.5);
}
.amb-cursor[data-state="hover"] .amb-cursor__ring::before{animation-duration:1.3s}
.amb-cursor[data-state="hover"] .amb-cursor__dot{
  width:4px;height:4px;margin:-2px 0 0 -2px;
  background:#fff;box-shadow:0 0 10px rgba(252,178,22,.95);
}

/* Over text fields: ring hides, dot becomes an I-beam. */
.amb-cursor[data-state="text"] .amb-cursor__ring{opacity:0}
.amb-cursor[data-state="text"] .amb-cursor__dot{
  width:2px;height:18px;margin:-9px 0 0 -1px;border-radius:1px;
  background:#ffd066;box-shadow:0 0 8px rgba(252,178,22,.5);
}

/* Click feedback. */
.amb-cursor[data-press] .amb-cursor__ring{
  width:26px;height:26px;margin:-13px 0 0 -13px;
  background:rgba(252,178,22,.22);
}

@media (hover:none),(pointer:coarse){
  html.amb-cursor-on *{cursor:auto!important}
  .amb-cursor{display:none}
}
@media (prefers-reduced-motion:reduce){
  html.amb-cursor-on,html.amb-cursor-on body,html.amb-cursor-on *{cursor:auto!important}
  .amb-cursor{display:none}
}
.ambsan-render.amb-motion-off .amb-cursor{display:none}