/* ---------------------------------
   HERO
---------------------------------- */
.hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 83% 30%,
      rgba(56, 189, 248, 0.2),
      transparent 25%
    ),
    linear-gradient(
      115deg,
      rgba(7, 20, 38, 0.94),
      rgba(18, 52, 90, 0.74) 62%,
      rgba(12, 95, 166, 0.62)
    ),
    url("../img/prumka-3d-model.jpg") center center/cover no-repeat;
  color: var(--color-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 62%);
  mask-image: linear-gradient(to right, transparent, #000 62%);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: -75px;
  bottom: -125px;
  width: 420px;
  height: 420px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(255, 255, 255, 0.035),
    0 0 0 98px rgba(255, 255, 255, 0.025);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 470px;
  justify-content: center;
  padding: 4.75rem 1.25rem 5.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  max-width: 1000px;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5vw, 5.25rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-shadow: none;
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 0;
}

.hero .btn {
  min-height: 42px;
  padding: 0 15px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 680;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.hero .btn:hover,
.hero .btn:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
}

.hero-divider,
.page-hero__inner::after {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(42, 140, 240, 0) 0%,
    rgba(42, 140, 240, 0.72) 28%,
    rgba(133, 212, 255, 0.95) 50%,
    rgba(42, 140, 240, 0.72) 72%,
    rgba(42, 140, 240, 0) 100%
  );
  box-shadow: 0 1px 10px rgba(42, 140, 240, 0.2);
}

.hero-divider {
  right: 0;
  left: 0;
}

.page-hero__inner::after {
  left: 50%;
  width: 100vw;
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}
