.contact-page {
  min-height: 100vh;
  background: #f6f7f7;
}

.contact-page .topbar {
  border-bottom: 1px solid #e7e9ea;
}

.contact-page .main-nav a[aria-current="page"] {
  color: var(--brand-dark);
}

.contact-section {
  padding: 48px 0;
}

.contact-heading {
  margin-bottom: 24px;
  text-align: center;
}

.contact-heading > span {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}

.contact-heading h1 {
  margin: 5px 0 7px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.5;
}

.contact-heading p {
  margin: 0;
  color: #68737b;
  font-size: 14px;
}

.contact-box {
  display: grid;
  overflow: hidden;
  grid-template-columns: .86fr 1.14fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(17, 24, 29, .07);
}

.contact-details {
  padding: 34px;
  color: #fff;
  background: var(--footer);
}

.contact-details h2 {
  position: relative;
  padding-bottom: 12px;
  margin: 0 0 25px;
  font-size: 21px;
}

.contact-details h2::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  content: "";
  background: var(--brand);
}

.contact-details ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 22px;
  list-style: none;
}

.contact-details li {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 13px;
  align-items: start;
}

.contact-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--brand);
  background: rgba(255, 255, 255, .08);
  border-radius: 11px;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-details small {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, .52);
  font-size: 11px;
}

.contact-details a,
.contact-details address {
  color: #fff;
  font-size: 13px;
  font-style: normal;
  line-height: 1.9;
}

.contact-details .map-link {
  display: inline-block;
  margin-top: 5px;
  color: #ff9a52;
  font-size: 11px;
  font-weight: 700;
}

.compact-form {
  padding: 34px;
}

.compact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compact-fields label {
  display: grid;
  gap: 6px;
}

.compact-fields label > span {
  font-size: 12px;
  font-weight: 700;
}

.compact-fields .full-field {
  grid-column: 1 / -1;
}

.compact-fields input,
.compact-fields select,
.compact-fields textarea {
  width: 100%;
  color: #171b1e;
  background: #fafafa;
  border: 1px solid #dfe3e5;
  border-radius: 10px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.compact-fields input,
.compact-fields select {
  height: 45px;
  padding: 7px 11px;
}

.compact-fields textarea {
  min-height: 95px;
  padding: 10px 11px;
  resize: vertical;
}

.compact-fields input:focus,
.compact-fields select:focus,
.compact-fields textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(243, 107, 10, .1);
}

.contact-submit {
  height: 44px;
  padding: 0 24px;
  margin-top: 17px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.contact-submit:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.form-status {
  display: none;
  padding: 9px 12px;
  margin-top: 14px;
  color: #08784b;
  background: #ebfaf3;
  border: 1px solid #bdebd7;
  border-radius: 9px;
  font-size: 12px;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #08784b;
  background: #ebfaf3;
  border-color: #bdebd7;
}

.form-status.is-error {
  color: #a62d20;
  background: #fff0ee;
  border-color: #f2c2bb;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: .65;
}

.form-note {
  margin: 0 0 14px;
  color: #68737b;
  font-size: 11px;
}

.website-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .contact-section {
    padding: 32px 0;
  }

  .contact-heading {
    margin-bottom: 19px;
  }

  .contact-heading p {
    max-width: 340px;
    margin-inline: auto;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-details,
  .compact-form {
    padding: 25px 20px;
  }

  .compact-fields {
    grid-template-columns: 1fr;
  }

  .compact-fields .full-field {
    grid-column: auto;
  }

  .contact-submit {
    width: 100%;
  }
}
