/* Contact controls shared by Freiheydt, Skip & Stay and Talori.
   Freiheydt is the focus reference; layout and transport remain product-owned. */
[data-contact-form] :is(input, textarea, select):not([type="hidden"]) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(var(--site-dark-border-rgb), .5);
  border-radius: 10px;
  background: var(--site-dark-surface);
  color: var(--site-dark-text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  box-shadow: none;
  transform: none;
  transition: border-color .2s;
}
[data-contact-form] textarea:not([type="hidden"]) { min-height: 172px; resize: vertical; }
[data-contact-form] select:not([type="hidden"]) { appearance: auto; padding-inline-end: 44px; }
[data-contact-form] .select-shell::after { display: none; }
[data-contact-form] :is(input, textarea, select):not([type="hidden"]):hover {
  border-color: var(--site-dark-muted);
  background: var(--site-dark-surface);
}
[data-contact-form] :is(input, textarea, select):not([type="hidden"]):focus,
[data-contact-form] :is(input, textarea, select, button):focus-visible {
  outline: 3px solid var(--site-dark-accent);
  outline-offset: 6px;
  box-shadow: none;
  transform: none;
}
[data-contact-form] :is(.form-field, .contact-field) > label,
[data-contact-form] label {
  color: var(--site-dark-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
[data-contact-form] label > :is(input, select, textarea) { margin-block-start: 9px; }
[data-contact-form] label span,
[data-contact-form] .form-field.is-valid label > span { color: var(--site-dark-muted); }
[data-contact-form] :is(input, textarea, select)::placeholder { color: var(--site-dark-muted); opacity: 1; }
[data-contact-form] :is(input, textarea, select)[aria-invalid="true"] {
  border-color: #ff9a9f;
  box-shadow: none;
}
[data-contact-form] .field-error {
  display: block;
  margin: 8px 0 0;
  color: #ff9a9f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
[data-contact-form] .field-error[hidden] { display: none; }
[data-contact-form] :is(input, textarea, select):disabled { opacity: .65; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  [data-contact-form] :is(input, textarea, select) { transition: none; }
}
