/* Bexton IT – Hero 3D office scene (home only) */
.hero {
  --hero-fx-primary: #086ad8;
  --hero-fx-glow: #4da3ff;
  --hero-fx-accent: #d2a98e;
}

.hero__fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-scene-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-scene-3d canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero-scene-3d--static {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-scene-3d__fallback {
  max-width: min(520px, 55vw);
  max-height: 85%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.92;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

.hero__fx-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 72% 45%,
    rgba(77, 163, 255, 0.22) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.hero__overlay--brand {
  background: linear-gradient(
    105deg,
    rgba(0, 47, 166, 0.58) 0%,
    rgba(0, 0, 0, 0.48) 38%,
    rgba(0, 0, 0, 0.32) 62%,
    rgba(8, 106, 216, 0.18) 100%
  );
}

.hero__content {
  z-index: 3;
}

.hero__wave {
  z-index: 4;
}

.hero__title mark {
  background: linear-gradient(120deg, #4da3ff 0%, #086ad8 50%, #d2a98e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroTitleShine 6s ease-in-out infinite;
}

.hero__desc {
  font-weight: 500;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

@keyframes heroKenBurnsAlt {
  0% {
    transform: scale(1.05) translate(1%, 0.5%);
  }
  33% {
    transform: scale(1.1) translate(-1%, -0.5%);
  }
  66% {
    transform: scale(1.08) translate(0.5%, -1%);
  }
  100% {
    transform: scale(1.12) translate(-1.5%, -1%);
  }
}

.home-page .hero__bg {
  animation: heroKenBurnsAlt 28s ease-in-out infinite alternate;
}

@keyframes heroTitleShine {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.15);
  }
}

.home-page .service-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s;
}

.home-page .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(8, 106, 216, 0.15);
  border-color: rgba(8, 106, 216, 0.35);
}

.home-page .section-intro {
  background: linear-gradient(180deg, #fff 0%, var(--light-bg) 100%);
}

.home-page .value-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-page .value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(8, 106, 216, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero__bg {
    animation: none;
  }

  .hero__title mark {
    animation: none;
  }
}
