@import url("info.css");

.hero {
  padding: 220px 0 72px;
  background-size: 100% 1310px;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 84px;
}

.hero-inner {
  max-width: 685px;
}

.hero-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 10px;
  width: 100%;
  padding: 12px;
  border-radius: 40px;
  border: 1px solid var(--base-white-10);
  background: var(--base-white-20);
  backdrop-filter: blur(2.7px);
}
.hero-form .input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-form .input-group--full,
.hero-form .checkbox,
.hero-form .button {
  grid-column: span 2;
}
.hero-form .checkbox {
  margin: 6px 0 0;
}
.hero-form-global-error {
  grid-column: span 2;
  font-size: 13px;
  line-height: 18px;
  color: var(--error);
  padding: 10px 16px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 12px;
}
.hero-form-success {
  grid-column: span 2;
  text-align: center;
  padding: 2rem 0;
}
.hero-form-success strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.hero-form-success p {
  opacity: 0.7;
  margin: 0;
}
.hero-form-mascot {
  position: absolute;
  bottom: 100%;
  right: 6px;
  z-index: 2;
  transform: translateY(30px);
  pointer-events: none;
}

@media (max-width: 991px) {
  .hero-inner {
    max-width: 100%;
    padding-right: 258px;
  }
}
@media (max-width: 767px) {
  .hero {
    padding: 120px 0 72px;
  }
  .hero-inner {
    align-items: center;
    text-align: center;
    padding-right: 0;
    padding-bottom: 180px;
  }
  .hero-form {
    grid-template-columns: repeat(1, 1fr);
  }
  .hero-form .textarea,
  .hero-form .checkbox,
  .hero-form .button {
    grid-column: span 1;
  }
  .hero-form-mascot {
    width: 180px;
    height: auto;
    right: unset;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
  }
}
