/* Contact Form — layout only. Fonts, colours and per-device sizes come from the Style tab
   (Field labels, Field inputs, Privacy text/link, Form buttons). */

.tc-w-form {
  padding: 96px 0 120px;
  background: #262626;
  color: #fff9f5;
  /* Embedded Elementor form (shared rules in common.css) */
  --tc-embed-privacy-gap: 24px;
  --tc-embed-message-min: 238px;
  --tc-embed-ph-opacity: 1;
}

.tc-w-form__fields {
  width: min(888px, 100%);
  margin-inline: auto;
}

/* One keylined row per field: label column + input. */
.tc-w-form__field {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  width: 100%;
  min-height: 72px;
  padding: 20px 0 8px;
  border-bottom: 1px solid var(--tangerine-cream, #fff9f5);
}

.tc-w-form__field span {
  flex: none;
  width: var(--tc-col, 90px);
  text-transform: uppercase;
}

.tc-w-form__field input,
.tc-w-form__field textarea {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0;
  outline: none;
  resize: none;
  font: inherit;
  color: inherit;
  background: transparent;
}

.tc-w-form__field input::placeholder,
.tc-w-form__field textarea::placeholder {
  color: inherit;
  opacity: 1;
}

.tc-w-form__field--message {
  align-items: flex-start;
}

.tc-w-form__privacy {
  margin: 24px 0 0;
  text-align: right;
}

.tc-w-form__privacy-link {
  text-underline-offset: 3px;
}

.tc-w-form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 16px;
}

.tc-w-form__btn {
  border-color: var(--tangerine-cream, #fff9f5);
}

.tc-w-form .tc-form__notice {
  margin: 16px 0 0;
  text-align: right;
}

@media (max-width: 900px) {
  .tc-w-form {
    padding: 64px var(--tc-margin) 72px;
  }

  .tc-w-form__field {
    gap: 16px;
    min-height: 64px;
  }

  .tc-w-form__field span {
    width: 92px;
  }
}

@media (max-width: 600px) {
  .tc-w-form {
    padding: 36px 20px 48px;
    --tc-embed-privacy-gap: 20px;
    --tc-embed-message-min: 96px;
    --tc-embed-row-min: 56px;
    --tc-embed-row-pad: 16px;
    --tc-embed-label: 78px;
  }

  .tc-w-form .tc-form-embed--themed .elementor-field-type-acceptance + .elementor-field-type-submit {
    margin-left: 8px !important;
  }

  .tc-w-form__field {
    min-height: 56px;
    gap: 12px;
    padding: 16px 0 8px;
  }

  .tc-w-form__field span {
    width: 78px;
  }

  .tc-w-form__privacy {
    margin-top: 20px;
  }

  .tc-w-form__actions {
    gap: 8px;
  }
}
