form#contect_form {
  background: #f9f9f900;
  /* fondo del form */
  padding: 20px;
/*   border: 1px solid #ddd;
 */  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
  max-width: 600px;
  margin: auto;
}
/* Contenedor relativo para la línea */
.field {
  position: relative;
  margin-bottom: 20px;
}

/* Inputs/textarea */
.field input,
.field textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-radius: 0;
  background: #ebebeb70;
  font-size: 16px;
  outline: none;
  padding-left: 1em;
  padding-right: 1em;
}

/* Línea inicial (50% a la izquierda) */
.field::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;          /* alineada a la izquierda */
  width: 0%;       /* empieza en 50% de ancho */
  height: 2px;
  background-color: #fff;  /* gris inactivo */
  background: #fff;
  transition: width 0.4s ease, background-color 0.4s ease;
}

/* Al focus, línea azul completa de izquierda a derecha */
.field:focus-within::after {
  width: 100%;              /* se expande al 100% */
  background-color: #003d7a; /* azul */
}

.field input:focus,
.field textarea:focus {
  background-color: #fff; /* color al hacer focus */
}











#submit {
  background-color: rgba(0, 0, 0, 0.071);
  color: rgb(7, 7, 7);
  cursor: not-allowed;
}

#submit.active {
  background-color: #37b8df;
  color: #fff;
  cursor: pointer;
}



/* responsive mobile--------- */


@media (max-width: 700px) {





  
}
