body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
}

.link {
  font-size: 18px;
  font-weight: 700;
}

.header {
  padding: 20px 0;
  color: #ffffff;
  background: #252830;
}
.header__short {
  align-self: center;
}
.header__phone {
  align-self: center;
}

.main {
  padding-top: 50px;
  padding-bottom: 50px;
}
.main__h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 30px;
}
.main__text {
  font-size: 18px;
  margin-bottom: 30px;
}
.main__img {
  max-width: 100%;
}

.button {
  display: inline-block;
  font-size: 20px;
  line-height: 50px;
  font-weight: 600;
  color: #000000;
  padding: 0 40px;
  text-decoration: none;
  background-color: #fc0;
  transition: all 0.14s ease;
  border-radius: 4px;
  border: none;
  outline: none;
  cursor: pointer;
  transform: scale(1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 0 1px rgba(0, 0, 0, 0.05), 0 4px 6px 0 rgba(0, 0, 0, 0.05);
}
.button:hover {
  background-color: #f2c200;
}
.button:active {
  transform: scale(0.96);
}

.footer {
  padding: 40px 0;
  color: #ffffff;
  background: #252830;
}
.footer__heading {
  font-size: 28px;
  margin-bottom: 20px;
}
.footer p {
  margin: 12px 0;
}
.footer .link {
  display: inline-block;
  font-weight: 600;
  font-size: 22px;
  margin-top: 6px;
}

.form {
  display: none;
  max-width: 600px;
  text-align: center;
  border-radius: 10px;
}
.form__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}
.form__subtitle, .form__success {
  font-size: 18px;
  line-height: 1.4em;
}
.form__success {
  height: 0;
  opacity: 0;
  transition: all 0.6s ease;
}
.form.success-form .form__success {
  height: auto;
  opacity: 1;
}
.form.success-form form, .form.success-form .form__subtitle {
  display: none;
}
.form form {
  max-width: 300px;
  margin: 36px auto 0;
}
.form__input-row {
  position: relative;
}
.form__input-row label {
  position: absolute;
  left: 20px;
  top: 0;
  font-size: 16px;
  line-height: 55px;
  color: rgba(0, 44, 85, 0.7);
  background: transparent;
  transition: all 0.2s ease;
  pointer-events: none;
}
.form__input,
.form select {
  width: 100%;
  height: 55px;
  background: none;
  padding: 0 20px;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid #D9E2EA;
  border-radius: 5px;
  outline: none !important;
  transition: all 0.2s ease;
  margin-bottom: 30px;
}
.form__input:focus + label, .form__input.invalid + label,
.form select:focus + label,
.form select.invalid + label {
  top: -14px;
  left: 10px;
  color: rgba(0, 44, 85, 0.5);
  font-size: 14px;
  line-height: 24px;
  background: #fff;
  padding: 0 10px;
}
.form__input.invalid,
.form select.invalid {
  border-color: #ff5268;
}
.form__input.invalid + label,
.form select.invalid + label {
  color: #ff5268;
}
.form__input.valid + label,
.form select.valid + label {
  opacity: 0;
}
.form__privacy {
  font-size: 14px;
  margin-top: 20px;
  color: #9c9c9c;
}

@media (max-width: 991px) {
  .header {
    padding: 25px 0;
  }
  .header__logo, .header__short {
    margin-bottom: 16px;
  }
  .header__phone .link {
    font-size: 20px;
  }

  .main__h1 {
    margin-top: 0;
    font-size: 32px;
  }

  .footer [class*=col-] {
    margin-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .form {
    padding-left: 20px;
    padding-right: 20px;
  }
  .form .button {
    padding: 0;
    width: 100%;
  }
}

/*# sourceMappingURL=styles.css.map */
