html,
body.contact {
  background: #fff;
  color: var(--ink);
}
.contact .wrap-wide {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.contact .wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 0.75rem;
}
.contact h1 {
  margin: 2rem 0 0.5rem;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 2.8722rem + 0.6818vw, 3.9375rem);
  line-height: 1.2;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 3rem auto 0;
  width: 83.333%;
}
.intro-text {
  flex: 0 0 80%;
}
.intro h4 {
  margin: 0 0 0.5rem;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 1.9318rem + 0.3636vw, 2.5rem);
  line-height: 1.2;
}
.intro p {
  margin: 0 0 1rem;
  line-height: 1.5;
}
.intro-art {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.intro-art img {
  width: 100%;
  max-width: 230px;
}
.topic {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  padding: 0.3rem 0.8rem;
  border-radius: 1.875rem;
  background: var(--green);
  color: var(--ink);
  font-size: 0.813rem;
  font-weight: 700;
}
.form-wrap {
  width: 83.333%;
  margin: 3rem auto 4rem;
  padding: 0 0.75rem;
}
.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1.5rem;
}
.col-4 {
  grid-column: span 4;
}
.col-6 {
  grid-column: span 6;
}
.col-12 {
  grid-column: span 12;
}
.form-group {
  margin-bottom: 1rem;
  position: relative;
}
.form-group > label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.control {
  position: relative;
}
.form-control {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(139, 144, 171, 0.4);
  border-radius: 8px;
  padding: 1rem;
  outline: none;
  transition: border-color 0.15s;
}
.form-control:focus {
  border-color: var(--green);
}
.form-control::placeholder {
  color: rgba(3, 15, 55, 0.6);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.form-control.with-icon {
  padding-left: 45px;
}
.form-control.website {
  padding-left: 80px;
}
.website-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-right: 1px solid #f6f7f9;
  font-size: 16px;
  color: var(--ink);
  pointer-events: none;
}
.field-icon {
  position: absolute;
  left: 18px;
  top: 19px;
  width: 21px;
  height: 21px;
  color: var(--green);
  pointer-events: none;
}
.form-group.invalid .form-control {
  border-color: #dc3545;
}
.field-error {
  display: none;
  margin: 0.35rem 0 0;
  color: #dc3545;
  font-size: 0.875rem;
}
.form-group.invalid .field-error {
  display: block;
}
.checkbox-label {
  display: flex;
  align-items: center;
  position: relative;
  padding: 6px 0 6px 35px;
  cursor: pointer;
  user-select: none;
  font-size: 1rem;
}
.checkbox-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: #fff;
  border: 2px solid #15b786;
  border-radius: 4px;
}
.checkmark:after {
  content: "";
  display: none;
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.checkbox-label input:checked ~ .checkmark {
  background: #15b786;
  border-color: #15b786;
}
.checkbox-label input:checked ~ .checkmark:after {
  display: block;
}
.checkbox-label input:focus-visible ~ .checkmark {
  outline: 2px solid #15b786;
  outline-offset: 2px;
}
.label-title a {
  color: var(--ink);
  text-decoration: underline;
}
.contact .btn {
  padding: 0.8rem 3.1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  color: var(--ink);
}
.contact .btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.result {
  display: none;
  text-align: center;
  margin: 3rem auto 5rem;
  max-width: 640px;
}
.result.active {
  display: block;
}
.result .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  color: #fff;
}
.result .badge svg {
  width: 2.5rem;
  height: 2.5rem;
}
.result.ok .badge {
  background: #198754;
}
.result.fail .badge {
  background: #dc3545;
}
.result h2 {
  margin: 1.5rem 0 0;
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: calc(1.325rem + 0.9vw);
}
.result p {
  margin: 1.5rem 0;
}
.result .actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn.btn-secondary {
  background: #fff;
  border-color: #15b786;
}
.btn.btn-secondary:hover {
  background: #edfcf6;
}
@media (min-width: 1200px) {
  .intro h4 {
    font-size: 2.5rem;
  }
}
@media (max-width: 991.98px) {
  .contact .wrap-wide {
    padding: 0 0.75rem;
  }
  .intro,
  .form-wrap {
    width: 100%;
  }
  .form-wrap {
    padding: 0;
  }
  .intro-art {
    display: none;
  }
  .intro-text {
    flex: 1;
  }
  .col-4,
  .col-6 {
    grid-column: span 12;
  }
  .contact .btn {
    width: 100%;
  }
}
