/* Animated gradient background — formal soft tones */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-gradient__layer {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    #f8f9fa 0%,
    #e8eef5 25%,
    #dce4ed 50%,
    #e8eef5 75%,
    #f0f4f8 100%
  );
  background-size: 400% 400%;
  animation: gradientFlow 22s ease infinite;
}

.bg-gradient__layer--secondary {
  background: linear-gradient(
    225deg,
    rgba(44, 82, 130, 0.06) 0%,
    rgba(248, 249, 250, 0) 40%,
    rgba(44, 62, 80, 0.05) 70%,
    rgba(232, 238, 245, 0.8) 100%
  );
  background-size: 300% 300%;
  animation: gradientFlow 28s ease infinite reverse;
  mix-blend-mode: multiply;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: orbFloat 18s ease-in-out infinite;
}

.gradient-orb--1 {
  width: 480px;
  height: 480px;
  background: rgba(44, 82, 130, 0.24);
  top: 5%;
  left: -8%;
  animation-delay: 0s;
}

.gradient-orb--2 {
  width: 360px;
  height: 360px;
  background: rgba(100, 130, 160, 0.15);
  top: 50%;
  right: -8%;
  animation-delay: -6s;
  animation-duration: 24s;
}

.gradient-orb--3 {
  width: 300px;
  height: 300px;
  background: rgba(44, 62, 80, 0.12);
  bottom: 15%;
  left: 30%;
  animation-delay: -12s;
  animation-duration: 20s;
}

@keyframes gradientFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -40px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 25px) scale(0.95);
  }
}

.hero.section {
  position: relative;
}

.hero.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(248, 249, 250, 0.3) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

main {
  position: relative;
  z-index: 1;
}
