:root {
  --gray-100: #F4F5F9;
  --gray-300: #5E7088;
  --gray-700: #1F3445;
  --gray-blue: #E7F2FE;
  --blue: #092E9F;
  --black: #171C23;
  --red: #D91627;
  --green: #007E45;
}

.header-container {
  padding: 0 32px;
  display: flex;
  align-items: center;
}

.hero-wrapper {
  position: relative;
  height: 485px;
  background-image: url('../images/hero-img.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 0 60%;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: #000000BD;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 100%;
}

.hero-title {
  font-weight: 600;
  font-size: 56px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
  text-wrap: balance;
  color: #fff;
}

.hero-text {
  max-width: 600px;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: center;
  color: #fff;
}

.pgpro1c-container {
  box-sizing: border-box !important;
  background-color: var(--blue);
  border-radius: 12px;
  padding: 32px 48px;
}

.pgpro1c-block {
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.pgpro1c-block__button {
  cursor: pointer;
  border-radius: 30px;
  padding: 12px 44px;
  background-color: #fff;
  color: var(--blue) !important;
  font-size: 20px;
  font-weight: 600;
  transition: background-color .2s ease;
}

.pgpro1c-block__button:hover {
  background-color: var(--gray-blue);
}

.pgpro1c-container h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 100%;
  color: #fff;
}

.pgpro1c-container div {
  line-height: 24px;
  color: #fff;
}

#get-free-version-block {
  padding-top: 100px
}

.form-wrapper {
  box-sizing: border-box !important;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto;
  padding: 32px 44px;
  border-radius: 12px;
  border-top: 1px solid var(--gray-100);
  box-shadow: 0px 4px 12px 0px #0000000D;
}

.form-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
}

.form-subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: center;
  text-wrap: balance;
}

.form-wrapper form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-field__wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.form-field>label {
  flex: 0 0 20%;
  display: flex;
  align-items: center;
  height: 60px;
}

.form-field>*:last-child {
  flex: 0 0 80%;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper::after {
  content: url('../images/arrow-icon.svg');
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}

.form-field__error {
  min-height: 18px;
  margin-top: 4px;
  color: var(--red);
  font-size: 14px;
}

.form-label {
  color: var(--gray-300)
}

.form-link {
  color: var(--black) !important;
  font-weight: 700;
}

.form-buttons {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

footer {
  padding: 32px 40px;
  background-color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-text {
  font-size: 16px;
  text-align: right;
  line-height: 20px;
  color: #ffffff
}

.footer-contacts-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contacts {
  color: #ffffff
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }

  .hero-text {
    font-size: 16px;
  }

  .pgpro1c-container h2 {
    font-size: 28px;
  }

  .pgpro1c-container div {
    font-size: 14px;
    line-height: 20px;
  }
}

@media screen and (max-width: 1024px) {

  footer {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-text {
    text-align: center;
  }
}

.outline-button {
  cursor: pointer;
  height: 36px;
  background-color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 60px;
  border-radius: 30px;
  border: 2px solid var(--gray-300);
  color: var(--gray-300);
  text-align: center;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.outline-button.black{
  border: 2px solid var(--black);
  color: var(--black);
}

.outline-button:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.text-red {
  color: var(--red);
}

.text-green {
  color: var(--green);
}

.inline-block {
  display: inline-block;
}

.fade-element {
  opacity: 0;
  transition: opacity .8s ease
}

.fade-element.visible {
  opacity: 1;
}