/* ============================================================
   Formularios personalizados Integrity (WhyCRM)
   ============================================================ */
.why-form-wrap { width: 100%; }

.why-form .why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.why-form .why-field { display: flex; flex-direction: column; }
.why-form .why-field.why-full { grid-column: 1 / -1; }

.why-form label {
  font-size: 15px;
  font-weight: 600;
  color: #2b2f38;
  margin-bottom: 6px;
}
.why-form label .req { color: #e0413b; margin-left: 2px; }

.why-form input,
.why-form select,
.why-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  font-size: 15px;
  color: #2b2f38;
  background: #f6f8fa;
  border: 1px solid #d7dde6;
  border-radius: 12px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.why-form input { border-radius: 999px; }
.why-form select { border-radius: 999px; appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
  padding-right: 42px; cursor: pointer;
}
.why-form textarea { min-height: 120px; resize: vertical; border-radius: 14px; }

.why-form input:focus,
.why-form select:focus,
.why-form textarea:focus {
  border-color: #7a1020;
  box-shadow: 0 0 0 3px rgba(122, 16, 32, .12);
  background: #fff;
}
.why-form select:invalid { color: #9aa3af; }

.why-form .cf-turnstile { margin: 6px 0 4px; }

.why-form .why-actions { margin-top: 8px; }
.why-form .why-submit {
  display: inline-block;
  border: none;
  cursor: pointer;
  padding: 13px 38px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #e8744f;
  border-radius: 999px;
  transition: background .15s ease, transform .05s ease;
}
.why-form .why-submit:hover { background: #d8633e; }
.why-form .why-submit:active { transform: translateY(1px); }
.why-form .why-submit:disabled { opacity: .7; cursor: default; }

.why-form-status { margin-top: 12px; font-size: 14px; min-height: 1em; }
.why-form-status.why-error { color: #e0413b; font-weight: 600; }

.why-form-success {
  background: #0ab68b;
  color: #fff;
  padding: 22px 24px;
  border-radius: 14px;
  font-size: 17px;
  line-height: 1.4;
  text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
  .why-form .why-grid { grid-template-columns: 1fr; }
}
