/* ─────────────────────────────────────────
   d6-form — design system component
   Usage: add class="d6-form" to your <form>
───────────────────────────────────────── */

.d6-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Fieldset / Legend ── */
.d6-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.d6-form legend {
  color: #fff;
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

/* ── Options (checkbox / radio group) ── */
.d6-form__options {
  display: flex;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 4px;
}
@media (min-width: 640px) {
  .d6-form__options { column-gap: 16px; }
}

.d6-form__option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  color: #fff;
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}
@media (min-width: 640px) {
  .d6-form__option { font-size: 1rem; }
}

/* Custom checkbox / radio — bg-image approach, no SVG in HTML */
.d6-form__option input[type="checkbox"],
.d6-form__option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: background-image 0.15s;
  /* unchecked: white ring */
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='10.5' stroke='white'/%3E%3C/svg%3E");
}
.d6-form__option input[type="checkbox"]:checked,
.d6-form__option input[type="radio"]:checked {
  /* checked: red ring + red dot */
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='10.5' stroke='%23FF3800'/%3E%3Ccircle cx='11' cy='11' r='7' fill='%23FF3800'/%3E%3C/svg%3E");
}

/* ── Two-column row ── */
.d6-form__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1024px) {
  .d6-form__row { flex-direction: row; }
}

/* ── Single field ── */
.d6-form__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid #fff;
  padding-bottom: 16px;
}

.d6-form__field input,
.d6-form__field textarea {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  color: #fff;
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  resize: none;
}
.d6-form__field input::placeholder,
.d6-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* ── Section label (e.g. "TELL US ABOUT YOUR PROJECT") ── */
.d6-form__label {
  color: #fff;
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ── Submit button ── */
.d6-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 9999px;
  background: #FF3800;
  color: #fff;
  font-family: 'Nohemi', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  line-height: .45em;
}
.d6-form__submit-arrow {
  transform: rotate(-45deg);
  transition: transform 0.3s cubic-bezier(0, 0.449, 1, 0.65);
}
.d6-form__submit:hover:not(:disabled) .d6-form__submit-arrow {
  transform: rotate(0deg);
}
.d6-form__submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Validation error state ── */
.d6-form--error {
  border-bottom: 1px solid #FF3800 !important;
}
.d6-form__field:has(.d6-form--error) {
  border-bottom-color: #FF3800;
}

/* ── Screen-reader only ── */
.d6-form__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


.wpcf7-response-output{
  margin: 0 !important;
  margin-top: 16px !important;
  color: #fff;
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  border-width: 0px !important;
  outline-width: 0px !important;
}

[action='/contact-us/#wpcf7-f7497-o1'] .wpcf7-response-output{
  text-align: right !important;
}