/* /var/www/relyn/static_src/css/vision.css */

.vision-section {
  width: 100%;
  display: flex;
  justify-content: center;
  color: #FFFFFF;
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vision-shell {
  position: relative;
  width: 100%;
  max-width: 1920px;
  height: 1148px;
  overflow: hidden;

  --blur-top: 56%;
  --blur-h: 620px;
}

.vision-blur-layer {
  position: absolute;
  left: 50%;
  top: var(--blur-top);
  transform: translate(-50%, -50%);
  width: 1920px;
  max-width: 100%;
  height: var(--blur-h);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(99, 62, 178, 0.34) 0%,
    rgba(99, 62, 178, 0.20) 35%,
    rgba(0, 0, 0, 0.00) 72%
  );
  filter: blur(34px);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.vision-header {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding-top: 77px;
}

.vision-kicker {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
}

.vision-title {
  margin: 22px 0 0;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.18;
  color: #FFFFFF;
  text-align: center;
}

.vision-video-wrap {
  position: relative;
  z-index: 2;
  width: 1406px;
  height: 724px;
  margin: 88px auto 0;
  border-radius: 20px;
  border: 1px solid #633EB2;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
}

.has-js .vision-video-wrap {
  opacity: 0;
  transform: translateY(18px);
  transition: transform 0.85s ease, opacity 0.85s ease;
}

.has-js .vision-video-wrap.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.vision-video-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.vision-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1500px) {
  .vision-shell {
    height: auto;
    min-height: 1148px;
    padding-bottom: 80px;
  }

  .vision-video-wrap {
    width: calc(100% - 120px);
    height: auto;
    aspect-ratio: 1406 / 724;
  }
}

@media (max-width: 768px) {
  .vision-title {
    font-size: 32px;
  }

  .vision-video-wrap {
    width: calc(100% - 32px);
  }

  /* ✅ Remove extra empty space AFTER the video box (mobile + tablet portrait only) */
  .vision-shell {
    min-height: 0;
    padding-bottom: 0;
  }
}
