/**
 * ECOTEC Webmaster Forms — estilos unificados (versión compacta)
 */

.ewf-form {
  padding: 4px;
  max-width: 720px;
  box-sizing: border-box;
}

.ewf-form label {
  font-weight: 600;
  margin-bottom: 3px;
  display: block;
  color: #403f2b;
  font-size: 13px;
}

.ewf-form .ewf-req {
  color: #c00;
}

.ewf-form input[type="text"],
.ewf-form input[type="email"],
.ewf-form input[type="tel"],
.ewf-form input[type="number"],
.ewf-form select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  padding: 8px 12px;
  background: #fff;
  color: #403f2b;
  outline: none;
  box-sizing: border-box;
  line-height: 1.3;
}

.ewf-form input:focus,
.ewf-form select:focus {
  border-color: #bfc7d1;
  box-shadow: 0 0 0 2px rgba(10, 92, 168, .15);
}

.ewf-form .ewf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  align-items: start;
}

.ewf-form .ewf-field {
  margin: 0;
}

.ewf-form .ewf-full {
  grid-column: span 2;
}

.ewf-form .ewf-checkbox {
  margin: 10px 0 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #403f2b;
  line-height: 1.3;
  font-weight: 400;
}

.ewf-form .ewf-checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: #0a5ca8;
  flex-shrink: 0;
}

.ewf-form .ewf-checkbox a {
  color: #0a5ca8;
  font-weight: 700;
  text-decoration: underline;
}

.ewf-form button[type="submit"] {
  width: 100%;
  background: #0a5ca8;
  color: #fff;
  font-size: 16px;
  padding: 10px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-style: italic;
  cursor: pointer;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  transition: opacity .15s ease;
}

.ewf-form button[type="submit"]:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.ewf-form .ewf-error {
  margin-top: 10px;
  padding: 8px 10px;
  background: #fff2f2;
  border: 1px solid #ffcaca;
  color: #a30000;
  border-radius: 8px;
  font-size: 13px;
}

.ewf-form .ewf-hp {
  /* Honeypot oculto (refuerzo por si el inline style se sobreescribe) */
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 600px) {
  .ewf-form .ewf-grid {
    grid-template-columns: 1fr;
  }
  .ewf-form .ewf-full {
    grid-column: span 1;
  }
}
