.pg-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 15%, #1a1a1a 0%, #0a0a0a 45%, #020202 100%);
  color: #f7f7f7;
  padding: clamp(48px, 9vw, 96px) 16px clamp(40px, 7vw, 72px);
}

.pg-hero__bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.28;
}

.pg-hero__bg-shape--top {
  width: clamp(220px, 32vw, 420px);
  height: clamp(220px, 32vw, 420px);
  top: -120px;
  right: -90px;
  background: #ffffff;
}

.pg-hero__bg-shape--bottom {
  width: clamp(180px, 24vw, 300px);
  height: clamp(180px, 24vw, 300px);
  left: -80px;
  bottom: -110px;
  background: #6f6f6f;
}

.pg-hero__container {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  text-align: center;
}

.pg-hero__title {
  margin: 0;

  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 18ch;
  margin-inline: auto;
}

.pg-hero__subtitle {
  margin: 20px auto 0;
  max-width: 54ch;
  color: #d8d8d8;

  font-size: clamp(15px, 1.4vw, 24px);
  line-height: 1.55;
}

.pg-hero__search {
  margin: clamp(28px, 5vw, 56px) auto 0;
  width: min(1000px, 100%);
  background: #ececec;
  border-radius: 20px;
  padding: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  align-items: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.pg-hero__field {
  width: 100%;
  height: 52px;
  border: 1px solid #d4d4d4;
  border-radius: 13px;
  background: #f7f7f7;
  color: #151515;
  font-size: 15px;
  padding: 0 14px;
}

.pg-hero__field:focus {
  outline: 2px solid #101010;
  outline-offset: 1px;
}

.pg-hero__field--select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #333 50%), linear-gradient(135deg, #333 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 2px), calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.pg-hero__submit {
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.pg-hero__submit:hover {
  transform: translateY(-1px);
  background: #1a1a1a;
}

.pg-hero__actions {
  margin-top: clamp(18px, 3vw, 30px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.pg-hero__link,
.pg-hero__ghost {
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
}

.pg-hero__link {
  color: #e9e9e9;
  padding: 14px 24px;
  border-radius: 999px;
  transition: color 0.2s ease;
}

.pg-hero__link:hover {
  color: #ffffff;
}

.pg-hero__ghost {
  color: #ffffff;
  border: 1px solid #8a8a8a;
  border-radius: 999px;
  padding: 14px 28px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pg-hero__ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 900px) {
  .pg-hero__search {
    grid-template-columns: 1.05fr 0.9fr 0.9fr 0.7fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .pg-hero__container {
    animation: pgHeroFadeUp 0.7s ease both;
  }
}

@keyframes pgHeroFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
