.inquiry-form {
  position: relative;
  overflow: hidden;
  padding: 30px !important;
  border: 1px solid rgba(198, 162, 93, .5) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.inquiry-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #f0d89f);
}

.form-intro {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(17, 17, 17, .1);
}

.form-intro span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.form-intro strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.1;
  color: var(--black);
}

.form-intro p {
  margin: 6px 0 0 !important;
  color: #625d55 !important;
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.form-wide {
  grid-column: 1 / -1;
}

.mini-form label {
  gap: 8px !important;
  color: #27231f !important;
  font-size: 12px !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mini-form input,
.mini-form select {
  min-height: 50px;
  border-color: rgba(17, 17, 17, .14);
  background: #fbfaf7;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.mini-form input::placeholder {
  color: #9a948a;
  font-weight: 600;
}

.mini-form input:hover,
.mini-form select:hover {
  border-color: rgba(198, 162, 93, .75);
  background: #fff;
}

.form-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 2px;
}

.form-assist {
  margin: 0 !important;
  text-align: center;
  color: #6b655d !important;
  font-size: 13px !important;
}

.form-assist a {
  color: var(--gold);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-note {
  margin-top: 18px !important;
  border-left: 2px solid var(--gold);
  background: rgba(198, 162, 93, .08);
  padding: 12px 14px;
  color: #4f4940 !important;
  font-size: 14px;
  font-weight: 800;
}

.city-complete {
  position: relative;
}

.city-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  overflow: hidden;
  border: 1px solid rgba(198, 162, 93, .45);
  background: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
}

.city-suggestion {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, .08);
  background: #fff;
  padding: 12px 14px;
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.city-suggestion:last-child {
  border-bottom: 0;
}

.city-suggestion:hover,
.city-suggestion[aria-selected="true"] {
  background: #f3eee2;
}

.city-suggestion.is-muted {
  color: #77716a;
  cursor: default;
  font-weight: 600;
}

.project-form {
  position: relative;
  overflow: visible;
  padding: 30px !important;
  border-color: rgba(198, 162, 93, .5) !important;
  box-shadow: 0 24px 70px rgba(17, 17, 17, .08);
}

.project-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #f0d89f);
}

.project-form label {
  gap: 9px !important;
  color: #27231f !important;
  font-size: 12px !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.project-form input,
.project-form select,
.project-form textarea {
  min-height: 52px;
  border-color: rgba(17, 17, 17, .14);
  background: #fbfaf7;
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.project-form textarea {
  min-height: 130px;
  resize: vertical;
}

.project-form input::placeholder,
.project-form textarea::placeholder {
  color: #9a948a;
  font-weight: 600;
}

.project-form input:hover,
.project-form select:hover,
.project-form textarea:hover {
  border-color: rgba(198, 162, 93, .75);
  background: #fff;
}

.form-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, .1);
}

.form-section span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--black);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.form-section p {
  margin: 0 !important;
  color: var(--black) !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.file-field input[type="file"] {
  padding: 10px;
  border-style: dashed;
  background: #fff;
}

.file-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 1px solid var(--black);
  background: var(--black);
  color: #fff;
  padding: 9px 14px;
  font-weight: 900;
  cursor: pointer;
}

.file-field small {
  color: #6b655d;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { border-left: 3px solid var(--gold); padding: 14px 16px; font-weight: 800; }
.form-alert.is-success { background: rgba(31, 122, 69, .1); color: #164b2d; }
.form-alert.is-error { background: rgba(140, 35, 35, .1); color: #7a2020; }

.project-form .form-submit {
  margin-top: 10px;
}

@media (max-width: 680px) {
  .inquiry-form,
  .project-form {
    padding: 20px !important;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 16px;
  }

  .form-intro strong {
    font-size: 23px;
  }

  .form-intro {
    padding-bottom: 15px;
  }

  .mini-form input,
  .mini-form select,
  .project-form input,
  .project-form select,
  .project-form textarea {
    min-height: 48px;
    font-size: 14px;
  }

  .project-form textarea {
    min-height: 118px;
  }

  .form-section {
    align-items: flex-start;
    gap: 10px;
    padding-top: 15px;
  }

  .file-field input[type="file"]::file-selector-button {
    display: block;
    width: 100%;
    margin: 0 0 10px;
  }
}

@media (max-width: 480px) {
  .inquiry-form,
  .project-form {
    padding: 18px !important;
  }

  .form-intro strong {
    font-size: 22px;
  }

  .form-intro p,
  .form-assist,
  .service-note,
  .file-field small {
    font-size: 13px !important;
    line-height: 1.55;
  }

  .mini-form label,
  .project-form label {
    font-size: 11px !important;
    letter-spacing: .035em;
  }
}
