/* Plain contact form (/contact-us/) — replaces Elementor Form widget markup */

.whco-contact-form-wrap {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.whco-contact-form {
  margin: 0;
  padding: 0;
  text-align: left;
}

.whco-form-grid {
  display: grid;
  gap: 14px 18px;
  margin-bottom: 8px;
}

.whco-form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.whco-form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.whco-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.whco-field--grow textarea {
  min-height: 140px;
}

.whco-label,
.whco-legend {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.3;
}

.whco-legend {
  padding: 0;
  margin: 0 0 8px;
}

.whco-field input[type="text"],
.whco-field input[type="email"],
.whco-field textarea,
.whco-fieldset {
  font: inherit;
  font-size: 0.9375rem;
  color: #111827;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  box-sizing: border-box;
  width: 100%;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.whco-field input:focus-visible,
.whco-field textarea:focus-visible {
  outline: none;
  border-color: var(--woo-primary, #c50e1f);
  box-shadow: 0 0 0 3px rgb(197 14 31 / 0.25);
}

.whco-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.45;
}

.whco-fieldset {
  margin: 0;
  padding: 12px 14px 14px;
  border-color: #e5e7eb;
}

.whco-check-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.whco-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: #1f2937;
  line-height: 1.35;
  cursor: pointer;
  font-weight: 400;
}

.whco-check input {
  margin: 4px 0 0;
  accent-color: var(--woo-primary, #c50e1f);
}

.whco-form-rule {
  border: 0;
  margin: 16px auto;
  width: 60%;
}

.whco-form-rule--light {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.whco-form-rule--muted {
  border-top: 1px solid #d1d5db;
}

.whco-form-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.whco-submit {
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 36px;
  border: none;
  border-radius: 6px;
  color: var(--woo-primary-text, #ffffff);
  background: linear-gradient(90deg, #a00b18 0%, #c50e1f 100%);
  min-width: 200px;
  transition:
    opacity 0.15s ease,
    transform 0.1s ease;
}

.whco-submit:hover:not(:disabled) {
  opacity: 0.94;
}

.whco-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .whco-form-grid--3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .whco-form-grid--3,
  .whco-form-grid--2 {
    grid-template-columns: 1fr;
  }

  .whco-submit {
    width: 100%;
  }
}
