/* RAVAK 3D Services — isolated warm yellow / deep-black component. */
.rvk-3d-services {
  width: 100%;
  max-width: 100%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f5f5f5;
  background-color: var(--rvk3-black, #050505);
  background-position: center;
  background-repeat: no-repeat;
  --rvk3-yellow: #FFC32E;
  --rvk3-black: #050505;
  --rvk3-card-width: 480px;
  --rvk3-side-peek: 35%;
  --rvk3-requested-gap: 24px;
  --rvk3-image-pos-x: 50%;
  --rvk3-image-pos-y: 50%;
  --rvk3-image-zoom: 1.00;
  --rvk3-rgb-blue: #2F80FF;
  --rvk3-rgb-red: #FF3B45;
  --rvk3-rgb-green: #32D583;
}

.rvk-3d-services,
.rvk-3d-services * { box-sizing: border-box; }
.rvk-3d-services__inner { width: 100%; max-width: 1200px; margin-inline: auto; position: relative; }
.rvk-3d-services__heading { margin: 0 auto; padding-inline: clamp(16px, 3vw, 40px); }
.rvk-3d-services__stage { margin-top: 34px; }
.rvk-3d-services.has-cinematic-accents .rvk-3d-services__section-title::after { content: ""; display: block; width: 42px; height: 2px; margin-top: 12px; border-radius: 2px; background: linear-gradient(90deg, var(--rvk3-yellow, #FFC32E), rgba(255,195,46,0)); box-shadow: 0 0 14px rgba(255,195,46,.16); }
.rvk-3d-services.has-cinematic-accents .rvk-3d-services__heading[style*="center"] .rvk-3d-services__section-title::after { margin-inline: auto; }
.rvk-3d-services__section-title { margin: 0 0 12px; font-size: clamp(26px, 3vw, 42px); line-height: 1.25; font-weight: 700; color: var(--rvk3-section-title-color, var(--rvk3-yellow, #FFC32E)); }
.rvk-3d-services__section-description { margin: 0; line-height: 1.9; color: #d0d0d0; }

/* The stage clips the carousel only. It never clips the page or the heading. */
.rvk-3d-services__stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 8px 0;
  isolation: isolate;
  direction: ltr;
}
.rvk-3d-services__track {
  display: grid;
  grid-template-columns: repeat(var(--rvk3-columns, 4), minmax(0, 1fr));
  gap: max(12px, var(--rvk3-requested-gap, 24px));
  align-items: stretch;
  position: relative;
  direction: rtl;
  perspective: 1400px;
}
.rvk-3d-services__track.is-rail {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
  align-items: flex-end; /* All slide baselines share one horizontal line. */
  gap: var(--rvk3-requested-gap, 24px);
  padding: 150px 0 20px;
  direction: ltr;
  transform: translate3d(0, 0, 0);
  transition: none;
  will-change: transform;
  touch-action: pan-y;
  user-select: none;
}
.rvk-3d-services__track.is-rail.is-dragging { cursor: grabbing; }
.rvk-3d-services__track.is-rail .rvk-3d-services__card {
  direction: rtl;
  flex: 0 0 var(--rvk3-effective-width, var(--rvk3-card-width, 480px));
  width: var(--rvk3-effective-width, var(--rvk3-card-width, 480px));
  height: var(--rvk3-custom-height, var(--rvk3-card-height, 420px));
  min-height: var(--rvk3-custom-height, var(--rvk3-card-height, 420px));
  min-width: 0;
  overflow: visible;
}

/* Slide box owns its measured dimensions. The absolute shell grows upward only. */
.rvk-3d-services__card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: var(--rvk3-custom-height, var(--rvk3-card-height, 420px));
  height: var(--rvk3-custom-height, var(--rvk3-card-height, 420px));
  width: 100%;
  display: block;
  overflow: visible;
  background: transparent;
  opacity: 1;
  transition: opacity var(--rvk3-duration, 650ms) ease, transform var(--rvk3-duration, 650ms) cubic-bezier(.22, .61, .36, 1);
}
.rvk-3d-services__card[style*="--rvk3-custom-height"] { height: var(--rvk3-custom-height); min-height: var(--rvk3-custom-height); }
.rvk-3d-services__card[data-card-url] { cursor: pointer; }
.rvk-3d-services__card.is-entering { opacity: 0; transform: translate3d(0, 22px, 0); }
.rvk-3d-services__card.is-entering[data-enter="left"] { transform: translate3d(-24px, 0, 0); }
.rvk-3d-services__card.is-entering[data-enter="right"] { transform: translate3d(24px, 0, 0); }
.rvk-3d-services__card.is-entering[data-enter="down"] { transform: translate3d(0, -22px, 0); }
.rvk-3d-services__card.is-visible { opacity: 1; transform: none; }

.rvk-3d-services__shell {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% + var(--rvk3-total-lift, 0px));
  min-height: 0;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 195, 46, .30);
  border-radius: 0;
  --rvk3-card-radius: 18px;
  background: var(--rvk3-black, #050505);
  box-shadow: var(--rvk3-shadow-x, 0px) var(--rvk3-shadow-y, 16px) var(--rvk3-shadow-blur, 42px) var(--rvk3-shadow-spread, 0px) var(--rvk3-shadow-color, rgba(0, 0, 0, .42)), 0 0 var(--rvk3-edge-glow-px, 0px) rgba(255, 195, 46, .22);
  clip-path: inset(0 round var(--rvk3-card-radius, 18px));
  -webkit-clip-path: inset(0 round var(--rvk3-card-radius, 18px));
  transform: none;
  filter: none;
  opacity: 1;
  will-change: height, clip-path;
}
.rvk-3d-services__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
  border-radius: 0;
  pointer-events: none;
  background: var(--rvk3-black, #050505);
}
.rvk-3d-services__image {
  /* Overscan protects the deformed/blurred contour from exposing the shell underneath. */
  position: absolute !important;
  inset: -12% !important;
  display: block;
  width: 124% !important;
  height: 124% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0;
  object-position: var(--rvk3-card-image-pos-x, var(--rvk3-image-pos-x, 50%)) var(--rvk3-card-image-pos-y, var(--rvk3-image-pos-y, 50%));
  filter: blur(var(--rvk3-image-edge-blur, var(--rvk3-image-blur, 0px)));
  transform: scale(calc(var(--rvk3-card-image-zoom, var(--rvk3-image-zoom, 1.00)) * var(--rvk3-image-scale, 1.04)));
  transform-origin: center center;
  transition: filter .18s linear, transform .18s linear, object-position .18s ease;
  object-fit: cover !important;
  background: var(--rvk3-black, #050505);
}
.rvk-3d-services[data-image-fit="fill"] .rvk-3d-services__image { object-fit: fill !important; }
.rvk-3d-services[data-image-fit="cover"] .rvk-3d-services__image,
.rvk-3d-services:not([data-image-fit]) .rvk-3d-services__image { object-fit: cover !important; }
.rvk-3d-services__overlay {
  position: absolute;
  inset: 0;
  background: var(--rvk3-overlay, #050505);
  opacity: calc(var(--rvk3-overlay-alpha, .48) * var(--rvk3-overlay-on, 1));
  transition: opacity .25s ease;
}
.rvk-3d-services__overlay.has-gradient {
  background: linear-gradient(0deg, var(--rvk3-gradient-end, #050505) 0%, rgba(5, 5, 5, calc(.62 * var(--rvk3-cinematic-gradient-alpha, .65))) 46%, transparent 100%), var(--rvk3-overlay, #050505);
  opacity: calc(var(--rvk3-overlay-alpha, .48) * var(--rvk3-overlay-on, 1));
}
.rvk-3d-services__glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: var(--rvk3-glass-opacity-edge, 0);
  border: 1px solid rgba(255, 195, 46, .42);
  border-radius: 0;
  background: linear-gradient(110deg, rgba(5, 5, 5, .58), rgba(5, 5, 5, .12) 46%, rgba(5, 5, 5, .62));
  box-shadow: inset 0 1px 1px rgba(255, 195, 46, .24), inset 0 -1px 1px rgba(0, 0, 0, .38);
  backdrop-filter: blur(var(--rvk3-glass-blur, 0px));
  -webkit-backdrop-filter: blur(var(--rvk3-glass-blur, 0px));
  pointer-events: none;
  transition: opacity .18s linear;
}
.rvk-3d-services__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(var(--rvk3-reflection-direction, to left), transparent 35%, rgba(255, 195, 46, var(--rvk3-reflection-alpha, 0)) 100%);
  pointer-events: none;
}
.rvk-3d-services__edge-light {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: 0;
  opacity: var(--rvk3-edge-light-opacity, 0);
  background: linear-gradient(var(--rvk3-reflection-direction, to left), rgba(255, 195, 46, .38), transparent 24%, transparent 72%, rgba(255, 195, 46, .05));
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity .18s linear;
}
/* Edge-reactive RGB refraction stays behind the content and is clipped by the same shell silhouette. */
.rvk-3d-services__rgb-glass {
  position: absolute;
  z-index: 2;
  inset: -2%;
  overflow: hidden;
  border-radius: 0;
  opacity: var(--rvk3-rgb-opacity, 0);
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(var(--rvk3-rgb-blur, 0px));
  backdrop-filter: blur(calc(var(--rvk3-rgb-blur, 0px) * .32));
  -webkit-backdrop-filter: blur(calc(var(--rvk3-rgb-blur, 0px) * .32));
  transition: opacity .18s linear, filter .18s linear;
}
.rvk-3d-services__rgb-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Broad browser support fallback before the enhanced color-mix declaration. */
  background:
    radial-gradient(ellipse at 2% 48%, rgba(47,128,255,.24) 0%, transparent 43%),
    radial-gradient(ellipse at 98% 35%, rgba(255,59,69,.22) 0%, transparent 42%),
    radial-gradient(ellipse at 54% 100%, rgba(50,213,131,.16) 0%, transparent 48%);
  opacity: calc(var(--rvk3-rgb-chromatic, 0) * .9);
}
.rvk-3d-services__rgb-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 8%, rgba(47,128,255,.08) 24%, transparent 38%),
    linear-gradient(248deg, transparent 18%, rgba(255,59,69,.07) 34%, transparent 51%),
    linear-gradient(0deg, transparent 60%, rgba(50,213,131,.05) 100%);
  opacity: calc(var(--rvk3-rgb-chromatic, 0) * .62);
  box-shadow: inset 0 0 calc(var(--rvk3-rgb-glow, 0) * 24px) rgba(47,128,255,.08);
}
@supports (background: color-mix(in srgb, red, transparent)) {
  .rvk-3d-services__rgb-glass::before {
    background:
      radial-gradient(ellipse at 2% 48%, color-mix(in srgb, var(--rvk3-rgb-blue, #2F80FF) 68%, transparent) 0%, transparent 43%),
      radial-gradient(ellipse at 98% 35%, color-mix(in srgb, var(--rvk3-rgb-red, #FF3B45) 62%, transparent) 0%, transparent 42%),
      radial-gradient(ellipse at 54% 100%, color-mix(in srgb, var(--rvk3-rgb-green, #32D583) 46%, transparent) 0%, transparent 48%);
  }
  .rvk-3d-services__rgb-glass::after {
    background:
      linear-gradient(112deg, transparent 8%, color-mix(in srgb, var(--rvk3-rgb-blue, #2F80FF) 20%, transparent) 24%, transparent 38%),
      linear-gradient(248deg, transparent 18%, color-mix(in srgb, var(--rvk3-rgb-red, #FF3B45) 18%, transparent) 34%, transparent 51%),
      linear-gradient(0deg, transparent 60%, color-mix(in srgb, var(--rvk3-rgb-green, #32D583) 12%, transparent) 100%);
    box-shadow: inset 0 0 calc(var(--rvk3-rgb-glow, 0) * 24px) color-mix(in srgb, var(--rvk3-rgb-blue, #2F80FF) 28%, transparent);
  }
}
.rvk-3d-services[data-rgb-enabled="0"] .rvk-3d-services__rgb-glass { display: none; }

.rvk-3d-services__content {
  position: relative;
  z-index: 4;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  min-height: 100%;
  height: 100%;
  padding: 28px;
  pointer-events: auto;
  background: linear-gradient(0deg, rgba(5, 5, 5, .30), transparent 65%);
}
.rvk-3d-services__content.position-top { justify-content: flex-start; }
.rvk-3d-services__content.position-center { justify-content: center; }
.rvk-3d-services__content[style*="text-align:center"] { align-items: center; }
.rvk-3d-services__content[style*="text-align:left"] { align-items: flex-start; }
.rvk-3d-services__title { margin: 0; font-size: clamp(20px, 1.8vw, 28px); font-weight: 700; line-height: 1.45; color: #fff; text-wrap: balance; text-shadow: 0 2px 15px rgba(0, 0, 0, .55); }
.rvk-3d-services__description { margin: 0; max-width: 42ch; font-size: 15px; line-height: 1.9; color: #e2e2e2; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.rvk-3d-services__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 11px 18px;
  background: var(--rvk3-yellow, #FFC32E);
  color: #050505;
  border: 1px solid var(--rvk3-yellow, #FFC32E);
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  user-select: auto;
}
.rvk-3d-services__button span { font-size: 18px; line-height: 1; }
.rvk-3d-services__button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 195, 46, .18); background: #050505; color: var(--rvk3-yellow, #FFC32E); }
.rvk-3d-services__button:focus-visible { outline: 3px solid var(--rvk3-yellow, #FFC32E); outline-offset: 4px; }
.rvk-3d-services__shell:focus-within { outline: 2px solid var(--rvk3-yellow, #FFC32E); outline-offset: 4px; }
.rvk-3d-services__card.is-visible:hover .rvk-3d-services__image { transform: scale(calc(var(--rvk3-image-scale, 1.04) + .02)); }

.rvk-3d-services__arrow {
  position: absolute;
  z-index: 50;
  top: 50%;
  transform: translateY(-50%);
  width: var(--rvk3-arrow-size, 48px);
  height: var(--rvk3-arrow-size, 48px);
  padding: 0;
  border: var(--rvk3-arrow-border-width, 1px) solid var(--rvk3-arrow-border-color, rgba(255, 195, 46, .7));
  border-radius: var(--rvk3-arrow-radius, 50%);
  background: var(--rvk3-arrow-background, rgba(5, 5, 5, .92));
  color: var(--rvk3-arrow-icon-color, var(--rvk3-yellow, #FFC32E));
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.rvk-3d-services__arrow--prev { left: var(--rvk3-arrow-offset, 12px); }
.rvk-3d-services__arrow--next { right: var(--rvk3-arrow-offset, 12px); }
.rvk-3d-services__arrow-icon { display: inline-grid; place-items: center; width: var(--rvk3-arrow-icon-size, 22px); height: var(--rvk3-arrow-icon-size, 22px); line-height: 1; }
.rvk-3d-services__arrow-icon--glyph { color: var(--rvk3-arrow-icon-color, var(--rvk3-yellow, #FFC32E)); font-size: var(--rvk3-arrow-icon-size, 22px); font-family: Arial, sans-serif; }
.rvk-3d-services__arrow-icon--elementor { color: var(--rvk3-arrow-icon-color, var(--rvk3-yellow, #FFC32E)); }
.rvk-3d-services__arrow-icon--elementor > i,
.rvk-3d-services__arrow-icon--elementor > svg,
.rvk-3d-services__arrow-icon--elementor .elementor-icon {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  font-size: var(--rvk3-arrow-icon-size, 22px);
  line-height: 1;
}
.rvk-3d-services__arrow-icon--elementor > svg { fill: currentColor; }
.rvk-3d-services__arrow-icon--elementor > i { display: grid; place-items: center; }
.rvk-3d-services__arrow:hover,
.rvk-3d-services__arrow:focus-visible {
  background: var(--rvk3-arrow-hover-bg, var(--rvk3-yellow, #FFC32E));
  color: var(--rvk3-arrow-hover-color, #050505);
  outline: 2px solid var(--rvk3-yellow, #FFC32E);
  outline-offset: 3px;
  box-shadow: 0 8px 24px rgba(255, 195, 46, .16);
}
.rvk-3d-services__arrow:hover .rvk-3d-services__arrow-icon--glyph,
.rvk-3d-services__arrow:focus-visible .rvk-3d-services__arrow-icon--glyph { color: var(--rvk3-arrow-hover-color, #050505); }
.rvk-3d-services__arrow:hover .rvk-3d-services__arrow-icon--elementor,
.rvk-3d-services__arrow:focus-visible .rvk-3d-services__arrow-icon--elementor { color: var(--rvk3-arrow-hover-color, #050505); }

@media (max-width: 1024px) {
  .rvk-3d-services__track { grid-template-columns: repeat(var(--rvk3-columns, 2), minmax(0, 1fr)); }
  .rvk-3d-services__track.is-rail { padding-top: 118px; padding-bottom: 18px; }
  .rvk-3d-services__track.is-rail .rvk-3d-services__card { flex-basis: var(--rvk3-effective-width, min(var(--rvk3-card-width, 380px), 76vw)); width: var(--rvk3-effective-width, min(var(--rvk3-card-width, 380px), 76vw)); }
}
@media (min-width: 768px) and (max-width: 1024px) {
  /* Tablet grid mode is always three columns, independent of desktop settings. */
  .rvk-3d-services__track.is-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: max(12px, var(--rvk3-requested-gap, 22px));
  }
}
@media (max-width: 767px) {
  .rvk-3d-services__track { grid-template-columns: repeat(var(--rvk3-columns, 1), minmax(0, 1fr)); gap: 16px; padding-inline: 14px; }
  .rvk-3d-services__track.is-rail { gap: 24px; padding-top: 88px; padding-bottom: 14px; }
  .rvk-3d-services__track.is-rail .rvk-3d-services__card { flex-basis: var(--rvk3-effective-width, min(var(--rvk3-card-width, 280px), 84vw)); width: var(--rvk3-effective-width, min(var(--rvk3-card-width, 280px), 84vw)); }
  .rvk-3d-services__card { min-height: var(--rvk3-custom-height, var(--rvk3-card-height, 340px)); height: var(--rvk3-custom-height, var(--rvk3-card-height, 340px)); }
  .rvk-3d-services__content { padding: 22px; }
  .rvk-3d-services__description { font-size: 14px; }
  .rvk-3d-services__arrow { width: var(--rvk3-arrow-size, 36px); height: var(--rvk3-arrow-size, 36px); }
  .rvk-3d-services[data-mobile-effect="0"] .rvk-3d-services__shell { --rvk3-total-lift: 0px !important; clip-path: inset(0 round var(--rvk3-card-radius, 18px)) !important; -webkit-clip-path: inset(0 round var(--rvk3-card-radius, 18px)) !important; }
  .rvk-3d-services[data-mobile-effect="0"] .rvk-3d-services__glass,
  .rvk-3d-services[data-mobile-effect="0"] .rvk-3d-services__edge-light { opacity: 0 !important; }
}
.rvk-3d-services[data-cinematic="0"] .rvk-3d-services__overlay.has-gradient { background: var(--rvk3-overlay, #050505); }
.rvk-3d-services[data-cinematic="0"] .rvk-3d-services__glass,
.rvk-3d-services[data-cinematic="0"] .rvk-3d-services__edge-light { opacity: 0 !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
.rvk-3d-services[data-cinematic="0"] .rvk-3d-services__shell { box-shadow: 0 16px 42px rgba(0,0,0,.42); }
@supports not (clip-path: path("M 0 0 L 1 1")) {
  .rvk-3d-services__shell { clip-path: inset(0 round var(--rvk3-card-radius, 18px)); -webkit-clip-path: inset(0 round var(--rvk3-card-radius, 18px)); }
}
@media (prefers-reduced-motion: reduce) {
  .rvk-3d-services__card,
  .rvk-3d-services__image,
  .rvk-3d-services__glass,
  .rvk-3d-services__edge-light,
  .rvk-3d-services__button,
  .rvk-3d-services__track { transition: none !important; scroll-behavior: auto !important; }
  .rvk-3d-services__card.is-entering { opacity: 1; transform: none; }
  .rvk-3d-services__shell { --rvk3-total-lift: 0px !important; clip-path: inset(0 round var(--rvk3-card-radius, 18px)) !important; -webkit-clip-path: inset(0 round var(--rvk3-card-radius, 18px)) !important; }
  .rvk-3d-services__glass,
  .rvk-3d-services__edge-light,
  .rvk-3d-services__rgb-glass { opacity: 0 !important; }
}


/* 2.12.3: exact vertical rail spacing on every breakpoint. */
.rvk-3d-services__track.is-rail { padding: 35px 0 !important; }
@media (max-width: 1024px) { .rvk-3d-services__track.is-rail { padding: 35px 0 !important; } }
@media (max-width: 767px) { .rvk-3d-services__track.is-rail { padding: 35px 0 !important; } }
