/* Contact Form 7 — same look as the previous .field-input / .btn-primary enquiry card. */

[data-sks-popup][hidden] { display: none !important; }

.enq-cf7 .wpcf7 { margin: 0; }
.enq-cf7 .wpcf7-form {
  display: grid;
  gap: 0.75rem;
}
.enq-cf7 .wpcf7-form > p { margin: 0; }
.enq-cf7 .wpcf7-form label {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: rgba(31, 42, 60, 0.8);
}
.enq-cf7 .opt { font-weight: 400; color: rgba(31, 42, 60, 0.5); }
.enq-cf7 .req { color: #e11d48; font-weight: 600; }
.enq-cf7 .wpcf7-form-control-wrap { display: block; margin-top: 0.375rem; }

.enq-cf7-row {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .enq-cf7-row { grid-template-columns: 1fr 1fr; }
}

.enq-phone { position: relative; display: block; }
.enq-phone__prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(31, 42, 60, 0.45);
  pointer-events: none;
}
.enq-phone input.wpcf7-form-control { padding-left: 2.75rem !important; }

.sks-hp {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none;
}

.enq-cf7 input.wpcf7-form-control:not(.wpcf7-submit),
.enq-cf7 select.wpcf7-form-control,
.enq-cf7 textarea.wpcf7-form-control {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(31, 42, 60, 0.15);
  background: #fff;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(31, 42, 60);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}
.enq-cf7--pill input.wpcf7-form-control:not(.wpcf7-submit),
.enq-cf7--pill select.wpcf7-form-control {
  border-radius: 9999px;
  padding-left: 1rem;
  padding-right: 1rem;
}
.enq-cf7--pill textarea.wpcf7-form-control { border-radius: 1.5rem; padding-left: 1rem; padding-right: 1rem; }

.enq-cf7 input.wpcf7-form-control:not(.wpcf7-submit):focus,
.enq-cf7 select.wpcf7-form-control:focus,
.enq-cf7 textarea.wpcf7-form-control:focus {
  border-color: #123c7a;
  box-shadow: 0 0 0 2px rgba(18, 60, 122, 0.2);
}
.enq-cf7 textarea.wpcf7-form-control { min-height: 5.5rem; resize: vertical; }
.enq-cf7--compact textarea.wpcf7-form-control { min-height: 4rem; }

.enq-cf7 .wpcf7-not-valid { border-color: #e11d48 !important; }
.enq-cf7 .wpcf7-not-valid-tip {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9b2f33;
}

.enq-cf7 input.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25rem;
  background: #ffb100;
  color: #123c7a;
  cursor: pointer;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-family: inherit;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.enq-cf7 input.wpcf7-submit:hover { transform: translateY(-1px); }
.enq-cf7 input.wpcf7-submit:disabled { cursor: not-allowed; opacity: 0.6; transform: none; }

.enq-cf7 .wpcf7-spinner { display: none; }
.enq-cf7 .screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.enq-cf7 input[type="hidden"] { display: none; }
.enq-cf7 .wpcf7-response-output {
  margin: 0;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.enq-cf7 .wpcf7-validation-errors,
.enq-cf7 .wpcf7-aborted,
.enq-cf7 .wpcf7-mail-sent-ng { background: #fdecea; color: #9b2f33; }
.enq-cf7 .wpcf7-mail-sent-ok { background: #f0fdf4; color: #166534; }
